PlotArea
PlotArea class
Encapsulates the object that represents the plot area in a chart.
class PlotArea extends ChartFrame;
Constructors
Name | Description |
---|---|
constructor(ChartFrame) | Constructs from a parent object convertible to this. |
Methods
Method | Description |
---|---|
getX() | Gets or gets the x coordinate of the upper left corner of plot-area bounding box in units of 1/4000 of the chart area. |
setX(number) | Gets or gets the x coordinate of the upper left corner of plot-area bounding box in units of 1/4000 of the chart area. |
getY() | Gets or gets the y coordinate of the upper top corner of plot-area bounding box in units of 1/4000 of the chart area. |
setY(number) | Gets or gets the y coordinate of the upper top corner of plot-area bounding box in units of 1/4000 of the chart area. |
getHeight() | Gets or sets the height of plot-area bounding box in units of 1/4000 of the chart area. |
setHeight(number) | Gets or sets the height of plot-area bounding box in units of 1/4000 of the chart area. |
getWidth() | Gets or sets the width of plot-area bounding box in units of 1/4000 of the chart area. |
setWidth(number) | Gets or sets the width of plot-area bounding box in units of 1/4000 of the chart area. |
getInnerX() | Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area. |
setInnerX(number) | Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area. |
getInnerY() | Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area. |
setInnerY(number) | Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area. |
getInnerHeight() | Gets or sets the height of plot area in units of 1/4000 of the chart area. |
setInnerHeight(number) | Gets or sets the height of plot area in units of 1/4000 of the chart area. |
getInnerWidth() | Gets or sets the width of plot area in units of 1/4000 of the chart area. |
setInnerWidth(number) | Gets or sets the width of plot area in units of 1/4000 of the chart area. |
isAutomaticSize() | Indicates whether the plot area is automatic sized. |
setIsAutomaticSize(boolean) | Indicates whether the plot area is automatic sized. |
setPositionAuto() | Set position of the plot area to automatic |
isNull() | Checks whether the implementation object is null. |
isInnerMode() | Indicates whether the size of the plot area size includes the tick marks, and the axis labels. False specifies that the size shall determine the size of the plot area, the tick marks, and the axis labels. |
setIsInnerMode(boolean) | Indicates whether the size of the plot area size includes the tick marks, and the axis labels. False specifies that the size shall determine the size of the plot area, the tick marks, and the axis labels. |
getBackgroundMode() | Gets and sets the display mode of the background |
setBackgroundMode(BackgroundMode) | Gets and sets the display mode of the background |
getShadow() | True if the frame has a shadow. |
setShadow(boolean) | True if the frame has a shadow. |
getShapeProperties() | Gets the ShapeProperties object. |
isDefaultPosBeSet() | Indicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set. |
getDefaultX() | Represents x of default position |
getDefaultY() | Represents y of default position |
getDefaultWidth() | Represents width of default position |
getDefaultHeight() | Represents height of default position |
getBorder() | Gets the |
getArea() | Gets the |
getTextOptions() | Gets and sets the options of the text. |
getFont() | Gets a Font object of the specified ChartFrame object. |
getAutoScaleFont() | True if the text in the object changes font size when the object size changes. The default value is True. |
setAutoScaleFont(boolean) | True if the text in the object changes font size when the object size changes. The default value is True. |
constructor(ChartFrame)
Constructs from a parent object convertible to this.
constructor(obj: ChartFrame);
Parameters:
Parameter | Type | Description |
---|---|---|
obj | ChartFrame | The parent object. |
getX()
Gets or gets the x coordinate of the upper left corner of plot-area bounding box in units of 1/4000 of the chart area.
getX() : number;
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
setX(number)
Gets or gets the x coordinate of the upper left corner of plot-area bounding box in units of 1/4000 of the chart area.
setX(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
getY()
Gets or gets the y coordinate of the upper top corner of plot-area bounding box in units of 1/4000 of the chart area.
getY() : number;
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
setY(number)
Gets or gets the y coordinate of the upper top corner of plot-area bounding box in units of 1/4000 of the chart area.
setY(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
getHeight()
Gets or sets the height of plot-area bounding box in units of 1/4000 of the chart area.
getHeight() : number;
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
setHeight(number)
Gets or sets the height of plot-area bounding box in units of 1/4000 of the chart area.
setHeight(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
getWidth()
Gets or sets the width of plot-area bounding box in units of 1/4000 of the chart area.
getWidth() : number;
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
setWidth(number)
Gets or sets the width of plot-area bounding box in units of 1/4000 of the chart area.
setWidth(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
getInnerX()
Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area.
getInnerX() : number;
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
setInnerX(number)
Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area.
setInnerX(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
getInnerY()
Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area.
getInnerY() : number;
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
setInnerY(number)
Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area.
setInnerY(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
getInnerHeight()
Gets or sets the height of plot area in units of 1/4000 of the chart area.
getInnerHeight() : number;
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
setInnerHeight(number)
Gets or sets the height of plot area in units of 1/4000 of the chart area.
setInnerHeight(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
getInnerWidth()
Gets or sets the width of plot area in units of 1/4000 of the chart area.
getInnerWidth() : number;
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
setInnerWidth(number)
Gets or sets the width of plot area in units of 1/4000 of the chart area.
setInnerWidth(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
Remarks
The plot-area bounding box includes the plot area, tick marks(tick labels), and a small border around the tick marks. If the value is not created by MS Excel, please call Chart.Calculate() method before calling this method.
The X, Y, Width and Height of PlotArea represents the plot-area bounding box that includes the plot area, tick marks(tick labels), and a small border around the tick marks. If you want to get actual size of plot area, you should call InnerX, InnerY, InnerWidth and InnerHeight properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
isAutomaticSize()
Indicates whether the plot area is automatic sized.
isAutomaticSize() : boolean;
setIsAutomaticSize(boolean)
Indicates whether the plot area is automatic sized.
setIsAutomaticSize(value: boolean) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |
setPositionAuto()
Set position of the plot area to automatic
setPositionAuto() : void;
isNull()
Checks whether the implementation object is null.
isNull() : boolean;
isInnerMode()
Indicates whether the size of the plot area size includes the tick marks, and the axis labels. False specifies that the size shall determine the size of the plot area, the tick marks, and the axis labels.
isInnerMode() : boolean;
Remarks
Only for Xlsx file.
setIsInnerMode(boolean)
Indicates whether the size of the plot area size includes the tick marks, and the axis labels. False specifies that the size shall determine the size of the plot area, the tick marks, and the axis labels.
setIsInnerMode(value: boolean) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |
Remarks
Only for Xlsx file.
getBackgroundMode()
Gets and sets the display mode of the background
getBackgroundMode() : BackgroundMode;
Returns
setBackgroundMode(BackgroundMode)
Gets and sets the display mode of the background
setBackgroundMode(value: BackgroundMode) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | BackgroundMode | The value to set. |
getShadow()
True if the frame has a shadow.
getShadow() : boolean;
setShadow(boolean)
True if the frame has a shadow.
setShadow(value: boolean) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |
getShapeProperties()
Gets the ShapeProperties object.
getShapeProperties() : ShapePropertyCollection;
Returns
isDefaultPosBeSet()
Indicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set.
isDefaultPosBeSet() : boolean;
getDefaultX()
Represents x of default position
getDefaultX() : number;
getDefaultY()
Represents y of default position
getDefaultY() : number;
getDefaultWidth()
Represents width of default position
getDefaultWidth() : number;
getDefaultHeight()
Represents height of default position
getDefaultHeight() : number;
getBorder()
Gets the
getBorder() : Line;
Returns
getArea()
Gets the
getArea() : Area;
Returns
getTextOptions()
Gets and sets the options of the text.
getTextOptions() : TextOptions;
Returns
getFont()
Gets a Font object of the specified ChartFrame object.
getFont() : Font;
Returns
getAutoScaleFont()
True if the text in the object changes font size when the object size changes. The default value is True.
getAutoScaleFont() : boolean;
setAutoScaleFont(boolean)
True if the text in the object changes font size when the object size changes. The default value is True.
setAutoScaleFont(value: boolean) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |