Class PlotArea
java.lang.Object
com.independentsoft.office.odf.charts.PlotArea
- All Implemented Interfaces:
IContentElement
Represents a coordinate system in which data is plotted including defined axes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.getAxes()Gets collection of axis.Gets ranges from which all the data for the chart comes.Returns all content elements.getFloor()Gets the floor.Gets default height for new frames that are created using the graphics style.Returns the parent content element.Gets collection of data series.getStyle()Gets name that reference style mechanisms.getWall()Gets the wall.getWidth()Gets the width of a chart.getX()Gets the X coordinate of plot area.getY()Gets the Y coordinate of plot area.voidsetCellRange(String cellRange)Sets ranges from which all the data for the chart comes.voidSets the floor.voidSets default height for new frames that are created using the graphics style.voidsetParent(IContentElement parent)Sets the parent content element.voidSets name that reference style mechanisms.voidSets the wall.voidSets the width of a chart.voidSets the X coordinate of plot area.voidSets the Y coordinate of plot area.toString()Converts the value of the current PlotArea object to its equivalent string representation.
-
Constructor Details
-
PlotArea
public PlotArea()Initializes a new instance of the PlotArea class.
-
-
Method Details
-
getContentElements
Returns all content elements.- Specified by:
getContentElementsin interfaceIContentElement- Returns:
- A collection of content elements.
-
getParent
Returns the parent content element.- Specified by:
getParentin interfaceIContentElement- Returns:
- the parent
-
setParent
Sets the parent content element.- Specified by:
setParentin interfaceIContentElement- Parameters:
parent- the new parent
-
clone
Creates a new object that is a deep copy of the current instance.- Specified by:
clonein interfaceIContentElement- Overrides:
clonein classObject- Returns:
- A new object that is a copy of this instance.
-
toString
Converts the value of the current PlotArea object to its equivalent string representation. -
getCellRange
Gets ranges from which all the data for the chart comes. The range given here is interpreted by the chart as consecutive series.- Returns:
- the cell range
-
setCellRange
Sets ranges from which all the data for the chart comes. The range given here is interpreted by the chart as consecutive series.- Parameters:
cellRange- the new cell range
-
getStyle
Gets name that reference style mechanisms.- Returns:
- the style
-
setStyle
Sets name that reference style mechanisms.- Parameters:
style- the new style
-
getX
Gets the X coordinate of plot area.- Returns:
- the x
-
setX
Sets the X coordinate of plot area.- Parameters:
x- the new x
-
getY
Gets the Y coordinate of plot area.- Returns:
- the y
-
setY
Sets the Y coordinate of plot area.- Parameters:
y- the new y
-
getWidth
Gets the width of a chart. If it is omitted, the size of a chart is determined by the size of the window in which the chart is displayed.- Returns:
- the width
-
setWidth
Sets the width of a chart. If it is omitted, the size of a chart is determined by the size of the window in which the chart is displayed.- Parameters:
width- the new width
-
getHeight
Gets default height for new frames that are created using the graphics style.- Returns:
- the height
-
setHeight
Sets default height for new frames that are created using the graphics style.- Parameters:
height- the new height
-
getAxes
Gets collection of axis.- Returns:
- the axes
-
getSeries
Gets collection of data series.- Returns:
- the series
-
getWall
Gets the wall. For two-dimensional charts, the wall spans the entire plot area. For three-dimensional charts, the wall consists of two perpendicular rectangles.- Returns:
- the wall
-
setWall
Sets the wall. For two-dimensional charts, the wall spans the entire plot area. For three-dimensional charts, the wall consists of two perpendicular rectangles.- Parameters:
wall- the new wall
-
getFloor
Gets the floor.- Returns:
- the floor
-
setFloor
Sets the floor.- Parameters:
floor- the new floor
-