Fl_chart: how could I adjust the touch line's width?

Created on 31 May 2020  路  2Comments  路  Source: imaNNeoFighT/fl_chart

It's too widely to my app, could I adjust it?

Line Chart question

All 2 comments

I did this with the example bellow -> The FLine is the line that is drawn to the bottom when is touched.

getTouchedSpotIndicator: (LineChartBarData barData, List<int> spotIndexes) {
                        return spotIndexes.map((e) {
                          return TouchedSpotIndicatorData(FlLine(color: Colors.grey, strokeWidth: 1.0, dashArray: [1, 2]),
                              FlDotData(show: true));
                        }).toList();
Was this page helpful?
0 / 5 - 0 ratings

Related issues

caioflores picture caioflores  路  6Comments

kw2019ltd picture kw2019ltd  路  6Comments

MobileMon picture MobileMon  路  4Comments

alexodus picture alexodus  路  3Comments

mahmoudparandeh picture mahmoudparandeh  路  6Comments