ExcelScript.ChartDataTable interface
Represents the data table object of a chart.
Methods
get |
Represents the format of a chart data table, which includes fill, font, and border format. |
get |
Specifies whether to display the horizontal border of the data table. |
get |
Specifies whether to show the legend key of the data table. |
get |
Specifies whether to display the outline border of the data table. |
get |
Specifies whether to display the vertical border of the data table. |
get |
Specifies whether to show the data table of the chart. |
set |
Specifies whether to display the horizontal border of the data table. |
set |
Specifies whether to show the legend key of the data table. |
set |
Specifies whether to display the outline border of the data table. |
set |
Specifies whether to display the vertical border of the data table. |
set |
Specifies whether to show the data table of the chart. |
Method Details
getFormat()
Represents the format of a chart data table, which includes fill, font, and border format.
getFormat(): ChartDataTableFormat;
Returns
getShowHorizontalBorder()
Specifies whether to display the horizontal border of the data table.
getShowHorizontalBorder(): boolean;
Returns
boolean
getShowLegendKey()
Specifies whether to show the legend key of the data table.
getShowLegendKey(): boolean;
Returns
boolean
getShowOutlineBorder()
Specifies whether to display the outline border of the data table.
getShowOutlineBorder(): boolean;
Returns
boolean
getShowVerticalBorder()
Specifies whether to display the vertical border of the data table.
getShowVerticalBorder(): boolean;
Returns
boolean
getVisible()
Specifies whether to show the data table of the chart.
getVisible(): boolean;
Returns
boolean
setShowHorizontalBorder(showHorizontalBorder)
Specifies whether to display the horizontal border of the data table.
setShowHorizontalBorder(showHorizontalBorder: boolean): void;
Parameters
- showHorizontalBorder
-
boolean
Returns
void
setShowLegendKey(showLegendKey)
Specifies whether to show the legend key of the data table.
setShowLegendKey(showLegendKey: boolean): void;
Parameters
- showLegendKey
-
boolean
Returns
void
setShowOutlineBorder(showOutlineBorder)
Specifies whether to display the outline border of the data table.
setShowOutlineBorder(showOutlineBorder: boolean): void;
Parameters
- showOutlineBorder
-
boolean
Returns
void
setShowVerticalBorder(showVerticalBorder)
Specifies whether to display the vertical border of the data table.
setShowVerticalBorder(showVerticalBorder: boolean): void;
Parameters
- showVerticalBorder
-
boolean
Returns
void
setVisible(visible)
Specifies whether to show the data table of the chart.
setVisible(visible: boolean): void;
Parameters
- visible
-
boolean
Returns
void
Office Scripts