PlotArea
PlotArea class
Encapsulates the object that represents the plot area in a chart.
Properties
| Name | Type | Description |
|---|---|---|
| X | int | 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. T |
| Y | int | 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. Th |
| Height | int | Gets or sets the height of plot-area bounding box in units of 1/4000 of the chart area. The plot-area bounding box inclu |
| Width | int | Gets or sets the width of plot-area bounding box in units of 1/4000 of the chart area. The plot-area bounding box includ |
| InnerX | int | 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 b |
| InnerY | int | 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 b |
| InnerHeight | int | 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 |
| InnerWidth | int | 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 a |
| XRatioToChart | float | |
| YRatioToChart | float | |
| HeightRatioToChart | float | |
| WidthRatioToChart | float | |
| InnerXRatioToChart | float | |
| InnerYRatioToChart | float | |
| InnerHeightRatioToChart | float | |
| InnerWidthRatioToChart | float | |
| IsAutomaticSize | boolean | Indicates whether the plot area is automatic sized. |
| IsInnerMode | boolean | Indicates whether the size of the plot area size includes the tick marks, and the axis labels. False specifies that the |
| Chart | Chart | Gets the chart to which this object belongs. |
| Border | Line | Gets the Line . |
| Area | Area | Gets the area . |
| TextFont | Font | Gets a Font object of the specified ChartFrame object. NOTE: This member is now obsolete. Instead, please use ChartFrame |
| TextOptions | TextOptions | Gets and sets the options of the text. |
| Font | Font | Gets a Font object of the specified ChartFrame object. |
| AutoScaleFont | boolean | True if the text in the object changes font size when the object size changes. The default value is True. |
| BackgroundMode | int | Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant. |
| Background | int | Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant. NOTE: Thi |
| Shadow | boolean | True if the frame has a shadow. |
| ShapeProperties | ShapePropertyCollection | Gets the ShapeProperties object. |
| IsDefaultPosBeSet | boolean | Indicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set. |
| DefaultX | int | Represents x of default position |
| DefaultY | int | Represents y of default position |
| DefaultWidth | int | Represents width of default position |
| DefaultHeight | int | Represents height of default position |
| DefaultXRatioToChart | float | |
| DefaultYRatioToChart | float | |
| DefaultWidthRatioToChart | float | |
| DefaultHeightRatioToChart | float | |
| XPixel | int | |
| YPixel | int | |
| WidthPixel | int | Represents width |
| HeightPixel | int | Represents height |
Methods
| Name | Description |
|---|---|
| setPositionAuto | Set 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: int
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: int
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: int
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: int
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: int
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: int
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: int
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: int
PlotArea.XRatioToChart property
Type: float
PlotArea.YRatioToChart property
Type: float
PlotArea.HeightRatioToChart property
Type: float
PlotArea.WidthRatioToChart property
Type: float
PlotArea.InnerXRatioToChart property
Type: float
PlotArea.InnerYRatioToChart property
Type: float
PlotArea.InnerHeightRatioToChart property
Type: float
PlotArea.InnerWidthRatioToChart property
Type: float
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: int
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: int
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: int
PlotArea.DefaultY property
Represents y of default position
Type: int
PlotArea.DefaultWidth property
Represents width of default position
Type: int
PlotArea.DefaultHeight property
Represents height of default position
Type: int
PlotArea.DefaultXRatioToChart property
Type: float
PlotArea.DefaultYRatioToChart property
Type: float
PlotArea.DefaultWidthRatioToChart property
Type: float
PlotArea.DefaultHeightRatioToChart property
Type: float
PlotArea.XPixel property
Type: int
PlotArea.YPixel property
Type: int
PlotArea.WidthPixel property
Represents width
Type: int
PlotArea.HeightPixel property
Represents height
Type: int
setPositionAuto()
Set position of the plot area to automatic