Namespace OfficeOpenXml.Drawing.Chart.Style¶
Classes¶
Represents a color style of a chart.
Represents a style for a chart
A color for a chart style entry reference
Manages colors for a chart style
A style entry for a chart part.
A reference to a theme font collection from the chart style manager
Represents a chart style xml document in the style library
Manages styles for a chart
A layout the marker of the chart
A reference from a chart style to the theme collection
Enums¶
Method for how colors are picked from the Colors collection
Chart color schemes mapping to the default colors in Excel
Maps to Excel's built-in chart styles, primary for charts with one data serie. Note that Excel changes chart type depending on many parameters, like number of series, axis type and more, so it will not always match the number in Excel. To be certain of getting the correct style use the chart style number of the style you want to apply For charts with more than one series use ePresetChartStyleMultiSeries By default the styles are loaded into the StyleLibrary.You can also load your own with your own id's. Styles are fetched from the StyleLibrary by the id provided in this enum. StyleLibrary
Maps to Excel's built-in chart styles, for charts with more that one data serie. Note that Excel changes chart type depending on many parameters, like number of series, axis type and more, so it will not always match the number in Excel. To be certain of getting the correct style use the chart style number of the style you want to apply For charts with only one data serie use ePresetChartStyle Styles are fetched from the StyleLibrary by the id provided in this enum. StyleLibrary