PlotArea

PlotArea class

Encapsulates the object that represents the plot area in a chart.

Properties

NameTypeDescription
XNumberGets or gets the x coordinate of the upper left corner of plot-area bounding box in units of 1/4000 of the chart area. T
YNumberGets or gets the y coordinate of the upper top corner of plot-area bounding box in units of 1/4000 of the chart area. Th
HeightNumberGets or sets the height of plot-area bounding box in units of 1/4000 of the chart area. The plot-area bounding box inclu
WidthNumberGets or sets the width of plot-area bounding box in units of 1/4000 of the chart area. The plot-area bounding box includ
InnerXNumberGets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area. The plot-area b
InnerYNumberGets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area. The plot-area b
InnerHeightNumberGets or sets the height of plot area in units of 1/4000 of the chart area. The plot-area bounding box includes the plot
InnerWidthNumberGets or sets the width of plot area in units of 1/4000 of the chart area. The plot-area bounding box includes the plot a
XRatioToChartNumber
YRatioToChartNumber
HeightRatioToChartNumber
WidthRatioToChartNumber
InnerXRatioToChartNumber
InnerYRatioToChartNumber
InnerHeightRatioToChartNumber
InnerWidthRatioToChartNumber
IsAutomaticSizebooleanIndicates whether the plot area is automatic sized.
IsInnerModebooleanIndicates whether the size of the plot area size includes the tick marks, and the axis labels. False specifies that the
ChartChartGets the chart to which this object belongs.
BorderLineGets the Line .
AreaAreaGets the area .
TextFontFontGets a Font object of the specified ChartFrame object. NOTE: This member is now obsolete. Instead, please use ChartFrame
TextOptionsTextOptionsGets and sets the options of the text.
FontFontGets a Font object of the specified ChartFrame object.
AutoScaleFontbooleanTrue if the text in the object changes font size when the object size changes. The default value is True.
BackgroundModeNumberGets and sets the display mode of the background The value of the property is BackgroundMode integer constant.
BackgroundNumberGets and sets the display mode of the background The value of the property is BackgroundMode integer constant. NOTE: Thi
ShadowbooleanTrue if the frame has a shadow.
ShapePropertiesShapePropertyCollectionGets the ShapeProperties object.
IsDefaultPosBeSetbooleanIndicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set.
DefaultXNumberRepresents x of default position
DefaultYNumberRepresents y of default position
DefaultWidthNumberRepresents width of default position
DefaultHeightNumberRepresents height of default position
DefaultXRatioToChartNumber
DefaultYRatioToChartNumber
DefaultWidthRatioToChartNumber
DefaultHeightRatioToChartNumber
XPixelNumber
YPixelNumber
WidthPixelNumberRepresents width
HeightPixelNumberRepresents height

Methods

NameDescription
setPositionAutoSet position of the plot area to automatic

PlotArea.X property

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. 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().

Type: Number

PlotArea.Y property

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. 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().

Type: Number

PlotArea.Height property

Gets or sets the height of plot-area bounding box in units of 1/4000 of the chart area. 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().

Type: Number

PlotArea.Width property

Gets or sets the width of plot-area bounding box in units of 1/4000 of the chart area. 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().

Type: Number

PlotArea.InnerX property

Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area. 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().

Type: Number

PlotArea.InnerY property

Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area. 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().

Type: Number

PlotArea.InnerHeight property

Gets or sets the height of plot area in units of 1/4000 of the chart area. 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().

Type: Number

PlotArea.InnerWidth property

Gets or sets the width of plot area in units of 1/4000 of the chart area. 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().

Type: Number

PlotArea.XRatioToChart property

Type: Number

PlotArea.YRatioToChart property

Type: Number

PlotArea.HeightRatioToChart property

Type: Number

PlotArea.WidthRatioToChart property

Type: Number

PlotArea.InnerXRatioToChart property

Type: Number

PlotArea.InnerYRatioToChart property

Type: Number

PlotArea.InnerHeightRatioToChart property

Type: Number

PlotArea.InnerWidthRatioToChart property

Type: Number

PlotArea.IsAutomaticSize property

Indicates whether the plot area is automatic sized.

Type: boolean

PlotArea.IsInnerMode property

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. Only for Xlsx file.

Type: boolean

PlotArea.Chart property

Gets the chart to which this object belongs.

Type: Chart

PlotArea.Border property

Gets the Line .

Type: Line

PlotArea.Area property

Gets the area .

Type: Area

PlotArea.TextFont property

Gets a Font object of the specified ChartFrame object. NOTE: This member is now obsolete. Instead, please use ChartFrame.Font property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.

Type: Font

PlotArea.TextOptions property

Gets and sets the options of the text.

Type: TextOptions

PlotArea.Font property

Gets a Font object of the specified ChartFrame object.

Type: Font

PlotArea.AutoScaleFont property

True if the text in the object changes font size when the object size changes. The default value is True.

Type: boolean

PlotArea.BackgroundMode property

Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.

Type: Number

PlotArea.Background property

Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant. NOTE: This member is now obsolete. Instead, please use ChartFrame.BackgroundMode property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.

Type: Number

PlotArea.Shadow property

True if the frame has a shadow.

Type: boolean

PlotArea.ShapeProperties property

Gets the ShapeProperties object.

Type: ShapePropertyCollection

PlotArea.IsDefaultPosBeSet property

Indicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set.

Type: boolean

PlotArea.DefaultX property

Represents x of default position

Type: Number

PlotArea.DefaultY property

Represents y of default position

Type: Number

PlotArea.DefaultWidth property

Represents width of default position

Type: Number

PlotArea.DefaultHeight property

Represents height of default position

Type: Number

PlotArea.DefaultXRatioToChart property

Type: Number

PlotArea.DefaultYRatioToChart property

Type: Number

PlotArea.DefaultWidthRatioToChart property

Type: Number

PlotArea.DefaultHeightRatioToChart property

Type: Number

PlotArea.XPixel property

Type: Number

PlotArea.YPixel property

Type: Number

PlotArea.WidthPixel property

Represents width

Type: Number

PlotArea.HeightPixel property

Represents height

Type: Number

setPositionAuto()

Set position of the plot area to automatic