API Reference
OfficeChartLayout
Reusable chart layout metadata shared by OfficeIMO chart renderers and format exporters.
Inheritance
- Object
- OfficeChartLayout
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
Accepted by parameters
- Constructor OfficeChartSnapshot.OfficeChartSnapshot
- Constructor OfficeChartSnapshot.OfficeChartSnapshot
- Constructor OfficeChartSnapshot.OfficeChartSnapshot
- Constructor OfficeChartSnapshot.OfficeChartSnapshot
Constructors
public OfficeChartLayout(Nullable<Double> seriesLegendWidthRatio, Nullable<Double> categoryLegendWidthRatio, Nullable<Double> legendRowHeight, Nullable<Double> legendSwatchSize, Nullable<Double> legendTextGap, Nullable<Double> legendFontSize, String legendFontFamily, Nullable<Double> axisLabelFontSize, String axisTextFontFamily, Nullable<Double> categoryAxisLabelWidth, Nullable<Double> radarCategoryLabelWidth, Nullable<Int32> maximumCategoryAxisLabels, Nullable<Int32> maximumHorizontalCategoryAxisLabels, Nullable<Int32> maximumRadarCategoryLabels, Boolean preventLabelOverlap, Boolean showLegend, OfficeChartLegendPosition legendPosition, Boolean showDataLabels, Boolean showDataLabelValues, Boolean showDataLabelPercentages, Boolean showDataLabelCategoryNames, Boolean showDataLabelSeriesNames, String dataLabelSeparator, Nullable<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, Nullable<Double> titleTopPadding, Nullable<OfficeFontStyle> legendFontStyle, Nullable<OfficeFontStyle> axisTextFontStyle, Nullable<OfficeFontStyle> dataLabelFontStyle, Nullable<Double> axisTitleFontSize, String axisTitleFontFamily, Nullable<OfficeFontStyle> axisTitleFontStyle, Nullable<Double> horizontalAxisDisplayUnitDivisor, String horizontalAxisDisplayUnitLabel, Nullable<Double> verticalAxisDisplayUnitDivisor, String verticalAxisDisplayUnitLabel, Nullable<Double> horizontalAxisMinimum, Nullable<Double> horizontalAxisMaximum, Nullable<Double> horizontalAxisMajorUnit, Nullable<Double> horizontalAxisMinorUnit, Nullable<Double> verticalAxisMinimum, Nullable<Double> verticalAxisMaximum, Nullable<Double> verticalAxisMajorUnit, Nullable<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.Nullable{System.Double}
- categoryLegendWidthRatio System.Nullable{System.Double}
- legendRowHeight System.Nullable{System.Double}
- legendSwatchSize System.Nullable{System.Double}
- legendTextGap System.Nullable{System.Double}
- legendFontSize System.Nullable{System.Double}
- legendFontFamily System.String
- axisLabelFontSize System.Nullable{System.Double}
- axisTextFontFamily System.String
- categoryAxisLabelWidth System.Nullable{System.Double}
- radarCategoryLabelWidth System.Nullable{System.Double}
- maximumCategoryAxisLabels System.Nullable{System.Int32}
- maximumHorizontalCategoryAxisLabels System.Nullable{System.Int32}
- maximumRadarCategoryLabels System.Nullable{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.Nullable{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.Nullable{System.Double}
- legendFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle}
- axisTextFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle}
- dataLabelFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle}
- axisTitleFontSize System.Nullable{System.Double}
- axisTitleFontFamily System.String
- axisTitleFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle}
- horizontalAxisDisplayUnitDivisor System.Nullable{System.Double}
- horizontalAxisDisplayUnitLabel System.String
- verticalAxisDisplayUnitDivisor System.Nullable{System.Double}
- verticalAxisDisplayUnitLabel System.String
- horizontalAxisMinimum System.Nullable{System.Double}
- horizontalAxisMaximum System.Nullable{System.Double}
- horizontalAxisMajorUnit System.Nullable{System.Double}
- horizontalAxisMinorUnit System.Nullable{System.Double}
- verticalAxisMinimum System.Nullable{System.Double}
- verticalAxisMaximum System.Nullable{System.Double}
- verticalAxisMajorUnit System.Nullable{System.Double}
- verticalAxisMinorUnit System.Nullable{System.Double}
- horizontalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
- verticalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
- horizontalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
- verticalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
public OfficeChartLayout(Boolean overlayLegend, Nullable<Double> seriesLegendWidthRatio, Nullable<Double> categoryLegendWidthRatio, Nullable<Double> legendRowHeight, Nullable<Double> legendSwatchSize, Nullable<Double> legendTextGap, Nullable<Double> legendFontSize, String legendFontFamily, Nullable<Double> axisLabelFontSize, String axisTextFontFamily, Nullable<Double> categoryAxisLabelWidth, Nullable<Double> radarCategoryLabelWidth, Nullable<Int32> maximumCategoryAxisLabels, Nullable<Int32> maximumHorizontalCategoryAxisLabels, Nullable<Int32> maximumRadarCategoryLabels, Boolean preventLabelOverlap, Boolean showLegend, OfficeChartLegendPosition legendPosition, Boolean showDataLabels, Boolean showDataLabelValues, Boolean showDataLabelPercentages, Boolean showDataLabelCategoryNames, Boolean showDataLabelSeriesNames, String dataLabelSeparator, Nullable<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, Nullable<Double> titleTopPadding, Nullable<OfficeFontStyle> legendFontStyle, Nullable<OfficeFontStyle> axisTextFontStyle, Nullable<OfficeFontStyle> dataLabelFontStyle, Nullable<Double> axisTitleFontSize, String axisTitleFontFamily, Nullable<OfficeFontStyle> axisTitleFontStyle, Nullable<Double> horizontalAxisDisplayUnitDivisor, String horizontalAxisDisplayUnitLabel, Nullable<Double> verticalAxisDisplayUnitDivisor, String verticalAxisDisplayUnitLabel, Nullable<Double> horizontalAxisMinimum, Nullable<Double> horizontalAxisMaximum, Nullable<Double> horizontalAxisMajorUnit, Nullable<Double> horizontalAxisMinorUnit, Nullable<Double> verticalAxisMinimum, Nullable<Double> verticalAxisMaximum, Nullable<Double> verticalAxisMajorUnit, Nullable<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.Nullable{System.Double}
- categoryLegendWidthRatio System.Nullable{System.Double}
- legendRowHeight System.Nullable{System.Double}
- legendSwatchSize System.Nullable{System.Double}
- legendTextGap System.Nullable{System.Double}
- legendFontSize System.Nullable{System.Double}
- legendFontFamily System.String
- axisLabelFontSize System.Nullable{System.Double}
- axisTextFontFamily System.String
- categoryAxisLabelWidth System.Nullable{System.Double}
- radarCategoryLabelWidth System.Nullable{System.Double}
- maximumCategoryAxisLabels System.Nullable{System.Int32}
- maximumHorizontalCategoryAxisLabels System.Nullable{System.Int32}
- maximumRadarCategoryLabels System.Nullable{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.Nullable{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.Nullable{System.Double}
- legendFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle}
- axisTextFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle}
- dataLabelFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle}
- axisTitleFontSize System.Nullable{System.Double}
- axisTitleFontFamily System.String
- axisTitleFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle}
- horizontalAxisDisplayUnitDivisor System.Nullable{System.Double}
- horizontalAxisDisplayUnitLabel System.String
- verticalAxisDisplayUnitDivisor System.Nullable{System.Double}
- verticalAxisDisplayUnitLabel System.String
- horizontalAxisMinimum System.Nullable{System.Double}
- horizontalAxisMaximum System.Nullable{System.Double}
- horizontalAxisMajorUnit System.Nullable{System.Double}
- horizontalAxisMinorUnit System.Nullable{System.Double}
- verticalAxisMinimum System.Nullable{System.Double}
- verticalAxisMaximum System.Nullable{System.Double}
- verticalAxisMajorUnit System.Nullable{System.Double}
- verticalAxisMinorUnit System.Nullable{System.Double}
- horizontalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
- verticalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
- horizontalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
- verticalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark
public OfficeChartLayout(Nullable<Double> seriesLegendWidthRatio = null, Nullable<Double> categoryLegendWidthRatio = null, Nullable<Double> legendRowHeight = null, Nullable<Double> legendSwatchSize = null, Nullable<Double> legendTextGap = null, Nullable<Double> legendFontSize = null, String legendFontFamily = null, Nullable<Double> axisLabelFontSize = null, String axisTextFontFamily = null, Nullable<Double> categoryAxisLabelWidth = null, Nullable<Double> radarCategoryLabelWidth = null, Nullable<Int32> maximumCategoryAxisLabels = null, Nullable<Int32> maximumHorizontalCategoryAxisLabels = null, Nullable<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, Nullable<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, Nullable<Double> titleTopPadding = null, Nullable<OfficeFontStyle> legendFontStyle = null, Nullable<OfficeFontStyle> axisTextFontStyle = null, Nullable<OfficeFontStyle> dataLabelFontStyle = null, Nullable<Double> axisTitleFontSize = null, String axisTitleFontFamily = null, Nullable<OfficeFontStyle> axisTitleFontStyle = null, Nullable<Double> horizontalAxisDisplayUnitDivisor = null, String horizontalAxisDisplayUnitLabel = null, Nullable<Double> verticalAxisDisplayUnitDivisor = null, String verticalAxisDisplayUnitLabel = null, Nullable<Double> horizontalAxisMinimum = null, Nullable<Double> horizontalAxisMaximum = null, Nullable<Double> horizontalAxisMajorUnit = null, Nullable<Double> horizontalAxisMinorUnit = null, Nullable<Double> verticalAxisMinimum = null, Nullable<Double> verticalAxisMaximum = null, Nullable<Double> verticalAxisMajorUnit = null, Nullable<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.Nullable{System.Double} = null
- Maximum chart-width ratio reserved for series legends.
- categoryLegendWidthRatio System.Nullable{System.Double} = null
- Maximum chart-width ratio reserved for category legends such as pie slices.
- legendRowHeight System.Nullable{System.Double} = null
- Legend row height.
- legendSwatchSize System.Nullable{System.Double} = null
- Legend color swatch size.
- legendTextGap System.Nullable{System.Double} = null
- Gap between a legend swatch and its label.
- legendFontSize System.Nullable{System.Double} = null
- Legend label font size.
- legendFontFamily System.String = null
- Optional legend label font family.
- axisLabelFontSize System.Nullable{System.Double} = null
- Axis label font size.
- axisTextFontFamily System.String = null
- Optional axis label/title font family.
- categoryAxisLabelWidth System.Nullable{System.Double} = null
- Maximum category-axis label width.
- radarCategoryLabelWidth System.Nullable{System.Double} = null
- Maximum radar category label width.
- maximumCategoryAxisLabels System.Nullable{System.Int32} = null
- Maximum number of category-axis labels to render on cartesian charts.
- maximumHorizontalCategoryAxisLabels System.Nullable{System.Int32} = null
- Maximum number of category-axis labels to render on horizontal bar charts.
- maximumRadarCategoryLabels System.Nullable{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.Nullable{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.
- categoryAxisOrientationSpecified System.Boolean = false
- Whether category-axis orientation was explicitly supplied by the source chart.
- overlayTitle System.Nullable{System.Double} = null
- Whether the title should overlay the plot instead of reserving layout space.
- titleTopPadding System.Nullable{OfficeIMO.Drawing.OfficeFontStyle} = null
- Top padding before the chart title inside the chart canvas.
- legendFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle} = null
- Optional legend label font style.
- axisTextFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle} = null
- Optional axis label font style and axis title fallback style.
- dataLabelFontStyle System.Nullable{System.Double} = null
- Optional data label font style.
- axisTitleFontSize System.String = null
- Optional axis title font size.
- axisTitleFontFamily System.Nullable{OfficeIMO.Drawing.OfficeFontStyle} = null
- Optional axis title font family.
- axisTitleFontStyle System.Nullable{System.Double} = null
- Optional axis title font style.
- horizontalAxisDisplayUnitDivisor System.String = null
- Optional divisor applied to horizontal value-axis labels.
- horizontalAxisDisplayUnitLabel System.Nullable{System.Double} = null
- Optional display-unit label shown for horizontal value axes.
- verticalAxisDisplayUnitDivisor System.String = null
- Optional divisor applied to vertical value-axis labels.
- verticalAxisDisplayUnitLabel System.Nullable{System.Double} = null
- Optional display-unit label shown for vertical value axes.
- horizontalAxisMinimum System.Nullable{System.Double} = null
- Optional minimum for horizontal value axes.
- horizontalAxisMaximum System.Nullable{System.Double} = null
- Optional maximum for horizontal value axes.
- horizontalAxisMajorUnit System.Nullable{System.Double} = null
- Optional major tick/grid unit for horizontal value axes.
- horizontalAxisMinorUnit System.Nullable{System.Double} = null
- Optional minor tick/grid unit for horizontal value axes.
- verticalAxisMinimum System.Nullable{System.Double} = null
- Optional minimum for vertical value axes.
- verticalAxisMaximum System.Nullable{System.Double} = null
- Optional maximum for vertical value axes.
- verticalAxisMajorUnit System.Nullable{System.Double} = null
- Optional major tick/grid unit for vertical value axes.
- verticalAxisMinorUnit OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional minor tick/grid unit for vertical value axes.
- horizontalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional major tick mark placement for the horizontal axis.
- verticalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional major tick mark placement for the vertical axis.
- horizontalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional minor tick mark placement for the horizontal axis.
- verticalAxisMinorTickMark System.String = null
- Optional minor tick mark placement for the vertical axis.
- categoryAxisNumberFormat 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, Nullable<Double> seriesLegendWidthRatio = null, Nullable<Double> categoryLegendWidthRatio = null, Nullable<Double> legendRowHeight = null, Nullable<Double> legendSwatchSize = null, Nullable<Double> legendTextGap = null, Nullable<Double> legendFontSize = null, String legendFontFamily = null, Nullable<Double> axisLabelFontSize = null, String axisTextFontFamily = null, Nullable<Double> categoryAxisLabelWidth = null, Nullable<Double> radarCategoryLabelWidth = null, Nullable<Int32> maximumCategoryAxisLabels = null, Nullable<Int32> maximumHorizontalCategoryAxisLabels = null, Nullable<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, Nullable<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, Nullable<Double> titleTopPadding = null, Nullable<OfficeFontStyle> legendFontStyle = null, Nullable<OfficeFontStyle> axisTextFontStyle = null, Nullable<OfficeFontStyle> dataLabelFontStyle = null, Nullable<Double> axisTitleFontSize = null, String axisTitleFontFamily = null, Nullable<OfficeFontStyle> axisTitleFontStyle = null, Nullable<Double> horizontalAxisDisplayUnitDivisor = null, String horizontalAxisDisplayUnitLabel = null, Nullable<Double> verticalAxisDisplayUnitDivisor = null, String verticalAxisDisplayUnitLabel = null, Nullable<Double> horizontalAxisMinimum = null, Nullable<Double> horizontalAxisMaximum = null, Nullable<Double> horizontalAxisMajorUnit = null, Nullable<Double> horizontalAxisMinorUnit = null, Nullable<Double> verticalAxisMinimum = null, Nullable<Double> verticalAxisMaximum = null, Nullable<Double> verticalAxisMajorUnit = null, Nullable<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.Nullable{System.Double} = null
- Maximum chart-width ratio reserved for series legends.
- categoryLegendWidthRatio System.Nullable{System.Double} = null
- Maximum chart-width ratio reserved for category legends such as pie slices.
- legendRowHeight System.Nullable{System.Double} = null
- Legend row height.
- legendSwatchSize System.Nullable{System.Double} = null
- Legend color swatch size.
- legendTextGap System.Nullable{System.Double} = null
- Gap between a legend swatch and its label.
- legendFontSize System.Nullable{System.Double} = null
- Legend label font size.
- legendFontFamily System.String = null
- Optional legend label font family.
- axisLabelFontSize System.Nullable{System.Double} = null
- Axis label font size.
- axisTextFontFamily System.String = null
- Optional axis label font family and axis title fallback family.
- categoryAxisLabelWidth System.Nullable{System.Double} = null
- Maximum category-axis label width.
- radarCategoryLabelWidth System.Nullable{System.Double} = null
- Maximum radar category label width.
- maximumCategoryAxisLabels System.Nullable{System.Int32} = null
- Maximum number of category-axis labels to render on cartesian charts.
- maximumHorizontalCategoryAxisLabels System.Nullable{System.Int32} = null
- Maximum number of category-axis labels to render on horizontal bar charts.
- maximumRadarCategoryLabels System.Nullable{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.Nullable{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.
- categoryAxisOrientationSpecified System.Boolean = false
- Whether category-axis orientation was explicitly supplied by the source chart.
- overlayTitle System.Nullable{System.Double} = null
- Whether the title should overlay the plot instead of reserving layout space.
- titleTopPadding System.Nullable{OfficeIMO.Drawing.OfficeFontStyle} = null
- Top padding before the chart title inside the chart canvas.
- legendFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle} = null
- Optional legend label font style.
- axisTextFontStyle System.Nullable{OfficeIMO.Drawing.OfficeFontStyle} = null
- Optional axis label font style and axis title fallback style.
- dataLabelFontStyle System.Nullable{System.Double} = null
- Optional data label font style.
- axisTitleFontSize System.String = null
- Optional axis title font size.
- axisTitleFontFamily System.Nullable{OfficeIMO.Drawing.OfficeFontStyle} = null
- Optional axis title font family.
- axisTitleFontStyle System.Nullable{System.Double} = null
- Optional axis title font style.
- horizontalAxisDisplayUnitDivisor System.String = null
- Optional divisor applied to horizontal value-axis labels.
- horizontalAxisDisplayUnitLabel System.Nullable{System.Double} = null
- Optional display-unit label shown for horizontal value axes.
- verticalAxisDisplayUnitDivisor System.String = null
- Optional divisor applied to vertical value-axis labels.
- verticalAxisDisplayUnitLabel System.Nullable{System.Double} = null
- Optional display-unit label shown for vertical value axes.
- horizontalAxisMinimum System.Nullable{System.Double} = null
- Optional minimum for horizontal value axes.
- horizontalAxisMaximum System.Nullable{System.Double} = null
- Optional maximum for horizontal value axes.
- horizontalAxisMajorUnit System.Nullable{System.Double} = null
- Optional major tick/grid unit for horizontal value axes.
- horizontalAxisMinorUnit System.Nullable{System.Double} = null
- Optional minor tick/grid unit for horizontal value axes.
- verticalAxisMinimum System.Nullable{System.Double} = null
- Optional minimum for vertical value axes.
- verticalAxisMaximum System.Nullable{System.Double} = null
- Optional maximum for vertical value axes.
- verticalAxisMajorUnit System.Nullable{System.Double} = null
- Optional major tick/grid unit for vertical value axes.
- verticalAxisMinorUnit OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional minor tick/grid unit for vertical value axes.
- horizontalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional major tick mark placement for the horizontal axis.
- verticalAxisMajorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional major tick mark placement for the vertical axis.
- horizontalAxisMinorTickMark OfficeIMO.Drawing.OfficeChartAxisTickMark = None
- Optional minor tick mark placement for the horizontal axis.
- verticalAxisMinorTickMark System.String = null
- Optional minor tick mark placement for the vertical axis.
- categoryAxisNumberFormat 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 override 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 LegendRowHeight { get; } #Legend row height.
public Double LegendSwatchSize { get; } #Legend color swatch size.
public Double LegendTextGap { get; } #Gap between a legend swatch and its label.
public Double LegendFontSize { get; } #Legend label font size.
public String LegendFontFamily { get; } #Optional legend label font family.
public Nullable<OfficeFontStyle> LegendFontStyle { get; } #Optional legend label font style.
public Double AxisLabelFontSize { get; } #Axis label font size.
public String AxisTextFontFamily { get; } #Optional axis label font family and axis title fallback family.
public Nullable<OfficeFontStyle> AxisTextFontStyle { get; } #Optional axis label font style and axis title fallback style.
public Nullable<Double> AxisTitleFontSize { get; } #Optional axis title font size.
public String AxisTitleFontFamily { get; } #Optional axis title font family.
public Nullable<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 Double DataLabelFontSize { get; } #Data label font size.
public String DataLabelFontFamily { get; } #Optional data label font family.
public Nullable<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 Nullable<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 Nullable<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 Nullable<Double> HorizontalAxisMinimum { get; } #Optional minimum for horizontal value axes.
public Nullable<Double> HorizontalAxisMaximum { get; } #Optional maximum for horizontal value axes.
public Nullable<Double> HorizontalAxisMajorUnit { get; } #Optional major tick/grid unit for horizontal value axes.
public Nullable<Double> HorizontalAxisMinorUnit { get; } #Optional minor tick/grid unit for horizontal value axes.
public Nullable<Double> VerticalAxisMinimum { get; } #Optional minimum for vertical value axes.
public Nullable<Double> VerticalAxisMaximum { get; } #Optional maximum for vertical value axes.
public Nullable<Double> VerticalAxisMajorUnit { get; } #Optional major tick/grid unit for vertical value axes.
public Nullable<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; set; } #Whether outside radial labels connect to their slices.
public OfficeChartValueAxisLayout SecondaryValueAxis { get; set; } #Independent secondary value-axis scale and format, or automatic settings when absent.