ExcelScript.ChartLegendFormat interface
Encapsulates the format properties of a chart legend.
Methods
get |
Represents the border format, which includes color, linestyle, and weight. |
get |
Represents the fill format of an object, which includes background formatting information. |
get |
Represents the font attributes such as font name, font size, and color of a chart legend. |
Method Details
getBorder()
Represents the border format, which includes color, linestyle, and weight.
getBorder(): ChartBorder;
Returns
getFill()
Represents the fill format of an object, which includes background formatting information.
getFill(): ChartFill;
Returns
getFont()
Represents the font attributes such as font name, font size, and color of a chart legend.
getFont(): ChartFont;
Returns
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Scripts