Message Boards Message Boards

Back

Customize Bar Chart with own colors

Toggle
Customize Bar Chart with own colors
Answer
4/5/23 1:48 PM
Dear Support,

I'm trying to figure out how to change the colors colors from bar charts.

I'm building a task where a bar chart will get dynamically updated from user input, and I need to make each bar rectangle from the chart to match a certain brand CI color.
I think this is not possible directly from smartbuilder, but could I find a css file where these colors are defined so I can change them?

Many thanks,
Christos Argyropoulos
0 (0 Votes)

RE: Customize Bar Chart with own colors
Answer
4/5/23 7:38 PM as a reply to Christos Argyropoulos.
Hi Christos,
Unfortunately, this isn't possible - the colors are baked into the chart object and aren't available to CSS customization. Can you send us a screenshot of your chart (either here or email it to support)? Perhaps we can offer a different workaround. If it's not too complicated, you might be able to get away with using a bunch of vertical Percent Gauge objects.
0 (0 Votes)

RE: Customize Bar Chart with own colors
Answer
4/18/23 9:57 AM as a reply to Navdeep Dhillon.
Hi Navdeep,

Thanks for your quick support and this clarification. The workaround suggestion is a good idea that I could use in the future, in my case it was complicated and I managed to escape with the default colors.
0 (0 Votes)