ChartArea Class

ChartArea class

Encapsulates the object that represents the chart area in the worksheet.


type ChartArea struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewChartAreaConstructs from a parent object.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetXRatioToChartGets or gets the horizontal offset from its upper left corner column, in units of ratio of the chart area.
SetXRatioToChartGets or gets the horizontal offset from its upper left corner column, in units of ratio of the chart area.
GetYRatioToChartGets or gets the vertical offset from its upper left corner row, in units of ratio of the chart area.
SetYRatioToChartGets or gets the vertical offset from its upper left corner row, in units of ratio of the chart area.
GetHeightRatioToChartGets or sets the vertical offset from its lower right corner row, in units of ratio of the chart area.
SetHeightRatioToChartGets or sets the vertical offset from its lower right corner row, in units of ratio of the chart area.
GetWidthRatioToChartGets or sets the horizontal offset from its lower right corner column, in units of ratio of the chart area.
SetWidthRatioToChartGets or sets the horizontal offset from its lower right corner column, in units of ratio of the chart area.
GetFontGets a Font object of the specified chartarea object.
IsInnerModeIndicates 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.
SetIsInnerModeIndicates 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.
GetBackgroundModeGets and sets the display mode of the background
SetBackgroundModeGets and sets the display mode of the background
GetShadowTrue if the frame has a shadow.
SetShadowTrue if the frame has a shadow.
GetShapePropertiesGets the ShapeProperties object.
IsDefaultPosBeSetIndicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set.
GetDefaultXRatioToChartRepresents x of default position in units of Fraction of the chart area.
GetDefaultYRatioToChartRepresents y of default position in units of Fraction of the chart area.
GetDefaultWidthRatioToChartRepresents width of default position in units of Fraction of the chart area.
GetDefaultHeightRatioToChartRepresents height of default position in units of Fraction of the chart area.
GetBorderGets the Line.
GetAreaGets the Area.
GetTextOptionsGets and sets the options of the text.
GetAutoScaleFontTrue if the text in the object changes font size when the object size changes. The default value is True.
SetAutoScaleFontTrue if the text in the object changes font size when the object size changes. The default value is True.
IsAutomaticSizeIndicates whether the chart frame is automatic sized.
SetIsAutomaticSizeIndicates whether the chart frame is automatic sized.
GetXPixelGets or sets the x coordinate of the upper left corner in units of Pixel.
SetXPixelGets or sets the x coordinate of the upper left corner in units of Pixel.
GetYPixelGets or sets the y coordinate of the upper left corner in units of Pixel.
SetYPixelGets or sets the y coordinate of the upper left corner in units of Pixel.
GetWidthPixelGets or sets the width of frame in units of Pixel.
SetWidthPixelGets or sets the width of frame in units of Pixel.
GetHeightPixelGets or sets the height of frame in units of Pixel.
SetHeightPixelGets or sets the height of frame in units of Pixel.
SetPositionAutoSet position of the frame to automatic