public Column () { chart = new SFChart (); SFCategoryAxis primary = new SFCategoryAxis (); primary.LabelPlacement = SFChartLabelPlacement.BetweenTicks; chart.PrimaryAxis = primary; chart.PrimaryAxis.ShowMajorGridLines = false; chart.SecondaryAxis = new SFNumericalAxis (); chart.SecondaryAxis.AxisLineStyle.LineWidth = 0; chart.SecondaryAxis.MajorTickStyle.LineSize = 0; ChartColumnDataSource dataModel = new ChartColumnDataSource (); chart.DataSource = dataModel as SFChartDataSource; this.control = chart; }
public Column() { chart = new SFChart(); SFCategoryAxis primary = new SFCategoryAxis(); primary.LabelPlacement = SFChartLabelPlacement.BetweenTicks; chart.PrimaryAxis = primary; chart.PrimaryAxis.ShowMajorGridLines = false; chart.SecondaryAxis = new SFNumericalAxis(); chart.SecondaryAxis.AxisLineStyle.LineWidth = 0; chart.SecondaryAxis.MajorTickStyle.LineSize = 0; ChartColumnDataSource dataModel = new ChartColumnDataSource(); chart.DataSource = dataModel as SFChartDataSource; this.control = chart; }