ExcelScript.ChartBorder interface
Represents the border formatting of a chart element.
Methods
clear() | Clear the border format of a chart element. |
get |
HTML color code representing the color of borders in the chart. |
get |
Represents the line style of the border. See |
get |
Represents weight of the border, in points. |
set |
HTML color code representing the color of borders in the chart. |
set |
Represents the line style of the border. See |
set |
Represents weight of the border, in points. |
Method Details
clear()
Clear the border format of a chart element.
clear(): void;
Returns
void
getColor()
HTML color code representing the color of borders in the chart.
getColor(): string;
Returns
string
getLineStyle()
Represents the line style of the border. See ExcelScript.ChartLineStyle
for details.
getLineStyle(): ChartLineStyle;
Returns
getWeight()
Represents weight of the border, in points.
getWeight(): number;
Returns
number
setColor(color)
HTML color code representing the color of borders in the chart.
setColor(color: string): void;
Parameters
- color
-
string
Returns
void
setLineStyle(lineStyle)
Represents the line style of the border. See ExcelScript.ChartLineStyle
for details.
setLineStyle(lineStyle: ChartLineStyle): void;
Parameters
- lineStyle
- ExcelScript.ChartLineStyle
Returns
void
setWeight(weight)
Represents weight of the border, in points.
setWeight(weight: number): void;
Parameters
- weight
-
number
Returns
void
Office Scripts