Replies: 1 comment
-
It's not quite clear to me what you are wanting to achieve here. In your first example you correctly set the colour of all bar marks to In your second example, are you wanting the value of It is possible to be more precise in colour allocation than just using a colour scheme, but whether you go down that route I think depends on what exactly you want to achieve. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am trying to figure out a combination of
datum
and some custom color configuration but I cannot seem to get to one.Is it possible to override the automatically selected colors when using
encoding.color.datum
?Here is an example vega spec of one of my tries: setting
mark.color
Another approach I took is specifying the
encoding.color.scale.scheme
but that gives a warning about the unexpected use ofdatum
in such case.Is there any other way?
Any help much appreciated, thanks!
Beta Was this translation helpful? Give feedback.
All reactions