Class PlotArea
Namespace: Aspose.Cells.Charts
Assembly: Aspose.Cells.dll (25.3.0)
Encapsulates the object that represents the plot area in a chart.
public class PlotArea : ChartFrame
Inheritance
object ← ChartFrame ← PlotArea
Inherited Members
ChartFrame.m_IsAutoXPos, ChartFrame.m_IsAutoYPos, ChartFrame.m_IsOffsetPosBeSet, ChartFrame.m_fontIndex, ChartFrame.m_AutoScaleFont, ChartFrame.m_BackgroundMode, ChartFrame.m_isAutoSize, ChartFrame.SetPositionAuto(), ChartFrame.IsInnerMode, ChartFrame.Border, ChartFrame.Area, ChartFrame.TextOptions, ChartFrame.Font, ChartFrame.AutoScaleFont, ChartFrame.BackgroundMode, ChartFrame.IsAutomaticSize, ChartFrame.Shadow, ChartFrame.ShapeProperties, ChartFrame.IsDefaultPosBeSet, ChartFrame.DefaultXRatioToChart, ChartFrame.DefaultYRatioToChart, ChartFrame.DefaultWidthRatioToChart, ChartFrame.DefaultHeightRatioToChart, ChartFrame.XRatioToChart, ChartFrame.YRatioToChart, ChartFrame.WidthRatioToChart, ChartFrame.HeightRatioToChart, ChartFrame.XPixel, ChartFrame.YPixel, ChartFrame.WidthPixel, ChartFrame.HeightPixel, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
HeightRatioToChart
Gets or sets the height of plot-area bounding box in units of ratio of the chart area.
public override double HeightRatioToChart { get; set; }
Property Value
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 XRatioToChart, YRatioToChart, WidthRatioToChart and HeightRatioToChart 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 InnerXRatioToChart, InnerYRatioToChart, InnerWidthRatioToChart and InnerHeightRatioToChart properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
HeightPixel = HeightRatioToChart * chart.ChartObject.Width.InnerHeightRatioToChart
Gets or sets the height of plot area in units of ratio of the chart area.
public double InnerHeightRatioToChart { get; set; }
Property Value
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 XRatioToChart, YRatioToChart, WidthRatioToChart and HeightRatioToChart 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 InnerXRatioToChart, InnerYRatioToChart, InnerWidthRatioToChart and InnerHeightRatioToChart properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
InnerHeight in Pixel = InnerXRatioToChart * chart.ChartObject.Width.InnerWidthRatioToChart
Gets or sets the width of plot area in units of ratio of the chart area.
public double InnerWidthRatioToChart { get; set; }
Property Value
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 XRatioToChart, YRatioToChart, WidthRatioToChart and HeightRatioToChart 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 InnerXRatioToChart, InnerYRatioToChart, InnerWidthRatioToChart and InnerHeightRatioToChart properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
InnerWidth in Pixel = InnerXRatioToChart * chart.ChartObject.Width.InnerXRatioToChart
Gets or gets the x coordinate of the upper top corner of plot area in units of ratio of the chart area.
public double InnerXRatioToChart { get; set; }
Property Value
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 XRatioToChart, YRatioToChart, WidthRatioToChart and HeightRatioToChart 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 InnerXRatioToChart, InnerYRatioToChart, InnerWidthRatioToChart and InnerHeightRatioToChart properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
InnerX in Pixel = InnerXRatioToChart * chart.ChartObject.Width.InnerYRatioToChart
Gets or gets the x coordinate of the upper top corner of plot area in units of ratio of the chart area.
public double InnerYRatioToChart { get; set; }
Property Value
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 XRatioToChart, YRatioToChart, WidthRatioToChart and HeightRatioToChart 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 InnerXRatioToChart, InnerYRatioToChart, InnerWidthRatioToChart and InnerHeightRatioToChart properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
InnerY in Pixel = InnerYRatioToChart * chart.ChartObject.Width.IsAutomaticSize
Indicates whether the plot area is automatic sized.
public override bool IsAutomaticSize { get; set; }
Property Value
WidthRatioToChart
Gets or sets the width of plot-area bounding box in units of ratio of the chart area.
public override double WidthRatioToChart { get; set; }
Property Value
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 XRatioToChart, YRatioToChart, WidthRatioToChart and HeightRatioToChart 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 InnerXRatioToChart, InnerYRatioToChart, InnerWidthRatioToChart and InnerHeightRatioToChart properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
WidthPixel = WidthRatioToChart * chart.ChartObject.Width.XRatioToChart
Gets or gets the x coordinate of the upper left corner of plot-area bounding box in units of ratio of the chart area.
public override double XRatioToChart { get; set; }
Property Value
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 XRatioToChart, YRatioToChart, WidthRatioToChart and HeightRatioToChart 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 InnerXRatioToChart, InnerYRatioToChart, InnerWidthRatioToChart and InnerHeightRatioToChart properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
XPixel = XRatioToChart * chart.ChartObject.Width.YRatioToChart
Gets or gets the y coordinate of the upper top corner of plot-area bounding box in units of ratio of the chart area.
public override double YRatioToChart { get; set; }
Property Value
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 XRatioToChart, YRatioToChart, WidthRatioToChart and HeightRatioToChart 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 InnerXRatioToChart, InnerYRatioToChart, InnerWidthRatioToChart and InnerHeightRatioToChart properties.
For excel 2007 or latter, the default value is zero. you should call get the value after calling Chart.Calculate().
YPixel = YRatioToChart * chart.ChartObject.Width.Methods
SetPositionAuto()
Set position of the plot area to automatic
public override void SetPositionAuto()