Пример #1
0
		public OHLC ()
		{
			SFChart chart 					= new SFChart ();
			chart.PrimaryAxis 				= new SFCategoryAxis ();
			chart.SecondaryAxis 			= new SFNumericalAxis ();

			ChartOHLCDataSource dataModel 	= new ChartOHLCDataSource ();
			chart.DataSource 				= dataModel as SFChartDataSource;
			this.control = chart;
		}
Пример #2
0
        public OHLC()
        {
            SFChart chart = new SFChart();

            chart.PrimaryAxis   = new SFCategoryAxis();
            chart.SecondaryAxis = new SFNumericalAxis();

            ChartOHLCDataSource dataModel = new ChartOHLCDataSource();

            chart.DataSource = dataModel as SFChartDataSource;
            this.control     = chart;
        }