Есть ли способ добавить поля / отступы к меткам в RadarChart для lib MPAndroidChart ?
Я пытался это , но установка xAxis.setSpaceMin(1.5f);
производит этот крей sh.
Process: com.xxmassdeveloper.mpchartexample, PID: 29449
java.lang.ArrayIndexOutOfBoundsException: length=5; index=-1
at com.xxmassdeveloper.mpchartexample.RadarChartActivity$1.getFormattedValue(RadarChartActivity.java:82)
at com.github.mikephil.charting.formatter.ValueFormatter.getAxisLabel(ValueFormatter.java:62)
at com.github.mikephil.charting.components.AxisBase.getFormattedLabel(AxisBase.java:488)
at com.github.mikephil.charting.components.AxisBase.getLongestLabel(AxisBase.java:474)
at com.github.mikephil.charting.renderer.XAxisRenderer.computeSize(XAxisRenderer.java:78)
at com.github.mikephil.charting.renderer.XAxisRenderer.computeAxisValues(XAxisRenderer.java:73)
at com.github.mikephil.charting.renderer.XAxisRenderer.computeAxis(XAxisRenderer.java:66)
at com.github.mikephil.charting.charts.RadarChart.notifyDataSetChanged(RadarChart.java:121)
at com.github.mikephil.charting.charts.Chart.onSizeChanged(Chart.java:1677)
at android.view.View.sizeChange(View.java:22654)
at android.view.View.setFrame(View.java:22606)
at android.view.View.layout(View.java:22463)
at android.view.ViewGroup.layout(ViewGroup.java:6303)
at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1103)
at android.view.View.layout(View.java:22466)
at android.view.ViewGroup.layout(ViewGroup.java:6303)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:22466)
at android.view.ViewGroup.layout(ViewGroup.java:6303)