Skip to content

Vega lite - Labels and background colour #8619

Answered by jwoLondon
GeorgeRobbin asked this question in Q&A
Discussion options

You must be logged in to vote

The key here is to use layers – one for your background quadrants, one for the dots and one for the labels. Here's one approach that uses the rect mark to draw the quadrants each with a custom colour determined by inline data.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by domoritz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants