Chart class

Represents a chart sheet in the workbook.

Constructors

Chart(Worksheet sheet)
Create an instances of Chart class.

Properties

bottomRow int
Represent the chart bottom row.
getter/setter pair
chartTitle String?
Gets chart title.
getter/setter pair
chartTitleArea ChartTextArea
Gets chart text area.
no setter
chartType ExcelChartType
Excel chart type
getter/setter pair
dataRange ↔ Range?
Gets the data range for the chart series.
getter/setter pair
depthPercent int
Returns the depth of a 3-D chart as a percentage of the chart width (between 20 and 2000 percent).
getter/setter pair
elevation int
Get the elevation of the 3-D chart view, in degrees (-90 to +90 degrees).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasLegend bool
Gets the boolean value to display the chart legend, True by default.
getter/setter pair
hasTitle bool
Gets indicates whether to display chart title or not.
getter/setter pair
index int
Represent chart index.
getter/setter pair
isChartBar bool
True if chart is a bar chart. False otherwise. Read-only.
no setter
isSeriesInRows bool
True if chart has a series in row. False otherwise. Read-only.
getter/setter pair
leftColumn int
Represent the chart left colunm.
getter/setter pair
legend ChartLegend?
Gets the chart legend.
no setter
linePattern ExcelChartLinePattern
Represents ChartArea border line property.
getter/setter pair
linePatternColor String?
ChartArea border line color property.
getter/setter pair
name String
Represents charts name.
getter/setter pair
perspective int
Get the perspective for the 3D chart view (0 to 100).
getter/setter pair
plotArea ChartPlotArea
Get a plotArea
no setter
primaryCategoryAxis ChartCategoryAxis
Get the primaryCategoryAxis
no setter
primaryValueAxis ChartValueAxis
Get the primary value axis.
no setter
rightAngleAxes bool
True if the chart axes are at right angles, independent of chart rotation or elevation. otherwise False. Returns the RightAngleAxes of a 3-D chart as a percentage of the chart width (between 20 and 2000 percent).
getter/setter pair
rightColumn int
Represents the chart right colunm.
getter/setter pair
rotation int
sets the rotation of the 3D chart view (the rotation of the plot area around the z-axis, in degrees)-(0 to 360 degrees). The value of this property must be from 0 to 360, except for 3-D bar charts, where the value must be from 0 to 44. The default value is 20. Applies only to 3-D charts. The following code illustrates how to set
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
series ChartSeriesCollection
Gets the collection of series of the chart. Read-only.
no setter
topRow int
Represents the chart top row.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited