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