Hey I have reviewed the documentation on the WPDT and Chart.js site. It is still difficult to understand how to control the bar chart colors. What is on the WPDT docs and the Chart.js docs doesn't quite line up one to one. I am playing with different variations (options, data, datasets) and in most cases I get a white screen and no chart. options.data.datasets seems to work but the Any thoughts? More info in the screenshot.
As you may already know, using wpDataChart callbacks isn't included in the provided support for the plugin, so there's not much I can do to help, other than offer some advice.
Please take a look at this FAQ section. That's showing how to change color on a Pie chart, but I believe you'll be able to use that info and apply it to your bar chart.
Hey I have reviewed the documentation on the WPDT and Chart.js site. It is still difficult to understand how to control the bar chart colors. What is on the WPDT docs and the Chart.js docs doesn't quite line up one to one. I am playing with different variations (options, data, datasets) and in most cases I get a white screen and no chart. options.data.datasets seems to work but the Any thoughts? More info in the screenshot.
Hello Kyle
As you may already know, using wpDataChart callbacks isn't included in the provided support for the plugin, so there's not much I can do to help, other than offer some advice.
Please take a look at this FAQ section. That's showing how to change color on a Pie chart, but I believe you'll be able to use that info and apply it to your bar chart.
Let me know if 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
This was perfect thanks!
You're welcome Kyle
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
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
Just to share my solution with other devs. I just needed a array reference after datasets[0]. And then everything worked perfectly.
Thanks Kyle
I'm sure others will have use of it.
If
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