Hi, I have a question regarding to the charts. I can't insert 2 same charts in one website with the short code. It will only show 1 chart in the website. I have attached the screenshot below. Do you have any solution or it does not have that function?
And also, is it possible to add an 'indicator light' kind of stuff in WP Data Tables?
Unfortunately, you can't add the same chart twice on a same page. You can, however, duplicate the chart, and when it generates a new shortcode, you can use that. It will be the same chart, but with a different shortcode, so you should be able to add it.
Hi, I have a question regarding to the charts. I can't insert 2 same charts in one website with the short code. It will only show 1 chart in the website. I have attached the screenshot below. Do you have any solution or it does not have that function?
And also, is it possible to add an 'indicator light' kind of stuff in WP Data Tables?
Thank you in advance!
Hello hm
Thanks for reaching out to us.
Unfortunately, you can't add the same chart twice on a same page. You can, however, duplicate the chart, and when it generates a new shortcode, you can use that. It will be the same chart, but with a different shortcode, so you should be able to add it.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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 Aleksandar! It works now!
another question is that, can I add indicator button in WP data tables like the one in the screenshot?
Hi again, you're welcome.
Well, you could do that with some conditional formatting, and CSS.
Something like rectangles in the last column of our Premier League Table, or stars in Catalog of Books table.
For example - in the Catalog of Books table:
This is an SQL Query based table, and the data in "Average Rating" column is saved as float values. Each value representing a star.
Then we added conditional formatting rules:
Where we changed cell content based on the values:
So, if above 4.6 set content to <span class="stars-container stars-96">★★★★★</span>
Above 4.4 set content to <span class="stars-container stars-90">★★★★★</span>
Above 4.2 set content to <span class="stars-container stars-85">★★★★★</span>
Above 4 set content to <span class="stars-container stars-80">★★★★★</span>
Above 3.5 set content to <span class="stars-container stars-70">★★★★★</span>
Above 3 set content to <span class="stars-container stars-60">★★★★★</span>
Then, in main settings of wpDataTables/Custom JS and CSS/Custom CSS we added this:
And that is it.
I hope that helps.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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
Thank you so much for your help! I managed to do it :D
You're welcome hm.
Glad I could help.
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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