Hi, I have several graphs on my professional market intel website, and until yesterday they worked just fine.
But since today, I noticed that the basic column chart has gone invisible on my website. You can still hoover your mouse and some values are seen but the bars are gone. The color setting of the bars is still correct and the same, but they seem to have become blanc.
I did not change anything in the tables nor in the charts or did any update myself and it worked fine just yesterday.
I tried to go through the graph wizard and see if that helped to make the graph show up again, and I did not change the source table or any settings. Just as it was and worked nicely still yesterday. But also in the wizard at the final page (preview) the graph remains blank now since today.
My customers are now asking where the graphs are?
Has there been an update recently in your software?
We have another couple of tickets reporting the same issue.
Are you using highCharts engine for your charts?
-
There is a user who found that the highCharts engine's CDN made some update - I am still not 100% sure about this, but we will urgently check it with our developers.
I can share the user's solution with you, you can try this if you wish and let me know if it worked.
Basically, this is a hook that you can add to your Theme or Child Theme's functions.php :
add_action( 'wp_enqueue_scripts', 'ydc_replace_highcharts_version', 100 ); function ydc_replace_highcharts_version() { // Removing the existing scripts (they were loading the most recent version from Higcharts CDN) wp_dequeue_script( 'wdt-highcharts' ); wp_deregister_script( 'wdt-highcharts' ); wp_dequeue_script( 'wdt-highcharts-more' ); wp_deregister_script( 'wdt-highcharts-more' ); wp_dequeue_script( 'wdt-highcharts3d' ); wp_deregister_script( 'wdt-highcharts3d' ); wp_dequeue_script( 'wdt-highcharts-accessibility' ); wp_deregister_script( 'wdt-highcharts-accessibility' ); wp_dequeue_script( 'wpdatatables-highcharts' ); // Enqueing the same scripts, but from the previous version wp_enqueue_script( 'wdt-highcharts', 'https://code.highcharts.com/10.2.1/highcharts.js', array(), '10.2.1' ); wp_enqueue_script( 'wdt-highcharts-more', 'https://code.highcharts.com/10.2.1/highcharts-more.js', array('wdt-highcharts'), '10.2.1' ); wp_enqueue_script( 'wdt-highcharts3d', 'https://code.highcharts.com/10.2.1/highcharts-3d.js', array('wdt-highcharts'), '10.2.1' ); wp_enqueue_script( 'wdt-highcharts-accessibility', 'https://code.highcharts.com/10.2.1/modules/accessibility.js', array('wdt-highcharts'), '10.2.1' ); // Re-enqueing original wpdatatables highcharts script, as that one is local and should be fine wp_enqueue_script( 'wpdatatables-highcharts' ); }
Let me know if this helped, and I will report back as soon as we hear from our devs.
Our developers discovered that all wpDataTables versions have a bug
with the new version of highCharts,
when Min and Max values are set for axes.
They quickly made a workaround fix.
This is not the "final fix", they will still conduct testing to make sure and they should implement the final version of the fix in the upcoming update.
-
The workaround is to replace the source files with the files from the zip archive.
Hi, I have several graphs on my professional market intel website, and until yesterday they worked just fine.
But since today, I noticed that the basic column chart has gone invisible on my website. You can still hoover your mouse and some values are seen but the bars are gone. The color setting of the bars is still correct and the same, but they seem to have become blanc.
I did not change anything in the tables nor in the charts or did any update myself and it worked fine just yesterday.
I tried to go through the graph wizard and see if that helped to make the graph show up again, and I did not change the source table or any settings. Just as it was and worked nicely still yesterday. But also in the wizard at the final page (preview) the graph remains blank now since today.
My customers are now asking where the graphs are?
Has there been an update recently in your software?
Help
Same here. It has to do with entering a min or max value. New bug. Commenting so I can see follow-up.
Indeed, that is the bug. I deleted all min and max values of the axes and now the graphs are back. Thanks for the tip!
But now the graph scales are messed up, so that is no good.
Hi, guys
Thank you for reporting this.
We have another couple of tickets reporting the same issue.
Are you using highCharts engine for your charts?
-
There is a user who found that the highCharts engine's CDN made some update - I am still not 100% sure about this, but we will urgently check it with our developers.
I can share the user's solution with you, you can try this if you wish and let me know if it worked.
Basically, this is a hook that you can add to your Theme or Child Theme's functions.php :
Let me know if this helped, and I will report back as soon as we hear from our devs.
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 Milos, yes--I tried that functions.php code and it worked. You're definitely on the right track.
Hi, Martijn and Justin
I have an update.
Our developers discovered that all wpDataTables versions have a bug
with the new version of highCharts,
when Min and Max values are set for axes.
They quickly made a workaround fix.
This is not the "final fix", they will still conduct testing to make sure and they should implement the final version of the fix in the upcoming update.
-
The workaround is to replace the source files with the files from the zip archive.
The paths are:
wp-content/plugins/wpdatatables/assets/js/wpdatatables/wdt.highcharts.js
wp-content/plugins/wpdatatables/assets/js/wpdatatables/wdt.highcharts.min.js
wp-content/plugins/wpdatatables/source/class.wpdatachart.php
-
I am sending you the files as attachments.
Please replace them in your FTP, and let us know if that fixed the issues for you?
Thank you
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