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.
When using follow table filtering only the displayed number of rows will be applied to chart. My suggestion is that if you do not need the table on the page, use some JavaScript to hide that table. In that case the chart will be filtered and the table will not be visible.
Thanks Bogdan. Could you tell me what the 39 refers to in wpDataChartsCallbacks[39]? Is it the chart shortcode number? I can't find a reference for this wpdatatables special code.
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.
HI Ken,
You are right.
When using follow table filtering only the displayed number of rows will be applied to chart. My suggestion is that if you do not need the table on the page, use some JavaScript to hide that table. In that case the chart will be filtered and the table will not be visible.
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
Ah. Good idea. Do I put that javascript into the "Custom JS" section of the Settings?
HI Ken,
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.
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
Thanks Bogdan. Could you tell me what the 39 refers to in wpDataChartsCallbacks[39]? Is it the chart shortcode number? I can't find a reference for this wpdatatables special code.
<script type="text/javascript">
jQuery(window).load(function(){
if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }
wpDataChartsCallbacks[39] = function(obj){
obj.options.animation.duration = 10;
obj.options.hover.animationDuration = 10;
obj.options.responsiveAnimationDuration = 10;
}
});
</script>
HI Ken,
The number 39 refers to the chart ID.
The chart ID can be seen in the all chart display . ( attachment)
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
Great thanks.
HI Ken,
You are welcome.
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