예제 #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;
        }