Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear Community,
i have the following bar chart with dimension as date and a grouping field with 7 categories.
What i want is to change default color of the categories.
I have colors in hex or rgb
Define kat_pos as a Master Dimension. In the Master Dimension edit dialog on the Value colors tab, you can assign a specific color for each value of kat_pos.
Define kat_pos as a Master Dimension. In the Master Dimension edit dialog on the Value colors tab, you can assign a specific color for each value of kat_pos.
Thank you very much for that surprinsingly easy solution.
Do you have a suggestion, if its possible to code the color assignment? Assuming i have two arrays, one for the category names and one for the hex-colors? Goal is to code an assignment for several categorical fields
Yes it easy to use code for the assignment. Load a table with your dimension and a ColorField. In chart measure, use "Color by Expression" with an expression of:
=ColorField
-Rob
i created a table
and adding this
in the 'Colors and Legends' Section keeps the bars grey.
Do i have to check/uncheck anything else?
How does Sense know that this is hexcode?