google / charts

https://pub.dev/packages/charts_flutter
Apache License 2.0
2.81k stars 1.23k forks source link

How to set Ticks in double value? #281

Open eduardoh89 opened 5 years ago

eduardoh89 commented 5 years ago

Hi, i dont find the way to set the ticks values between 0 and 1 in the domain axis, ¿is there any way to do such thing? It would be wonderful to be able to set values like 0, 0.2, 0.4 0.6 0.8 and 1.0. code: charts.TimeSeriesChart( _seriesLineData, defaultRenderer: new charts.LineRendererConfig( includeArea: true, stacked: true), animate: true, animationDuration: Duration(seconds: 1), primaryMeasureAxis: new charts.NumericAxisSpec( tickProviderSpec: new charts.BasicNumericTickProviderSpec(zeroBound: true, desiredTickCount: 5 ), ), behaviors: [ new charts.ChartTitle('Fecha', behaviorPosition: charts.BehaviorPosition.bottom, titleOutsideJustification: charts.OutsideJustification .middleDrawArea), new charts.ChartTitle('Conductividad agua ultra pura', behaviorPosition: charts.BehaviorPosition.start, titleOutsideJustification: charts.OutsideJustification .middleDrawArea), ] ),

Captura de Pantalla 2019-06-25 a la(s) 15 17 42
VadyaVL commented 4 years ago

Hi all. Any solution?