Пример #1
0
		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;
		}
Пример #2
0
        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;
        }