API Reference
OfficeChartStyle
Reusable chart style metadata shared by OfficeIMO chart renderers and format exporters.
Inheritance
- Object
- OfficeChartStyle
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OfficeChartSnapshot.Style
- Method OfficeChartStyle.WithDataLabelTextColor
- Method OfficeChartStyle.WithPalette
- Property OfficeChartStyle.Default
Accepted by parameters
- Constructor OfficeChartSnapshot.OfficeChartSnapshot
- Constructor OfficeChartSnapshot.OfficeChartSnapshot
- Constructor OfficeChartSnapshot.OfficeChartSnapshot
- Constructor OfficeChartSnapshot.OfficeChartSnapshot
Constructors
public OfficeChartStyle(IEnumerable<OfficeColor> palette, String fontFamily, Nullable<OfficeColor> backgroundColor, Nullable<OfficeColor> borderColor, Nullable<OfficeColor> axisColor, Nullable<OfficeColor> gridLineColor, Nullable<OfficeColor> textColor, Nullable<OfficeColor> mutedTextColor, Nullable<OfficeColor> axisTitleColor, Nullable<OfficeColor> titleColor, String titleFontFamily, Nullable<Double> titleFontSize, Nullable<OfficeFontStyle> titleFontStyle, Nullable<OfficeColor> plotAreaBackgroundColor, Nullable<OfficeColor> plotAreaBorderColor, Nullable<Double> chartBorderWidth, Nullable<Double> plotAreaBorderWidth, Nullable<OfficeStrokeDashStyle> chartBorderDashStyle, Nullable<OfficeStrokeDashStyle> plotAreaBorderDashStyle, Boolean showGridLines, Nullable<Double> axisLineWidth, Nullable<Double> gridLineWidth, Nullable<OfficeStrokeDashStyle> axisLineDashStyle, Nullable<OfficeStrokeDashStyle> gridLineDashStyle, Nullable<OfficeColor> legendTextColor, Nullable<OfficeColor> dataLabelTextColor, Nullable<OfficeColor> categoryAxisColor, Nullable<OfficeColor> valueAxisColor, Nullable<Double> categoryAxisLineWidth, Nullable<Double> valueAxisLineWidth, Nullable<OfficeStrokeDashStyle> categoryAxisLineDashStyle, Nullable<OfficeStrokeDashStyle> valueAxisLineDashStyle, Nullable<OfficeColor> categoryGridLineColor, Nullable<OfficeColor> valueGridLineColor, Nullable<Double> categoryGridLineWidth, Nullable<Double> valueGridLineWidth, Nullable<OfficeStrokeDashStyle> categoryGridLineDashStyle, Nullable<OfficeStrokeDashStyle> valueGridLineDashStyle, Nullable<Boolean> showCategoryGridLines, Nullable<Boolean> showValueGridLines, Nullable<OfficeColor> categoryMinorGridLineColor, Nullable<OfficeColor> valueMinorGridLineColor, Nullable<Double> categoryMinorGridLineWidth, Nullable<Double> valueMinorGridLineWidth, Nullable<OfficeStrokeDashStyle> categoryMinorGridLineDashStyle, Nullable<OfficeStrokeDashStyle> valueMinorGridLineDashStyle, Nullable<Boolean> showCategoryMinorGridLines, Nullable<Boolean> showValueMinorGridLines, Nullable<OfficeColor> dataLabelFillColor, Nullable<OfficeColor> dataLabelBorderColor, Nullable<Double> dataLabelBorderWidth, Nullable<OfficeStrokeDashStyle> dataLabelBorderDashStyle, Boolean showBorder) #Preserves the original compiled constructor signature.
Parameters
- palette System.Collections.Generic.IEnumerable{OfficeIMO.Drawing.OfficeColor}
- fontFamily System.String
- backgroundColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- borderColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- axisColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- gridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- textColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- mutedTextColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- axisTitleColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- titleColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- titleFontFamily System.String
- titleFontSize System.Nullable{System.Double}
- titleFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle}
- plotAreaBackgroundColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- plotAreaBorderColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- chartBorderWidth System.Nullable{System.Double}
- plotAreaBorderWidth System.Nullable{System.Double}
- chartBorderDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- plotAreaBorderDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- showGridLines System.Boolean
- axisLineWidth System.Nullable{System.Double}
- gridLineWidth System.Nullable{System.Double}
- axisLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- gridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- legendTextColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- dataLabelTextColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- categoryAxisColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- valueAxisColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- categoryAxisLineWidth System.Nullable{System.Double}
- valueAxisLineWidth System.Nullable{System.Double}
- categoryAxisLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- valueAxisLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- categoryGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- valueGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- categoryGridLineWidth System.Nullable{System.Double}
- valueGridLineWidth System.Nullable{System.Double}
- categoryGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- valueGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- showCategoryGridLines System.Nullable{System.Boolean}
- showValueGridLines System.Nullable{System.Boolean}
- categoryMinorGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- valueMinorGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- categoryMinorGridLineWidth System.Nullable{System.Double}
- valueMinorGridLineWidth System.Nullable{System.Double}
- categoryMinorGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- valueMinorGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- showCategoryMinorGridLines System.Nullable{System.Boolean}
- showValueMinorGridLines System.Nullable{System.Boolean}
- dataLabelFillColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- dataLabelBorderColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- dataLabelBorderWidth System.Nullable{System.Double}
- dataLabelBorderDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- showBorder System.Boolean
public OfficeChartStyle(IEnumerable<OfficeColor> palette = null, String fontFamily = null, Nullable<OfficeColor> backgroundColor = null, Nullable<OfficeColor> borderColor = null, Nullable<OfficeColor> axisColor = null, Nullable<OfficeColor> gridLineColor = null, Nullable<OfficeColor> textColor = null, Nullable<OfficeColor> mutedTextColor = null, Nullable<OfficeColor> axisTitleColor = null, Nullable<OfficeColor> titleColor = null, String titleFontFamily = null, Nullable<Double> titleFontSize = null, Nullable<OfficeFontStyle> titleFontStyle = null, Nullable<OfficeColor> plotAreaBackgroundColor = null, Nullable<OfficeColor> plotAreaBorderColor = null, Nullable<Double> chartBorderWidth = null, Nullable<Double> plotAreaBorderWidth = null, Nullable<OfficeStrokeDashStyle> chartBorderDashStyle = null, Nullable<OfficeStrokeDashStyle> plotAreaBorderDashStyle = null, Boolean showGridLines = true, Nullable<Double> axisLineWidth = null, Nullable<Double> gridLineWidth = null, Nullable<OfficeStrokeDashStyle> axisLineDashStyle = null, Nullable<OfficeStrokeDashStyle> gridLineDashStyle = null, Nullable<OfficeColor> legendTextColor = null, Nullable<OfficeColor> dataLabelTextColor = null, Nullable<OfficeColor> categoryAxisColor = null, Nullable<OfficeColor> valueAxisColor = null, Nullable<Double> categoryAxisLineWidth = null, Nullable<Double> valueAxisLineWidth = null, Nullable<OfficeStrokeDashStyle> categoryAxisLineDashStyle = null, Nullable<OfficeStrokeDashStyle> valueAxisLineDashStyle = null, Nullable<OfficeColor> categoryGridLineColor = null, Nullable<OfficeColor> valueGridLineColor = null, Nullable<Double> categoryGridLineWidth = null, Nullable<Double> valueGridLineWidth = null, Nullable<OfficeStrokeDashStyle> categoryGridLineDashStyle = null, Nullable<OfficeStrokeDashStyle> valueGridLineDashStyle = null, Nullable<Boolean> showCategoryGridLines = null, Nullable<Boolean> showValueGridLines = null, Nullable<OfficeColor> categoryMinorGridLineColor = null, Nullable<OfficeColor> valueMinorGridLineColor = null, Nullable<Double> categoryMinorGridLineWidth = null, Nullable<Double> valueMinorGridLineWidth = null, Nullable<OfficeStrokeDashStyle> categoryMinorGridLineDashStyle = null, Nullable<OfficeStrokeDashStyle> valueMinorGridLineDashStyle = null, Nullable<Boolean> showCategoryMinorGridLines = null, Nullable<Boolean> showValueMinorGridLines = null, Nullable<OfficeColor> dataLabelFillColor = null, Nullable<OfficeColor> dataLabelBorderColor = null, Nullable<Double> dataLabelBorderWidth = null, Nullable<OfficeStrokeDashStyle> dataLabelBorderDashStyle = null, Boolean showBorder = true, Nullable<OfficeColor> legendBackgroundColor = null, Nullable<OfficeColor> legendBorderColor = null, Nullable<Double> legendBorderWidth = null) #Creates chart style metadata.
Parameters
- palette System.Collections.Generic.IEnumerable{OfficeIMO.Drawing.OfficeColor} = null
- Optional series or slice palette. Empty palettes fall back to the default premium palette.
- fontFamily System.String = null
- Optional chart text font family. Blank values fall back to Aptos.
- backgroundColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Chart background fill.
- borderColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Chart border color.
- axisColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Axis line color.
- gridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Grid line color.
- textColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Primary chart text color.
- mutedTextColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Secondary chart text color for axis and category labels.
- axisTitleColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional axis title text color.
- titleColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Chart title color.
- titleFontFamily System.String = null
- Optional chart title font family.
- titleFontSize System.Nullable{System.Double} = null
- Optional chart title font size.
- titleFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle} = null
- Optional chart title font style.
- plotAreaBackgroundColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional plot area fill.
- plotAreaBorderColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional plot area border color.
- chartBorderWidth System.Nullable{System.Double} = null
- Optional chart border width.
- plotAreaBorderWidth System.Nullable{System.Double} = null
- Optional plot area border width.
- chartBorderDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional chart border dash style.
- plotAreaBorderDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional plot area border dash style.
- showGridLines System.Boolean = true
- Whether cartesian grid lines should be rendered.
- axisLineWidth System.Nullable{System.Double} = null
- Optional axis line width.
- gridLineWidth System.Nullable{System.Double} = null
- Optional grid line width.
- axisLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional axis line dash style.
- gridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional grid line dash style.
- legendTextColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional legend text color.
- dataLabelTextColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional data label text color.
- categoryAxisColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional category axis line color.
- valueAxisColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional value axis line color.
- categoryAxisLineWidth System.Nullable{System.Double} = null
- Optional category axis line width.
- valueAxisLineWidth System.Nullable{System.Double} = null
- Optional value axis line width.
- categoryAxisLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional category axis line dash style.
- valueAxisLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional value axis line dash style.
- categoryGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional category axis major-gridline color.
- valueGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional value axis major-gridline color.
- categoryGridLineWidth System.Nullable{System.Double} = null
- Optional category axis major-gridline width.
- valueGridLineWidth System.Nullable{System.Double} = null
- Optional value axis major-gridline width.
- categoryGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional category axis major-gridline dash style.
- valueGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional value axis major-gridline dash style.
- showCategoryGridLines System.Nullable{System.Boolean} = null
- Optional category axis major-gridline visibility.
- showValueGridLines System.Nullable{System.Boolean} = null
- Optional value axis major-gridline visibility.
- categoryMinorGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional category axis minor-gridline color.
- valueMinorGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional value axis minor-gridline color.
- categoryMinorGridLineWidth System.Nullable{System.Double} = null
- Optional category axis minor-gridline width.
- valueMinorGridLineWidth System.Nullable{System.Double} = null
- Optional value axis minor-gridline width.
- categoryMinorGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional category axis minor-gridline dash style.
- valueMinorGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional value axis minor-gridline dash style.
- showCategoryMinorGridLines System.Nullable{System.Boolean} = null
- Optional category axis minor-gridline visibility.
- showValueMinorGridLines System.Nullable{System.Boolean} = null
- Optional value axis minor-gridline visibility.
- dataLabelFillColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional data label box fill color.
- dataLabelBorderColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional data label box border color.
- dataLabelBorderWidth System.Nullable{System.Double} = null
- Optional data label box border width.
- dataLabelBorderDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional data label box border dash style.
- showBorder System.Boolean = true
- Whether the chart border should be rendered.
- legendBackgroundColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional legend frame fill.
- legendBorderColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional legend frame border colour.
- legendBorderWidth System.Nullable{System.Double} = null
- Optional positive legend frame border width.
public OfficeChartStyle(Boolean showBackground, IEnumerable<OfficeColor> palette, String fontFamily, Nullable<OfficeColor> backgroundColor, Nullable<OfficeColor> borderColor, Nullable<OfficeColor> axisColor, Nullable<OfficeColor> gridLineColor, Nullable<OfficeColor> textColor, Nullable<OfficeColor> mutedTextColor, Nullable<OfficeColor> axisTitleColor, Nullable<OfficeColor> titleColor, String titleFontFamily, Nullable<Double> titleFontSize, Nullable<OfficeFontStyle> titleFontStyle, Nullable<OfficeColor> plotAreaBackgroundColor, Nullable<OfficeColor> plotAreaBorderColor, Nullable<Double> chartBorderWidth, Nullable<Double> plotAreaBorderWidth, Nullable<OfficeStrokeDashStyle> chartBorderDashStyle, Nullable<OfficeStrokeDashStyle> plotAreaBorderDashStyle, Boolean showGridLines, Nullable<Double> axisLineWidth, Nullable<Double> gridLineWidth, Nullable<OfficeStrokeDashStyle> axisLineDashStyle, Nullable<OfficeStrokeDashStyle> gridLineDashStyle, Nullable<OfficeColor> legendTextColor, Nullable<OfficeColor> dataLabelTextColor, Nullable<OfficeColor> categoryAxisColor, Nullable<OfficeColor> valueAxisColor, Nullable<Double> categoryAxisLineWidth, Nullable<Double> valueAxisLineWidth, Nullable<OfficeStrokeDashStyle> categoryAxisLineDashStyle, Nullable<OfficeStrokeDashStyle> valueAxisLineDashStyle, Nullable<OfficeColor> categoryGridLineColor, Nullable<OfficeColor> valueGridLineColor, Nullable<Double> categoryGridLineWidth, Nullable<Double> valueGridLineWidth, Nullable<OfficeStrokeDashStyle> categoryGridLineDashStyle, Nullable<OfficeStrokeDashStyle> valueGridLineDashStyle, Nullable<Boolean> showCategoryGridLines, Nullable<Boolean> showValueGridLines, Nullable<OfficeColor> categoryMinorGridLineColor, Nullable<OfficeColor> valueMinorGridLineColor, Nullable<Double> categoryMinorGridLineWidth, Nullable<Double> valueMinorGridLineWidth, Nullable<OfficeStrokeDashStyle> categoryMinorGridLineDashStyle, Nullable<OfficeStrokeDashStyle> valueMinorGridLineDashStyle, Nullable<Boolean> showCategoryMinorGridLines, Nullable<Boolean> showValueMinorGridLines, Nullable<OfficeColor> dataLabelFillColor, Nullable<OfficeColor> dataLabelBorderColor, Nullable<Double> dataLabelBorderWidth, Nullable<OfficeStrokeDashStyle> dataLabelBorderDashStyle, Boolean showBorder) #Preserves the original compiled constructor signature.
Parameters
- showBackground System.Boolean
- palette System.Collections.Generic.IEnumerable{OfficeIMO.Drawing.OfficeColor}
- fontFamily System.String
- backgroundColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- borderColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- axisColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- gridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- textColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- mutedTextColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- axisTitleColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- titleColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- titleFontFamily System.String
- titleFontSize System.Nullable{System.Double}
- titleFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle}
- plotAreaBackgroundColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- plotAreaBorderColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- chartBorderWidth System.Nullable{System.Double}
- plotAreaBorderWidth System.Nullable{System.Double}
- chartBorderDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- plotAreaBorderDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- showGridLines System.Boolean
- axisLineWidth System.Nullable{System.Double}
- gridLineWidth System.Nullable{System.Double}
- axisLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- gridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- legendTextColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- dataLabelTextColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- categoryAxisColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- valueAxisColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- categoryAxisLineWidth System.Nullable{System.Double}
- valueAxisLineWidth System.Nullable{System.Double}
- categoryAxisLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- valueAxisLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- categoryGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- valueGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- categoryGridLineWidth System.Nullable{System.Double}
- valueGridLineWidth System.Nullable{System.Double}
- categoryGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- valueGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- showCategoryGridLines System.Nullable{System.Boolean}
- showValueGridLines System.Nullable{System.Boolean}
- categoryMinorGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- valueMinorGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- categoryMinorGridLineWidth System.Nullable{System.Double}
- valueMinorGridLineWidth System.Nullable{System.Double}
- categoryMinorGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- valueMinorGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- showCategoryMinorGridLines System.Nullable{System.Boolean}
- showValueMinorGridLines System.Nullable{System.Boolean}
- dataLabelFillColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- dataLabelBorderColor System.Nullable{OfficeIMO.Drawing.OfficeColor}
- dataLabelBorderWidth System.Nullable{System.Double}
- dataLabelBorderDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle}
- showBorder System.Boolean
public OfficeChartStyle(Boolean showBackground, IEnumerable<OfficeColor> palette = null, String fontFamily = null, Nullable<OfficeColor> backgroundColor = null, Nullable<OfficeColor> borderColor = null, Nullable<OfficeColor> axisColor = null, Nullable<OfficeColor> gridLineColor = null, Nullable<OfficeColor> textColor = null, Nullable<OfficeColor> mutedTextColor = null, Nullable<OfficeColor> axisTitleColor = null, Nullable<OfficeColor> titleColor = null, String titleFontFamily = null, Nullable<Double> titleFontSize = null, Nullable<OfficeFontStyle> titleFontStyle = null, Nullable<OfficeColor> plotAreaBackgroundColor = null, Nullable<OfficeColor> plotAreaBorderColor = null, Nullable<Double> chartBorderWidth = null, Nullable<Double> plotAreaBorderWidth = null, Nullable<OfficeStrokeDashStyle> chartBorderDashStyle = null, Nullable<OfficeStrokeDashStyle> plotAreaBorderDashStyle = null, Boolean showGridLines = true, Nullable<Double> axisLineWidth = null, Nullable<Double> gridLineWidth = null, Nullable<OfficeStrokeDashStyle> axisLineDashStyle = null, Nullable<OfficeStrokeDashStyle> gridLineDashStyle = null, Nullable<OfficeColor> legendTextColor = null, Nullable<OfficeColor> dataLabelTextColor = null, Nullable<OfficeColor> categoryAxisColor = null, Nullable<OfficeColor> valueAxisColor = null, Nullable<Double> categoryAxisLineWidth = null, Nullable<Double> valueAxisLineWidth = null, Nullable<OfficeStrokeDashStyle> categoryAxisLineDashStyle = null, Nullable<OfficeStrokeDashStyle> valueAxisLineDashStyle = null, Nullable<OfficeColor> categoryGridLineColor = null, Nullable<OfficeColor> valueGridLineColor = null, Nullable<Double> categoryGridLineWidth = null, Nullable<Double> valueGridLineWidth = null, Nullable<OfficeStrokeDashStyle> categoryGridLineDashStyle = null, Nullable<OfficeStrokeDashStyle> valueGridLineDashStyle = null, Nullable<Boolean> showCategoryGridLines = null, Nullable<Boolean> showValueGridLines = null, Nullable<OfficeColor> categoryMinorGridLineColor = null, Nullable<OfficeColor> valueMinorGridLineColor = null, Nullable<Double> categoryMinorGridLineWidth = null, Nullable<Double> valueMinorGridLineWidth = null, Nullable<OfficeStrokeDashStyle> categoryMinorGridLineDashStyle = null, Nullable<OfficeStrokeDashStyle> valueMinorGridLineDashStyle = null, Nullable<Boolean> showCategoryMinorGridLines = null, Nullable<Boolean> showValueMinorGridLines = null, Nullable<OfficeColor> dataLabelFillColor = null, Nullable<OfficeColor> dataLabelBorderColor = null, Nullable<Double> dataLabelBorderWidth = null, Nullable<OfficeStrokeDashStyle> dataLabelBorderDashStyle = null, Boolean showBorder = true, Nullable<OfficeColor> legendBackgroundColor = null, Nullable<OfficeColor> legendBorderColor = null, Nullable<Double> legendBorderWidth = null) #Creates chart style metadata with explicit background visibility.
Parameters
- showBackground System.Boolean
- Whether the chart background fill should be rendered.
- palette System.Collections.Generic.IEnumerable{OfficeIMO.Drawing.OfficeColor} = null
- Optional series or slice palette. Empty palettes fall back to the default premium palette.
- fontFamily System.String = null
- Optional chart text font family. Blank values fall back to Aptos.
- backgroundColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Chart background fill.
- borderColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Chart border color.
- axisColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Axis line color.
- gridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Grid line color.
- textColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Primary chart text color.
- mutedTextColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Secondary chart text color for axis and category labels.
- axisTitleColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional axis title text color.
- titleColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Chart title color.
- titleFontFamily System.String = null
- Optional chart title font family.
- titleFontSize System.Nullable{System.Double} = null
- Optional chart title font size.
- titleFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle} = null
- Optional chart title font style.
- plotAreaBackgroundColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional plot area fill.
- plotAreaBorderColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional plot area border color.
- chartBorderWidth System.Nullable{System.Double} = null
- Optional chart border width.
- plotAreaBorderWidth System.Nullable{System.Double} = null
- Optional plot area border width.
- chartBorderDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional chart border dash style.
- plotAreaBorderDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional plot area border dash style.
- showGridLines System.Boolean = true
- Whether cartesian grid lines should be rendered.
- axisLineWidth System.Nullable{System.Double} = null
- Optional axis line width.
- gridLineWidth System.Nullable{System.Double} = null
- Optional grid line width.
- axisLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional axis line dash style.
- gridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional grid line dash style.
- legendTextColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional legend text color.
- dataLabelTextColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional data label text color.
- categoryAxisColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional category axis line color.
- valueAxisColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional value axis line color.
- categoryAxisLineWidth System.Nullable{System.Double} = null
- Optional category axis line width.
- valueAxisLineWidth System.Nullable{System.Double} = null
- Optional value axis line width.
- categoryAxisLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional category axis line dash style.
- valueAxisLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional value axis line dash style.
- categoryGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional category axis major-gridline color.
- valueGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional value axis major-gridline color.
- categoryGridLineWidth System.Nullable{System.Double} = null
- Optional category axis major-gridline width.
- valueGridLineWidth System.Nullable{System.Double} = null
- Optional value axis major-gridline width.
- categoryGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional category axis major-gridline dash style.
- valueGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional value axis major-gridline dash style.
- showCategoryGridLines System.Nullable{System.Boolean} = null
- Optional category axis major-gridline visibility.
- showValueGridLines System.Nullable{System.Boolean} = null
- Optional value axis major-gridline visibility.
- categoryMinorGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional category axis minor-gridline color.
- valueMinorGridLineColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional value axis minor-gridline color.
- categoryMinorGridLineWidth System.Nullable{System.Double} = null
- Optional category axis minor-gridline width.
- valueMinorGridLineWidth System.Nullable{System.Double} = null
- Optional value axis minor-gridline width.
- categoryMinorGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional category axis minor-gridline dash style.
- valueMinorGridLineDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional value axis minor-gridline dash style.
- showCategoryMinorGridLines System.Nullable{System.Boolean} = null
- Optional category axis minor-gridline visibility.
- showValueMinorGridLines System.Nullable{System.Boolean} = null
- Optional value axis minor-gridline visibility.
- dataLabelFillColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional data label box fill color.
- dataLabelBorderColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional data label box border color.
- dataLabelBorderWidth System.Nullable{System.Double} = null
- Optional data label box border width.
- dataLabelBorderDashStyle System.Nullable{OfficeIMO.Drawing.OfficeStrokeDashStyle} = null
- Optional data label box border dash style.
- showBorder System.Boolean = true
- Whether the chart border should be rendered.
- legendBackgroundColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional legend frame fill.
- legendBorderColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional legend frame border colour.
- legendBorderWidth System.Nullable{System.Double} = null
- Optional positive legend frame border width.
Methods
public OfficeColor GetSeriesColor(Int32 index) #OfficeColorGets a palette color for the zero-based series or slice index.
Parameters
- index System.Int32
public OfficeChartStyle WithDataLabelTextColor(OfficeColor color) #OfficeChartStyleReturns a style with the projected data-label text color.
Parameters
- color OfficeIMO.Drawing.OfficeColor
public OfficeChartStyle WithPalette(IEnumerable<OfficeColor> palette) #OfficeChartStyleReturns a style with a replacement series and slice palette.
Parameters
- palette System.Collections.Generic.IEnumerable{OfficeIMO.Drawing.OfficeColor}
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public static OfficeChartStyle Default { get; } #Default premium OfficeIMO chart style.
public IReadOnlyList<OfficeColor> Palette { get; } #Series and slice palette.
public String FontFamily { get; } #Chart text font family.
public OfficeColor BackgroundColor { get; } #Chart background fill.
public OfficeColor BorderColor { get; } #Chart border color.
public OfficeColor AxisColor { get; } #Axis line color.
public Nullable<OfficeColor> CategoryAxisColor { get; } #Optional category axis line color override.
public Nullable<OfficeColor> ValueAxisColor { get; } #Optional value axis line color override.
public OfficeColor GridLineColor { get; } #Grid line color.
public Nullable<OfficeColor> CategoryGridLineColor { get; } #Optional category axis major-gridline color override.
public Nullable<OfficeColor> ValueGridLineColor { get; } #Optional value axis major-gridline color override.
public Nullable<OfficeColor> CategoryMinorGridLineColor { get; } #Optional category axis minor-gridline color override.
public Nullable<OfficeColor> ValueMinorGridLineColor { get; } #Optional value axis minor-gridline color override.
public OfficeColor TextColor { get; } #Primary chart text color.
public Nullable<OfficeColor> LegendTextColor { get; } #Optional legend text color.
public Nullable<OfficeColor> LegendBackgroundColor { get; } #Optional legend frame fill.
public Nullable<OfficeColor> LegendBorderColor { get; } #Optional legend frame border colour.
public Nullable<Double> LegendBorderWidth { get; } #Optional legend frame border width.
public Nullable<OfficeColor> DataLabelTextColor { get; set; } #Optional data label text color.
public Nullable<OfficeColor> DataLabelFillColor { get; } #Optional data label box fill color.
public Nullable<OfficeColor> DataLabelBorderColor { get; } #Optional data label box border color.
public Nullable<Double> DataLabelBorderWidth { get; } #Optional data label box border width.
public Nullable<OfficeStrokeDashStyle> DataLabelBorderDashStyle { get; } #Optional data label box border dash style.
public OfficeColor MutedTextColor { get; } #Secondary chart text color for axis and category labels.
public Nullable<OfficeColor> AxisTitleColor { get; } #Optional axis title text color.
public OfficeColor TitleColor { get; } #Chart title color.
public String TitleFontFamily { get; } #Optional chart title font family.
public Nullable<Double> TitleFontSize { get; } #Optional chart title font size.
public Nullable<OfficeFontStyle> TitleFontStyle { get; } #Optional chart title font style.
public Nullable<OfficeColor> PlotAreaBackgroundColor { get; } #Optional plot area fill.
public Nullable<OfficeColor> PlotAreaBorderColor { get; } #Optional plot area border color.
public Nullable<Double> ChartBorderWidth { get; } #Optional chart border width.
public Nullable<Double> PlotAreaBorderWidth { get; } #Optional plot area border width.
public Nullable<OfficeStrokeDashStyle> ChartBorderDashStyle { get; } #Optional chart border dash style.
public Nullable<OfficeStrokeDashStyle> PlotAreaBorderDashStyle { get; } #Optional plot area border dash style.
public Boolean ShowGridLines { get; } #Whether cartesian grid lines should be rendered.
public Nullable<Boolean> ShowCategoryGridLines { get; } #Optional category axis major-gridline visibility override.
public Nullable<Boolean> ShowValueGridLines { get; } #Optional value axis major-gridline visibility override.
public Nullable<Boolean> ShowCategoryMinorGridLines { get; } #Optional category axis minor-gridline visibility override.
public Nullable<Boolean> ShowValueMinorGridLines { get; } #Optional value axis minor-gridline visibility override.
public Nullable<Double> AxisLineWidth { get; } #Optional axis line width.
public Nullable<Double> CategoryAxisLineWidth { get; } #Optional category axis line width override.
public Nullable<Double> ValueAxisLineWidth { get; } #Optional value axis line width override.
public Nullable<Double> GridLineWidth { get; } #Optional grid line width.
public Nullable<Double> CategoryGridLineWidth { get; } #Optional category axis major-gridline width override.
public Nullable<Double> ValueGridLineWidth { get; } #Optional value axis major-gridline width override.
public Nullable<Double> CategoryMinorGridLineWidth { get; } #Optional category axis minor-gridline width override.
public Nullable<Double> ValueMinorGridLineWidth { get; } #Optional value axis minor-gridline width override.
public Nullable<OfficeStrokeDashStyle> AxisLineDashStyle { get; } #Optional axis line dash style.
public Nullable<OfficeStrokeDashStyle> CategoryAxisLineDashStyle { get; } #Optional category axis line dash style override.
public Nullable<OfficeStrokeDashStyle> ValueAxisLineDashStyle { get; } #Optional value axis line dash style override.
public Nullable<OfficeStrokeDashStyle> GridLineDashStyle { get; } #Optional grid line dash style.
public Nullable<OfficeStrokeDashStyle> CategoryGridLineDashStyle { get; } #Optional category axis major-gridline dash style override.
public Nullable<OfficeStrokeDashStyle> ValueGridLineDashStyle { get; } #Optional value axis major-gridline dash style override.
public Nullable<OfficeStrokeDashStyle> CategoryMinorGridLineDashStyle { get; } #Optional category axis minor-gridline dash style override.
public Nullable<OfficeStrokeDashStyle> ValueMinorGridLineDashStyle { get; } #Optional value axis minor-gridline dash style override.
public Boolean ShowBackground { get; } #Whether the chart background fill should be rendered.
public Boolean ShowBorder { get; } #Whether the chart border should be rendered.