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.
GetXGets or gets the horizontal offset from its upper left corner column.
SetXGets or gets the horizontal offset from its upper left corner column.
GetYGets or gets the vertical offset from its upper left corner row.
SetYGets or gets the vertical offset from its upper left corner row.
GetHeightGets or sets the vertical offset from its lower right corner row.
SetHeightGets or sets the vertical offset from its lower right corner row.
GetWidthGets or sets the horizontal offset from its lower right corner column.
SetWidthGets or sets the horizontal offset from its lower right corner column.
GetFontGets a 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 object.
IsDefaultPosBeSetIndicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set.
GetDefaultXRepresents x of default position
GetDefaultYRepresents y of default position
GetDefaultWidthRepresents width of default position
GetDefaultHeightRepresents height of default position
GetBorderGets the border.
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.
SetPositionAutoSet position of the frame to automatic