In LightningchartJS we can highlight the lower range as well as the higher range with different colors in an area range series. Is it possible to achieve the same in other area charts?
In the current scenario, I have a bipolar area chart in which I would like to mark the high and low ranges. I tried using setHighStrokeStyle
but it seems to work only for area range series do we have something similar for area series as well?
tried the following code
const recordRangeStrokeFillStyleHigh = new SolidLine().setFillStyle(new SolidFill({ color: ColorRGBA(250, 91, 70) }))
const areaProfit = xyChart.addAreaSeries({ type: AreaSeriesTypes.Positive })
areaProfit.recordRange.setHighStrokeStyle(recordRangeStrokeFillStyleHigh)
Image of Area series without the highlight
Image with high and low ranges highlighted wit different colors