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.87k stars 1.78k forks source link

Scatter plot with different marker ? #1706

Closed sczesla closed 4 months ago

sczesla commented 4 months ago

As far as I can see, only circle markers are possible in scatter plots.

Different markers may be useful to distinguish individual quantities.

My actual idea was to build a heat map out of "square pixels" using a scatter plot, which could also take advantage of the tooltip to show quantitative information. Is there already way to do this?

imaNNeo commented 4 months ago

You can customize your marker by the dotPainter property, Please take a look at the Scatter Sample 2

https://github.com/user-attachments/assets/a8f177eb-0adf-4cf7-9920-6cf96a840e65