Esempio n. 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;
		}
Esempio n. 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;
        }