ExcelScript.ChartLegendEntry interface
Represents the legend entry in legendEntryCollection
.
Methods
get |
Specifies the height of the legend entry on the chart legend. |
get |
Specifies the index of the legend entry in the chart legend. |
get |
Specifies the left value of a chart legend entry. |
get |
Specifies the top of a chart legend entry. |
get |
Represents the visibility of a chart legend entry. |
get |
Represents the width of the legend entry on the chart Legend. |
set |
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
Office Scripts