We're Moving to a New Support Platform – Starting June 1st!
We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.
You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.
While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.
We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.
Thanks for your continued support and trust – we’re excited to bring you an even better support experience!
Hi,
you did a great job with wpDataCharts. I have one question
I am using chart.js rendering. Area Chart. The data consists of only two columns: Date and float.
there is one row for each date, as default the x axis shows some dates. Not all because it will be too much. Is there a way to show only the name of the months? (ticks.auto instead of ticks.data)
Or is there a workaround by using another column, just to be used for x-axis?
Thanks for any help or pointer
Andreas
HI there,
I tried to use a callback :
https://wpdatatables.com/documentation/information-for-developers/wpdatacharts-callbacks/
this is how they say callback would work
jQuery(window).load(function(){
console.log(123);
if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }
wpDataChartsCallbacks[3] = function(obj){
obj.options.options.scales.yAxes[0].display = false;
obj.options.options.scales.xAxes[0].display = false;
console.log(345); }
});
I have tried to insert this in the settings, but it doesn't execute, if i try in the console directly it doesn't work either.
xAxes: [{
type: 'time',
time: {
unit: 'month'
}
}]
I am attaching a simple dataset, so easy to reproduce.
Any help would be greatly appreciated
Andreas
Hello Andreas.
Thank you for your purchase.
I am sorry to disappoint you, but what you're trying to achieve isn't possible in this way. Using type: 'time' requires moments.js file which is not included in wpDataCharts.
The callback you tried to use probably doesn't go through because there is either a space, a paragraph or something similar that displays the error in the console and doesn't display the chart properly. You can't use the properties of the object the way you would like, but instead have to adjust them to our object.
You can always debug it and see what's in our object.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables