This example shows how to create a Candlestick chart and bind it to data at runtime.
In this example, you add a Series object of the CandleStick view to the ChartControl.Series collection. To specify the data source of the series, use the DataSource property. Call the SeriesBase.SetFinancialDataMembers method to define which data members store arguments, and Open, High, Low, and Close values.
Cast the View property of the series to the CandleStickSeriesView type to access bar series appearance settings.
The Chart Control uses the XY-Diagram to display candlestick series. Cast the ChartControl.Diagram property to the XYDiagram type to access diagram settings. The Chart Control determines the diagram type based on the series that is added first. We recommend that you access the diagram to configure its settings after at least one series is added to the chart.
- How to create a Stock chart
- How to display a regression line for a series
- How to draw Fibonacci Arcs, Fans and Retracement for a Stock series
(you will be redirected to DevExpress.com to submit your response)