# ExcelChartScope

Edits one ExcelChart: its fluent methods and keywords, each returning this scope.

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Modifiers**

sealed

Edits one [ExcelChart](/api/excel/officeimo-excel-excelchart/): its fluent methods and keywords, each returning this scope.

## Inheritance

- object
- ExcelChartScope

## Usage

Explore 41 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 40

- Method [ExcelChartScope.AltText](/api/excel/officeimo-excel-excelchartscope/#method-alttext-string-string)
- Method [ExcelChartScope.CategoryAxisCrossing](/api/excel/officeimo-excel-excelchartscope/#method-categoryaxiscrossing-officeimo-drawing-officechartaxiscrossingposition-nullable-system-double-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.CategoryAxisGridlines](/api/excel/officeimo-excel-excelchartscope/#method-categoryaxisgridlines-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-nullable-officeimo-officelength-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.CategoryAxisLabelRotation](/api/excel/officeimo-excel-excelchartscope/#method-categoryaxislabelrotation-double-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.CategoryAxisLabelTextStyle](/api/excel/officeimo-excel-excelchartscope/#method-categoryaxislabeltextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.CategoryAxisLine](/api/excel/officeimo-excel-excelchartscope/#method-categoryaxisline-nullable-officeimo-officecolor-nullable-officeimo-officelength-boolean-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.CategoryAxisNumberFormat](/api/excel/officeimo-excel-excelchartscope/#method-categoryaxisnumberformat-string-boolean)
- Method [ExcelChartScope.CategoryAxisReverseOrder](/api/excel/officeimo-excel-excelchartscope/#method-categoryaxisreverseorder-boolean-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.CategoryAxisScale](/api/excel/officeimo-excel-excelchartscope/#method-categoryaxisscale-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-boolean-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.CategoryAxisTitle](/api/excel/officeimo-excel-excelchartscope/#method-categoryaxistitle-string-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.CategoryAxisTitleTextStyle](/api/excel/officeimo-excel-excelchartscope/#method-categoryaxistitletextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.ChartAreaStyle](/api/excel/officeimo-excel-excelchartscope/#method-chartareastyle-nullable-officeimo-officecolor-nullable-officeimo-officecolor-nullable-officeimo-officelength-boolean-boolean)
- Method [ExcelChartScope.DataLabelCallouts](/api/excel/officeimo-excel-excelchartscope/#method-datalabelcallouts-boolean-nullable-officeimo-drawing-officechartdatalabelposition-nullable-officeimo-officecolor-nullable-officeimo-officelength)
- Method [ExcelChartScope.DataLabelLeaderLines](/api/excel/officeimo-excel-excelchartscope/#method-datalabelleaderlines-boolean-nullable-officeimo-officecolor-nullable-officeimo-officelength)
- Method [ExcelChartScope.DataLabels](/api/excel/officeimo-excel-excelchartscope/#method-datalabels-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-drawing-officechartdatalabelposition-string-nullable-system-boolean)
- Method [ExcelChartScope.DataLabelSeparator](/api/excel/officeimo-excel-excelchartscope/#method-datalabelseparator-string)
- Method [ExcelChartScope.DataLabelShapeStyle](/api/excel/officeimo-excel-excelchartscope/#method-datalabelshapestyle-nullable-officeimo-officecolor-nullable-officeimo-officecolor-nullable-officeimo-officelength-boolean-boolean)
- Method [ExcelChartScope.DataLabelTextStyle](/api/excel/officeimo-excel-excelchartscope/#method-datalabeltextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string)
- Method [ExcelChartScope.LegendTextStyle](/api/excel/officeimo-excel-excelchartscope/#method-legendtextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string)
- Method [ExcelChartScope.Name](/api/excel/officeimo-excel-excelchartscope/#method-name-string)
- Method [ExcelChartScope.PlotAreaStyle](/api/excel/officeimo-excel-excelchartscope/#method-plotareastyle-nullable-officeimo-officecolor-nullable-officeimo-officecolor-nullable-officeimo-officelength-boolean-boolean)
- Method [ExcelChartScope.RadialLayout](/api/excel/officeimo-excel-excelchartscope/#method-radiallayout-officeimo-drawing-officechartradiallayout)
- Method [ExcelChartScope.ScatterXAxisCrossing](/api/excel/officeimo-excel-excelchartscope/#method-scatterxaxiscrossing-officeimo-drawing-officechartaxiscrossingposition-nullable-system-double)
- Method [ExcelChartScope.ScatterXAxisScale](/api/excel/officeimo-excel-excelchartscope/#method-scatterxaxisscale-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-boolean-nullable-system-boolean-nullable-system-double)
- Method [ExcelChartScope.ScatterYAxisCrossing](/api/excel/officeimo-excel-excelchartscope/#method-scatteryaxiscrossing-officeimo-drawing-officechartaxiscrossingposition-nullable-system-double)
- Method [ExcelChartScope.ScatterYAxisScale](/api/excel/officeimo-excel-excelchartscope/#method-scatteryaxisscale-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-boolean-nullable-system-boolean-nullable-system-double)
- Method [ExcelChartScope.SecondaryValueAxis](/api/excel/officeimo-excel-excelchartscope/#method-secondaryvalueaxis-officeimo-drawing-officechartvalueaxislayout)
- Method [ExcelChartScope.Title](/api/excel/officeimo-excel-excelchartscope/#method-title-string)
- Method [ExcelChartScope.TitleTextStyle](/api/excel/officeimo-excel-excelchartscope/#method-titletextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string)
- Method [ExcelChartScope.ValueAxisCrossBetween](/api/excel/officeimo-excel-excelchartscope/#method-valueaxiscrossbetween-officeimo-drawing-officechartaxiscrossbetween-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.ValueAxisCrossing](/api/excel/officeimo-excel-excelchartscope/#method-valueaxiscrossing-officeimo-drawing-officechartaxiscrossingposition-nullable-system-double-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.ValueAxisDisplayUnits](/api/excel/officeimo-excel-excelchartscope/#method-valueaxisdisplayunits-officeimo-drawing-officechartdisplayunit-string-boolean-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.ValueAxisGridlines](/api/excel/officeimo-excel-excelchartscope/#method-valueaxisgridlines-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-nullable-officeimo-officelength-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.ValueAxisLabelRotation](/api/excel/officeimo-excel-excelchartscope/#method-valueaxislabelrotation-double-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.ValueAxisLabelTextStyle](/api/excel/officeimo-excel-excelchartscope/#method-valueaxislabeltextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.ValueAxisLine](/api/excel/officeimo-excel-excelchartscope/#method-valueaxisline-nullable-officeimo-officecolor-nullable-officeimo-officelength-boolean-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.ValueAxisNumberFormat](/api/excel/officeimo-excel-excelchartscope/#method-valueaxisnumberformat-string-boolean-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.ValueAxisScale](/api/excel/officeimo-excel-excelchartscope/#method-valueaxisscale-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-boolean-officeimo-drawing-officechartaxisgroup-nullable-system-boolean)
- Method [ExcelChartScope.ValueAxisTitle](/api/excel/officeimo-excel-excelchartscope/#method-valueaxistitle-string-officeimo-drawing-officechartaxisgroup)
- Method [ExcelChartScope.ValueAxisTitleTextStyle](/api/excel/officeimo-excel-excelchartscope/#method-valueaxistitletextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string-officeimo-drawing-officechartaxisgroup)

### Accepted by parameters 1

- Method [ExcelSheetScope.Chart](/api/excel/officeimo-excel-excelsheetscope/#method-chart-officeimo-officecharttype-officeimo-excel-excelchartdata-officeimo-officechartoptions-action-officeimo-excel-excelchartscope) parameter `configure`

Filter members 

Show inherited

## Methods

`public ExcelChartScope AltText(string description, string? title = null)` [#](#method-alttext-string-string)

Sets the chart's alternative text and optional title, and clears any decorative flag.

Parameters

**description string required**

The value.

**title string? = null optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope CategoryAxisCrossing(OfficeChartAxisCrossingPosition crosses, double? crossesAt = null, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-categoryaxiscrossing-officeimo-drawing-officechartaxiscrossingposition-nullable-system-double-officeimo-drawing-officechartaxisgroup)

Sets where the category axis crosses the value axis.

Parameters

**crosses OfficeIMO.Drawing.OfficeChartAxisCrossingPosition required**

The value.

**crossesAt double? = null optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope CategoryAxisGridlines(bool? showMajor = null, bool? showMinor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-categoryaxisgridlines-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-nullable-officeimo-officelength-officeimo-drawing-officechartaxisgroup)

Sets category axis gridlines visibility and optional styling.

Parameters

**showMajor bool? = null optional**

The value.

**showMinor bool? = null optional**

The value.

**lineColor OfficeIMO.OfficeColor? = null optional**

The value.

**lineWidth OfficeIMO.OfficeLength? = null optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope CategoryAxisLabelRotation(double rotationDegrees, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-categoryaxislabelrotation-double-officeimo-drawing-officechartaxisgroup)

Sets the category axis label rotation in degrees (-90..90).

Parameters

**rotationDegrees double required**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope CategoryAxisLabelTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-categoryaxislabeltextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string-officeimo-drawing-officechartaxisgroup)

Sets the category axis label text style.

Parameters

**fontSize OfficeIMO.OfficeLength? = null optional**

The value.

**bold bool? = null optional**

The value.

**italic bool? = null optional**

The value.

**color OfficeIMO.OfficeColor? = null optional**

The value.

**fontFamily string? = null optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope CategoryAxisLine(OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool noLine = false, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-categoryaxisline-nullable-officeimo-officecolor-nullable-officeimo-officelength-boolean-officeimo-drawing-officechartaxisgroup)

Sets category axis line visibility and optional styling.

Parameters

**lineColor OfficeIMO.OfficeColor? = null optional**

The value.

**lineWidth OfficeIMO.OfficeLength? = null optional**

The value.

**noLine bool = false optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

CategoryAxisNumberFormat 2 overloads

`public ExcelChartScope CategoryAxisNumberFormat(string formatCode, bool sourceLinked = false)` [#](#method-categoryaxisnumberformat-string-boolean)

Sets the category axis number format.

Parameters

**formatCode string required**

The value.

**sourceLinked bool = false optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope CategoryAxisNumberFormat(string formatCode, bool sourceLinked, OfficeChartAxisGroup axisGroup)` [#](#method-categoryaxisnumberformat-string-boolean-officeimo-drawing-officechartaxisgroup)

Sets the category axis number format for the selected axis group.

Parameters

**formatCode string required**

The value.

**sourceLinked bool required**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup required**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope CategoryAxisReverseOrder(bool reverseOrder = true, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-categoryaxisreverseorder-boolean-officeimo-drawing-officechartaxisgroup)

Sets the category axis orientation (normal or reversed order).

Parameters

**reverseOrder bool = true optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope CategoryAxisScale(double? minimum = null, double? maximum = null, double? majorUnit = null, double? minorUnit = null, bool? reverseOrder = null, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-categoryaxisscale-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-boolean-officeimo-drawing-officechartaxisgroup)

Sets category axis scale parameters for line, bar, column, and area charts.

Parameters

**minimum double? = null optional**

Optional minimum category-axis value.

**maximum double? = null optional**

Optional maximum category-axis value.

**majorUnit double? = null optional**

Optional major unit spacing.

**minorUnit double? = null optional**

Optional minor unit spacing.

**reverseOrder bool? = null optional**

Optional category order direction.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

Primary or secondary category axis.

Returns

`ExcelChartScope` The same scope.

CategoryAxisTitle 2 overloads

`public ExcelChartScope CategoryAxisTitle(string title)` [#](#method-categoryaxistitle-string)

Sets the category axis title.

Parameters

**title string required**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope CategoryAxisTitle(string title, OfficeChartAxisGroup axisGroup)` [#](#method-categoryaxistitle-string-officeimo-drawing-officechartaxisgroup)

Sets the category axis title for the selected axis group.

Parameters

**title string required**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup required**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope CategoryAxisTitleTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-categoryaxistitletextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string-officeimo-drawing-officechartaxisgroup)

Sets the category axis title text style.

Parameters

**fontSize OfficeIMO.OfficeLength? = null optional**

The value.

**bold bool? = null optional**

The value.

**italic bool? = null optional**

The value.

**color OfficeIMO.OfficeColor? = null optional**

The value.

**fontFamily string? = null optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ChartAreaStyle(OfficeColor? fillColor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool noFill = false, bool noLine = false)` [#](#method-chartareastyle-nullable-officeimo-officecolor-nullable-officeimo-officecolor-nullable-officeimo-officelength-boolean-boolean)

Sets chart area fill/line styling.

Parameters

**fillColor OfficeIMO.OfficeColor? = null optional**

The value.

**lineColor OfficeIMO.OfficeColor? = null optional**

The value.

**lineWidth OfficeIMO.OfficeLength? = null optional**

The value.

**noFill bool = false optional**

The value.

**noLine bool = false optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope DataLabelCallouts(bool enabled = true, OfficeChartDataLabelPosition? position = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null)` [#](#method-datalabelcallouts-boolean-nullable-officeimo-drawing-officechartdatalabelposition-nullable-officeimo-officecolor-nullable-officeimo-officelength)

Enables callout-style labels by positioning labels outside with leader lines.

Parameters

**enabled bool = true optional**

The value.

**position OfficeIMO.Drawing.OfficeChartDataLabelPosition? = null optional**

The value.

**lineColor OfficeIMO.OfficeColor? = null optional**

The value.

**lineWidth OfficeIMO.OfficeLength? = null optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope DataLabelLeaderLines(bool showLeaderLines = true, OfficeColor? lineColor = null, OfficeLength? lineWidth = null)` [#](#method-datalabelleaderlines-boolean-nullable-officeimo-officecolor-nullable-officeimo-officelength)

Configures data label leader lines for all chart labels.

Parameters

**showLeaderLines bool = true optional**

The value.

**lineColor OfficeIMO.OfficeColor? = null optional**

The value.

**lineWidth OfficeIMO.OfficeLength? = null optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope DataLabels(bool? showValue = null, bool? showCategoryName = null, bool? showSeriesName = null, bool? showLegendKey = null, bool? showPercent = null, OfficeChartDataLabelPosition? position = null, string? numberFormat = null, bool? sourceLinked = null)` [#](#member-ad720117f19d17a9eeddbb87)

Updates supplied data-label settings for all supported chart families; omitted flags, position and number-format settings remain unchanged.

Parameters

**showValue bool? = null optional**

The value.

**showCategoryName bool? = null optional**

The value.

**showSeriesName bool? = null optional**

The value.

**showLegendKey bool? = null optional**

The value.

**showPercent bool? = null optional**

The value.

**position OfficeIMO.Drawing.OfficeChartDataLabelPosition? = null optional**

The value.

**numberFormat string? = null optional**

The value.

**sourceLinked bool? = null optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope DataLabelSeparator(string? separator)` [#](#method-datalabelseparator-string)

Sets the separator for all data labels.

Parameters

**separator string? required**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope DataLabelShapeStyle(OfficeColor? fillColor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool noFill = false, bool noLine = false)` [#](#method-datalabelshapestyle-nullable-officeimo-officecolor-nullable-officeimo-officecolor-nullable-officeimo-officelength-boolean-boolean)

Sets data label shape styling for all chart labels.

Parameters

**fillColor OfficeIMO.OfficeColor? = null optional**

The value.

**lineColor OfficeIMO.OfficeColor? = null optional**

The value.

**lineWidth OfficeIMO.OfficeLength? = null optional**

The value.

**noFill bool = false optional**

The value.

**noLine bool = false optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope DataLabelTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null)` [#](#method-datalabeltextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string)

Sets data label text style for all chart labels.

Parameters

**fontSize OfficeIMO.OfficeLength? = null optional**

The value.

**bold bool? = null optional**

The value.

**italic bool? = null optional**

The value.

**color OfficeIMO.OfficeColor? = null optional**

The value.

**fontFamily string? = null optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope LegendTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null)` [#](#method-legendtextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string)

Sets the legend text style.

Parameters

**fontSize OfficeIMO.OfficeLength? = null optional**

The value.

**bold bool? = null optional**

The value.

**italic bool? = null optional**

The value.

**color OfficeIMO.OfficeColor? = null optional**

The value.

**fontFamily string? = null optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope Name(string value)` [#](#method-name-string)

Sets [ExcelChart.Name](/api/excel/officeimo-excel-excelchart/): Gets or sets the chart name (non-visual drawing name).

Parameters

**value string required**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope PlotAreaStyle(OfficeColor? fillColor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool noFill = false, bool noLine = false)` [#](#method-plotareastyle-nullable-officeimo-officecolor-nullable-officeimo-officecolor-nullable-officeimo-officelength-boolean-boolean)

Sets plot area fill/line styling.

Parameters

**fillColor OfficeIMO.OfficeColor? = null optional**

The value.

**lineColor OfficeIMO.OfficeColor? = null optional**

The value.

**lineWidth OfficeIMO.OfficeLength? = null optional**

The value.

**noFill bool = false optional**

The value.

**noLine bool = false optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope RadialLayout(OfficeChartRadialLayout layout)` [#](#method-radiallayout-officeimo-drawing-officechartradiallayout)

Sets geometry for an existing native two-dimensional pie or doughnut chart.

Parameters

**layout OfficeIMO.Drawing.OfficeChartRadialLayout required**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ScatterXAxisCrossing(OfficeChartAxisCrossingPosition crosses, double? crossesAt = null)` [#](#method-scatterxaxiscrossing-officeimo-drawing-officechartaxiscrossingposition-nullable-system-double)

Sets where the scatter X-axis crosses the Y-axis.

Parameters

**crosses OfficeIMO.Drawing.OfficeChartAxisCrossingPosition required**

The value.

**crossesAt double? = null optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ScatterXAxisScale(double? minimum = null, double? maximum = null, double? majorUnit = null, double? minorUnit = null, bool? reverseOrder = null, bool? logScale = null, double? logBase = null)` [#](#method-scatterxaxisscale-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-boolean-nullable-system-boolean-nullable-system-double)

Sets scatter chart X-axis scale (value axis on the bottom).

Parameters

**minimum double? = null optional**

The value.

**maximum double? = null optional**

The value.

**majorUnit double? = null optional**

The value.

**minorUnit double? = null optional**

The value.

**reverseOrder bool? = null optional**

The value.

**logScale bool? = null optional**

The value.

**logBase double? = null optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ScatterYAxisCrossing(OfficeChartAxisCrossingPosition crosses, double? crossesAt = null)` [#](#method-scatteryaxiscrossing-officeimo-drawing-officechartaxiscrossingposition-nullable-system-double)

Sets where the scatter Y-axis crosses the X-axis.

Parameters

**crosses OfficeIMO.Drawing.OfficeChartAxisCrossingPosition required**

The value.

**crossesAt double? = null optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ScatterYAxisScale(double? minimum = null, double? maximum = null, double? majorUnit = null, double? minorUnit = null, bool? reverseOrder = null, bool? logScale = null, double? logBase = null)` [#](#method-scatteryaxisscale-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-boolean-nullable-system-boolean-nullable-system-double)

Sets scatter chart Y-axis scale (value axis on the left).

Parameters

**minimum double? = null optional**

The value.

**maximum double? = null optional**

The value.

**majorUnit double? = null optional**

The value.

**minorUnit double? = null optional**

The value.

**reverseOrder bool? = null optional**

The value.

**logScale bool? = null optional**

The value.

**logBase double? = null optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope SecondaryValueAxis(OfficeChartValueAxisLayout layout)` [#](#method-secondaryvalueaxis-officeimo-drawing-officechartvalueaxislayout)

Sets independent bounds, tick spacing and appearance, and number format on the existing secondary value axis.

Parameters

**layout OfficeIMO.Drawing.OfficeChartValueAxisLayout required**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope Title(string title)` [#](#method-title-string)

Sets the chart title text.

Parameters

**title string required**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope TitleTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null)` [#](#method-titletextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string)

Sets the chart title text style.

Parameters

**fontSize OfficeIMO.OfficeLength? = null optional**

The value.

**bold bool? = null optional**

The value.

**italic bool? = null optional**

The value.

**color OfficeIMO.OfficeColor? = null optional**

The value.

**fontFamily string? = null optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ValueAxisCrossBetween(OfficeChartAxisCrossBetween between, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-valueaxiscrossbetween-officeimo-drawing-officechartaxiscrossbetween-officeimo-drawing-officechartaxisgroup)

Sets how the value axis crosses between categories.

Parameters

**between OfficeIMO.Drawing.OfficeChartAxisCrossBetween required**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ValueAxisCrossing(OfficeChartAxisCrossingPosition crosses, double? crossesAt = null, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-valueaxiscrossing-officeimo-drawing-officechartaxiscrossingposition-nullable-system-double-officeimo-drawing-officechartaxisgroup)

Sets where the value axis crosses the category axis.

Parameters

**crosses OfficeIMO.Drawing.OfficeChartAxisCrossingPosition required**

The value.

**crossesAt double? = null optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

ValueAxisDisplayUnits 4 overloads

`public ExcelChartScope ValueAxisDisplayUnits(OfficeChartDisplayUnit unit, bool showLabel = true, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-valueaxisdisplayunits-officeimo-drawing-officechartdisplayunit-boolean-officeimo-drawing-officechartaxisgroup)

Sets display units for the value axis.

Parameters

**unit OfficeIMO.Drawing.OfficeChartDisplayUnit required**

The value.

**showLabel bool = true optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ValueAxisDisplayUnits(OfficeChartDisplayUnit unit, string labelText, bool showLabel = true, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-valueaxisdisplayunits-officeimo-drawing-officechartdisplayunit-string-boolean-officeimo-drawing-officechartaxisgroup)

Sets display units for the value axis with custom label text.

Parameters

**unit OfficeIMO.Drawing.OfficeChartDisplayUnit required**

The value.

**labelText string required**

The value.

**showLabel bool = true optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ValueAxisDisplayUnits(double customUnit, bool showLabel = true, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-valueaxisdisplayunits-double-boolean-officeimo-drawing-officechartaxisgroup)

Sets custom display units for the value axis.

Parameters

**customUnit double required**

The value.

**showLabel bool = true optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ValueAxisDisplayUnits(double customUnit, string labelText, bool showLabel = true, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-valueaxisdisplayunits-double-string-boolean-officeimo-drawing-officechartaxisgroup)

Sets custom display units for the value axis with custom label text.

Parameters

**customUnit double required**

The value.

**labelText string required**

The value.

**showLabel bool = true optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ValueAxisGridlines(bool? showMajor = null, bool? showMinor = null, OfficeColor? lineColor = null, OfficeLength? lineWidth = null, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-valueaxisgridlines-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-nullable-officeimo-officelength-officeimo-drawing-officechartaxisgroup)

Sets value axis gridlines visibility and optional styling.

Parameters

**showMajor bool? = null optional**

The value.

**showMinor bool? = null optional**

The value.

**lineColor OfficeIMO.OfficeColor? = null optional**

The value.

**lineWidth OfficeIMO.OfficeLength? = null optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ValueAxisLabelRotation(double rotationDegrees, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-valueaxislabelrotation-double-officeimo-drawing-officechartaxisgroup)

Sets the value axis label rotation in degrees (-90..90).

Parameters

**rotationDegrees double required**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ValueAxisLabelTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-valueaxislabeltextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string-officeimo-drawing-officechartaxisgroup)

Sets the value axis label text style.

Parameters

**fontSize OfficeIMO.OfficeLength? = null optional**

The value.

**bold bool? = null optional**

The value.

**italic bool? = null optional**

The value.

**color OfficeIMO.OfficeColor? = null optional**

The value.

**fontFamily string? = null optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ValueAxisLine(OfficeColor? lineColor = null, OfficeLength? lineWidth = null, bool noLine = false, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-valueaxisline-nullable-officeimo-officecolor-nullable-officeimo-officelength-boolean-officeimo-drawing-officechartaxisgroup)

Sets value axis line visibility and optional styling.

Parameters

**lineColor OfficeIMO.OfficeColor? = null optional**

The value.

**lineWidth OfficeIMO.OfficeLength? = null optional**

The value.

**noLine bool = false optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

ValueAxisNumberFormat 2 overloads

`public ExcelChartScope ValueAxisNumberFormat(string formatCode, bool sourceLinked = false)` [#](#method-valueaxisnumberformat-string-boolean)

Sets the value axis number format.

Parameters

**formatCode string required**

The value.

**sourceLinked bool = false optional**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ValueAxisNumberFormat(string formatCode, bool sourceLinked, OfficeChartAxisGroup axisGroup)` [#](#method-valueaxisnumberformat-string-boolean-officeimo-drawing-officechartaxisgroup)

Sets the value axis number format for the selected axis group.

Parameters

**formatCode string required**

The value.

**sourceLinked bool required**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup required**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ValueAxisScale(double? minimum = null, double? maximum = null, double? majorUnit = null, double? minorUnit = null, double? logBase = null, bool? reverseOrder = null, OfficeChartAxisGroup axisGroup = Primary, bool? logScale = null)` [#](#member-324b4628778050e4c2a4b73b)

Sets value axis scale parameters for the selected axis group.

Parameters

**minimum double? = null optional**

The value.

**maximum double? = null optional**

The value.

**majorUnit double? = null optional**

The value.

**minorUnit double? = null optional**

The value.

**logBase double? = null optional**

The value.

**reverseOrder bool? = null optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

**logScale bool? = null optional**

The value.

Returns

`ExcelChartScope` The same scope.

ValueAxisTitle 2 overloads

`public ExcelChartScope ValueAxisTitle(string title)` [#](#method-valueaxistitle-string)

Sets the value axis title.

Parameters

**title string required**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ValueAxisTitle(string title, OfficeChartAxisGroup axisGroup)` [#](#method-valueaxistitle-string-officeimo-drawing-officechartaxisgroup)

Sets the value axis title for the selected axis group.

Parameters

**title string required**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup required**

The value.

Returns

`ExcelChartScope` The same scope.

`public ExcelChartScope ValueAxisTitleTextStyle(OfficeLength? fontSize = null, bool? bold = null, bool? italic = null, OfficeColor? color = null, string? fontFamily = null, OfficeChartAxisGroup axisGroup = Primary)` [#](#method-valueaxistitletextstyle-nullable-officeimo-officelength-nullable-system-boolean-nullable-system-boolean-nullable-officeimo-officecolor-string-officeimo-drawing-officechartaxisgroup)

Sets the value axis title text style.

Parameters

**fontSize OfficeIMO.OfficeLength? = null optional**

The value.

**bold bool? = null optional**

The value.

**italic bool? = null optional**

The value.

**color OfficeIMO.OfficeColor? = null optional**

The value.

**fontFamily string? = null optional**

The value.

**axisGroup OfficeIMO.Drawing.OfficeChartAxisGroup = Primary optional**

The value.

Returns

`ExcelChartScope` The same scope.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public ExcelChart Model { get; }` [#](#property-model)

The [ExcelChart](/api/excel/officeimo-excel-excelchart/) this scope edits, for plain C# inside a lambda.

<!-- PowerForge markdown artifact sha256:14A7204AEC495091B0464BFA321097B7964DB8DC28DF6D007BE7D6CB8C2D3396 -->
