A chart picture is composed of various elements such as legends, axes, series, and other chart elements. Each chart element corresponds to an object.
The following picture shows many of the chart elements in the chart picture.
- Chart Picture
- The chart picture is the entire image that is produced, and corresponds to the root Chart class.
- A related group of data points. Each series has an associated chart type. The number of series that a chart can display and how it displays the series depends on the chart type you specify. This element corresponds to the Series class.
- Chart Area
- A rectangular area that is used to draw the series, labels, axes, grid lines, tick marks, and so on. Depending on the chart type, multiple series can be plotted in one chart area. This element corresponds to the ChartArea class.
- Plot Area
- The rectangular area in a chart area that is used to plot the chart series and grid lines. Labels, tick marks and axes titles are drawn outside of the plotting area, but inside the chart area. The plot area can be set using the InnerPlotPosition property.
- A title on the chart picture. You can add any number of titles to a chart picture.
- Axis Label
- A label on an axis. It is generated automatically if no custom labels are supplied. This element corresponds to the Label class.
- Axis Title
- The title of an axis, which describes what the axis represents.
- A legend for the chart picture. There can be more than one legend in a chart picture. This element corresponds to an item in the Legend collection.
- Grid Lines
- The horizontal and vertical grid lines, which usually occur in conjunction with tick marks. This element corresponds to the Grid class.
- Tick Marks
- The tick marks on the axes, which usually occur in conjunction with grid lines. This element corresponds to the TickMark class.
- A label that describes a data point.