Click or drag to resize

ExcelChart Properties

The ExcelChart type exposes the following members.

Properties
  NameDescription
Public propertyBottomRowIndex
Gets or sets the one based bottom row index of the chart area in the worksheet. The bottom row is not included in the chart area.
Public propertyCategoryAxis
Gets the category axis of this chart.
Public propertyChartArea
Gets the chart area. The returned object can be used to set the border and the interior of the chart area.
Public propertyChartHeightPoints
Gets or sets the height in points (1 point is 1/72 inch) of the chart area. The bottom row index is adjusted based on the specified height.
Public propertyChartHeightPx
Gets or sets the height in pixels (1 pixels is 1/96 inch) of the chart area. The bottom row index is adjusted based on the specified height. The height is measured in pixels. The dimensions can be converted from pixels to inches using the UnitsConverter class.
Public propertyChartLeftPositionPoints
Gets or sets the position in points (1 point is 1/72 inch) of the left edge of the chart area inside the worksheet. The left and right column indexes are adjusted based on the specified left position to keep the width.
Public propertyChartLeftPositionPx
Gets or sets the position in pixels (1 pixels is 1/96 inch) of the left edge of the chart area inside the worksheet. The left and right column indexes are adjusted based on the specified left position to keep the width. The left position is measured in pixels. The dimensions can be converted from pixels to inches using the UnitsConverter class.
Public propertyChartTopPositionPoints
Gets or sets the position in points (1 point is 1/72 inch) of the top edge of the chart area inside the worksheet. The top and bottom column indexes are adjusted based on the specified top position to keep the height.
Public propertyChartTopPositionPx
Gets or sets the position in pixels (1 pixels is 1/96 inch) of the top edge of the chart area inside the worksheet. The top and bottom column indexes are adjusted based on the specified top position to keep the height. The top position is measured in pixels. The dimensions can be converted from pixels to inches using the UnitsConverter class.
Public propertyChartType
Gets or sets the chart type
Public propertyChartWidthPoints
Gets or sets the chart area width in points (1 point is 1/72 inch). The right column index is adjusted based on the specified width.
Public propertyChartWidthPx
Gets or sets the width in pixels (1 pixels is 1/96 inch) of the chart area. The right column index is adjusted based on the specified width. The width is measured in pixels. The dimensions can be converted from pixels to inches using the UnitsConverter class.
Public propertyDataSourceRange
Gets or sets the data source range of the chart
Public propertyDataTable
Gets an object that can be used to set the chart data table options.
Public propertyLeftColumnIndex
Gets or sets the one based left column index of the chart area in the worksheet. The left column is included in the chart area.
Public propertyLegend
Gets the chart legend.
Public propertyPlotArea
Gets the chart plot area. The returned object can be used to set the border and the interior of the chart plot area.
Public propertyRightColumnIndex
Gets or sets the one based right column index of the chart area in the worksheet. The right column is not included in the chart area.
Public propertyRotation3D
Gets the 3D chart rotation properties. The returned object can be used to set the X and Y axes rotation, perspective, depth and height of a 3D chart.
Public propertySeries
Gets the data series collection of this chart.
Public propertySeriesAxis
Gets the series axis of this chart.
Public propertySeriesByRows
Gets or sets a flag indicating if the chart series are created from the data source range rows or columns. The data source range can be specified when the chart is added to the worksheet. When this flag is true the series are created from rows otherwise from columns.
Public propertyShowDataTable
Gets or sets a flag indicating if the chart data table is displayed.
Public propertyTitle
Gets the chart title box. The returned object can be used to set the chart title text, font, color, background and pattern.
Public propertyTopRowIndex
Gets or sets the one based top row index of the chart area in the worksheet. The top row is included in the chart area.
Public propertyValueAxis
Gets the value axis of this chart.
Public propertyWorksheet
Gets the worksheet of this chart.
Top
See Also