I am creating an area graph with ApexCharts. Basically, it is a stocks price chart. I want that if price goes down, graph at that point should become red and if goes up it should be green.
The data series i am using is like this - series : [{ name: "price", data: [110,200,109,90,89,400] }] . At 110 it should be red ,at 200 it should be green,at 109 it should become red as price dropped.
Related questions 140 How to clear a chart from a canvas so that hover events cannot be triggered? 0 Chart in javascript doesn't change color 0 Apex charts, setting series data from array in state Related questions 140 How to clear a chart from a canvas so that hover events cannot be triggered? 0 Chart in javascript doesn't change color 0 Apex charts, setting series data from array in state 1 Apex area chart background not working as wanted 0 ApexCharts in SolidJS: updating the chart is getting progressively slower after many updates 0 subset stacked bars chart 1 Polar Area onclick event Load 4 more related questions Show fewer related questions
Reset to default