fl_chart icon indicating copy to clipboard operation
fl_chart copied to clipboard

convert last version

Open SouMeiApp opened this issue 2 years ago • 1 comments

I need to convert the following code and I didn't understand directly how to convert the following parameters:

getTextStyles margin getTitles

follow code:

leftTitles: AxisTitles( sideTitles: SideTitles( showTitles: true, getTextStyles: (value, _) => const TextStyle( color: Color(0xff7589a2), fontWeight: FontWeight.bold, fontSize: 14, ), margin: 32, reservedSize: 14, getTitles: (value) { if (value % 50 == 0) { return value.toString(); } return ''; }, ), ),

SouMeiApp avatar Jul 05 '22 19:07 SouMeiApp

Follow our guidelines here

imaNNeo avatar Jul 31 '22 20:07 imaNNeo