Click or drag to resize

XlsChart Properties

The XlsChart type exposes the following members.

Properties
Name Description
Public property ArcShapes
Gets the collection of arc shapes in the worksheet.
(Inherited from XlsWorksheetBase .)
Public property AutoScaling
True if Microsoft Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart.
Public property ButtonShapes
Gets the collection of button shapes in the worksheet.
(Inherited from XlsWorksheetBase .)
Public property CanChartBubbleLabel
Returns True if chart can have bubble data labels. Read-only.
Public property CanChartHaveSeriesLines
Returns True if chart can have series lines. Read-only.
Public property CanChartPercentageLabel
Returns True if chart can have percentage data labels. Read-only.
Public property CategoryAxisTitle
Title of the category axis.
Public property CellImages
Cell image array. Read-only.
(Inherited from XlsWorksheetBase .)
Public property ChartArea
Returns an object that represents the complete chart area for the chart. Read-only.
Public property Charts
Returns charts collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property ChartStartType
Returns start type of chart type. Read-only.
Public property ChartTitle
Title of the chart.
Public property ChartTitleFont
Returns object that describes chart title area. Read-only.
Public property ChartType
Type of the chart.
Public property CheckBoxes
Returns inner checkboxes collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property CodeName
Name used by macros to access workbook items.
(Inherited from XlsWorksheetBase .)
Public property ComboBoxes
Returns collection with all comboboxes inside this worksheet. Read-only.
(Inherited from XlsWorksheetBase .)
Public property Comments
Returns comments collection for this worksheet. Read-only.
(Inherited from XlsWorksheetBase .)
Public property DataRange
DataRange for the chart series.
Public property DataTable
Represents charts dataTable object.
Public property DefaultGridlineColor
Indicates whether gridline color has default value.
(Inherited from XlsWorksheetBase .)
Public property DefaultLinePattern
Returns default line pattern for the chart. Read-only.
Public property DefaultTextIndex Obsolete.
Gets font index from the default font records.
Public property DepthPercent
Returns or sets the depth of a 3-D chart as a percentage of the chart width (between 20 and 2000 percent).
Public property DestinationType
Gets chart type after type change.
Public property DisplayAxisFieldButtons
Gets or sets a value indicating whether [show axis field buttons].
Public property DisplayBlanksAs
Represents the way that blank cells are plotted on a chart.
Public property DisplayEntireFieldButtons
Gets or sets a value indicating whether [show all field buttons].
Public property DisplayLegendFieldButtons
Gets or sets a value indicating whether [show legend field buttons].
Public property DisplayValueFieldButtons
Gets or sets a value indicating whether [show value field buttons].
Public property Elevation
Returns or sets the elevation of the 3-D chart view, in degrees (?0 to +90 degrees).
Public property FirstColumn
Gets or sets index of the first column of the worksheet.
(Inherited from XlsWorksheetBase .)
Public property FirstDataColumn
Gets index of the first data column of the worksheet.
(Inherited from XlsWorksheetBase .)
Public property FirstDataRow
Gets index of the first data row of the worksheet.
(Inherited from XlsWorksheetBase .)
Public property FirstRow
Gets / sets index of the first row of the worksheet.
(Inherited from XlsWorksheetBase .)
Public property Floor
Represents chart floor. Read-only.
Public property Font
Gets font which used for displaying axis text .
Public property GapDepth
Returns or sets the distance between the data series in a 3-D chart, as a percentage of the marker width.( 0 - 500 )
Public property Code example GridLineColor
Grid line color.
Examples
The following code illustrates how to set the grid line color:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Set grid lines color</para><para>worksheet.GridLineColor = ExcelColors.Red;</para><para>//Save to file</para><para>workbook.SaveToFile("GridLineColor.xlsx");</para>
(Inherited from XlsWorksheetBase .)
Public property GroupBoxes
Gets the group boxes in the worksheet.
(Inherited from XlsWorksheetBase .)
Public property GroupShapeCollection
Get group shapes in worksheet.
(Inherited from XlsWorksheetBase .)
Public property HasChartArea
Indicates whether chart has chart area.
Public property HasChartTitle
Indicates wheather the chart has title
Public property HasDataTable
True if the chart has a data table.
Public property HasFloor
Gets value indicating whether floor object was created.
Public property HasLegend
True if the chart has a legend object.
Public property HasPictures
Indicates whether tabsheet contains any picture. Read-only.
(Inherited from XlsWorksheetBase .)
Public property HasPivotTable
Indicates whether contains pivot table.
Public property HasPlotArea
Indicates whether chart has plot area.
Public property HasVmlShapes
Indicates whether worksheet has vml shapes. Read-only.
(Inherited from XlsWorksheetBase .)
Public property HasWalls
Gets value indicating whether floor object was created.
Public property HeaderFooterShapes
Header / footer shapes collection.
(Inherited from XlsWorksheetBase .)
Public property Height
Height of the chart in points (1/72 inch).
Public property HeightPercent
Returns or sets the height of a 3-D chart as a percentage of the chart width (between 5 and 500 percent).
Public property Index
Returns the index number of the object within the collection of objects.
(Inherited from XlsWorksheetBase .)
Public property IsCategoryAxisAvail
Indicates whether chart has a category axis. Read-only.
Public property IsChart_100
Returns True if chart is 100%. Read-only.
Public property IsChart3D
Returns True if chart is 3D. Read-only.
Public property IsChartBar
Returns True if chart is a bar chart. Read-only.
Public property IsChartBubble
Returns True if chart is a bubble chart. Read-only.
Public property IsChartCone
Returns True if chart is a conical shape. Read-only.
Public property IsChartCylinder
Returns True if chart is a cylinder shape. Read-only.
Public property IsChartDoughnut
Returns True if chart is a doughnut chart. Read-only.
Public property IsChartExploded
Returns True if chart is exploded. Read-only.
Public property IsChartFloor
Returns True if chart has floor. Read-only.
Public property IsChartLine
Returns True if chart is line. Read-only.
Public property IsChartPie
Returns True if chart is a pie chart. Read-only.
Public property IsChartPyramid
Returns True if chart is a pyramid shape. Read-only.
Public property IsChartRadar
Returns True if chart is a radar chart. Read-only.
Public property IsChartScatter
Returns True if chart is a scatter chart. Read-only.
Public property IsChartSmoothedLine
Returns True if chart has smoothed lines. Read-only.
Public property IsChartStock
Returns True if this is a stock chart. Read-only.
Public property IsChartVeryColor
Returns True if chart should have a different color for each series value. Read-only.
Public property IsChartVolume
Returns True if chart is a stock chart with volume. Read-only.
Public property IsChartWalls
Returns True if chart has walls. Read-only.
Public property IsClustered
Returns True if chart is a clustered chart. Read-only.
Public property IsEmbeded
Gets value indicating whether chart is embeded into worksheet.
Public property IsPasswordProtected
True if the worksheet has been protected with password.
(Inherited from XlsWorksheetBase .)
Public property IsPerspective
Returns True if chart has perspective. Read-only.
Public property IsPivot3DChart
Gets a value indicating whether this instance is pivot 3D chart .
Public property IsRightToLeft
Indicates whether worksheet is displayed right to left.
(Inherited from XlsWorksheetBase .)
Public property IsRowColHeadersVisible
Gets or sets whether the worksheet will display row and column headers. Default is true.
(Inherited from XlsWorksheetBase .)
Public property IsSecondaryAxes Obsolete.
Returns True if at least one of the secondary axes is present. Read-only.
Public property IsSecondaryCategoryAxisAvail Obsolete.
Returns True if secondary category axis present. Read-only.
Public property IsSecondaryValueAxisAvail Obsolete.
Returns True if secondary value axis present. Read-only.
Public property IsSelected
Indicates whether tab of this sheet is selected. Read-only.
(Inherited from XlsWorksheetBase .)
Public property IsSeriesAxisAvail Obsolete.
Indicates if chart has a series axis. Read-only.
Public property IsSeriesLines
Returns True if chart has series lines. Read-only.
Public property IsSpecialDataLabels
Returns True if chart needs special data labels serialization. Read-only.
Public property IsStacked
Returns True if chart is stacked. Read-only.
Public property IsTransitionEvaluation
Gets or sets a value indicating whether transition evaluation is enabled.
(Inherited from XlsWorksheetBase .)
Public property IsValueAxisAvail
Indicates whehter chart has a value axis. Read-only.
Public property LabelShapes
Gets the collection of label shapes in the worksheet.
(Inherited from XlsWorksheetBase .)
Public property LastColumn
Gets or sets index of the last column of the worksheet.
(Inherited from XlsWorksheetBase .)
Public property LastDataColumn
Gets index of the last data column of the worksheet.
(Inherited from XlsWorksheetBase .)
Public property LastDataRow
Gets index of the last data row of the worksheet.
(Inherited from XlsWorksheetBase .)
Public property LastRow
Gets or sets one-based index of the last row of the worksheet.
(Inherited from XlsWorksheetBase .)
Public property Code example LeftVisibleColumn
Gets/sets left visible column of the worksheet.
Examples
The following code illustrates how to set the left visible column:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Set left visible column</para><para>worksheet.LeftVisibleColumn = 3;</para><para>//Get left visible column</para><para>Console.Write(worksheet.LeftVisibleColumn);</para><para>//Save to file</para><para>workbook.SaveToFile("LeftVisibleColumn.xlsx");</para>
(Inherited from XlsWorksheetBase .)
Public property Legend
Represents chart legend.
Public property Lines
Gets the lines of the chart.
(Inherited from XlsWorksheetBase .)
Public property ListBoxes
Gets the list of list boxes in the workbook.
(Inherited from XlsWorksheetBase .)
Public property Name
Returns or sets the name of the object. Read / write String.
(Inherited from XlsWorksheetBase .)
Public property NeedDataFormat
Returns True if chart needs data format to be saved. Read-only.
Public property NeedDropBar
Returns True if chart needs drop bars to be saved. Read-only.
Public property NeedMarkerFormat
Returns True if chart needs marker format to be saved. Read-only.
Public property NoPlotArea
Returns True if chart has no plot area. Read-only.
Public property OvalShapes
Gets the oval shapes in the worksheet.
(Inherited from XlsWorksheetBase .)
Public property PageSetup
Page setup for the chart. Read-only.
Public property Parent
Reference to Parent object. Read-only.
(Inherited from XlsObject .)
Public property ParentWorkbook
Returns parent workbook. Read-only.
(Inherited from XlsWorksheetBase .)
Public property Perspective
Returns or sets the perspective for the 3-D chart view (0 to 100).
Public property Pictures
Pictures collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property PivotChartType
Gets or sets the type of the pivot chart.
Public property PivotTable
Gets or sets the pivot source.
Public property PlotArea
Returns plot area frame format. Read-only.
Public property PlotVisibleOnly
True if only visible cells are plotted. False if both visible and hidden cells are plotted.
Public property PrimaryCategoryAxis
Primary category axis. Read-only.
Public property PrimarySerieAxis
Primary serie axis. Read-only.
Public property PrimaryValueAxis
Primary value axis. Read-only.
Public property ProtectContents
Indicates is current sheet is protected.
(Inherited from XlsWorksheetBase .)
Public property ProtectDrawingObjects
True if objects are protected. Read only.
(Inherited from XlsWorksheetBase .)
Public property Protection
Gets protected options. Read-only. For sets protection options use "Protect" method.
(Inherited from XlsWorksheetBase .)
Public property ProtectScenarios
True if the scenarios of the current sheet are protected. Read only.
(Inherited from XlsWorksheetBase .)
Public property PrstGeomShapes
Gets the collection of preset geometric shapes.
(Inherited from XlsWorksheetBase .)
Public property QueryTables
Gets the collection of query tables in the worksheet.
(Inherited from XlsWorksheetBase .)
Public property RadioButtons
Returns inner radiobutton collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property RealIndex
Index of the worksheet in the workbook (not necessary in Worksheets collection)
(Inherited from XlsWorksheetBase .)
Public property RectangleShapes
Gets the rectangle shapes in the worksheet.
(Inherited from XlsWorksheetBase .)
Protected property ReferenceCount
Get quantity of instance references.
(Inherited from XlsObject .)
Public property RightAngleAxes
True if the chart axes are at right angles, independent of chart rotation or elevation.
Public property Rotation
Returns or sets the rotation of the 3-D chart view (the rotation of the plot area around the z-axis, in degrees).(0 to 360 degrees).
Public property ScrollBarShapes
Gets the scroll bar shapes associated with the worksheet.
(Inherited from XlsWorksheetBase .)
Public property SecondaryCategoryAxis
Secondary category axis. Read-only.
Public property SecondaryCategoryAxisTitle
Title of the secondary category axis.
Public property SecondaryValueAxis
Secondary value axis. Read-only.
Public property SecondaryValueAxisTitle
Title of the secondary value axis.
Public property SeriesAxisTitle
Title of the series axis.
Public property SeriesDataFromRange
True if series are in rows in DataRange; False otherwise.
Public property Shapes
Shapes collection.
(Inherited from XlsWorksheetBase .)
Public property SheetId
Gets or sets sheetId for this sheet.
(Inherited from XlsWorksheetBase .)
Public property ShowReportFilterFieldButtons
Gets or sets a value indicating whether [show report filter field buttons].
Public property SizeWithWindow
True if Microsoft Excel resizes the chart to match the size of the chart sheet window. False if the chart size isn't attached to the window size. Applies only to chart sheets.
Public property SpinnerShapes
Gets the spinner shapes in the worksheet.
(Inherited from XlsWorksheetBase .)
Public property Style
Style index for Excel 2007 chart.
Public property SupportWallsAndFloor
Indicates whether this chart supports walls and floor. Read-only.
Public property TabColor
Tab color.
(Inherited from XlsWorksheetBase .)
Public property TabColorObject
Tab color.
(Inherited from XlsWorksheetBase .)
Public property TabKnownColor
Tab excel color.
(Inherited from XlsWorksheetBase .)
Public property TextBoxes
Returns inner textboxes collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property Code example TopVisibleRow
Gets/sets top visible row of the worksheet.
Examples
The following code illustrates how to set the top visible row:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Set top visible row</para><para>worksheet.TopVisibleRow = 5;</para><para>//Get top visible row</para><para>Console.Write(worksheet.TopVisibleRow);</para><para>//Save to file</para><para>workbook.SaveToFile("TopVisibleRow.xlsx");</para>
(Inherited from XlsWorksheetBase .)
Public property TypedArcs
Returns inner Arcs collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedButtons
Returns inner buttons collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedCheckBoxes
Returns inner checkboxes collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedComboBoxes
Returns inner comboboxes collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedGroupBoxes
Returns inner gourpboxes collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedLabels
Returns inner labels collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedLines
Returns inner lines collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedListBoxes
Returns inner listboxes collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedOvals
Returns inner ovals collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedPictures
Returns inner pictures collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedRadioButtons
Returns inner radiobutton collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedRects
Returns inner rects collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedScollBars
Returns inner scollbars collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedSpinners
Returns inner spinners collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property TypedTextBoxes
Returns inner textboxes collection. Read-only.
(Inherited from XlsWorksheetBase .)
Public property UnknownVmlShapes
Indicates whether worksheet contains some unknown vml shapes.
(Inherited from XlsWorksheetBase .)
Public property ValueAxisTitle
Title of the value axis.
Public property Visibility
Controls end user visibility of worksheet.
(Inherited from XlsWorksheetBase .)
Public property VmlShapesCount
Returns number of known vml shapes. Read-only.
(Inherited from XlsWorksheetBase .)
Public property Walls
Represents chart walls. Read-only.
Public property WallsAndGridlines2D
True if gridlines are drawn two-dimensionally on a 3-D chart.
Public property Width
Width of the chart in points (1/72 inch).
Public property Workbook
Get parent workbook of current worksheet.
(Inherited from XlsWorksheetBase .)
Public property XPos
X coordinate of the upper-left corner of the chart in points (1/72 inch).
Public property YPos
Y coordinate of the upper-left corner of the chart in points (1/72 inch).
Public property Zoom
Zoom factor of document.
(Inherited from XlsWorksheetBase .)
Public property ZoomToFit
Gets or sets zoomToFit value.
Top
See Also