i have a chart js created with chart builder. Sadly i cant set the vertical axis min value to empty so that the chart also renders if there are negative values.
When clearing the field, the chart js is displayed in the preview as i want to (see screenshot), but when finishing the wpdatatable chart builder, it seems that automatically a 0 is safed so that the chart is not displayed correctly finally.
Might this be a bug with your pluging, because with googe charts i can get the field value empty and it works correctly.
I reported this bug 2 months ago, and there is still no fix?!
Slowly i am getting disappointed. This shouldnt be a big thing to fix for your developers. Otherwise i really need to worry about overall code quality.
The bug stopps my project from being published if its not going to be fixed soon.
Please fix the bug or i will have to claim my money back. I mean you are providing Charts with your plugin but only for positive values? That makes no sense.
We investigated this and it looks like the logic for chart.js are set to start with 0 every time and you can manually change the min and max for the axes.
If you do not want to use this logic can you please go to file
wp-content/plugins/wpdatatables/source/class.wpdatachart.php around line 2267 and just comment these lines
The only possible workaround and proper solution is to create some kind of checkbox which will give the option to choose to start from the 0 or not. Chart.js by default starts from 0.
Hi there,
i have a chart js created with chart builder. Sadly i cant set the vertical axis min value to empty so that the chart also renders if there are negative values.
When clearing the field, the chart js is displayed in the preview as i want to (see screenshot), but when finishing the wpdatatable chart builder, it seems that automatically a 0 is safed so that the chart is not displayed correctly finally.
Might this be a bug with your pluging, because with googe charts i can get the field value empty and it works correctly.
Regards,
Michael
HI Michael,
Thank you for your purchase.
Can you please tell me is this happening to all chart.js charts or for some specific chart.
Also please tell me if you update the plugin to 2.3.1 version do you still have the same issue.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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
Hi Bogdan,
yes it seems that this is happening to all chart.js charts (line, area, stacked, andcolumn charttype).
Updating to 2.3.1 didn't solve the issue.
It would be great if you could fix that issue because google charts are not quite good imo.
Regards,
Michael
Hi Michael,
OK I will note this issue and report to my team also so they can test it out.
If this is a bug we will try to fix it as soon as possible.
Sorry for any inconvenience.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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
Hi Bogdan,
thanks, looking forward for a solution/bugfix.
Rergards,
Michael
Hi Michael,
I noted this and send to my team i will let you know as soon as I have an answer.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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
Hi Bogdan,
are there any news about a hotfix which will fix the bug?
Regards,
Michael
HI Michael,
This is reported and noted to check, when we found a solution I will let you know.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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
Hi!
I reported this bug 2 months ago, and there is still no fix?!
Slowly i am getting disappointed. This shouldnt be a big thing to fix for your developers. Otherwise i really need to worry about overall code quality.
The bug stopps my project from being published if its not going to be fixed soon.
Please fix the bug or i will have to claim my money back. I mean you are providing Charts with your plugin but only for positive values? That makes no sense.
Regards,
Michael
HI Michael,
Sorry for any inconvenience.
We investigated this and it looks like the logic for chart.js are set to start with 0 every time and you can manually change the min and max for the axes.
If you do not want to use this logic can you please go to file
wp-content/plugins/wpdatatables/source/class.wpdatachart.php around line 2267 and just comment these lines
to look like this
Then in file wp-content/plugins/wpDataTables/assets/js/wpdatatables/wdt.chartJS.js around line 50
find this code
and change it to
Then in filewp-content/plugins/wpDataTables/assets/js/wpdatatables/wdt.chartWizard.js around line 1621
find this code
and comment it to look like this
Let me know the result.
The only possible workaround and proper solution is to create some kind of checkbox which will give the option to choose to start from the 0 or not. Chart.js by default starts from 0.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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
Hi Bogdan,
thanks for the solution, it works great.
Will these files be overwritten when updating the plugin?
Regards,
Michael
HI Michael,
We will try to add this for the next update of the plugin, but in the meantime please make a backup of which files are changed just in case.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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