imaNNeo / fl_chart

FL Chart is a highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.
https://flchart.dev
MIT License
6.86k stars 1.78k forks source link

ScatterChart doesn't support rangeAnnotation. #1665

Open derrickgw opened 6 months ago

derrickgw commented 6 months ago

I would like to use a scatter plot, but I need the range annotations to color part of the background of the chart. This is easy to do using LineChart, but not for ScatterChart even though the rangeAnnotations property is in a common ancestor.

The ability to set this property needs to be exposed in the ScatterChartData through the constructor just as it is exposed in the LineChartData constructor.