Add default x spacing (half width) for scatter chart as well

This commit is contained in:
Daniel Cohen Gindi 2017-08-25 12:15:42 +03:00
parent 98f97f0df1
commit ed770762fb

View file

@ -35,6 +35,9 @@ public class ScatterChart extends BarLineChartBase<ScatterData> implements Scatt
super.init();
mRenderer = new ScatterChartRenderer(this, mAnimator, mViewPortHandler);
getXAxis().setSpaceMin(0.5f);
getXAxis().setSpaceMax(0.5f);
}
@Override