I've connected to a Mysql table and enabled auto-refresh every 30 seconds. I can see the table refreshing in that time. But the google line chart that is connected to that table doesn't refresh. Is there something I need to do to make charts refresh? Or is it a bug? Thanks.
Thanks. I see the table needs to be on the same page as the chart for that to work too. I also notice that the table needs to be set to "all rows" to see the whole graph line on the chart. Is that the case? It makes the page very long.
You are right.
Never miss notifications about new cool features, promotions, giveaways or freebies - subscribe to our newsletter! Join 2000+ subscribers. We send about one mail per month and never spam!
Kind Regards,Bogdan Radusinovicbogdan@touchmesoft.net
If you put the code in the custom Js section then the code will be applied to all wpdatatables.
If you want to apply just for one table/page is to put the code on the page directly. Just put the code in the <script></script> tags.
Thanks Bogdan. Could you tell me what the 39 refers to in wpDataChartsCallbacks? Is it the chart shortcode number? I can't find a reference for this wpdatatables special code.
The number 39 refers to the chart ID.
The chart ID can be seen in the all chart display . ( attachment)
Attached files: Screen Shot 2018-04-17 at 11.17.38 AM.png
You are welcome.