Fórum Fórum

Vissza

Customize Bar Chart with own colors

Váltás
Customize Bar Chart with own colors
Válasz
2023.04.05. 13:48
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 Szavazatok)

RE: Customize Bar Chart with own colors
Válasz
2023.04.05. 19:38 válaszként erre: 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 Szavazatok)

RE: Customize Bar Chart with own colors
Válasz
2023.04.18. 9:57 válaszként erre: 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 Szavazatok)