echarts yaxis splitArea interval

1.1k Views Asked by At

I want to color yaxis from value x to y with some color,
I used splitArea but is no use to me because is a splitArea is a repeater, repeats color based on given interval.

I want to obtain something similar to Chart.js:

Acceptable Range Highlighting of Background in Chart.js 2.0

echart

 yAxis: {
  splitArea:{
     show:true,
     areaStyle:{
      color:["rgba(255,0,0,0.7)",'yellow','green','green','green']
      }
    }
},
0

There are 0 best solutions below