0

I want to achieve something like below

enter image description here

I do not see any option in nivo charts documentation for this.

Penny Liu
  • 15,447
  • 5
  • 79
  • 98
Iqbal
  • 219
  • 1
  • 10
  • 2
    i worked with nivo a bit earlier this year and last, while the docs are very pretty and interactive - they are also outdated. you mostly have to dig through source code to figure out what you can and can't do. to do what you want, i believe you need to create a custom layer, then you add that to the charts layers array in the order you want it. you will also need to do some sorta math to tell it where on the x-axis to start a dark (or light bar) and how wide it is. – HolyMoly Feb 07 '21 at 03:06
  • 1
    yeah. thats exactly how it had to be done. thanks – Iqbal Apr 24 '21 at 18:09
  • Could you find a solution for it? I am trying to do the same with barchart @Iqbal – rkris26 Aug 02 '23 at 07:31

0 Answers0