protected override void Awake() { base.Awake(); if (data == null) { data = new LineData(new LineDataSet()); } if (config == null) { config = new LineChartConfig(); } if (axisConfig == null) { axisConfig = new LineChartAxisConfig(); } verticalLabelsProvider = new VerticalAxisLabelEntryProvider(); horizontalLabelsProvider = new HorizontalAxisLabelEntryProvider(); verticalAxisValueFormatter = new BasicAxisValueFormatter(); horizontalAxisValueFormatter = new BasicAxisValueFormatter(); }
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(); }