Turn on granularity for this example
For the value to take effect
This commit is contained in:
parent
995538cf0b
commit
31f15a941d
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ public class BarChartActivitySinus extends DemoBase implements OnSeekBarChangeLi
|
|||
leftAxis.setLabelCount(6, false);
|
||||
leftAxis.setAxisMinValue(-2.5f);
|
||||
leftAxis.setAxisMaxValue(2.5f);
|
||||
leftAxis.setGranularityEnabled(true);
|
||||
leftAxis.setGranularity(0.1f);
|
||||
|
||||
YAxis rightAxis = mChart.getAxisRight();
|
||||
|
|
Loading…
Add table
Reference in a new issue