public StackedArea () { SFChart chart = new SFChart (); SFCategoryAxis primaryAxis = new SFCategoryAxis (); primaryAxis.EdgeLabelsDrawingMode = SFChartAxisEdgeLabelsDrawingMode.Shift; chart.PrimaryAxis = primaryAxis; chart.SecondaryAxis = new SFNumericalAxis (); StackingAreaDataSource dataModel = new StackingAreaDataSource (); chart.DataSource = dataModel as SFChartDataSource; this.control = chart; }
public StackedArea() { SFChart chart = new SFChart(); SFCategoryAxis primaryAxis = new SFCategoryAxis(); primaryAxis.EdgeLabelsDrawingMode = SFChartAxisEdgeLabelsDrawingMode.Shift; chart.PrimaryAxis = primaryAxis; chart.SecondaryAxis = new SFNumericalAxis(); StackingAreaDataSource dataModel = new StackingAreaDataSource(); chart.DataSource = dataModel as SFChartDataSource; this.control = chart; }