API Reference
OfficeChartLayout
Reusable chart layout metadata shared by OfficeIMO chart renderers and format exporters.
Inheritance
- Object
- OfficeChartLayout
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
Accepted by parameters 1
- Constructor OfficeChartSnapshot.OfficeChartSnapshot
Constructors
public OfficeChartLayout(Double? seriesLegendWidthRatio, Double? categoryLegendWidthRatio, Double? legendRowHeight, Double? legendSwatchSize, Double? legendTextGap, Double? legendFontSize, String? legendFontFamily, Double? axisLabelFontSize, String? axisTextFontFamily, Double? categoryAxisLabelWidth, Double? radarCategoryLabelWidth, Int32? maximumCategoryAxisLabels, Int32? maximumHorizontalCategoryAxisLabels, Int32? maximumRadarCategoryLabels, Boolean preventLabelOverlap, Boolean showLegend, OfficeChartLegendPosition legendPosition, Boolean showDataLabels, Boolean showDataLabelValues, Boolean showDataLabelPercentages, Boolean showDataLabelCategoryNames, Boolean showDataLabelSeriesNames, String? dataLabelSeparator, Double? dataLabelFontSize, String? dataLabelFontFamily, OfficeChartDataLabelPosition dataLabelPosition, String? dataLabelNumberFormat, Boolean showMarkers, String? axisNumberFormat, String? categoryAxisTitle, String? valueAxisTitle, String? horizontalAxisNumberFormat, String? verticalAxisNumberFormat, Boolean connectScatterPoints, Boolean fillRadarSeries, Boolean showCategoryAxis, Boolean showValueAxis, Boolean showCategoryAxisLine, Boolean showValueAxisLine, Boolean showCategoryAxisLabels, Boolean showValueAxisLabels, OfficeChartAxisTickLabelPosition horizontalAxisTickLabelPosition, OfficeChartAxisTickLabelPosition verticalAxisTickLabelPosition, OfficeChartAxisCrossingPosition horizontalAxisCrossingPosition, OfficeChartAxisCrossingPosition verticalAxisCrossingPosition, Boolean reverseCategoryAxis, Boolean overlayTitle, Double? titleTopPadding, OfficeFontStyle? legendFontStyle, OfficeFontStyle? axisTextFontStyle, OfficeFontStyle? dataLabelFontStyle, Double? axisTitleFontSize, String? axisTitleFontFamily, OfficeFontStyle? axisTitleFontStyle, Double? horizontalAxisDisplayUnitDivisor, String? horizontalAxisDisplayUnitLabel, Double? verticalAxisDisplayUnitDivisor, String? verticalAxisDisplayUnitLabel, Double? horizontalAxisMinimum, Double? horizontalAxisMaximum, Double? horizontalAxisMajorUnit, Double? horizontalAxisMinorUnit, Double? verticalAxisMinimum, Double? verticalAxisMaximum, Double? verticalAxisMajorUnit, Double? verticalAxisMinorUnit, OfficeChartAxisTickMark horizontalAxisMajorTickMark, OfficeChartAxisTickMark verticalAxisMajorTickMark, OfficeChartAxisTickMark horizontalAxisMinorTickMark, OfficeChartAxisTickMark verticalAxisMinorTickMark) #Creates chart layout metadata using the constructor contract that predates category-axis formatting extensions.
Parameters
- seriesLegendWidthRatio System.Double?
- categoryLegendWidthRatio System.Double?
- legendRowHeight System.Double?
- legendSwatchSize System.Double?
- legendTextGap System.Double?
- legendFontSize System.Double?
- legendFontFamily System.String?
- axisLabelFontSize System.Double?
- axisTextFontFamily System.String?
- categoryAxisLabelWidth System.Double?
- radarCategoryLabelWidth System.Double?
- maximumCategoryAxisLabels System.Int32?
- maximumHorizontalCategoryAxisLabels System.Int32?
- maximumRadarCategoryLabels System.Int32?
- preventLabelOverlap System.Boolean
- showLegend System.Boolean
- legendPosition OfficeIMO.Drawing.OfficeChartLegendPosition
- showDataLabels System.Boolean
- showDataLabelValues System.Boolean
- showDataLabelPercentages System.Boolean
- showDataLabelCategoryNames System.Boolean
- showDataLabelSeriesNames System.Boolean
- dataLabelSeparator System.String?
- dataLabelFontSize System.Double?
- dataLabelFontFamily System.String?
- dataLabelPosition OfficeIMO.Drawing.OfficeChartDataLabelPosition
- dataLabelNumberFormat System.String?
- showMarkers System.Boolean
- axisNumberFormat System.String?
- categoryAxisTitle System.String?
- valueAxisTitle System.String?
- horizontalAxisNumberFormat System.String?
- verticalAxisNumberFormat System.String?
- connectScatterPoints System.Boolean
- fillRadarSeries System.Boolean
- showCategoryAxis System.Boolean
- showValueAxis System.Boolean
- showCategoryAxisLine System.Boolean
- showValueAxisLine System.Boolean
- showCategoryAxisLabels System.Boolean
- showValueAxisLabels System.Boolean
- horizontalAxisTickLabelPosition OfficeIMO.Drawing.OfficeChartAxisTickLabelPosition
- verticalAxisTickLabelPosition OfficeIMO.Drawing.OfficeChartAxisTickLabelPosition
- horizontalAxisCrossingPosition OfficeIMO.Drawing.OfficeChartAxisCrossingPosition
- verticalAxisCrossingPosition OfficeIMO.Drawing.OfficeChartAxisCrossingPosition
- reverseCategoryAxis System.Boolean
- overlayTitle System.Boolean
- titleTopPadding System.Double?
- legendFontStyle OfficeIMO.Drawing.OfficeFontStyle?
- axisTextFontStyle OfficeIMO.Drawing.OfficeFontStyle?
- dataLabelFontStyle OfficeIMO.Drawing.OfficeFontStyle?
- axisTitleFontSize System.Double?
- axisTitleFontFamily System.String?
- axisTitleFontStyle OfficeIMO.Drawing.OfficeFontStyle?
- horizontalAxisDisplayUnitDivisor System.Double?
- horizontalAxisDisplayUnitLabel System.String?
- verticalAxisDisplayUnitDivisor System.Double?
- verticalAxisDisplayUnitLabel System.String?
- horizontalAxisMinimum System.Double?
- horizontalAxisMaximum System.Double?
- horizontalAxisMajorUnit System.Double?
- horizontalAxisMinorUnit System.Double?
- verticalAxisMinimum System.Double?
- verticalAxisMaximum System.Double?
- verticalAxisMajorUnit System.Double?
- verticalAxisMinorUnit System.Double?
- horizontalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
- verticalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
- horizontalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
- verticalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
public OfficeChartLayout(Boolean overlayLegend, Double? seriesLegendWidthRatio, Double? categoryLegendWidthRatio, Double? legendRowHeight, Double? legendSwatchSize, Double? legendTextGap, Double? legendFontSize, String? legendFontFamily, Double? axisLabelFontSize, String? axisTextFontFamily, Double? categoryAxisLabelWidth, Double? radarCategoryLabelWidth, Int32? maximumCategoryAxisLabels, Int32? maximumHorizontalCategoryAxisLabels, Int32? maximumRadarCategoryLabels, Boolean preventLabelOverlap, Boolean showLegend, OfficeChartLegendPosition legendPosition, Boolean showDataLabels, Boolean showDataLabelValues, Boolean showDataLabelPercentages, Boolean showDataLabelCategoryNames, Boolean showDataLabelSeriesNames, String? dataLabelSeparator, Double? dataLabelFontSize, String? dataLabelFontFamily, OfficeChartDataLabelPosition dataLabelPosition, String? dataLabelNumberFormat, Boolean showMarkers, String? axisNumberFormat, String? categoryAxisTitle, String? valueAxisTitle, String? horizontalAxisNumberFormat, String? verticalAxisNumberFormat, Boolean connectScatterPoints, Boolean fillRadarSeries, Boolean showCategoryAxis, Boolean showValueAxis, Boolean showCategoryAxisLine, Boolean showValueAxisLine, Boolean showCategoryAxisLabels, Boolean showValueAxisLabels, OfficeChartAxisTickLabelPosition horizontalAxisTickLabelPosition, OfficeChartAxisTickLabelPosition verticalAxisTickLabelPosition, OfficeChartAxisCrossingPosition horizontalAxisCrossingPosition, OfficeChartAxisCrossingPosition verticalAxisCrossingPosition, Boolean reverseCategoryAxis, Boolean overlayTitle, Double? titleTopPadding, OfficeFontStyle? legendFontStyle, OfficeFontStyle? axisTextFontStyle, OfficeFontStyle? dataLabelFontStyle, Double? axisTitleFontSize, String? axisTitleFontFamily, OfficeFontStyle? axisTitleFontStyle, Double? horizontalAxisDisplayUnitDivisor, String? horizontalAxisDisplayUnitLabel, Double? verticalAxisDisplayUnitDivisor, String? verticalAxisDisplayUnitLabel, Double? horizontalAxisMinimum, Double? horizontalAxisMaximum, Double? horizontalAxisMajorUnit, Double? horizontalAxisMinorUnit, Double? verticalAxisMinimum, Double? verticalAxisMaximum, Double? verticalAxisMajorUnit, Double? verticalAxisMinorUnit, OfficeChartAxisTickMark horizontalAxisMajorTickMark, OfficeChartAxisTickMark verticalAxisMajorTickMark, OfficeChartAxisTickMark horizontalAxisMinorTickMark, OfficeChartAxisTickMark verticalAxisMinorTickMark) #Creates chart layout metadata with explicit legend overlay behavior using the earlier constructor contract.
Parameters
- overlayLegend System.Boolean
- seriesLegendWidthRatio System.Double?
- categoryLegendWidthRatio System.Double?
- legendRowHeight System.Double?
- legendSwatchSize System.Double?
- legendTextGap System.Double?
- legendFontSize System.Double?
- legendFontFamily System.String?
- axisLabelFontSize System.Double?
- axisTextFontFamily System.String?
- categoryAxisLabelWidth System.Double?
- radarCategoryLabelWidth System.Double?
- maximumCategoryAxisLabels System.Int32?
- maximumHorizontalCategoryAxisLabels System.Int32?
- maximumRadarCategoryLabels System.Int32?
- preventLabelOverlap System.Boolean
- showLegend System.Boolean
- legendPosition OfficeIMO.Drawing.OfficeChartLegendPosition
- showDataLabels System.Boolean
- showDataLabelValues System.Boolean
- showDataLabelPercentages System.Boolean
- showDataLabelCategoryNames System.Boolean
- showDataLabelSeriesNames System.Boolean
- dataLabelSeparator System.String?
- dataLabelFontSize System.Double?
- dataLabelFontFamily System.String?
- dataLabelPosition OfficeIMO.Drawing.OfficeChartDataLabelPosition
- dataLabelNumberFormat System.String?
- showMarkers System.Boolean
- axisNumberFormat System.String?
- categoryAxisTitle System.String?
- valueAxisTitle System.String?
- horizontalAxisNumberFormat System.String?
- verticalAxisNumberFormat System.String?
- connectScatterPoints System.Boolean
- fillRadarSeries System.Boolean
- showCategoryAxis System.Boolean
- showValueAxis System.Boolean
- showCategoryAxisLine System.Boolean
- showValueAxisLine System.Boolean
- showCategoryAxisLabels System.Boolean
- showValueAxisLabels System.Boolean
- horizontalAxisTickLabelPosition OfficeIMO.Drawing.OfficeChartAxisTickLabelPosition
- verticalAxisTickLabelPosition OfficeIMO.Drawing.OfficeChartAxisTickLabelPosition
- horizontalAxisCrossingPosition OfficeIMO.Drawing.OfficeChartAxisCrossingPosition
- verticalAxisCrossingPosition OfficeIMO.Drawing.OfficeChartAxisCrossingPosition
- reverseCategoryAxis System.Boolean
- overlayTitle System.Boolean
- titleTopPadding System.Double?
- legendFontStyle OfficeIMO.Drawing.OfficeFontStyle?
- axisTextFontStyle OfficeIMO.Drawing.OfficeFontStyle?
- dataLabelFontStyle OfficeIMO.Drawing.OfficeFontStyle?
- axisTitleFontSize System.Double?
- axisTitleFontFamily System.String?
- axisTitleFontStyle OfficeIMO.Drawing.OfficeFontStyle?
- horizontalAxisDisplayUnitDivisor System.Double?
- horizontalAxisDisplayUnitLabel System.String?
- verticalAxisDisplayUnitDivisor System.Double?
- verticalAxisDisplayUnitLabel System.String?
- horizontalAxisMinimum System.Double?
- horizontalAxisMaximum System.Double?
- horizontalAxisMajorUnit System.Double?
- horizontalAxisMinorUnit System.Double?
- verticalAxisMinimum System.Double?
- verticalAxisMaximum System.Double?
- verticalAxisMajorUnit System.Double?
- verticalAxisMinorUnit System.Double?
- horizontalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
- verticalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
- horizontalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
- verticalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
public OfficeChartLayout(Double? seriesLegendWidthRatio = null, Double? categoryLegendWidthRatio = null, Double? legendRowHeight = null, Double? legendSwatchSize = null, Double? legendTextGap = null, Double? legendFontSize = null, String? legendFontFamily = null, Double? axisLabelFontSize = null, String? axisTextFontFamily = null, Double? categoryAxisLabelWidth = null, Double? radarCategoryLabelWidth = null, Int32? maximumCategoryAxisLabels = null, Int32? maximumHorizontalCategoryAxisLabels = null, Int32? maximumRadarCategoryLabels = null, Boolean preventLabelOverlap = true, Boolean showLegend = true, OfficeChartLegendPosition legendPosition = Right, Boolean showDataLabels = false, Boolean showDataLabelValues = false, Boolean showDataLabelPercentages = false, Boolean showDataLabelCategoryNames = false, Boolean showDataLabelSeriesNames = false, String? dataLabelSeparator = null, Double? dataLabelFontSize = null, String? dataLabelFontFamily = null, OfficeChartDataLabelPosition dataLabelPosition = BestFit, String? dataLabelNumberFormat = null, Boolean showMarkers = true, String? axisNumberFormat = null, String? categoryAxisTitle = null, String? valueAxisTitle = null, String? horizontalAxisNumberFormat = null, String? verticalAxisNumberFormat = null, Boolean connectScatterPoints = true, Boolean fillRadarSeries = true, Boolean showCategoryAxis = true, Boolean showValueAxis = true, Boolean showCategoryAxisLine = true, Boolean showValueAxisLine = true, Boolean showCategoryAxisLabels = true, Boolean showValueAxisLabels = true, OfficeChartAxisTickLabelPosition horizontalAxisTickLabelPosition = NextTo, OfficeChartAxisTickLabelPosition verticalAxisTickLabelPosition = NextTo, OfficeChartAxisCrossingPosition horizontalAxisCrossingPosition = AutoZero, OfficeChartAxisCrossingPosition verticalAxisCrossingPosition = AutoZero, Boolean reverseCategoryAxis = false, Boolean overlayTitle = false, Double? titleTopPadding = null, OfficeFontStyle? legendFontStyle = null, OfficeFontStyle? axisTextFontStyle = null, OfficeFontStyle? dataLabelFontStyle = null, Double? axisTitleFontSize = null, String? axisTitleFontFamily = null, OfficeFontStyle? axisTitleFontStyle = null, Double? horizontalAxisDisplayUnitDivisor = null, String? horizontalAxisDisplayUnitLabel = null, Double? verticalAxisDisplayUnitDivisor = null, String? verticalAxisDisplayUnitLabel = null, Double? horizontalAxisMinimum = null, Double? horizontalAxisMaximum = null, Double? horizontalAxisMajorUnit = null, Double? horizontalAxisMinorUnit = null, Double? verticalAxisMinimum = null, Double? verticalAxisMaximum = null, Double? verticalAxisMajorUnit = null, Double? verticalAxisMinorUnit = null, OfficeChartAxisTickMark horizontalAxisMajorTickMark = None, OfficeChartAxisTickMark verticalAxisMajorTickMark = None, OfficeChartAxisTickMark horizontalAxisMinorTickMark = None, OfficeChartAxisTickMark verticalAxisMinorTickMark = None, String? categoryAxisNumberFormat = null, Boolean categoryAxisOrientationSpecified = false, IReadOnlyCollection<Int32>? dataLabelSeriesIndexes = null, IReadOnlyDictionary<Int32, IReadOnlyCollection<Int32>>? dataLabelPointIndexes = null, IReadOnlyDictionary<Int32, IReadOnlyCollection<Int32>>? hiddenDataLabelPointIndexes = null, IReadOnlyCollection<Int32>? hiddenCategoryLegendIndexes = null) #Creates chart layout metadata.
Parameters
- seriesLegendWidthRatio System.Double? = null
- Maximum chart-width ratio reserved for series legends.
- categoryLegendWidthRatio System.Double? = null
- Maximum chart-width ratio reserved for category legends such as pie slices.
- legendRowHeight System.Double? = null
- Legend row height.
- legendSwatchSize System.Double? = null
- Legend color swatch size.
- legendTextGap System.Double? = null
- Gap between a legend swatch and its label.
- legendFontSize System.Double? = null
- Legend label font size.
- legendFontFamily System.String? = null
- Optional legend label font family.
- axisLabelFontSize System.Double? = null
- Axis label font size.
- axisTextFontFamily System.String? = null
- Optional axis label/title font family.
- categoryAxisLabelWidth System.Double? = null
- Maximum category-axis label width.
- radarCategoryLabelWidth System.Double? = null
- Maximum radar category label width.
- maximumCategoryAxisLabels System.Int32? = null
- Maximum number of category-axis labels to render on cartesian charts.
- maximumHorizontalCategoryAxisLabels System.Int32? = null
- Maximum number of category-axis labels to render on horizontal bar charts.
- maximumRadarCategoryLabels System.Int32? = null
- Maximum number of category labels to render on radar charts.
- preventLabelOverlap System.Boolean = true
- Whether axis/category label stride should increase automatically to avoid obvious label overlap.
- showLegend System.Boolean = true
- Whether series or category legends should be rendered.
- legendPosition OfficeIMO.Drawing.OfficeChartLegendPosition = Right
- Preferred legend placement when legends are rendered.
- showDataLabels System.Boolean = false
- Whether point data labels should be rendered when supported by a chart family.
- showDataLabelValues System.Boolean = false
- Whether point data labels should include values.
- showDataLabelPercentages System.Boolean = false
- Whether point data labels should include percentages.
- showDataLabelCategoryNames System.Boolean = false
- Whether point data labels should include category names.
- showDataLabelSeriesNames System.Boolean = false
- Whether point data labels should include series names.
- dataLabelSeparator System.String? = null
- Separator used between enabled data label parts.
- dataLabelFontSize System.Double? = null
- Data label font size.
- dataLabelFontFamily System.String? = null
- Optional data label font family.
- dataLabelPosition OfficeIMO.Drawing.OfficeChartDataLabelPosition = BestFit
- Preferred data label position when labels are rendered.
- dataLabelNumberFormat System.String? = null
- Optional numeric format for data-label values.
- showMarkers System.Boolean = true
- Whether point markers should be rendered for marker-capable chart families.
- axisNumberFormat System.String? = null
- Optional numeric format for value-axis labels.
- categoryAxisTitle System.String? = null
- Optional category or horizontal axis title.
- valueAxisTitle System.String? = null
- Optional value or vertical axis title.
- horizontalAxisNumberFormat System.String? = null
- Optional numeric format for horizontal value-axis labels.
- verticalAxisNumberFormat System.String? = null
- Optional numeric format for vertical value-axis labels.
- connectScatterPoints System.Boolean = true
- Whether scatter points should be connected by series lines.
- fillRadarSeries System.Boolean = true
- Whether radar series polygons should be filled.
- showCategoryAxis System.Boolean = true
- Whether the category or horizontal axis should be rendered.
- showValueAxis System.Boolean = true
- Whether the value or vertical axis should be rendered.
- showCategoryAxisLine System.Boolean = true
- Whether the category or horizontal axis line should be rendered.
- showValueAxisLine System.Boolean = true
- Whether the value or vertical axis line should be rendered.
- showCategoryAxisLabels System.Boolean = true
- Whether category or horizontal tick labels should be rendered.
- showValueAxisLabels System.Boolean = true
- Whether value or vertical tick labels should be rendered.
- horizontalAxisTickLabelPosition OfficeIMO.Drawing.OfficeChartAxisTickLabelPosition = NextTo
- Preferred tick-label side for the physical horizontal axis.
- verticalAxisTickLabelPosition OfficeIMO.Drawing.OfficeChartAxisTickLabelPosition = NextTo
- Preferred tick-label side for the physical vertical axis.
- horizontalAxisCrossingPosition OfficeIMO.Drawing.OfficeChartAxisCrossingPosition = AutoZero
- Physical crossing side for the horizontal axis.
- verticalAxisCrossingPosition OfficeIMO.Drawing.OfficeChartAxisCrossingPosition = AutoZero
- Physical crossing side for the vertical axis.
- reverseCategoryAxis System.Boolean = false
- Whether category-axis slots should be rendered in reverse order.
- overlayTitle System.Boolean = false
- Whether category-axis orientation was explicitly supplied by the source chart.
- titleTopPadding System.Double? = null
- Whether the title should overlay the plot instead of reserving layout space.
- legendFontStyle OfficeIMO.Drawing.OfficeFontStyle? = null
- Top padding before the chart title inside the chart canvas.
- axisTextFontStyle OfficeIMO.Drawing.OfficeFontStyle? = null
- Optional legend label font style.
- dataLabelFontStyle OfficeIMO.Drawing.OfficeFontStyle? = null
- Optional axis label font style and axis title fallback style.
- axisTitleFontSize System.Double? = null
- Optional data label font style.
- axisTitleFontFamily System.String? = null
- Optional axis title font size.
- axisTitleFontStyle OfficeIMO.Drawing.OfficeFontStyle? = null
- Optional axis title font family.
- horizontalAxisDisplayUnitDivisor System.Double? = null
- Optional axis title font style.
- horizontalAxisDisplayUnitLabel System.String? = null
- Optional divisor applied to horizontal value-axis labels.
- verticalAxisDisplayUnitDivisor System.Double? = null
- Optional display-unit label shown for horizontal value axes.
- verticalAxisDisplayUnitLabel System.String? = null
- Optional divisor applied to vertical value-axis labels.
- horizontalAxisMinimum System.Double? = null
- Optional display-unit label shown for vertical value axes.
- horizontalAxisMaximum System.Double? = null
- Optional minimum for horizontal value axes.
- horizontalAxisMajorUnit System.Double? = null
- Optional maximum for horizontal value axes.
- horizontalAxisMinorUnit System.Double? = null
- Optional major tick/grid unit for horizontal value axes.
- verticalAxisMinimum System.Double? = null
- Optional minor tick/grid unit for horizontal value axes.
- verticalAxisMaximum System.Double? = null
- Optional minimum for vertical value axes.
- verticalAxisMajorUnit System.Double? = null
- Optional maximum for vertical value axes.
- verticalAxisMinorUnit System.Double? = null
- Optional major tick/grid unit for vertical value axes.
- horizontalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional minor tick/grid unit for vertical value axes.
- verticalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional major tick mark placement for the horizontal axis.
- horizontalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional major tick mark placement for the vertical axis.
- verticalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional minor tick mark placement for the horizontal axis.
- categoryAxisNumberFormat System.String? = null
- Optional minor tick mark placement for the vertical axis.
- categoryAxisOrientationSpecified System.Boolean = false
- Optional numeric format for numeric category-axis labels.
- dataLabelSeriesIndexes System.Collections.Generic.IReadOnlyCollection<System.Int32>? = null
- Optional zero-based series indexes that should render data labels.
- dataLabelPointIndexes System.Collections.Generic.IReadOnlyDictionary<System.Int32, System.Collections.Generic.IReadOnlyCollection<System.Int32>>? = null
- Optional zero-based point indexes that should render data labels per series.
- hiddenDataLabelPointIndexes System.Collections.Generic.IReadOnlyDictionary<System.Int32, System.Collections.Generic.IReadOnlyCollection<System.Int32>>? = null
- Optional zero-based point indexes that should suppress data labels per series.
- hiddenCategoryLegendIndexes System.Collections.Generic.IReadOnlyCollection<System.Int32>? = null
- Optional zero-based category or slice legend indexes that should be suppressed.
public OfficeChartLayout(Boolean overlayLegend, Double? seriesLegendWidthRatio = null, Double? categoryLegendWidthRatio = null, Double? legendRowHeight = null, Double? legendSwatchSize = null, Double? legendTextGap = null, Double? legendFontSize = null, String? legendFontFamily = null, Double? axisLabelFontSize = null, String? axisTextFontFamily = null, Double? categoryAxisLabelWidth = null, Double? radarCategoryLabelWidth = null, Int32? maximumCategoryAxisLabels = null, Int32? maximumHorizontalCategoryAxisLabels = null, Int32? maximumRadarCategoryLabels = null, Boolean preventLabelOverlap = true, Boolean showLegend = true, OfficeChartLegendPosition legendPosition = Right, Boolean showDataLabels = false, Boolean showDataLabelValues = false, Boolean showDataLabelPercentages = false, Boolean showDataLabelCategoryNames = false, Boolean showDataLabelSeriesNames = false, String? dataLabelSeparator = null, Double? dataLabelFontSize = null, String? dataLabelFontFamily = null, OfficeChartDataLabelPosition dataLabelPosition = BestFit, String? dataLabelNumberFormat = null, Boolean showMarkers = true, String? axisNumberFormat = null, String? categoryAxisTitle = null, String? valueAxisTitle = null, String? horizontalAxisNumberFormat = null, String? verticalAxisNumberFormat = null, Boolean connectScatterPoints = true, Boolean fillRadarSeries = true, Boolean showCategoryAxis = true, Boolean showValueAxis = true, Boolean showCategoryAxisLine = true, Boolean showValueAxisLine = true, Boolean showCategoryAxisLabels = true, Boolean showValueAxisLabels = true, OfficeChartAxisTickLabelPosition horizontalAxisTickLabelPosition = NextTo, OfficeChartAxisTickLabelPosition verticalAxisTickLabelPosition = NextTo, OfficeChartAxisCrossingPosition horizontalAxisCrossingPosition = AutoZero, OfficeChartAxisCrossingPosition verticalAxisCrossingPosition = AutoZero, Boolean reverseCategoryAxis = false, Boolean overlayTitle = false, Double? titleTopPadding = null, OfficeFontStyle? legendFontStyle = null, OfficeFontStyle? axisTextFontStyle = null, OfficeFontStyle? dataLabelFontStyle = null, Double? axisTitleFontSize = null, String? axisTitleFontFamily = null, OfficeFontStyle? axisTitleFontStyle = null, Double? horizontalAxisDisplayUnitDivisor = null, String? horizontalAxisDisplayUnitLabel = null, Double? verticalAxisDisplayUnitDivisor = null, String? verticalAxisDisplayUnitLabel = null, Double? horizontalAxisMinimum = null, Double? horizontalAxisMaximum = null, Double? horizontalAxisMajorUnit = null, Double? horizontalAxisMinorUnit = null, Double? verticalAxisMinimum = null, Double? verticalAxisMaximum = null, Double? verticalAxisMajorUnit = null, Double? verticalAxisMinorUnit = null, OfficeChartAxisTickMark horizontalAxisMajorTickMark = None, OfficeChartAxisTickMark verticalAxisMajorTickMark = None, OfficeChartAxisTickMark horizontalAxisMinorTickMark = None, OfficeChartAxisTickMark verticalAxisMinorTickMark = None, String? categoryAxisNumberFormat = null, Boolean categoryAxisOrientationSpecified = false, IReadOnlyCollection<Int32>? dataLabelSeriesIndexes = null, IReadOnlyDictionary<Int32, IReadOnlyCollection<Int32>>? dataLabelPointIndexes = null, IReadOnlyDictionary<Int32, IReadOnlyCollection<Int32>>? hiddenDataLabelPointIndexes = null, IReadOnlyCollection<Int32>? hiddenCategoryLegendIndexes = null) #Creates chart layout metadata with explicit legend overlay behavior.
Parameters
- overlayLegend System.Boolean
- Whether a legend should be drawn over the plot instead of reserving layout space.
- seriesLegendWidthRatio System.Double? = null
- Maximum chart-width ratio reserved for series legends.
- categoryLegendWidthRatio System.Double? = null
- Maximum chart-width ratio reserved for category legends such as pie slices.
- legendRowHeight System.Double? = null
- Legend row height.
- legendSwatchSize System.Double? = null
- Legend color swatch size.
- legendTextGap System.Double? = null
- Gap between a legend swatch and its label.
- legendFontSize System.Double? = null
- Legend label font size.
- legendFontFamily System.String? = null
- Optional legend label font family.
- axisLabelFontSize System.Double? = null
- Axis label font size.
- axisTextFontFamily System.String? = null
- Optional axis label font family and axis title fallback family.
- categoryAxisLabelWidth System.Double? = null
- Maximum category-axis label width.
- radarCategoryLabelWidth System.Double? = null
- Maximum radar category label width.
- maximumCategoryAxisLabels System.Int32? = null
- Maximum number of category-axis labels to render on cartesian charts.
- maximumHorizontalCategoryAxisLabels System.Int32? = null
- Maximum number of category-axis labels to render on horizontal bar charts.
- maximumRadarCategoryLabels System.Int32? = null
- Maximum number of category labels to render on radar charts.
- preventLabelOverlap System.Boolean = true
- Whether axis/category label stride should increase automatically to avoid obvious label overlap.
- showLegend System.Boolean = true
- Whether series or category legends should be rendered.
- legendPosition OfficeIMO.Drawing.OfficeChartLegendPosition = Right
- Preferred legend placement when legends are rendered.
- showDataLabels System.Boolean = false
- Whether point data labels should be rendered when supported by a chart family.
- showDataLabelValues System.Boolean = false
- Whether point data labels should include values.
- showDataLabelPercentages System.Boolean = false
- Whether point data labels should include percentages.
- showDataLabelCategoryNames System.Boolean = false
- Whether point data labels should include category names.
- showDataLabelSeriesNames System.Boolean = false
- Whether point data labels should include series names.
- dataLabelSeparator System.String? = null
- Separator used between enabled data label parts.
- dataLabelFontSize System.Double? = null
- Data label font size.
- dataLabelFontFamily System.String? = null
- Optional data label font family.
- dataLabelPosition OfficeIMO.Drawing.OfficeChartDataLabelPosition = BestFit
- Preferred data label position when labels are rendered.
- dataLabelNumberFormat System.String? = null
- Optional numeric format for data-label values.
- showMarkers System.Boolean = true
- Whether point markers should be rendered for marker-capable chart families.
- axisNumberFormat System.String? = null
- Optional numeric format for value-axis labels.
- categoryAxisTitle System.String? = null
- Optional category or horizontal axis title.
- valueAxisTitle System.String? = null
- Optional value or vertical axis title.
- horizontalAxisNumberFormat System.String? = null
- Optional numeric format for horizontal value-axis labels.
- verticalAxisNumberFormat System.String? = null
- Optional numeric format for vertical value-axis labels.
- connectScatterPoints System.Boolean = true
- Whether scatter points should be connected by series lines.
- fillRadarSeries System.Boolean = true
- Whether radar series polygons should be filled.
- showCategoryAxis System.Boolean = true
- Whether the category or horizontal axis should be rendered.
- showValueAxis System.Boolean = true
- Whether the value or vertical axis should be rendered.
- showCategoryAxisLine System.Boolean = true
- Whether the category or horizontal axis line should be rendered.
- showValueAxisLine System.Boolean = true
- Whether the value or vertical axis line should be rendered.
- showCategoryAxisLabels System.Boolean = true
- Whether category or horizontal tick labels should be rendered.
- showValueAxisLabels System.Boolean = true
- Whether value or vertical tick labels should be rendered.
- horizontalAxisTickLabelPosition OfficeIMO.Drawing.OfficeChartAxisTickLabelPosition = NextTo
- Preferred tick-label side for the physical horizontal axis.
- verticalAxisTickLabelPosition OfficeIMO.Drawing.OfficeChartAxisTickLabelPosition = NextTo
- Preferred tick-label side for the physical vertical axis.
- horizontalAxisCrossingPosition OfficeIMO.Drawing.OfficeChartAxisCrossingPosition = AutoZero
- Physical crossing side for the horizontal axis.
- verticalAxisCrossingPosition OfficeIMO.Drawing.OfficeChartAxisCrossingPosition = AutoZero
- Physical crossing side for the vertical axis.
- reverseCategoryAxis System.Boolean = false
- Whether category-axis slots should be rendered in reverse order.
- overlayTitle System.Boolean = false
- Whether category-axis orientation was explicitly supplied by the source chart.
- titleTopPadding System.Double? = null
- Whether the title should overlay the plot instead of reserving layout space.
- legendFontStyle OfficeIMO.Drawing.OfficeFontStyle? = null
- Top padding before the chart title inside the chart canvas.
- axisTextFontStyle OfficeIMO.Drawing.OfficeFontStyle? = null
- Optional legend label font style.
- dataLabelFontStyle OfficeIMO.Drawing.OfficeFontStyle? = null
- Optional axis label font style and axis title fallback style.
- axisTitleFontSize System.Double? = null
- Optional data label font style.
- axisTitleFontFamily System.String? = null
- Optional axis title font size.
- axisTitleFontStyle OfficeIMO.Drawing.OfficeFontStyle? = null
- Optional axis title font family.
- horizontalAxisDisplayUnitDivisor System.Double? = null
- Optional axis title font style.
- horizontalAxisDisplayUnitLabel System.String? = null
- Optional divisor applied to horizontal value-axis labels.
- verticalAxisDisplayUnitDivisor System.Double? = null
- Optional display-unit label shown for horizontal value axes.
- verticalAxisDisplayUnitLabel System.String? = null
- Optional divisor applied to vertical value-axis labels.
- horizontalAxisMinimum System.Double? = null
- Optional display-unit label shown for vertical value axes.
- horizontalAxisMaximum System.Double? = null
- Optional minimum for horizontal value axes.
- horizontalAxisMajorUnit System.Double? = null
- Optional maximum for horizontal value axes.
- horizontalAxisMinorUnit System.Double? = null
- Optional major tick/grid unit for horizontal value axes.
- verticalAxisMinimum System.Double? = null
- Optional minor tick/grid unit for horizontal value axes.
- verticalAxisMaximum System.Double? = null
- Optional minimum for vertical value axes.
- verticalAxisMajorUnit System.Double? = null
- Optional maximum for vertical value axes.
- verticalAxisMinorUnit System.Double? = null
- Optional major tick/grid unit for vertical value axes.
- horizontalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional minor tick/grid unit for vertical value axes.
- verticalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional major tick mark placement for the horizontal axis.
- horizontalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional major tick mark placement for the vertical axis.
- verticalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional minor tick mark placement for the horizontal axis.
- categoryAxisNumberFormat System.String? = null
- Optional minor tick mark placement for the vertical axis.
- categoryAxisOrientationSpecified System.Boolean = false
- Optional numeric format for numeric category-axis labels.
- dataLabelSeriesIndexes System.Collections.Generic.IReadOnlyCollection<System.Int32>? = null
- Optional zero-based series indexes that should render data labels.
- dataLabelPointIndexes System.Collections.Generic.IReadOnlyDictionary<System.Int32, System.Collections.Generic.IReadOnlyCollection<System.Int32>>? = null
- Optional zero-based point indexes that should render data labels per series.
- hiddenDataLabelPointIndexes System.Collections.Generic.IReadOnlyDictionary<System.Int32, System.Collections.Generic.IReadOnlyCollection<System.Int32>>? = null
- Optional zero-based point indexes that should suppress data labels per series.
- hiddenCategoryLegendIndexes System.Collections.Generic.IReadOnlyCollection<System.Int32>? = null
- Optional zero-based category or slice legend indexes that should be suppressed.
Methods
public OfficeChartLayout WithDataLabelLeaderLines(Boolean show) #OfficeChartLayoutReturns a layout copy with the requested outside radial leader-line setting.
Parameters
- show System.Boolean
public OfficeChartLayout WithSecondaryValueAxis(OfficeChartValueAxisLayout? axis) #OfficeChartLayoutReturns a layout copy with an independent secondary value-axis scale and format.
Parameters
- axis OfficeIMO.Drawing.OfficeChartValueAxisLayout?
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public static OfficeChartLayout Default { get; } #Default premium OfficeIMO chart layout.
public Double SeriesLegendWidthRatio { get; } #Maximum chart-width ratio reserved for series legends.
public Double CategoryLegendWidthRatio { get; } #Maximum chart-width ratio reserved for category legends such as pie slices.
public Double LegendTextGap { get; } #Gap between a legend swatch and its label.
public String? LegendFontFamily { get; } #Optional legend label font family.
public OfficeFontStyle? LegendFontStyle { get; } #Optional legend label font style.
public String? AxisTextFontFamily { get; } #Optional axis label font family and axis title fallback family.
public OfficeFontStyle? AxisTextFontStyle { get; } #Optional axis label font style and axis title fallback style.
public String? AxisTitleFontFamily { get; } #Optional axis title font family.
public OfficeFontStyle? AxisTitleFontStyle { get; } #Optional axis title font style.
public Double CategoryAxisLabelWidth { get; } #Maximum category-axis label width.
public Double RadarCategoryLabelWidth { get; } #Maximum radar category label width.
public Int32 MaximumCategoryAxisLabels { get; } #Maximum number of category-axis labels to render on cartesian charts.
public Int32 MaximumHorizontalCategoryAxisLabels { get; } #Maximum number of category-axis labels to render on horizontal bar charts.
public Int32 MaximumRadarCategoryLabels { get; } #Maximum number of category labels to render on radar charts.
public Boolean PreventLabelOverlap { get; } #Whether axis/category label stride should increase automatically to avoid obvious label overlap.
public Boolean ShowLegend { get; } #Whether series or category legends should be rendered.
public OfficeChartLegendPosition LegendPosition { get; } #Preferred legend placement when legends are rendered.
public Boolean OverlayLegend { get; } #Whether a legend should be drawn over the plot instead of reserving layout space.
public Boolean ShowDataLabels { get; } #Whether point data labels should be rendered when supported by a chart family.
public Boolean ShowDataLabelValues { get; } #Whether point data labels should include values.
public Boolean ShowDataLabelPercentages { get; } #Whether point data labels should include percentages.
public Boolean ShowDataLabelCategoryNames { get; } #Whether point data labels should include category names.
public Boolean ShowDataLabelSeriesNames { get; } #Whether point data labels should include series names.
public String DataLabelSeparator { get; } #Separator used between enabled data label parts.
public String? DataLabelFontFamily { get; } #Optional data label font family.
public OfficeFontStyle? DataLabelFontStyle { get; } #Optional data label font style.
public OfficeChartDataLabelPosition DataLabelPosition { get; } #Preferred data label position when labels are rendered.
public String? DataLabelNumberFormat { get; } #Whether radial outside data labels connect to their slices with leader lines.
public IReadOnlyCollection<Int32>? DataLabelSeriesIndexes { get; } #Optional zero-based series indexes that should render data labels; null means every series may render labels.
public IReadOnlyDictionary<Int32, IReadOnlyCollection<Int32>>? DataLabelPointIndexes { get; } #Optional zero-based point indexes that should render data labels per series; null means every point may render labels.
public Boolean ShowMarkers { get; } #Whether point markers should be rendered for marker-capable chart families.
public String? AxisNumberFormat { get; } #Optional numeric format for value-axis labels.
public String? HorizontalAxisNumberFormat { get; } #Optional numeric format for horizontal value-axis labels.
public String? VerticalAxisNumberFormat { get; } #Optional numeric format for vertical value-axis labels.
public String? CategoryAxisNumberFormat { get; } #Optional numeric format for numeric category-axis labels.
public Double? HorizontalAxisDisplayUnitDivisor { get; } #Optional divisor applied to horizontal value-axis labels.
public String? HorizontalAxisDisplayUnitLabel { get; } #Optional display-unit label shown for horizontal value axes.
public Double? VerticalAxisDisplayUnitDivisor { get; } #Optional divisor applied to vertical value-axis labels.
public String? VerticalAxisDisplayUnitLabel { get; } #Optional display-unit label shown for vertical value axes.
public Double? HorizontalAxisMinimum { get; } #Optional minimum for horizontal value axes.
public Double? HorizontalAxisMaximum { get; } #Optional maximum for horizontal value axes.
public Double? HorizontalAxisMajorUnit { get; } #Optional major tick/grid unit for horizontal value axes.
public Double? HorizontalAxisMinorUnit { get; } #Optional minor tick/grid unit for horizontal value axes.
public Double? VerticalAxisMinimum { get; } #Optional minimum for vertical value axes.
public Double? VerticalAxisMaximum { get; } #Optional maximum for vertical value axes.
public Double? VerticalAxisMajorUnit { get; } #Optional major tick/grid unit for vertical value axes.
public Double? VerticalAxisMinorUnit { get; } #Optional minor tick/grid unit for vertical value axes.
public OfficeChartAxisTickMark HorizontalAxisMajorTickMark { get; } #Major tick mark placement for the horizontal axis.
public OfficeChartAxisTickMark VerticalAxisMajorTickMark { get; } #Major tick mark placement for the vertical axis.
public OfficeChartAxisTickMark HorizontalAxisMinorTickMark { get; } #Minor tick mark placement for the horizontal axis.
public OfficeChartAxisTickMark VerticalAxisMinorTickMark { get; } #Minor tick mark placement for the vertical axis.
public String? CategoryAxisTitle { get; } #Optional category or horizontal axis title.
public String? ValueAxisTitle { get; } #Optional value or vertical axis title.
public Boolean ConnectScatterPoints { get; } #Whether scatter points should be connected by series lines.
public Boolean FillRadarSeries { get; } #Whether radar series polygons should be filled.
public Boolean ShowCategoryAxis { get; } #Whether the category or horizontal axis should be rendered.
public Boolean ShowValueAxis { get; } #Whether the value or vertical axis should be rendered.
public Boolean ShowCategoryAxisLine { get; } #Whether the category or horizontal axis line should be rendered.
public Boolean ShowValueAxisLine { get; } #Whether the value or vertical axis line should be rendered.
public Boolean ShowCategoryAxisLabels { get; } #Whether category or horizontal tick labels should be rendered.
public Boolean ShowValueAxisLabels { get; } #Whether value or vertical tick labels should be rendered.
public OfficeChartAxisTickLabelPosition HorizontalAxisTickLabelPosition { get; } #Preferred tick-label side for the physical horizontal axis.
public OfficeChartAxisTickLabelPosition VerticalAxisTickLabelPosition { get; } #Preferred tick-label side for the physical vertical axis.
public OfficeChartAxisCrossingPosition HorizontalAxisCrossingPosition { get; } #Physical crossing side for the horizontal axis.
public OfficeChartAxisCrossingPosition VerticalAxisCrossingPosition { get; } #Physical crossing side for the vertical axis.
public Boolean ReverseCategoryAxis { get; } #Whether category-axis slots should be rendered in reverse order.
public Boolean CategoryAxisOrientationSpecified { get; } #Whether category-axis orientation was explicitly supplied by the source chart.
public Boolean OverlayTitle { get; } #Whether the chart title should overlay the plot area instead of reserving a title band.
public Double TitleTopPadding { get; } #Top padding before the chart title inside the chart canvas.
public Boolean ShowDataLabelLeaderLines { get; private set; } #Whether outside radial labels connect to their slices.
public OfficeChartValueAxisLayout? SecondaryValueAxis { get; private set; } #Independent secondary value-axis scale and format, or automatic settings when absent.
Fields
public const Int32 MaximumDataLabelSeparatorCharacters #Maximum length of a separator copied into each rendered data label.
64