First of all thanks for this great plugin, you saved me a lot of work already :-)
Now I need to display user-specific charts from MySQL queries. Just the chart, not the table. I use MySQL placeholders for this.
Unfortunately, whenever I just put the chart on a page without the table, the default value is applied and the chart does not accept the placeholder when I try using [wpdatachart id=X var1=XY]. How can this be done?
Do I need to display the table and then hide it via CSS?
Unfortunately it is not possible to use variables in chart shortcode but as a workaround you can enable follow table filtering feature for the chart and when you place that chart with the table on the same page, use CSS to hide that table just like you said.
First of all thanks for this great plugin, you saved me a lot of work already :-)
Now I need to display user-specific charts from MySQL queries. Just the chart, not the table. I use MySQL placeholders for this.
Unfortunately, whenever I just put the chart on a page without the table, the default value is applied and the chart does not accept the placeholder when I try using [wpdatachart id=X var1=XY]. How can this be done?
Do I need to display the table and then hide it via CSS?
Hi burgunderblau,
Thank you for your purchase.
Unfortunately it is not possible to use variables in chart shortcode but as a workaround you can enable follow table filtering feature for the chart and when you place that chart with the table on the same page, use CSS to hide that table just like you said.
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 for your reply.
For anyone trying to achieve the same: You can add custom CSS to hide the tabls in general, create a plugin with shortcode, ...
However, this is what works for me to hide the table:
<style>div.wpDataTablesWrapper { display: none !important; }<br /></style>
Hi burgunderblau,
Glad that you managed to achieve that by yourself, good job.
Ticket is public so if someone needs the same achievement they can find here.
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