KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Column Chart 1 Group need bars to be different colors #1648

Open Mike Carroll opened this topic on on Oct 5, 2020 - 1 comments

Mike Carroll commented on Oct 5, 2020

Hello,

I have a data set that returns UserID Counts User1 5 User2 7 User3 20

When I graph these using column chart for ChartJS; each bar has the same color. How can I prepend a groupoing in front or what method should I use so that each bar has its own color?

David Winterburn commented on Oct 6, 2020

I think the most feasible way is to transpose the data to make the data multiple series with 1 item per series. Then ChartJS will auto apply multiple colors for the series.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None