[Looker] [Chart Editor] Changing the colour of data labels

Thought this would be an easy one but not only I can't change the colour of the labels, it also doesn't increase the size of the visualisation to accommodate its size (probably because it's considered as absolute positioning)

Dawid_0-1725406245003.png

I disabled value labels just to override everything from the config 

Dawid_1-1725406291815.png

But the labels still get the same colour as the Series. Surprisingly, I can see in the HTML that the <text> element is getting the right value (fill:red;) but the inside element <tspan> overrides my settings (color: rgb(242, 120, 89;)

Dawid_2-1725406360425.png

0 4 782
4 REPLIES 4

It does not appear we allow that specific override. You could use the built in Value Color field for labels in the Values tab:

Sharon_Z_0-1725549581667.png

 

Of course I know I can do that but there's a reason why I want to do it through Chart Config and hence my initial question, that it still doesn't work. Ideally I want to get colours from different dimensions

Looking into this - will report back. What do you mean by get colors from different dimensions?

I have a column that provides hex colour for each dimension, for years we've wanted to use that as the colour of the series. I can't however figure out referencing dimensions in chart config 

Top Labels in this Space