As previously announced via banners and our newsletters, support is no longer available through this platform.
For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.
You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.
Paid customers: Please log in to your store account for support.
Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com
This is how the chart looks by default. The client would like to only show ever other date label, basically, skipping every other label.
I am close to getting this working but the documentation doesnt seem to mention how the value placeholders work. This is the snippet i am using:
<script type="text/javascript">
jQuery(window).on('load',function(){
if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }
wpDataChartsCallbacks[1] = function(obj){
obj.options.xAxis = {
labels: {
step: 1
}
}
}
});
</script>
As you can see here, this DOES skip every other label, but it also changes them from dates to just numbers.
Im guessing it needs to be something like this:
obj.options.xAxis = {
labels: {
step: 1,
format: '{this.x}'
}
}
But I cant get it working
Hello Ryan
Thank you for your purchase.
Can you show me the table that's used for making this chart, and explain which chart engine you're using, and which columns are included in it, so I can try this locally?
I can't guarantee that I will make it work, but I can try. Using wpDataChart and wpDataTable callbacks require coding skills, and it is not included in the provided support for the plugin. I, too, would need to explore the API and see what needs to be done to convert the values back to dates, so if it takes me more than 20 minutes, I won't be able to do it.
Thank you for your understanding.
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
Thank you, Ryan.
Unfortunately, it would take some time to explore this, and as I mentioned before I can't provide thorough assistance on callbacks, since they're not included in the provided support for the plugin.
I did find some examples on stack overflow, though, so please take a look at them:
https://stackoverflow.com/questions/8674489/how-to-show-only-specific-x-axis-values-on-datetime-axis-in-highcharts/36796548
https://stackoverflow.com/questions/60487429/show-only-first-and-last-xaxis-label-in-highcharts
https://stackoverflow.com/questions/54866489/highcharts-show-only-particular-ticks-when-large-number-of-x-axis-ticks
https://stackoverflow.com/questions/8674489/how-to-show-only-specific-x-axis-values-on-datetime-axis-in-highcharts
https://stackoverflow.com/questions/48871588/how-can-i-show-only-one-x-axis-in-synchronous-chart-highchart
HighCharts has its own logic for changing data on axes, depending on the data type included in the chart, so it's not that easy to modify them.
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