LegendEntry

LegendEntry class

Represents a legend entry in a chart legend.

class LegendEntry;

Methods

MethodDescription
isDeleted()Gets and sets whether the legend entry is deleted.
setIsDeleted(boolean)Gets and sets whether the legend entry is deleted.
getFont()Gets a Font object of the specified ChartFrame object.
isTextNoFill()Gets or sets no fill of the text.
setIsTextNoFill(boolean)Gets or sets no fill of the text.
getAutoScaleFont()True if the text in the object changes font size when the object size changes. The default value is True.
setAutoScaleFont(boolean)True if the text in the object changes font size when the object size changes. The default value is True.
getBackgroundMode()Gets and sets the display mode of the background
setBackgroundMode(BackgroundMode)Gets and sets the display mode of the background
isNull()Checks whether the implementation object is null.

isDeleted()

Gets and sets whether the legend entry is deleted.

isDeleted() : boolean;

setIsDeleted(boolean)

Gets and sets whether the legend entry is deleted.

setIsDeleted(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getFont()

Gets a Font object of the specified ChartFrame object.

getFont() : Font;

Returns

Font

isTextNoFill()

Gets or sets no fill of the text.

isTextNoFill() : boolean;

setIsTextNoFill(boolean)

Gets or sets no fill of the text.

setIsTextNoFill(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getAutoScaleFont()

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

getAutoScaleFont() : boolean;

setAutoScaleFont(boolean)

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

setAutoScaleFont(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getBackgroundMode()

Gets and sets the display mode of the background

getBackgroundMode() : BackgroundMode;

Returns

BackgroundMode

setBackgroundMode(BackgroundMode)

Gets and sets the display mode of the background

setBackgroundMode(value: BackgroundMode) : void;

Parameters:

ParameterTypeDescription
valueBackgroundModeThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;