Forum Academy Marketplace Showcase Pricing Features

Set colors by categories

Hello bubblers! How are you guys going?

I am currently using the plugin “Line/bar Charts” and I would like to know if there’s any way to define which color will appear in the chart according to the category. For example: Red for Unsafe, Green for Safe and Yellow for Improvements. I am really struggling with this issue.

The colors are completely aleatory, I need to set the colors as said above.


Does anyone can help me with this?

Thank you very much!!

Are you trying to do it in a doughnut or a bar graph

I don’t think there is a way, there is a couple chart plugins maybe the non bubble one does it, the other option if your doing a bar chart may be to use a repeating
group and a rotated bar graph or group as the bar. Set up the repeating
group with a single row and multiple columns, place the bar in the cell
then use conditions to do the colour.
It would take some work

Possibly others who have more experience with the charts maybe able to help or you could message the creator of the amcharts plugin direct

Pretty sure he frequents the forum. There is also a demo app which may hold some answers

Thanks Chad!

I am trying to do this with the doughnut chart…

I will try other plugin. If someone else knows a solution for this, please let me know.