Ejemplo n.º 1
0
		public Candle ()
		{
			SFChart chart 			= new SFChart ();
			SFCategoryAxis primary 	= new SFCategoryAxis ();
			chart.PrimaryAxis 		= primary;
			chart.SecondaryAxis 	= new SFNumericalAxis ();

			ChartCandleDataSource dataModel = new ChartCandleDataSource ();
			chart.DataSource 				= dataModel as SFChartDataSource;
			this.control = chart;

		}
Ejemplo n.º 2
0
        public Candle()
        {
            SFChart        chart   = new SFChart();
            SFCategoryAxis primary = new SFCategoryAxis();

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

            ChartCandleDataSource dataModel = new ChartCandleDataSource();

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