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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to figure out a combination of
datumand 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.colorAnother approach I took is specifying the
encoding.color.scale.schemebut that gives a warning about the unexpected use ofdatumin such case.Is there any other way?
Any help much appreciated, thanks!
Beta Was this translation helpful? Give feedback.
All reactions