Add Data Series and Data to the Chart using the Properties Window
In This Topic
To add Data Series using the C1Chart Properties window, complete the following steps:
- Right-click on the C1Chart control and select Properties from the context menu. The Properties window for the C1Chart control will appear in the right pane.
- Under the Misc group in the C1Chart Properties window expand the ChartGroups node.
- Expand Group0 -> ChartData and click on the ellipsis button next to the SeriesList property.
- Click the Add button once in the ChartDataSeries Collection Editor to add a new series to the C1Chart control.
- Expand the X node and enter 5 next to the Length property.
- Set the DataType property to System.Single.
- Click on the ellpisis button next to the X property and enter 1, 2, 3, 4, and 5 for the X values.
- Expand the Y node and enter 5 next to the Length property.
- Set the DataType property to System.Single.
- Click on the ellpisis button next to the Y property and enter 13, 14, 15, 16, and 17 for the Y values and click OK.
The new C1Chart series appears on the C1Chart control:
See Also