public RangeColumn () { SFChart chart = new SFChart (); SFCategoryAxis primary = new SFCategoryAxis (); primary.LabelPlacement = SFChartLabelPlacement.BetweenTicks; chart.PrimaryAxis = primary; chart.SecondaryAxis = new SFNumericalAxis (){ ShowMajorGridLines = false }; ChartRangeColumnDataSource dataModel = new ChartRangeColumnDataSource (); chart.DataSource = dataModel as SFChartDataSource; this.control = chart; }
public RangeColumn() { SFChart chart = new SFChart(); SFCategoryAxis primary = new SFCategoryAxis(); primary.LabelPlacement = SFChartLabelPlacement.BetweenTicks; chart.PrimaryAxis = primary; chart.SecondaryAxis = new SFNumericalAxis() { ShowMajorGridLines = false }; ChartRangeColumnDataSource dataModel = new ChartRangeColumnDataSource(); chart.DataSource = dataModel as SFChartDataSource; this.control = chart; }