anyone know the settings to create a candlestick chart? i have a datatable with the appropriate values and i need to bind them to the chart through code.
ChartSeries s = new ChartSeries();
s.Type = ChartSeriesType.CandleStick;
s.DataLabelsColumn = "Open";
//s.DataXColumn = "Date";
s.DataYColumn = "Open";
//s.DataYColumn2 = "High";
//s.DataYColumn3 = "Low";
//s.DataYColumn4 = "Close";
//s.DataXColumn = "Date";
//s.DataXColumn2 = "Date";
this.chart1.Series.Add(s);
ChartSeries s = new ChartSeries();
s.Type = ChartSeriesType.CandleStick;
s.DataLabelsColumn = "Open";
//s.DataXColumn = "Date";
s.DataYColumn = "Open";
//s.DataYColumn2 = "High";
//s.DataYColumn3 = "Low";
//s.DataYColumn4 = "Close";
//s.DataXColumn = "Date";
//s.DataXColumn2 = "Date";
this.chart1.Series.Add(s);