PowerPointChart
OfficeIMO.PowerPoint
Represents a chart on a slide.
Inheritance
- PowerPointShape
- PowerPointChart
Usage
Explore 110 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 110
- Method PowerPointChart.ClearCategoryAxisGridlines
- Method PowerPointChart.ClearCategoryAxisLabelTextStyle
- Method PowerPointChart.ClearCategoryAxisTitleTextStyle
- Method PowerPointChart.ClearDataLabels
- Method PowerPointChart.ClearLegendTextStyle
- Method PowerPointChart.ClearScatterXAxisDisplayUnits
- Method PowerPointChart.ClearScatterXAxisGridlines
- Method PowerPointChart.ClearScatterXAxisLabelTextStyle
- Method PowerPointChart.ClearScatterXAxisTitleTextStyle
- Method PowerPointChart.ClearScatterYAxisDisplayUnits
- Method PowerPointChart.ClearScatterYAxisGridlines
- Method PowerPointChart.ClearScatterYAxisLabelTextStyle
- Method PowerPointChart.ClearScatterYAxisTitleTextStyle
- Method PowerPointChart.ClearSeriesDataLabelForPoint
- Method PowerPointChart.ClearSeriesDataLabels
- Method PowerPointChart.ClearSeriesTrendline
- Method PowerPointChart.ClearTitle
- Method PowerPointChart.ClearTitleTextStyle
- Method PowerPointChart.ClearValueAxisDisplayUnits
- Method PowerPointChart.ClearValueAxisGridlines
- Method PowerPointChart.ClearValueAxisLabelTextStyle
- Method PowerPointChart.ClearValueAxisTitleTextStyle
- Method PowerPointChart.HideLegend
- Method PowerPointChart.SaveDataSummary
- Method PowerPointChart.SetAccessibility
- Method PowerPointChart.SetBubbleSizing
- Method PowerPointChart.SetCategoryAxisCrossing
- Method PowerPointChart.SetCategoryAxisGridlines
- Method PowerPointChart.SetCategoryAxisLabelRotation
- Method PowerPointChart.SetCategoryAxisLabelTextStyle
- Method PowerPointChart.SetCategoryAxisNumberFormat
- Method PowerPointChart.SetCategoryAxisReverseOrder
- Method PowerPointChart.SetCategoryAxisTickLabelPosition
- Method PowerPointChart.SetCategoryAxisTitle
- Method PowerPointChart.SetCategoryAxisTitleTextStyle
- Method PowerPointChart.SetChartAreaStyle
- Method PowerPointChart.SetDataLabelCallouts
- Method PowerPointChart.SetDataLabelLeaderLines
- Method PowerPointChart.SetDataLabelNumberFormat
- Method PowerPointChart.SetDataLabelPosition
- Method PowerPointChart.SetDataLabels
- Method PowerPointChart.SetDataLabelSeparator
- Method PowerPointChart.SetDataLabelShapeStyle
- Method PowerPointChart.SetDataLabelTemplate
- Method PowerPointChart.SetDataLabelTextStyle
- Method PowerPointChart.SetDataPointStyle
- Method PowerPointChart.SetLegend
- Method PowerPointChart.SetLegendTextStyle
- Method PowerPointChart.SetLineChartGrouping
- Method PowerPointChart.SetPlotAreaStyle
- Method PowerPointChart.SetRadialLayout
- Method PowerPointChart.SetScatterXAxisCrossing
- Method PowerPointChart.SetScatterXAxisDisplayUnits
- Method PowerPointChart.SetScatterXAxisGridlines
- Method PowerPointChart.SetScatterXAxisLabelRotation
- Method PowerPointChart.SetScatterXAxisLabelTextStyle
- Method PowerPointChart.SetScatterXAxisNumberFormat
- Method PowerPointChart.SetScatterXAxisScale
- Method PowerPointChart.SetScatterXAxisTickLabelPosition
- Method PowerPointChart.SetScatterXAxisTitle
- Method PowerPointChart.SetScatterXAxisTitleTextStyle
- Method PowerPointChart.SetScatterYAxisCrossing
- Method PowerPointChart.SetScatterYAxisDisplayUnits
- Method PowerPointChart.SetScatterYAxisGridlines
- Method PowerPointChart.SetScatterYAxisLabelRotation
- Method PowerPointChart.SetScatterYAxisLabelTextStyle
- Method PowerPointChart.SetScatterYAxisNumberFormat
- Method PowerPointChart.SetScatterYAxisScale
- Method PowerPointChart.SetScatterYAxisTickLabelPosition
- Method PowerPointChart.SetScatterYAxisTitle
- Method PowerPointChart.SetScatterYAxisTitleTextStyle
- Method PowerPointChart.SetSecondaryValueAxis
- Method PowerPointChart.SetSeriesDataLabelCallouts
- Method PowerPointChart.SetSeriesDataLabelCalloutsForPoint
- Method PowerPointChart.SetSeriesDataLabelForPoint
- Method PowerPointChart.SetSeriesDataLabelLeaderLines
- Method PowerPointChart.SetSeriesDataLabels
- Method PowerPointChart.SetSeriesDataLabelSeparator
- Method PowerPointChart.SetSeriesDataLabelSeparatorForPoint
- Method PowerPointChart.SetSeriesDataLabelShapeStyle
- Method PowerPointChart.SetSeriesDataLabelShapeStyleForPoint
- Method PowerPointChart.SetSeriesDataLabelTemplate
- Method PowerPointChart.SetSeriesDataLabelTemplateForPoint
- Method PowerPointChart.SetSeriesDataLabelTextStyle
- Method PowerPointChart.SetSeriesDataLabelTextStyleForPoint
- Method PowerPointChart.SetSeriesFillColor
- Method PowerPointChart.SetSeriesLineColor
- Method PowerPointChart.SetSeriesMarker
- Method PowerPointChart.SetSeriesTrendline
- Method PowerPointChart.SetTitle
- Method PowerPointChart.SetTitleTextStyle
- Method PowerPointChart.SetValueAxisCrossBetween
- Method PowerPointChart.SetValueAxisCrossing
- Method PowerPointChart.SetValueAxisDisplayUnits
- Method PowerPointChart.SetValueAxisGridlines
- Method PowerPointChart.SetValueAxisLabelRotation
- Method PowerPointChart.SetValueAxisLabelTextStyle
- Method PowerPointChart.SetValueAxisNumberFormat
- Method PowerPointChart.SetValueAxisScale
- Method PowerPointChart.SetValueAxisTickLabelPosition
- Method PowerPointChart.SetValueAxisTitle
- Method PowerPointChart.SetValueAxisTitleTextStyle
- Method PowerPointChart.UpdateData
- Method PowerPointChart.UpdateImportedData
- Method PowerPointSlide.AddChart
- Method PowerPointSlide.AddChart``1
- Method PowerPointSlide.AddChart``2
- Method PowerPointSlide.GetChart
- Method PowerPointSlide.GetGroupCharts
- Property PowerPointSlide.Charts
Methods
public PowerPointChart ClearCategoryAxisGridlines() #Clears category axis gridlines.
Returns
PowerPointChartpublic PowerPointChart ClearCategoryAxisLabelTextStyle() #Clears the category axis label text style.
Returns
PowerPointChartpublic PowerPointChart ClearCategoryAxisTitleTextStyle() #Clears the category axis title text style.
Returns
PowerPointChartpublic PowerPointChart ClearDataLabels() #Removes shared data label settings from all supported chart types in the current plot area.
Returns
PowerPointChartpublic PowerPointChart ClearLegendTextStyle() #Clears custom legend text styling while preserving the legend.
Returns
PowerPointChartpublic PowerPointChart ClearScatterXAxisDisplayUnits() #Clears display units from the scatter chart X-axis.
Returns
PowerPointChartpublic PowerPointChart ClearScatterXAxisGridlines() #Clears scatter chart X-axis gridlines.
Returns
PowerPointChartpublic PowerPointChart ClearScatterXAxisLabelTextStyle() #Clears the scatter chart X-axis label text style.
Returns
PowerPointChartpublic PowerPointChart ClearScatterXAxisTitleTextStyle() #Clears the scatter chart X-axis title text style.
Returns
PowerPointChartpublic PowerPointChart ClearScatterYAxisDisplayUnits() #Clears display units from the scatter chart Y-axis.
Returns
PowerPointChartpublic PowerPointChart ClearScatterYAxisGridlines() #Clears scatter chart Y-axis gridlines.
Returns
PowerPointChartpublic PowerPointChart ClearScatterYAxisLabelTextStyle() #Clears the scatter chart Y-axis label text style.
Returns
PowerPointChartpublic PowerPointChart ClearScatterYAxisTitleTextStyle() #Clears the scatter chart Y-axis title text style.
Returns
PowerPointChartpublic PowerPointChart ClearSeriesDataLabelForPoint(int seriesIndex, int pointIndex) #Removes point-level data label overrides for a specific point by series index.
Parameters
- seriesIndex int
- pointIndex int
Returns
PowerPointChartpublic PowerPointChart ClearSeriesDataLabelForPoint(string seriesName, int pointIndex, bool ignoreCase = true) #Removes point-level data label overrides for a specific point by series name.
Parameters
- seriesName string
- pointIndex int
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart ClearSeriesDataLabels(int seriesIndex) #Removes series-level data label settings by series index.
Parameters
- seriesIndex int
Returns
PowerPointChartpublic PowerPointChart ClearSeriesDataLabels(string seriesName, bool ignoreCase = true) #Removes series-level data label settings by series name.
Parameters
- seriesName string
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart ClearSeriesTrendline(int seriesIndex) #Removes trendlines from a chart series by index.
Parameters
- seriesIndex int
Returns
PowerPointChartpublic PowerPointChart ClearSeriesTrendline(string seriesName, bool ignoreCase = true) #Removes trendlines from a chart series by name.
Parameters
- seriesName string
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart ClearTitleTextStyle() #Clears custom chart title text styling while preserving the title text.
Returns
PowerPointChartpublic PowerPointChart ClearValueAxisDisplayUnits() #Clears display units from the value axis.
Returns
PowerPointChartpublic PowerPointChart ClearValueAxisGridlines() #Clears value axis gridlines.
Returns
PowerPointChartpublic PowerPointChart ClearValueAxisLabelTextStyle() #Clears the value axis label text style.
Returns
PowerPointChartpublic PowerPointChart ClearValueAxisTitleTextStyle() #Clears the value axis title text style.
Returns
PowerPointChartpublic static string CreateDataSummary(OfficeChartType chartKind, OfficeChartData data) #Creates a deterministic plain-text summary suitable for accessibility review or sidecar output.
Parameters
- chartKind OfficeIMO.OfficeChartType
- data OfficeIMO.Drawing.OfficeChartData
Returns
stringpublic string CreateDataSummary() #Creates a deterministic plain-text data summary from the current native chart.
Returns
stringpublic PowerPointImportedChartReport InspectImportedContent() #Inspects native family, typed-edit support, and export fidelity.
public PowerPointChart SaveDataSummary(string filePath) #Saves the current chart's plain-text data summary as a UTF-8 sidecar.
Parameters
- filePath string
Returns
PowerPointChartpublic PowerPointChart SetAccessibility(string alternativeText, string? dataSummary = null, bool includeDataSummary = true) #Applies native alternative text and optionally includes a plain-text data summary.
Parameters
- alternativeText string
- dataSummary string? = null
- includeDataSummary bool = true
Returns
PowerPointChartpublic PowerPointChart SetBubbleSizing(uint scalePercent, OfficeChartBubbleSizeMode sizeMode) #Sets the native bubble scale and whether bubble values represent area or width.
Parameters
- scalePercent uint
- Bubble diameter scale from zero through 300 percent.
- sizeMode OfficeIMO.Drawing.OfficeChartBubbleSizeMode
- Whether bubble values represent area or width.
Returns
PowerPointChartpublic PowerPointChart SetCategoryAxisCrossing(OfficeChartAxisCrossingPosition crosses, double? crossesAt = null) #Sets where the category axis crosses the value axis.
Parameters
- crosses OfficeIMO.Drawing.OfficeChartAxisCrossingPosition
- crossesAt double? = null
Returns
PowerPointChartpublic PowerPointChart SetCategoryAxisGridlines(bool showMajor = true, bool showMinor = false, OfficeColor? lineColor = null, OfficeLength? lineWidth = null) #Sets category axis gridlines visibility and optional styling.
Parameters
- showMajor bool = true
- showMinor bool = false
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
Returns
PowerPointChartpublic PowerPointChart SetCategoryAxisLabelRotation(double rotationDegrees) #Sets the category axis label rotation in degrees (-90..90).
Parameters
- rotationDegrees double
Returns
PowerPointChartpublic PowerPointChart SetCategoryAxisLabelTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null) #Sets the category axis label text style.
Parameters
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
Returns
PowerPointChartpublic PowerPointChart SetCategoryAxisNumberFormat(string formatCode, bool sourceLinked = false) #Sets the category axis number format.
Parameters
- formatCode string
- sourceLinked bool = false
Returns
PowerPointChartpublic PowerPointChart SetCategoryAxisReverseOrder(bool reverseOrder = true) #Sets the category axis orientation (normal or reversed order).
Parameters
- reverseOrder bool = true
Returns
PowerPointChartpublic PowerPointChart SetCategoryAxisTickLabelPosition(OfficeChartAxisTickLabelPosition position) #Sets the category axis tick label position.
Parameters
- position OfficeIMO.Drawing.OfficeChartAxisTickLabelPosition
Returns
PowerPointChartpublic PowerPointChart SetCategoryAxisTitle(string title) #Sets the category axis title.
Parameters
- title string
Returns
PowerPointChartpublic PowerPointChart SetCategoryAxisTitleTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null) #Sets the category axis title text style.
Parameters
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
Returns
PowerPointChartpublic PowerPointChart SetChartAreaStyle(OfficeColor? fillColor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool noFill = false, bool noLine = false) #Sets chart area fill/line styling.
Parameters
- fillColor OfficeIMO.OfficeColor? = null
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
- noFill bool = false
- noLine bool = false
Returns
PowerPointChartpublic PowerPointChart SetDataLabelCallouts(bool enabled = true, OfficeChartDataLabelPosition? position = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null) #Enables callout-style labels by positioning labels outside with leader lines.
Parameters
- enabled bool = true
- position OfficeIMO.Drawing.OfficeChartDataLabelPosition? = null
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
Returns
PowerPointChartpublic PowerPointChart SetDataLabelLeaderLines(bool showLeaderLines = true, OfficeColor? lineColor = null, OfficeLength? lineWidth = null) #Configures data label leader lines for all chart labels.
Parameters
- showLeaderLines bool = true
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
Returns
PowerPointChartpublic PowerPointChart SetDataLabelNumberFormat(string formatCode, bool sourceLinked = false) #Sets the shared data label number format for all supported chart types.
Parameters
- formatCode string
- sourceLinked bool = false
Returns
PowerPointChartpublic PowerPointChart SetDataLabelPosition(OfficeChartDataLabelPosition position) #Sets the shared data label position for all supported chart types.
Parameters
- position OfficeIMO.Drawing.OfficeChartDataLabelPosition
Returns
PowerPointChartpublic PowerPointChart SetDataLabels(bool showValue = true, bool showCategoryName = false, bool showSeriesName = false, bool showLegendKey = false, bool showPercent = false) #Configures data labels for all supported chart series.
Parameters
- showValue bool = true
- showCategoryName bool = false
- showSeriesName bool = false
- showLegendKey bool = false
- showPercent bool = false
Returns
PowerPointChartpublic PowerPointChart SetDataLabelSeparator(string? separator) #Sets the data label separator for all chart labels.
Parameters
- separator string?
Returns
PowerPointChartpublic PowerPointChart SetDataLabelShapeStyle(OfficeColor? fillColor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool noFill = false, bool noLine = false) #Sets data label shape styling for all chart labels.
Parameters
- fillColor OfficeIMO.OfficeColor? = null
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
- noFill bool = false
- noLine bool = false
Returns
PowerPointChartpublic PowerPointChart SetDataLabelTemplate(PowerPointChartDataLabelTemplate template) #Applies a reusable data label template to all supported chart labels.
Parameters
- template OfficeIMO.PowerPoint.PowerPointChartDataLabelTemplate
Returns
PowerPointChartpublic PowerPointChart SetDataLabelTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null) #Sets data label text style for all chart labels.
Parameters
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
Returns
PowerPointChartpublic PowerPointChart SetDataPointStyle(int seriesIndex, uint pointIndex, OfficeChartPointStyle? style) #Replaces a point's fill/outline overrides. Null restores series/theme inheritance.
Parameters
- seriesIndex int
- pointIndex uint
- style OfficeIMO.Drawing.OfficeChartPointStyle?
Returns
PowerPointChartpublic PowerPointChart SetLegend(OfficeChartLegendPosition position, bool overlay = false) #Sets the legend position and visibility.
Parameters
- position OfficeIMO.Drawing.OfficeChartLegendPosition
- overlay bool = false
Returns
PowerPointChartpublic PowerPointChart SetLegendTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null) #Sets the legend text style.
Parameters
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
Returns
PowerPointChartpublic PowerPointChart SetLineChartGrouping(PowerPointChartGrouping grouping) #Sets the grouping mode for a line chart.
Parameters
- grouping OfficeIMO.PowerPoint.PowerPointChartGrouping
- Line chart grouping value.
public PowerPointChart SetPlotAreaStyle(OfficeColor? fillColor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool noFill = false, bool noLine = false) #Sets plot area fill/line styling.
Parameters
- fillColor OfficeIMO.OfficeColor? = null
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
- noFill bool = false
- noLine bool = false
Returns
PowerPointChartpublic PowerPointChart SetRadialLayout(OfficeChartRadialLayout layout) #Sets geometry for an existing native two-dimensional pie or doughnut chart.
Parameters
- layout OfficeIMO.Drawing.OfficeChartRadialLayout
Returns
PowerPointChartpublic PowerPointChart SetScatterXAxisCrossing(OfficeChartAxisCrossingPosition? crosses = null, double? crossesAt = null) #Sets where the scatter X-axis crosses the Y-axis.
Parameters
- crosses OfficeIMO.Drawing.OfficeChartAxisCrossingPosition? = null
- crossesAt double? = null
Returns
PowerPointChartpublic PowerPointChart SetScatterXAxisDisplayUnits(OfficeChartDisplayUnit unit, bool showLabel = true) #Sets display units for the scatter chart X-axis.
Parameters
- unit OfficeIMO.Drawing.OfficeChartDisplayUnit
- showLabel bool = true
Returns
PowerPointChartpublic PowerPointChart SetScatterXAxisDisplayUnits(OfficeChartDisplayUnit unit, string labelText, bool showLabel = true) #Sets display units for the scatter chart X-axis with custom label text.
Parameters
- unit OfficeIMO.Drawing.OfficeChartDisplayUnit
- labelText string
- showLabel bool = true
Returns
PowerPointChartpublic PowerPointChart SetScatterXAxisDisplayUnits(double customUnit, bool showLabel = true) #Sets custom display units for the scatter chart X-axis.
Parameters
- customUnit double
- showLabel bool = true
Returns
PowerPointChartpublic PowerPointChart SetScatterXAxisDisplayUnits(double customUnit, string labelText, bool showLabel = true) #Sets custom display units for the scatter chart X-axis with custom label text.
Parameters
- customUnit double
- labelText string
- showLabel bool = true
Returns
PowerPointChartpublic PowerPointChart SetScatterXAxisGridlines(bool showMajor = true, bool showMinor = false, OfficeColor? lineColor = null, OfficeLength? lineWidth = null) #Sets scatter chart X-axis gridlines visibility and optional styling.
Parameters
- showMajor bool = true
- showMinor bool = false
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
Returns
PowerPointChartpublic PowerPointChart SetScatterXAxisLabelRotation(double rotationDegrees) #Sets the scatter chart X-axis label rotation in degrees (-90..90).
Parameters
- rotationDegrees double
Returns
PowerPointChartpublic PowerPointChart SetScatterXAxisLabelTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null) #Sets the scatter chart X-axis label text style.
Parameters
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
Returns
PowerPointChartpublic PowerPointChart SetScatterXAxisNumberFormat(string formatCode, bool sourceLinked = false) #Sets the scatter chart X-axis number format.
Parameters
- formatCode string
- sourceLinked bool = false
Returns
PowerPointChartpublic PowerPointChart SetScatterXAxisScale(double? minimum = null, double? maximum = null, double? majorUnit = null, double? minorUnit = null, bool? reverseOrder = null, bool? logScale = null, double? logBase = null) #Sets scatter chart X-axis scale (bottom value axis).
Parameters
- minimum double? = null
- maximum double? = null
- majorUnit double? = null
- minorUnit double? = null
- reverseOrder bool? = null
- logScale bool? = null
- logBase double? = null
Returns
PowerPointChartpublic PowerPointChart SetScatterXAxisTickLabelPosition(OfficeChartAxisTickLabelPosition position) #Sets the scatter chart X-axis tick label position.
Parameters
- position OfficeIMO.Drawing.OfficeChartAxisTickLabelPosition
Returns
PowerPointChartpublic PowerPointChart SetScatterXAxisTitle(string title) #Sets the scatter chart X-axis title.
Parameters
- title string
Returns
PowerPointChartpublic PowerPointChart SetScatterXAxisTitleTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null) #Sets the scatter chart X-axis title text style.
Parameters
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
Returns
PowerPointChartpublic PowerPointChart SetScatterYAxisCrossing(OfficeChartAxisCrossingPosition? crosses = null, double? crossesAt = null) #Sets where the scatter Y-axis crosses the X-axis.
Parameters
- crosses OfficeIMO.Drawing.OfficeChartAxisCrossingPosition? = null
- crossesAt double? = null
Returns
PowerPointChartpublic PowerPointChart SetScatterYAxisDisplayUnits(OfficeChartDisplayUnit unit, bool showLabel = true) #Sets display units for the scatter chart Y-axis.
Parameters
- unit OfficeIMO.Drawing.OfficeChartDisplayUnit
- showLabel bool = true
Returns
PowerPointChartpublic PowerPointChart SetScatterYAxisDisplayUnits(OfficeChartDisplayUnit unit, string labelText, bool showLabel = true) #Sets display units for the scatter chart Y-axis with custom label text.
Parameters
- unit OfficeIMO.Drawing.OfficeChartDisplayUnit
- labelText string
- showLabel bool = true
Returns
PowerPointChartpublic PowerPointChart SetScatterYAxisDisplayUnits(double customUnit, bool showLabel = true) #Sets custom display units for the scatter chart Y-axis.
Parameters
- customUnit double
- showLabel bool = true
Returns
PowerPointChartpublic PowerPointChart SetScatterYAxisDisplayUnits(double customUnit, string labelText, bool showLabel = true) #Sets custom display units for the scatter chart Y-axis with custom label text.
Parameters
- customUnit double
- labelText string
- showLabel bool = true
Returns
PowerPointChartpublic PowerPointChart SetScatterYAxisGridlines(bool showMajor = true, bool showMinor = false, OfficeColor? lineColor = null, OfficeLength? lineWidth = null) #Sets scatter chart Y-axis gridlines visibility and optional styling.
Parameters
- showMajor bool = true
- showMinor bool = false
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
Returns
PowerPointChartpublic PowerPointChart SetScatterYAxisLabelRotation(double rotationDegrees) #Sets the scatter chart Y-axis label rotation in degrees (-90..90).
Parameters
- rotationDegrees double
Returns
PowerPointChartpublic PowerPointChart SetScatterYAxisLabelTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null) #Sets the scatter chart Y-axis label text style.
Parameters
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
Returns
PowerPointChartpublic PowerPointChart SetScatterYAxisNumberFormat(string formatCode, bool sourceLinked = false) #Sets the scatter chart Y-axis number format.
Parameters
- formatCode string
- sourceLinked bool = false
Returns
PowerPointChartpublic PowerPointChart SetScatterYAxisScale(double? minimum = null, double? maximum = null, double? majorUnit = null, double? minorUnit = null, bool? reverseOrder = null, bool? logScale = null, double? logBase = null) #Sets scatter chart Y-axis scale (left value axis).
Parameters
- minimum double? = null
- maximum double? = null
- majorUnit double? = null
- minorUnit double? = null
- reverseOrder bool? = null
- logScale bool? = null
- logBase double? = null
Returns
PowerPointChartpublic PowerPointChart SetScatterYAxisTickLabelPosition(OfficeChartAxisTickLabelPosition position) #Sets the scatter chart Y-axis tick label position.
Parameters
- position OfficeIMO.Drawing.OfficeChartAxisTickLabelPosition
Returns
PowerPointChartpublic PowerPointChart SetScatterYAxisTitle(string title) #Sets the scatter chart Y-axis title.
Parameters
- title string
Returns
PowerPointChartpublic PowerPointChart SetScatterYAxisTitleTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null) #Sets the scatter chart Y-axis title text style.
Parameters
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
Returns
PowerPointChartpublic PowerPointChart SetSecondaryValueAxis(OfficeChartValueAxisLayout layout) #Sets independent bounds, tick spacing and appearance, and number format on the existing secondary value axis.
Parameters
- layout OfficeIMO.Drawing.OfficeChartValueAxisLayout
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelCallouts(int seriesIndex, bool enabled = true, OfficeChartDataLabelPosition? position = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null) #Enables callout-style labels for a series by index.
Parameters
- seriesIndex int
- enabled bool = true
- position OfficeIMO.Drawing.OfficeChartDataLabelPosition? = null
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelCallouts(string seriesName, bool enabled = true, OfficeChartDataLabelPosition? position = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool ignoreCase = true) #Enables callout-style labels for a series by name.
Parameters
- seriesName string
- enabled bool = true
- position OfficeIMO.Drawing.OfficeChartDataLabelPosition? = null
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelCalloutsForPoint(int seriesIndex, int pointIndex, bool enabled = true, OfficeChartDataLabelPosition? position = null) #Enables callout-style labels for a specific point by series index.
Parameters
- seriesIndex int
- pointIndex int
- enabled bool = true
- position OfficeIMO.Drawing.OfficeChartDataLabelPosition? = null
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelCalloutsForPoint(string seriesName, int pointIndex, bool enabled = true, OfficeChartDataLabelPosition? position = null, bool ignoreCase = true) #Enables callout-style labels for a specific point by series name.
Parameters
- seriesName string
- pointIndex int
- enabled bool = true
- position OfficeIMO.Drawing.OfficeChartDataLabelPosition? = null
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelForPoint(int seriesIndex, int pointIndex, bool? showValue = null, bool? showCategoryName = null, bool? showSeriesName = null, bool? showLegendKey = null, bool? showPercent = null, OfficeChartDataLabelPosition? position = null, string? numberFormat = null, bool sourceLinked = false) #Configures a single data label point by series index and point index.
Parameters
- seriesIndex int
- pointIndex int
- showValue bool? = null
- showCategoryName bool? = null
- showSeriesName bool? = null
- showLegendKey bool? = null
- showPercent bool? = null
- position OfficeIMO.Drawing.OfficeChartDataLabelPosition? = null
- numberFormat string? = null
- sourceLinked bool = false
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelForPoint(string seriesName, int pointIndex, bool? showValue = null, bool? showCategoryName = null, bool? showSeriesName = null, bool? showLegendKey = null, bool? showPercent = null, OfficeChartDataLabelPosition? position = null, string? numberFormat = null, bool sourceLinked = false, bool ignoreCase = true) #Configures a single data label point by series name and point index.
Parameters
- seriesName string
- pointIndex int
- showValue bool? = null
- showCategoryName bool? = null
- showSeriesName bool? = null
- showLegendKey bool? = null
- showPercent bool? = null
- position OfficeIMO.Drawing.OfficeChartDataLabelPosition? = null
- numberFormat string? = null
- sourceLinked bool = false
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelLeaderLines(int seriesIndex, bool showLeaderLines = true, OfficeColor? lineColor = null, OfficeLength? lineWidth = null) #Configures data label leader lines for a series by index.
Parameters
- seriesIndex int
- showLeaderLines bool = true
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelLeaderLines(string seriesName, bool showLeaderLines = true, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool ignoreCase = true) #Configures data label leader lines for a series by name.
Parameters
- seriesName string
- showLeaderLines bool = true
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabels(int seriesIndex, bool showValue = true, bool showCategoryName = false, bool showSeriesName = false, bool showLegendKey = false, bool showPercent = false, OfficeChartDataLabelPosition? position = null, string? numberFormat = null, bool sourceLinked = false) #Configures data labels for a single series by index.
Parameters
- seriesIndex int
- showValue bool = true
- showCategoryName bool = false
- showSeriesName bool = false
- showLegendKey bool = false
- showPercent bool = false
- position OfficeIMO.Drawing.OfficeChartDataLabelPosition? = null
- numberFormat string? = null
- sourceLinked bool = false
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabels(string seriesName, bool showValue = true, bool showCategoryName = false, bool showSeriesName = false, bool showLegendKey = false, bool showPercent = false, OfficeChartDataLabelPosition? position = null, string? numberFormat = null, bool sourceLinked = false, bool ignoreCase = true) #Configures data labels for a single series by name.
Parameters
- seriesName string
- showValue bool = true
- showCategoryName bool = false
- showSeriesName bool = false
- showLegendKey bool = false
- showPercent bool = false
- position OfficeIMO.Drawing.OfficeChartDataLabelPosition? = null
- numberFormat string? = null
- sourceLinked bool = false
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelSeparator(int seriesIndex, string? separator) #Sets the data label separator for a series by index.
Parameters
- seriesIndex int
- separator string?
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelSeparator(string seriesName, string? separator, bool ignoreCase = true) #Sets the data label separator for a series by name.
Parameters
- seriesName string
- separator string?
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelSeparatorForPoint(int seriesIndex, int pointIndex, string? separator) #Sets the data label separator for a specific point by series index.
Parameters
- seriesIndex int
- pointIndex int
- separator string?
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelSeparatorForPoint(string seriesName, int pointIndex, string? separator, bool ignoreCase = true) #Sets the data label separator for a specific point by series name.
Parameters
- seriesName string
- pointIndex int
- separator string?
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelShapeStyle(int seriesIndex, OfficeColor? fillColor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool noFill = false, bool noLine = false) #Sets data label shape styling for a series by index.
Parameters
- seriesIndex int
- fillColor OfficeIMO.OfficeColor? = null
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
- noFill bool = false
- noLine bool = false
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelShapeStyle(string seriesName, OfficeColor? fillColor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool noFill = false, bool noLine = false, bool ignoreCase = true) #Sets data label shape styling for a series by name.
Parameters
- seriesName string
- fillColor OfficeIMO.OfficeColor? = null
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
- noFill bool = false
- noLine bool = false
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelShapeStyleForPoint(int seriesIndex, int pointIndex, OfficeColor? fillColor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool noFill = false, bool noLine = false) #Sets data label shape styling for a specific point by series index.
Parameters
- seriesIndex int
- pointIndex int
- fillColor OfficeIMO.OfficeColor? = null
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
- noFill bool = false
- noLine bool = false
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelShapeStyleForPoint(string seriesName, int pointIndex, OfficeColor? fillColor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool noFill = false, bool noLine = false, bool ignoreCase = true) #Sets data label shape styling for a specific point by series name.
Parameters
- seriesName string
- pointIndex int
- fillColor OfficeIMO.OfficeColor? = null
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
- noFill bool = false
- noLine bool = false
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelTemplate(int seriesIndex, PowerPointChartDataLabelTemplate template) #Applies a reusable data label template to a series by index.
Parameters
- seriesIndex int
- template OfficeIMO.PowerPoint.PowerPointChartDataLabelTemplate
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelTemplate(string seriesName, PowerPointChartDataLabelTemplate template, bool ignoreCase = true) #Applies a reusable data label template to a series by name.
Parameters
- seriesName string
- template OfficeIMO.PowerPoint.PowerPointChartDataLabelTemplate
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelTemplateForPoint(int seriesIndex, int pointIndex, PowerPointChartDataLabelTemplate template) #Applies a reusable data label template to a specific point by series index.
Parameters
- seriesIndex int
- pointIndex int
- template OfficeIMO.PowerPoint.PowerPointChartDataLabelTemplate
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelTemplateForPoint(string seriesName, int pointIndex, PowerPointChartDataLabelTemplate template, bool ignoreCase = true) #Applies a reusable data label template to a specific point by series name.
Parameters
- seriesName string
- pointIndex int
- template OfficeIMO.PowerPoint.PowerPointChartDataLabelTemplate
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelTextStyle(int seriesIndex, OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null) #Sets data label text style for a series by index.
Parameters
- seriesIndex int
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelTextStyle(string seriesName, OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null, bool ignoreCase = true) #Sets data label text style for a series by name.
Parameters
- seriesName string
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelTextStyleForPoint(int seriesIndex, int pointIndex, OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null) #Sets data label text style for a specific point by series index.
Parameters
- seriesIndex int
- pointIndex int
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
Returns
PowerPointChartpublic PowerPointChart SetSeriesDataLabelTextStyleForPoint(string seriesName, int pointIndex, OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null, bool ignoreCase = true) #Sets data label text style for a specific point by series name.
Parameters
- seriesName string
- pointIndex int
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesFillColor(int seriesIndex, OfficeColor color) #Sets the fill color for a chart series by index.
Parameters
- seriesIndex int
- color OfficeIMO.OfficeColor
Returns
PowerPointChartpublic PowerPointChart SetSeriesFillColor(string seriesName, OfficeColor color, bool ignoreCase = true) #Sets the fill color for a chart series by name.
Parameters
- seriesName string
- color OfficeIMO.OfficeColor
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesLineColor(int seriesIndex, OfficeColor color, OfficeLength? width = null) #Sets the line color for a chart series by index.
Parameters
- seriesIndex int
- color OfficeIMO.OfficeColor
- width OfficeIMO.OfficeLength? = null
Returns
PowerPointChartpublic PowerPointChart SetSeriesLineColor(string seriesName, OfficeColor color, OfficeLength? width = null, bool ignoreCase = true) #Sets the line color for a chart series by name.
Parameters
- seriesName string
- color OfficeIMO.OfficeColor
- width OfficeIMO.OfficeLength? = null
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesMarker(int seriesIndex, OfficeChartMarkerShape style, OfficeLength? size = null, OfficeColor? fillColor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null) #Sets the marker style for a chart series by index.
Parameters
- seriesIndex int
- style OfficeIMO.Drawing.OfficeChartMarkerShape
- size OfficeIMO.OfficeLength? = null
- fillColor OfficeIMO.OfficeColor? = null
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
Returns
PowerPointChartpublic PowerPointChart SetSeriesMarker(string seriesName, OfficeChartMarkerShape style, OfficeLength? size = null, OfficeColor? fillColor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool ignoreCase = true) #Sets the marker style for a chart series by name.
Parameters
- seriesName string
- style OfficeIMO.Drawing.OfficeChartMarkerShape
- size OfficeIMO.OfficeLength? = null
- fillColor OfficeIMO.OfficeColor? = null
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetSeriesTrendline(int seriesIndex, OfficeChartTrendlineType type, int? order = null, int? period = null, double? forward = null, double? backward = null, double? intercept = null, bool displayEquation = false, bool displayRSquared = false, OfficeColor? lineColor = null, OfficeLength? lineWidth = null) #Adds or replaces a trendline for a chart series by index.
Parameters
- seriesIndex int
- type OfficeIMO.Drawing.OfficeChartTrendlineType
- order int? = null
- period int? = null
- forward double? = null
- backward double? = null
- intercept double? = null
- displayEquation bool = false
- displayRSquared bool = false
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
Returns
PowerPointChartpublic PowerPointChart SetSeriesTrendline(string seriesName, OfficeChartTrendlineType type, int? order = null, int? period = null, double? forward = null, double? backward = null, double? intercept = null, bool displayEquation = false, bool displayRSquared = false, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool ignoreCase = true) #Adds or replaces a trendline for a chart series by name.
Parameters
- seriesName string
- type OfficeIMO.Drawing.OfficeChartTrendlineType
- order int? = null
- period int? = null
- forward double? = null
- backward double? = null
- intercept double? = null
- displayEquation bool = false
- displayRSquared bool = false
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
- ignoreCase bool = true
Returns
PowerPointChartpublic PowerPointChart SetTitle(string title) #Sets the chart title text.
Parameters
- title string
Returns
PowerPointChartpublic PowerPointChart SetTitleTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null) #Sets the chart title text style.
Parameters
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
Returns
PowerPointChartpublic PowerPointChart SetValueAxisCrossBetween(OfficeChartAxisCrossBetween between) #Sets how the value axis crosses between categories.
Parameters
- between OfficeIMO.Drawing.OfficeChartAxisCrossBetween
Returns
PowerPointChartpublic PowerPointChart SetValueAxisCrossing(OfficeChartAxisCrossingPosition crosses, double? crossesAt = null) #Sets where the value axis crosses the category axis.
Parameters
- crosses OfficeIMO.Drawing.OfficeChartAxisCrossingPosition
- crossesAt double? = null
Returns
PowerPointChartpublic PowerPointChart SetValueAxisDisplayUnits(OfficeChartDisplayUnit unit, bool showLabel = true) #Sets display units for the value axis.
Parameters
- unit OfficeIMO.Drawing.OfficeChartDisplayUnit
- showLabel bool = true
Returns
PowerPointChartpublic PowerPointChart SetValueAxisDisplayUnits(OfficeChartDisplayUnit unit, string labelText, bool showLabel = true) #Sets display units for the value axis with custom label text.
Parameters
- unit OfficeIMO.Drawing.OfficeChartDisplayUnit
- labelText string
- showLabel bool = true
Returns
PowerPointChartpublic PowerPointChart SetValueAxisDisplayUnits(double customUnit, bool showLabel = true) #Sets custom display units for the value axis.
Parameters
- customUnit double
- showLabel bool = true
Returns
PowerPointChartpublic PowerPointChart SetValueAxisDisplayUnits(double customUnit, string labelText, bool showLabel = true) #Sets custom display units for the value axis with custom label text.
Parameters
- customUnit double
- labelText string
- showLabel bool = true
Returns
PowerPointChartpublic PowerPointChart SetValueAxisGridlines(bool showMajor = true, bool showMinor = false, OfficeColor? lineColor = null, OfficeLength? lineWidth = null) #Sets value axis gridlines visibility and optional styling.
Parameters
- showMajor bool = true
- showMinor bool = false
- lineColor OfficeIMO.OfficeColor? = null
- lineWidth OfficeIMO.OfficeLength? = null
Returns
PowerPointChartpublic PowerPointChart SetValueAxisLabelRotation(double rotationDegrees) #Sets the value axis label rotation in degrees (-90..90).
Parameters
- rotationDegrees double
Returns
PowerPointChartpublic PowerPointChart SetValueAxisLabelTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null) #Sets the value axis label text style.
Parameters
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
Returns
PowerPointChartpublic PowerPointChart SetValueAxisNumberFormat(string formatCode, bool sourceLinked = false) #Sets the value axis number format.
Parameters
- formatCode string
- sourceLinked bool = false
Returns
PowerPointChartpublic PowerPointChart SetValueAxisScale(double? minimum = null, double? maximum = null, double? majorUnit = null, double? minorUnit = null, double? logBase = null, bool? reverseOrder = null, bool? logScale = null) #Sets value axis scale parameters.
Parameters
- minimum double? = null
- maximum double? = null
- majorUnit double? = null
- minorUnit double? = null
- logBase double? = null
- reverseOrder bool? = null
- logScale bool? = null
Returns
PowerPointChartpublic PowerPointChart SetValueAxisTickLabelPosition(OfficeChartAxisTickLabelPosition position) #Sets the value axis tick label position.
Parameters
- position OfficeIMO.Drawing.OfficeChartAxisTickLabelPosition
Returns
PowerPointChartpublic PowerPointChart SetValueAxisTitle(string title) #Sets the value axis title.
Parameters
- title string
Returns
PowerPointChartpublic PowerPointChart SetValueAxisTitleTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null) #Sets the value axis title text style.
Parameters
- fontSize OfficeIMO.OfficeLength? = null
- bold bool? = null
- italic bool? = null
- color OfficeIMO.OfficeColor? = null
- fontFamily string? = null
Returns
PowerPointChartpublic bool TryGetOfficeSnapshot(out OfficeChartSnapshot snapshot) #Tries to expose the current chart through the shared dependency-free chart contract.
Parameters
- snapshot OfficeIMO.Drawing.OfficeChartSnapshot
Returns
boolpublic PowerPointChart UpdateData(OfficeChartData data) #Updates the native chart from the shared OfficeIMO chart contract.
Parameters
- data OfficeIMO.Drawing.OfficeChartData
Returns
PowerPointChartpublic PowerPointChart UpdateImportedData(OfficeChartData data) #Updates series names, categories, values, formulas, caches, and the embedded workbook of an advanced imported chart without rebuilding its native chart group.
Parameters
- data OfficeIMO.Drawing.OfficeChartData
Returns
PowerPointChartInherited Methods
public PowerPointShape BindToPlaceholder(PowerPointPlaceholderType placeholderType, uint? index = null) #Parameters
- placeholderType PowerPointPlaceholderType
- index uint? = null
Returns
PowerPointShapepublic PowerPointShape Duplicate(OfficeLength offsetX = default, OfficeLength offsetY = default) #Parameters
- offsetX OfficeLength = default
- offsetY OfficeLength = default
Returns
PowerPointShapepublic PowerPointShape MoveBy(OfficeLength offsetX, OfficeLength offsetY) #Parameters
- offsetX OfficeLength
- offsetY OfficeLength
Returns
PowerPointShapepublic PowerPointShape Resize(OfficeLength width, OfficeLength height, PowerPointShapeAnchor anchor = TopLeft) #Parameters
- width OfficeLength
- height OfficeLength
- anchor PowerPointShapeAnchor = TopLeft
Returns
PowerPointShapepublic PowerPointShape Scale(double scale, PowerPointShapeAnchor anchor = Center) #Parameters
- scale double
- anchor PowerPointShapeAnchor = Center
Returns
PowerPointShapepublic PowerPointShape Scale(double scaleX, double scaleY, PowerPointShapeAnchor anchor = Center) #Parameters
- scaleX double
- scaleY double
- anchor PowerPointShapeAnchor = Center
Returns
PowerPointShapepublic void SetBlur(OfficeLength radius, bool grow = false) #Parameters
- radius OfficeLength
- grow bool = false
public void SetClickSound(Stream audio, string name, string contentType = "audio/wav", string extension = ".wav") #Parameters
- audio Stream
- name string
- contentType string = "audio/wav"
- extension string = ".wav"
public void SetGlow(OfficeColor color, OfficeLength? radius = null, int transparencyPercent = 30) #Parameters
- color OfficeColor
- radius OfficeLength? = null
- transparencyPercent int = 30
public void SetHyperlink(Uri uri, string? tooltip = null) #Parameters
- uri Uri
- tooltip string? = null
public void SetHyperlink(PowerPointSlide targetSlide, string? tooltip = null) #Parameters
- targetSlide PowerPointSlide
- tooltip string? = null
public PowerPointShape SetLanguage(string language) #Parameters
- language string
Returns
PowerPointShapepublic void SetLineEnds(OfficeLineMarkerKind? startType, OfficeLineMarkerKind? endType, PowerPointLineEndWidth? width = null, PowerPointLineEndLength? length = null) #Parameters
- startType OfficeLineMarkerKind?
- endType OfficeLineMarkerKind?
- width PowerPointLineEndWidth? = null
- length PowerPointLineEndLength? = null
public void SetMouseOverSound(Stream audio, string name, string contentType = "audio/wav", string extension = ".wav") #Parameters
- audio Stream
- name string
- contentType string = "audio/wav"
- extension string = ".wav"
public PowerPointShape SetPosition(OfficeLength left, OfficeLength top) #Parameters
- left OfficeLength
- top OfficeLength
Returns
PowerPointShapepublic void SetReflection(OfficeLength? blur = null, OfficeLength? distance = null, double directionDegrees = 270, double fadeDirectionDegrees = 90, int startOpacityPercent = 50, int endOpacityPercent = 0, int startPositionPercent = 0, int endPositionPercent = 100, PowerPointRectangleAlignment? alignment = null, bool rotateWithShape = false) #Parameters
- blur OfficeLength? = null
- distance OfficeLength? = null
- directionDegrees double = 270
- fadeDirectionDegrees double = 90
- startOpacityPercent int = 50
- endOpacityPercent int = 0
- startPositionPercent int = 0
- endPositionPercent int = 100
- alignment PowerPointRectangleAlignment? = null
- rotateWithShape bool = false
public void SetShadow(OfficeColor color, OfficeLength? blur = null, OfficeLength? distance = null, double angleDegrees = 45, int transparencyPercent = 35, bool rotateWithShape = false) #Parameters
- color OfficeColor
- blur OfficeLength? = null
- distance OfficeLength? = null
- angleDegrees double = 45
- transparencyPercent int = 35
- rotateWithShape bool = false
public PowerPointShape SetSize(OfficeLength width, OfficeLength height) #Parameters
- width OfficeLength
- height OfficeLength
Returns
PowerPointShapepublic void SetSoftEdges(OfficeLength radius) #Parameters
- radius OfficeLength
Properties
public OfficeChartRadialLayout RadialLayout { get; } #Native pie rotation and doughnut hole geometry, with native defaults when unspecified.
Inherited Properties
public string? Title { get; set; } #public bool Decorative { get; set; } #public IReadOnlyList<string> Languages { get; } #public OfficeColor? FillColor { get; set; } #public int? FillTransparency { get; set; } #public double? Rotation { get; set; } #public bool? HorizontalFlip { get; set; } #public bool? VerticalFlip { get; set; } #public PowerPointPlaceholderType? ShapePlaceholderType { get; } #public PowerPointPlaceholderSize? ShapePlaceholderSize { get; } #public PowerPointPlaceholderDirection? ShapePlaceholderOrientation { get; } #public PowerPointShapeContentType ShapeContentType { get; } #public OfficeLength Width { get; set; } #public OfficeLength Height { get; set; } #public IReadOnlyList<PowerPointConnectionSite> ConnectionSites { get; } #public OfficeLength Right { get; set; } #public OfficeLength Bottom { get; set; } #public OfficeLength CenterX { get; set; } #public OfficeLength CenterY { get; set; } #public PowerPointLayoutBox Bounds { get; set; } #public OfficeColor? OutlineColor { get; set; } #public int? OutlineTransparency { get; set; } #public OfficeLength? OutlineWidth { get; set; } #public PowerPointLineDashStyle? OutlineDash { get; set; } #public string? MouseOverSoundName { get; } #