ExcelScript.ChartLegendEntry interface

Represents the legend entry in legendEntryCollection.

Methods

getHeight()

Specifies the height of the legend entry on the chart legend.

getIndex()

Specifies the index of the legend entry in the chart legend.

getLeft()

Specifies the left value of a chart legend entry.

getTop()

Specifies the top of a chart legend entry.

getVisible()

Represents the visibility of a chart legend entry.

getWidth()

Represents the width of the legend entry on the chart Legend.

setVisible(visible)

Represents the visibility of a chart legend entry.

Method Details

getHeight()

Specifies the height of the legend entry on the chart legend.

getHeight(): number;

Returns

number

getIndex()

Specifies the index of the legend entry in the chart legend.

getIndex(): number;

Returns

number

getLeft()

Specifies the left value of a chart legend entry.

getLeft(): number;

Returns

number

getTop()

Specifies the top of a chart legend entry.

getTop(): number;

Returns

number

getVisible()

Represents the visibility of a chart legend entry.

getVisible(): boolean;

Returns

boolean

getWidth()

Represents the width of the legend entry on the chart Legend.

getWidth(): number;

Returns

number

setVisible(visible)

Represents the visibility of a chart legend entry.

setVisible(visible: boolean): void;

Parameters

visible

boolean

Returns

void