Thanks for your reply, i replaced both two js files. i applied the both custom js codes, but unfortunately it not worked on the website. Code i used to add suffix are:
The chart on this page has ID wpdatachart_5, and you left wpDataChartsCallbacks[94] from our documentation. Please replace the chart's ID in the callback with the chart you're actually adding on the page.
I tried with chart ID in the js code but it did not work, can you please send me the exact code, i tried with following sample codes, but not worked for me.
Hello Support,
i tried to include "%" suffix in wp chart. i tried the js code from your reference link (https://wpdatatables.com/faqmd/how-to-add-labels-on-two-y-axes-highcharts/). but it not worked in my website.
I tried to make chart in both way i.e. using Google render engine and Highchart render engine, but not worked to add suffix.
I hope your technical team help me to implement "%" suffix in my chart vertical axis.
wordpress credential for Admin user is
https://www.sobrevolandoellimite.com/wp-admin/
User: sandeep
Pass: Vo^SjNXwsq3FThU8qKaRWJiZ
Hope for positive result.
Hello webcodeft
Thank you for your purchase.
We have a bug with wpDataTables v3.4.1 and callbacks.
Please download the two attached files and replace them in these two locations:
wp-content/plugins/wpdatatables/assets/js/wpdatatables/wdt.chartsRender.js
wp-content/plugins/wpdatatables/assets/js/wpdatatables/wdt.chartsRender.min.js
Then delete cache from your website and browser, and it should work fine after that.
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
Hello Support Team,
Thanks for your reply, i replaced both two js files. i applied the both custom js codes, but unfortunately it not worked on the website. Code i used to add suffix are:
<script type="text/javascript">
jQuery(window).on('load',function(){
if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }
wpDataChartsCallbacks[94] = function(obj){
obj.options.yAxis[0] = {
labels: {
format: '% {value}'
}
}
}
});
</script>
and the second code
<script type="text/javascript">
jQuery(window).on('load',function(){
if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }
wpDataChartsCallbacks[94] = function(obj){
obj.options.yAxis[0] = {
labels: {
format: '% {value}'
}
}
obj.options.yAxis[1] = {
opposite: true,
labels: {
format: '{value} %'
}
}
}
});
</script>
Con your team please help to sort out thee issue?
Test URL: https://www.sobrevolandoellimite.com/test-2/
Hello again webcodeft
The chart on this page has ID wpdatachart_5, and you left wpDataChartsCallbacks[94] from our documentation. Please replace the chart's ID in the callback with the chart you're actually adding on the page.
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
Hello Support,
I tried with chart ID in the js code but it did not work, can you please send me the exact code, i tried with following sample codes, but not worked for me.
jQuery(window).on('load',function(){
if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }
wpDataChartsCallbacks[wpdatachart_5] = function(obj){
obj.options.yAxis[0] = {
labels: {
format: '% {value}'
}
}
}
});
i tried second one
jQuery(window).on('load',function(){
if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }
wpDataChartsCallbacks[5] = function(obj){
obj.options.yAxis[0] = {
labels: {
format: '% {value}'
}
}
}
});
i hope for positive solution, Thanks!!
Hello again
Please note that wpDataChart callbacks are not included in the provided support for the plugin, and using them requires some level of coding skills.
This code should work, and if it doesn't work, you'll need to see what issues you're having with the callback, and modify the code accordingly.
I just tested it, and it works fine:
Did you replace the files I sent you previously? Are you using Highcharts? This will only work for Highcharts bar chart.
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