How to selectively set chart color background?

40 views Asked by At

I have a chart which contains BarMarks within a certain "live data domain". However, the .chartXScale adds a bit of domain left and right of that domain, let's call it "displayed domain".

What I want to achieve now is that:

  • left of the "live data domain" there is light gray background
  • within the "live data domain", there is a colored background
  • right of the "live data domain", there is a light gray background again

Any idea how to get there?

--edit--

enter image description here

In this picture, the "live data area" is between the 11th and 17th. I want that area to have one background color, while the areas left and right of these dates shall be in another one.

0

There are 0 answers