I would like to use a Google gauge to display the temperatuur measurement of my fish tank. The options however in WPDataTables are not very extensive for now (as it seems). I am unable to set the min and max value of the gauge, nor can I change the range which is the "greenzone" in the gauge. The Google site (see related url) explains all options of the gauge.
I would like to know if it is possible to use the options for the Google gauge, as described by Google, in this current version of wpDataTables or in a next version.
You can use our wpdataCharts callbacks to achieve what you wanted.
I can give you some guide where to look and some example, but please note that questions like this are not covered in included support. Included support covers help with bugs and general inquiries for the plugin features, but not writing custom code. As you're developing some custom solution if you need our assistance we can offer you our paid customization service.
Thanks for your information. I did struggle a bit, but now it is working like a charm.
The solution, I installed the "Scripts n Styles" plugin and then added the proposed code. At first it did not work, as some characters where missing to properly close the statements. Here is my code, note that I have 2 google gauges on the page, the first gauge has ID 10 and the second is ID 6.
Hope this helps out other beginner developers like me :)
Hi,
I would like to use a Google gauge to display the temperatuur measurement of my fish tank. The options however in WPDataTables are not very extensive for now (as it seems). I am unable to set the min and max value of the gauge, nor can I change the range which is the "greenzone" in the gauge. The Google site (see related url) explains all options of the gauge.
I would like to know if it is possible to use the options for the Google gauge, as described by Google, in this current version of wpDataTables or in a next version.
regards, Richard
Hi Richard,
Thank you for your purchase.
Can you please send me the file from which you want to create a chart so I can take a look and give you my suggestion.
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
Hi Richard,
You can write all of the credentials here just check the PRIVATE reply so nobody can see it except us.
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 Richard,
You can use our wpdataCharts callbacks to achieve what you wanted.
I can give you some guide where to look and some example, but please note that questions like this are not covered in included support.
Included support covers help with bugs and general inquiries for the plugin features, but not writing custom code. As you're developing some custom solution if you need our assistance we can offer you our paid customization service.
This is an example
You can add options for charts like
You just need to specify each chart id in
Hope this can help.
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,
Thanks for your information. I did struggle a bit, but now it is working like a charm.
The solution, I installed the "Scripts n Styles" plugin and then added the proposed code. At first it did not work, as some characters where missing to properly close the statements. Here is my code, note that I have 2 google gauges on the page, the first gauge has ID 10 and the second is ID 6.
Hope this helps out other beginner developers like me :)
Regards, Richard
jQuery(window).load(function()
{
if (typeof wpDataChartsCallbacks == 'undefined')
{ wpDataChartsCallbacks = {}; }
wpDataChartsCallbacks[10] = function(obj)
{
obj.options.min = 0;
obj.options.max = 10;
obj.options.greenFrom = 4 ;
obj.options.greenTo = 10;
obj.options.yellowFrom = 2;
obj.options.yellowTo = 4;
obj.options.redFrom = 0;
obj.options.redTo = 2;
}
wpDataChartsCallbacks[6] = function(obj)
{
obj.options.min = 20;
obj.options.max = 30;
obj.options.greenFrom = 23;
obj.options.greenTo = 27;
}
} );
Hi Richard,
I am very glad that you managed to make it by yourself, good job.
If you have any more issues feel free to open a new ticket.
If you like our plugin and support please rate our plugin at CodeCanyon on this link. It means a lot to us. Thanks.
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