protected override void Awake() { base.Awake(); if (data == null) { data = new BarData(new BarDataSet()); } if (config == null) { Config = new BarChartConfig(); } XAxis.AutoAxisMinValue = true; XAxis.AutoAxisMaxValue = true; }
protected override void Awake() { base.Awake(); if (data == null) { data = new BarData(new BarDataSet()); } if (config == null) { Config = new BarChartConfig(); } if (axisConfig == null) { axisConfig = new BarChartAxisConfig(); } positioner = new BarCharPositioner(); barInstances = new List <Bar> (); verticalLabelsProvider = new VerticalAxisLabelEntryProvider(); horizontalLabelsProvider = new BarAxisLabelEntryProvider(); verticalAxisValueFormatter = new BasicAxisValueFormatter(); horizontalAxisValueFormatter = new BarAxisValueFormatter(); }
void Reset() { data = new BarData(new BarDataSet()); Config = new BarChartConfig(); }