This example shows how to create a Side-by-Side Bar chart at runtime.
In this example, you add Series
objects to the ChartControl.Series
collection and then populate the Series.Points
collection with points for each series.
The Chart Control uses the XY-Diagram to display bar 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.
Note that you can cast the series' View
property to the SideBySideBarSeriesView
type to access bar series appearance settings.
- How to programmatically bind series to data and display them in separate panes
- How to create an Overlapped Range Bar chart
- How to create a Side-by-Side Full-Stacked Bar chart
- How to create a Side-by-Side Range Bar chart
- How to implement a custom bar animation
- How to create a Stacked Bar chart
- How to Create a Side-by-Side Stacked Bar Chart
(you will be redirected to DevExpress.com to submit your response)