コード例 #1
0
ファイル: OHLC.cs プロジェクト: IanLeatherbury/tryfsharpforms
		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;
        }