public StackingBar100 () { SFChart chart = new SFChart (); SFCategoryAxis primaryAxis = new SFCategoryAxis (); primaryAxis.LabelPlacement = SFChartLabelPlacement.BetweenTicks; chart.PrimaryAxis = primaryAxis; chart.SecondaryAxis = new SFNumericalAxis (); chart.SecondaryAxis.EdgeLabelsDrawingMode = SFChartAxisEdgeLabelsDrawingMode.Shift; StackingBar100DataSource dataModel = new StackingBar100DataSource (); chart.DataSource = dataModel as SFChartDataSource; this.control = chart; }
public StackingBar100() { SFChart chart = new SFChart(); SFCategoryAxis primaryAxis = new SFCategoryAxis(); primaryAxis.LabelPlacement = SFChartLabelPlacement.BetweenTicks; chart.PrimaryAxis = primaryAxis; chart.SecondaryAxis = new SFNumericalAxis(); chart.SecondaryAxis.EdgeLabelsDrawingMode = SFChartAxisEdgeLabelsDrawingMode.Shift; StackingBar100DataSource dataModel = new StackingBar100DataSource(); chart.DataSource = dataModel as SFChartDataSource; this.control = chart; }