# ChartOptionsFluent

The fluent methods of ChartOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Modifiers**

static

The fluent methods of [ChartOptions](/api/chartforgex-core-chartoptions/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- ChartOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 AxisTitleStyle 2 overloads 

 `public static ChartOptions AxisTitleStyle(ChartOptions chartOptions, TextStyleOverride value)` [#](#method-axistitlestyle-chartforgex-core-chartoptions-chartforgex-typography-textstyleoverride) 

Sets [ChartOptions.AxisTitleStyle](/api/chartforgex-core-chartoptions/): Gets the text style used for axis titles.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Typography.TextStyleOverride required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartOptions { AxisTitleStyle = value };    chartOptions.AxisTitleStyle(value);
```

 `public static ChartOptions AxisTitleStyle(ChartOptions chartOptions, Action<TextStyleOverride> configure)` [#](#method-axistitlestyle-chartforgex-core-chartoptions-action-chartforgex-typography-textstyleoverride) 

Configures a copy of [ChartOptions.AxisTitleStyle](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the text style used for axis titles.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Typography.TextStyleOverride> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Bars 2 overloads 

 `public static ChartOptions Bars(ChartOptions chartOptions, ChartBarOptions value)` [#](#method-bars-chartforgex-core-chartoptions-chartforgex-core-chartbaroptions) 

Sets [ChartOptions.Bars](/api/chartforgex-core-chartoptions/): Gets or sets the bar layout, stacking and styling.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartBarOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                  // C# fluent
new global::ChartForgeX.Core.ChartOptions { Bars = value };    chartOptions.Bars(value);
```

 `public static ChartOptions Bars(ChartOptions chartOptions, Action<ChartBarOptions> configure)` [#](#method-bars-chartforgex-core-chartoptions-action-chartforgex-core-chartbaroptions) 

Configures a copy of [ChartOptions.Bars](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the bar layout, stacking and styling.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartBarOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 BoxPlot 2 overloads 

 `public static ChartOptions BoxPlot(ChartOptions chartOptions, ChartBoxPlotOptions value)` [#](#method-boxplot-chartforgex-core-chartoptions-chartforgex-core-chartboxplotoptions) 

Sets [ChartOptions.BoxPlot](/api/chartforgex-core-chartoptions/): Gets the box plot layout options.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartBoxPlotOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                     // C# fluent
new global::ChartForgeX.Core.ChartOptions { BoxPlot = value };    chartOptions.BoxPlot(value);
```

 `public static ChartOptions BoxPlot(ChartOptions chartOptions, Action<ChartBoxPlotOptions> configure)` [#](#method-boxplot-chartforgex-core-chartoptions-action-chartforgex-core-chartboxplotoptions) 

Configures a copy of [ChartOptions.BoxPlot](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the box plot layout options.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartBoxPlotOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Bubble 2 overloads 

 `public static ChartOptions Bubble(ChartOptions chartOptions, ChartBubbleOptions value)` [#](#method-bubble-chartforgex-core-chartoptions-chartforgex-core-chartbubbleoptions) 

Sets [ChartOptions.Bubble](/api/chartforgex-core-chartoptions/): Gets the shared source-size domain and logical radius options for bubble series.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartBubbleOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::ChartForgeX.Core.ChartOptions { Bubble = value };    chartOptions.Bubble(value);
```

 `public static ChartOptions Bubble(ChartOptions chartOptions, Action<ChartBubbleOptions> configure)` [#](#method-bubble-chartforgex-core-chartoptions-action-chartforgex-core-chartbubbleoptions) 

Configures a copy of [ChartOptions.Bubble](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the shared source-size domain and logical radius options for bubble series.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartBubbleOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Bullet 2 overloads 

 `public static ChartOptions Bullet(ChartOptions chartOptions, ChartBulletOptions value)` [#](#method-bullet-chartforgex-core-chartoptions-chartforgex-core-chartbulletoptions) 

Sets [ChartOptions.Bullet](/api/chartforgex-core-chartoptions/): Gets bullet track orientation and numeric axis ownership.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartBulletOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::ChartForgeX.Core.ChartOptions { Bullet = value };    chartOptions.Bullet(value);
```

 `public static ChartOptions Bullet(ChartOptions chartOptions, Action<ChartBulletOptions> configure)` [#](#method-bullet-chartforgex-core-chartoptions-action-chartforgex-core-chartbulletoptions) 

Configures a copy of [ChartOptions.Bullet](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets bullet track orientation and numeric axis ownership.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartBulletOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Calendar 2 overloads 

 `public static ChartOptions Calendar(ChartOptions chartOptions, ChartCalendarOptions value)` [#](#method-calendar-chartforgex-core-chartoptions-chartforgex-core-chartcalendaroptions) 

Sets [ChartOptions.Calendar](/api/chartforgex-core-chartoptions/): Gets the shared week, localized names, and cell sizing options for calendar heatmaps.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartCalendarOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::ChartForgeX.Core.ChartOptions { Calendar = value };    chartOptions.Calendar(value);
```

 `public static ChartOptions Calendar(ChartOptions chartOptions, Action<ChartCalendarOptions> configure)` [#](#method-calendar-chartforgex-core-chartoptions-action-chartforgex-core-chartcalendaroptions) 

Configures a copy of [ChartOptions.Calendar](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the shared week, localized names, and cell sizing options for calendar heatmaps.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartCalendarOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Chord 2 overloads 

 `public static ChartOptions Chord(ChartOptions chartOptions, ChartChordOptions value)` [#](#method-chord-chartforgex-core-chartoptions-chartforgex-core-chartchordoptions) 

Sets [ChartOptions.Chord](/api/chartforgex-core-chartoptions/): Gets native chord geometry, direction, and label settings.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartChordOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                   // C# fluent
new global::ChartForgeX.Core.ChartOptions { Chord = value };    chartOptions.Chord(value);
```

 `public static ChartOptions Chord(ChartOptions chartOptions, Action<ChartChordOptions> configure)` [#](#method-chord-chartforgex-core-chartoptions-action-chartforgex-core-chartchordoptions) 

Configures a copy of [ChartOptions.Chord](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets native chord geometry, direction, and label settings.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartChordOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Circle 2 overloads 

 `public static ChartOptions Circle(ChartOptions chartOptions, ChartCircleOptions value)` [#](#method-circle-chartforgex-core-chartoptions-chartforgex-core-chartcircleoptions) 

Sets [ChartOptions.Circle](/api/chartforgex-core-chartoptions/): Gets or sets the circle and status-ring presentation.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartCircleOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::ChartForgeX.Core.ChartOptions { Circle = value };    chartOptions.Circle(value);
```

 `public static ChartOptions Circle(ChartOptions chartOptions, Action<ChartCircleOptions> configure)` [#](#method-circle-chartforgex-core-chartoptions-action-chartforgex-core-chartcircleoptions) 

Configures a copy of [ChartOptions.Circle](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the circle and status-ring presentation.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartCircleOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 `public static ChartOptions ClipMarksToPlot(ChartOptions chartOptions, bool value = true)` [#](#method-clipmarkstoplot-chartforgex-core-chartoptions-boolean) 

Sets [ChartOptions.ClipMarksToPlot](/api/chartforgex-core-chartoptions/): Gets or sets whether Cartesian series geometry is clipped to the plot rectangle.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Core.ChartOptions { ClipMarksToPlot = value };    chartOptions.ClipMarksToPlot(value);
```

 DataLabels 2 overloads 

 `public static ChartOptions DataLabels(ChartOptions chartOptions, ChartDataLabelOptions value)` [#](#method-datalabels-chartforgex-core-chartoptions-chartforgex-core-chartdatalabeloptions) 

Sets [ChartOptions.DataLabels](/api/chartforgex-core-chartoptions/): Gets or sets the data label visibility, placement and leader-line connectors.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartDataLabelOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                        // C# fluent
new global::ChartForgeX.Core.ChartOptions { DataLabels = value };    chartOptions.DataLabels(value);
```

 `public static ChartOptions DataLabels(ChartOptions chartOptions, Action<ChartDataLabelOptions> configure)` [#](#method-datalabels-chartforgex-core-chartoptions-action-chartforgex-core-chartdatalabeloptions) 

Configures a copy of [ChartOptions.DataLabels](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the data label visibility, placement and leader-line connectors.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartDataLabelOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 DataLabelStyle 2 overloads 

 `public static ChartOptions DataLabelStyle(ChartOptions chartOptions, TextStyleOverride value)` [#](#method-datalabelstyle-chartforgex-core-chartoptions-chartforgex-typography-textstyleoverride) 

Sets [ChartOptions.DataLabelStyle](/api/chartforgex-core-chartoptions/): Gets the text style used for data labels.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Typography.TextStyleOverride required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartOptions { DataLabelStyle = value };    chartOptions.DataLabelStyle(value);
```

 `public static ChartOptions DataLabelStyle(ChartOptions chartOptions, Action<TextStyleOverride> configure)` [#](#method-datalabelstyle-chartforgex-core-chartoptions-action-chartforgex-typography-textstyleoverride) 

Configures a copy of [ChartOptions.DataLabelStyle](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the text style used for data labels.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Typography.TextStyleOverride> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 `public static ChartOptions DumbbellOrientation(ChartOptions chartOptions, ChartOrientation value)` [#](#method-dumbbellorientation-chartforgex-core-chartoptions-chartforgex-core-chartorientation) 

Sets [ChartOptions.DumbbellOrientation](/api/chartforgex-core-chartoptions/): Gets or sets dumbbell orientation without reordering authored Start and End values.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartOrientation required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartOptions { DumbbellOrientation = value };    chartOptions.DumbbellOrientation(value);
```

 `public static ChartOptions FormatValuesBy(ChartOptions chartOptions, Func<double, string>? value)` [#](#method-formatvaluesby-chartforgex-core-chartoptions-func-system-double-system-string) 

Sets [ChartOptions.ValueFormatter](/api/chartforgex-core-chartoptions/): Gets or sets a formatter used for y-axis ticks, data labels, stack totals, and donut totals.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value System.Func<double, string>? required**

The callback.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartOptions { ValueFormatter = value };    chartOptions.FormatValuesBy(value);
```

 Funnel 2 overloads 

 `public static ChartOptions Funnel(ChartOptions chartOptions, ChartFunnelOptions value)` [#](#method-funnel-chartforgex-core-chartoptions-chartforgex-core-chartfunneloptions) 

Sets [ChartOptions.Funnel](/api/chartforgex-core-chartoptions/): Gets the funnel anatomy and orientation settings shared by static exports.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartFunnelOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::ChartForgeX.Core.ChartOptions { Funnel = value };    chartOptions.Funnel(value);
```

 `public static ChartOptions Funnel(ChartOptions chartOptions, Action<ChartFunnelOptions> configure)` [#](#method-funnel-chartforgex-core-chartoptions-action-chartforgex-core-chartfunneloptions) 

Configures a copy of [ChartOptions.Funnel](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the funnel anatomy and orientation settings shared by static exports.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartFunnelOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Gantt 2 overloads 

 `public static ChartOptions Gantt(ChartOptions chartOptions, ChartGanttOptions value)` [#](#method-gantt-chartforgex-core-chartoptions-chartforgex-core-chartganttoptions) 

Sets [ChartOptions.Gantt](/api/chartforgex-core-chartoptions/): Gets or sets the gantt markers, ticks and open ends.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartGanttOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                   // C# fluent
new global::ChartForgeX.Core.ChartOptions { Gantt = value };    chartOptions.Gantt(value);
```

 `public static ChartOptions Gantt(ChartOptions chartOptions, Action<ChartGanttOptions> configure)` [#](#method-gantt-chartforgex-core-chartoptions-action-chartforgex-core-chartganttoptions) 

Configures a copy of [ChartOptions.Gantt](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the gantt markers, ticks and open ends.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartGanttOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Gauge 2 overloads 

 `public static ChartOptions Gauge(ChartOptions chartOptions, ChartGaugeOptions value)` [#](#method-gauge-chartforgex-core-chartoptions-chartforgex-core-chartgaugeoptions) 

Sets [ChartOptions.Gauge](/api/chartforgex-core-chartoptions/): Gets gauge anatomy, scale captions and band settings.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartGaugeOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                   // C# fluent
new global::ChartForgeX.Core.ChartOptions { Gauge = value };    chartOptions.Gauge(value);
```

 `public static ChartOptions Gauge(ChartOptions chartOptions, Action<ChartGaugeOptions> configure)` [#](#method-gauge-chartforgex-core-chartoptions-action-chartforgex-core-chartgaugeoptions) 

Configures a copy of [ChartOptions.Gauge](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets gauge anatomy, scale captions and band settings.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartGaugeOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Heatmap 2 overloads 

 `public static ChartOptions Heatmap(ChartOptions chartOptions, ChartHeatmapOptions value)` [#](#method-heatmap-chartforgex-core-chartoptions-chartforgex-core-chartheatmapoptions) 

Sets [ChartOptions.Heatmap](/api/chartforgex-core-chartoptions/): Gets or sets the heatmap scales, cells and labels.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartHeatmapOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                     // C# fluent
new global::ChartForgeX.Core.ChartOptions { Heatmap = value };    chartOptions.Heatmap(value);
```

 `public static ChartOptions Heatmap(ChartOptions chartOptions, Action<ChartHeatmapOptions> configure)` [#](#method-heatmap-chartforgex-core-chartoptions-action-chartforgex-core-chartheatmapoptions) 

Configures a copy of [ChartOptions.Heatmap](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the heatmap scales, cells and labels.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartHeatmapOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 `public static ChartOptions HostOwnsFrame(ChartOptions chartOptions, bool value = true)` [#](#method-hostownsframe-chartforgex-core-chartoptions-boolean) 

Sets [ChartOptions.HostOwnsFrame](/api/chartforgex-core-chartoptions/): Gets or sets whether the embedding host draws the frame. Removes the chart surface and outer padding.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Core.ChartOptions { HostOwnsFrame = value };    chartOptions.HostOwnsFrame(value);
```

 Labels 2 overloads 

 `public static ChartOptions Labels(ChartOptions chartOptions, ChartLabels value)` [#](#method-labels-chartforgex-core-chartoptions-chartforgex-core-chartlabels) 

Sets [ChartOptions.Labels](/api/chartforgex-core-chartoptions/): Gets the words ChartForgeX writes into charts on its own, such as the Gantt lane "Now" marker, so hosts can localize them.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartLabels required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::ChartForgeX.Core.ChartOptions { Labels = value };    chartOptions.Labels(value);
```

 `public static ChartOptions Labels(ChartOptions chartOptions, Action<ChartLabels> configure)` [#](#method-labels-chartforgex-core-chartoptions-action-chartforgex-core-chartlabels) 

Configures a copy of [ChartOptions.Labels](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the words ChartForgeX writes into charts on its own, such as the Gantt lane "Now" marker, so hosts can localize them.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartLabels> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Legend 2 overloads 

 `public static ChartOptions Legend(ChartOptions chartOptions, ChartLegendOptions value)` [#](#method-legend-chartforgex-core-chartoptions-chartforgex-core-chartlegendoptions) 

Sets [ChartOptions.Legend](/api/chartforgex-core-chartoptions/): Gets legend key, entry text and custom entry configuration.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartLegendOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::ChartForgeX.Core.ChartOptions { Legend = value };    chartOptions.Legend(value);
```

 `public static ChartOptions Legend(ChartOptions chartOptions, Action<ChartLegendOptions> configure)` [#](#method-legend-chartforgex-core-chartoptions-action-chartforgex-core-chartlegendoptions) 

Configures a copy of [ChartOptions.Legend](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets legend key, entry text and custom entry configuration.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartLegendOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 LegendStyle 2 overloads 

 `public static ChartOptions LegendStyle(ChartOptions chartOptions, TextStyleOverride value)` [#](#method-legendstyle-chartforgex-core-chartoptions-chartforgex-typography-textstyleoverride) 

Sets [ChartOptions.LegendStyle](/api/chartforgex-core-chartoptions/): Gets the text style used for legend labels.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Typography.TextStyleOverride required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                         // C# fluent
new global::ChartForgeX.Core.ChartOptions { LegendStyle = value };    chartOptions.LegendStyle(value);
```

 `public static ChartOptions LegendStyle(ChartOptions chartOptions, Action<TextStyleOverride> configure)` [#](#method-legendstyle-chartforgex-core-chartoptions-action-chartforgex-typography-textstyleoverride) 

Configures a copy of [ChartOptions.LegendStyle](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the text style used for legend labels.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Typography.TextStyleOverride> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Lines 2 overloads 

 `public static ChartOptions Lines(ChartOptions chartOptions, ChartLineOptions value)` [#](#method-lines-chartforgex-core-chartoptions-chartforgex-core-chartlineoptions) 

Sets [ChartOptions.Lines](/api/chartforgex-core-chartoptions/): Gets or sets the line styling, markers and orientation.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartLineOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                   // C# fluent
new global::ChartForgeX.Core.ChartOptions { Lines = value };    chartOptions.Lines(value);
```

 `public static ChartOptions Lines(ChartOptions chartOptions, Action<ChartLineOptions> configure)` [#](#method-lines-chartforgex-core-chartoptions-action-chartforgex-core-chartlineoptions) 

Configures a copy of [ChartOptions.Lines](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the line styling, markers and orientation.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartLineOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 `public static ChartOptions LollipopOrientation(ChartOptions chartOptions, ChartOrientation value)` [#](#method-lollipoporientation-chartforgex-core-chartoptions-chartforgex-core-chartorientation) 

Sets [ChartOptions.LollipopOrientation](/api/chartforgex-core-chartoptions/): Gets or sets lollipop orientation. Horizontal keeps source X as a category on Y and renders values on the physical X axis.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartOrientation required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartOptions { LollipopOrientation = value };    chartOptions.LollipopOrientation(value);
```

 Map 2 overloads 

 `public static ChartOptions Map(ChartOptions chartOptions, ChartMapOptions value)` [#](#method-map-chartforgex-core-chartoptions-chartforgex-core-chartmapoptions) 

Sets [ChartOptions.Map](/api/chartforgex-core-chartoptions/): Gets or sets the map viewport, layers, labels and colour scales.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartMapOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                 // C# fluent
new global::ChartForgeX.Core.ChartOptions { Map = value };    chartOptions.Map(value);
```

 `public static ChartOptions Map(ChartOptions chartOptions, Action<ChartMapOptions> configure)` [#](#method-map-chartforgex-core-chartoptions-action-chartforgex-core-chartmapoptions) 

Configures a copy of [ChartOptions.Map](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the map viewport, layers, labels and colour scales.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartMapOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 `public static ChartOptions MarkBackdrop(ChartOptions chartOptions, ChartMarkBackdrop value)` [#](#method-markbackdrop-chartforgex-core-chartoptions-chartforgex-core-chartmarkbackdrop) 

Sets [ChartOptions.MarkBackdrop](/api/chartforgex-core-chartoptions/): Gets or sets the surface treated as the colour behind the marks (state pattern lines, outlined and quiet heatmap cells, neutral zero counts, text on translucent marks). The default [ChartMarkBackdrop.Layered](/api/chartforgex-core-chartmarkbackdrop/) composites the theme background with the card and plot background where they are drawn; a host that places a transparent chart on its own card sets [ChartMarkBackdrop.Card](/api/chartforgex-core-chartmarkbackdrop/).

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartMarkBackdrop required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                          // C# fluent
new global::ChartForgeX.Core.ChartOptions { MarkBackdrop = value };    chartOptions.MarkBackdrop(value);
```

 `public static ChartOptions Padding(ChartOptions chartOptions, ChartPadding value)` [#](#method-padding-chartforgex-core-chartoptions-chartforgex-primitives-chartpadding) 

Sets [ChartOptions.Padding](/api/chartforgex-core-chartoptions/): Gets or sets the outer frame padding. Headings, legends and axes reserve their measured space inside it. The default is the same for every theme and chart family. Explicit values are preserved by export.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Primitives.ChartPadding required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                     // C# fluent
new global::ChartForgeX.Core.ChartOptions { Padding = value };    chartOptions.Padding(value);
```

 `public static ChartOptions Panel(ChartOptions chartOptions, bool value = true)` [#](#method-panel-chartforgex-core-chartoptions-boolean) 

Sets [ChartOptions.IsPanel](/api/chartforgex-core-chartoptions/): Gets or sets whether a panel uses the compact 15 px title.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                     // C# fluent
new global::ChartForgeX.Core.ChartOptions { IsPanel = value };    chartOptions.Panel(value);
```

 Pictorial 2 overloads 

 `public static ChartOptions Pictorial(ChartOptions chartOptions, ChartPictorialOptions value)` [#](#method-pictorial-chartforgex-core-chartoptions-chartforgex-core-chartpictorialoptions) 

Sets [ChartOptions.Pictorial](/api/chartforgex-core-chartoptions/): Gets or sets the pictorial symbols, values and artwork.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartPictorialOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::ChartForgeX.Core.ChartOptions { Pictorial = value };    chartOptions.Pictorial(value);
```

 `public static ChartOptions Pictorial(ChartOptions chartOptions, Action<ChartPictorialOptions> configure)` [#](#method-pictorial-chartforgex-core-chartoptions-action-chartforgex-core-chartpictorialoptions) 

Configures a copy of [ChartOptions.Pictorial](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the pictorial symbols, values and artwork.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartPictorialOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Pie 2 overloads 

 `public static ChartOptions Pie(ChartOptions chartOptions, ChartPieOptions value)` [#](#method-pie-chartforgex-core-chartoptions-chartforgex-core-chartpieoptions) 

Sets [ChartOptions.Pie](/api/chartforgex-core-chartoptions/): Gets or sets the pie and donut slices, labels and centre text.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartPieOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                 // C# fluent
new global::ChartForgeX.Core.ChartOptions { Pie = value };    chartOptions.Pie(value);
```

 `public static ChartOptions Pie(ChartOptions chartOptions, Action<ChartPieOptions> configure)` [#](#method-pie-chartforgex-core-chartoptions-action-chartforgex-core-chartpieoptions) 

Configures a copy of [ChartOptions.Pie](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the pie and donut slices, labels and centre text.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartPieOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Polar 2 overloads 

 `public static ChartOptions Polar(ChartOptions chartOptions, ChartPolarLayoutOptions value)` [#](#method-polar-chartforgex-core-chartoptions-chartforgex-core-chartpolarlayoutoptions) 

Sets [ChartOptions.Polar](/api/chartforgex-core-chartoptions/): Gets or sets the polar axis and grid layout.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartPolarLayoutOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                   // C# fluent
new global::ChartForgeX.Core.ChartOptions { Polar = value };    chartOptions.Polar(value);
```

 `public static ChartOptions Polar(ChartOptions chartOptions, Action<ChartPolarLayoutOptions> configure)` [#](#method-polar-chartforgex-core-chartoptions-action-chartforgex-core-chartpolarlayoutoptions) 

Configures a copy of [ChartOptions.Polar](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the polar axis and grid layout.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartPolarLayoutOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Progress 2 overloads 

 `public static ChartOptions Progress(ChartOptions chartOptions, ChartProgressOptions value)` [#](#method-progress-chartforgex-core-chartoptions-chartforgex-core-chartprogressoptions) 

Sets [ChartOptions.Progress](/api/chartforgex-core-chartoptions/): Gets or sets the progress bar and ring presentation.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartProgressOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::ChartForgeX.Core.ChartOptions { Progress = value };    chartOptions.Progress(value);
```

 `public static ChartOptions Progress(ChartOptions chartOptions, Action<ChartProgressOptions> configure)` [#](#method-progress-chartforgex-core-chartoptions-action-chartforgex-core-chartprogressoptions) 

Configures a copy of [ChartOptions.Progress](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the progress bar and ring presentation.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartProgressOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Pyramid 2 overloads 

 `public static ChartOptions Pyramid(ChartOptions chartOptions, ChartPyramidOptions value)` [#](#method-pyramid-chartforgex-core-chartoptions-chartforgex-core-chartpyramidoptions) 

Sets [ChartOptions.Pyramid](/api/chartforgex-core-chartoptions/): Gets the pyramid value encoding, direction and shape settings shared by static exports.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartPyramidOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                     // C# fluent
new global::ChartForgeX.Core.ChartOptions { Pyramid = value };    chartOptions.Pyramid(value);
```

 `public static ChartOptions Pyramid(ChartOptions chartOptions, Action<ChartPyramidOptions> configure)` [#](#method-pyramid-chartforgex-core-chartoptions-action-chartforgex-core-chartpyramidoptions) 

Configures a copy of [ChartOptions.Pyramid](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the pyramid value encoding, direction and shape settings shared by static exports.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartPyramidOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 `public static ChartOptions RadialBandAllocation(ChartOptions chartOptions, ChartRadialBandAllocation? value)` [#](#method-radialbandallocation-chartforgex-core-chartoptions-chartforgex-core-chartradialbandallocation) 

Sets [ChartOptions.RadialBandAllocation](/api/chartforgex-core-chartoptions/): Gets or sets opt-in automatic Pie/Donut bands. Null preserves existing single-series and explicit-band behavior.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartRadialBandAllocation? required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartOptions { RadialBandAllocation = value };    chartOptions.RadialBandAllocation(value);
```

 `public static ChartOptions RadialGeometry(ChartOptions chartOptions, ChartRadialGeometryOptions value)` [#](#method-radialgeometry-chartforgex-core-chartoptions-chartforgex-core-chartradialgeometryoptions) 

Sets [ChartOptions.RadialGeometry](/api/chartforgex-core-chartoptions/): Gets or sets immutable geometry for numeric radial bars and columns, including column/radar compositions.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartRadialGeometryOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartOptions { RadialGeometry = value };    chartOptions.RadialGeometry(value);
```

 RangeBar 2 overloads 

 `public static ChartOptions RangeBar(ChartOptions chartOptions, ChartRangeBarOptions value)` [#](#method-rangebar-chartforgex-core-chartoptions-chartforgex-core-chartrangebaroptions) 

Sets [ChartOptions.RangeBar](/api/chartforgex-core-chartoptions/): Gets the range-bar orientation and caption settings shared by static exports.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartRangeBarOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::ChartForgeX.Core.ChartOptions { RangeBar = value };    chartOptions.RangeBar(value);
```

 `public static ChartOptions RangeBar(ChartOptions chartOptions, Action<ChartRangeBarOptions> configure)` [#](#method-rangebar-chartforgex-core-chartoptions-action-chartforgex-core-chartrangebaroptions) 

Configures a copy of [ChartOptions.RangeBar](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the range-bar orientation and caption settings shared by static exports.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartRangeBarOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Raster 2 overloads 

 `public static ChartOptions Raster(ChartOptions chartOptions, ChartRasterOptions value)` [#](#method-raster-chartforgex-core-chartoptions-chartforgex-core-chartrasteroptions) 

Sets [ChartOptions.Raster](/api/chartforgex-core-chartoptions/): Gets or sets the fonts, hinting and scale of raster output (PNG, JPEG, BMP, TIFF and PPM).

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartRasterOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::ChartForgeX.Core.ChartOptions { Raster = value };    chartOptions.Raster(value);
```

 `public static ChartOptions Raster(ChartOptions chartOptions, Action<ChartRasterOptions> configure)` [#](#method-raster-chartforgex-core-chartoptions-action-chartforgex-core-chartrasteroptions) 

Configures a copy of [ChartOptions.Raster](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the fonts, hinting and scale of raster output (PNG, JPEG, BMP, TIFF and PPM).

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartRasterOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Sankey 2 overloads 

 `public static ChartOptions Sankey(ChartOptions chartOptions, ChartSankeyOptions value)` [#](#method-sankey-chartforgex-core-chartoptions-chartforgex-core-chartsankeyoptions) 

Sets [ChartOptions.Sankey](/api/chartforgex-core-chartoptions/): Gets the native Sankey alignment, ordering, node geometry, label placement and paint options.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartSankeyOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::ChartForgeX.Core.ChartOptions { Sankey = value };    chartOptions.Sankey(value);
```

 `public static ChartOptions Sankey(ChartOptions chartOptions, Action<ChartSankeyOptions> configure)` [#](#method-sankey-chartforgex-core-chartoptions-action-chartforgex-core-chartsankeyoptions) 

Configures a copy of [ChartOptions.Sankey](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the native Sankey alignment, ordering, node geometry, label placement and paint options.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartSankeyOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 SecondaryXAxis 2 overloads 

 `public static ChartOptions SecondaryXAxis(ChartOptions chartOptions, ChartAxis value)` [#](#method-secondaryxaxis-chartforgex-core-chartoptions-chartforgex-core-chartaxis) 

Sets [ChartOptions.SecondaryXAxis](/api/chartforgex-core-chartoptions/): Gets the secondary horizontal value axis for horizontal Cartesian charts.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartAxis required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartOptions { SecondaryXAxis = value };    chartOptions.SecondaryXAxis(value);
```

 `public static ChartOptions SecondaryXAxis(ChartOptions chartOptions, Action<ChartAxis> configure)` [#](#method-secondaryxaxis-chartforgex-core-chartoptions-action-chartforgex-core-chartaxis) 

Configures a copy of [ChartOptions.SecondaryXAxis](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the secondary horizontal value axis for horizontal Cartesian charts.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartAxis> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 SecondaryYAxis 2 overloads 

 `public static ChartOptions SecondaryYAxis(ChartOptions chartOptions, ChartAxis value)` [#](#method-secondaryyaxis-chartforgex-core-chartoptions-chartforgex-core-chartaxis) 

Sets [ChartOptions.SecondaryYAxis](/api/chartforgex-core-chartoptions/): Gets the secondary vertical axis.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartAxis required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartOptions { SecondaryYAxis = value };    chartOptions.SecondaryYAxis(value);
```

 `public static ChartOptions SecondaryYAxis(ChartOptions chartOptions, Action<ChartAxis> configure)` [#](#method-secondaryyaxis-chartforgex-core-chartoptions-action-chartforgex-core-chartaxis) 

Configures a copy of [ChartOptions.SecondaryYAxis](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the secondary vertical axis.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartAxis> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 `public static ChartOptions SeriesColorAssignment(ChartOptions chartOptions, ChartSeriesColorAssignment value)` [#](#method-seriescolorassignment-chartforgex-core-chartoptions-chartforgex-core-chartseriescolorassignment) 

Sets [ChartOptions.SeriesColorAssignment](/api/chartforgex-core-chartoptions/): Gets or sets how series without an explicit colour pick their palette colour. Defaults to [ChartSeriesColorAssignment.Order](/api/chartforgex-core-chartseriescolorassignment/).

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartSeriesColorAssignment required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.Core.ChartOptions { SeriesColorAssignment = value };    chartOptions.SeriesColorAssignment(value);
```

 `public static ChartOptions ShowAxes(ChartOptions chartOptions, bool value = true)` [#](#method-showaxes-chartforgex-core-chartoptions-boolean) 

Sets [ChartOptions.ShowAxes](/api/chartforgex-core-chartoptions/): Gets or sets a value indicating whether axes, labels, and titles are rendered.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::ChartForgeX.Core.ChartOptions { ShowAxes = value };    chartOptions.ShowAxes(value);
```

 `public static ChartOptions ShowAxisLines(ChartOptions chartOptions, bool value = true)` [#](#method-showaxislines-chartforgex-core-chartoptions-boolean) 

Sets [ChartOptions.ShowAxisLines](/api/chartforgex-core-chartoptions/): Gets or sets axis-rule visibility for every configured axis.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Core.ChartOptions { ShowAxisLines = value };    chartOptions.ShowAxisLines(value);
```

 `public static ChartOptions ShowCard(ChartOptions chartOptions, bool value = true)` [#](#method-showcard-chartforgex-core-chartoptions-boolean) 

Sets [ChartOptions.ShowCard](/api/chartforgex-core-chartoptions/): Gets or sets a value indicating whether the outer card surface is rendered.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::ChartForgeX.Core.ChartOptions { ShowCard = value };    chartOptions.ShowCard(value);
```

 `public static ChartOptions ShowGrid(ChartOptions chartOptions, bool value = true)` [#](#method-showgrid-chartforgex-core-chartoptions-boolean) 

Sets [ChartOptions.ShowGrid](/api/chartforgex-core-chartoptions/): Gets or sets a value indicating whether grid lines are rendered.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::ChartForgeX.Core.ChartOptions { ShowGrid = value };    chartOptions.ShowGrid(value);
```

 `public static ChartOptions ShowHeader(ChartOptions chartOptions, bool value = true)` [#](#method-showheader-chartforgex-core-chartoptions-boolean) 

Sets [ChartOptions.ShowHeader](/api/chartforgex-core-chartoptions/): Gets or sets a value indicating whether the title and subtitle are rendered.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                        // C# fluent
new global::ChartForgeX.Core.ChartOptions { ShowHeader = value };    chartOptions.ShowHeader(value);
```

 `public static ChartOptions ShowPlotBackground(ChartOptions chartOptions, bool value = true)` [#](#method-showplotbackground-chartforgex-core-chartoptions-boolean) 

Sets [ChartOptions.ShowPlotBackground](/api/chartforgex-core-chartoptions/): Gets or sets a value indicating whether the plot background surface is rendered.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Core.ChartOptions { ShowPlotBackground = value };    chartOptions.ShowPlotBackground(value);
```

 `public static ChartOptions Size(ChartOptions chartOptions, ChartSize value)` [#](#method-size-chartforgex-core-chartoptions-chartforgex-primitives-chartsize) 

Sets [ChartOptions.Size](/api/chartforgex-core-chartoptions/): Gets or sets the rendered chart size in pixels.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Primitives.ChartSize required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                  // C# fluent
new global::ChartForgeX.Core.ChartOptions { Size = value };    chartOptions.Size(value);
```

 `public static ChartOptions SlopeOrientation(ChartOptions chartOptions, ChartOrientation value)` [#](#method-slopeorientation-chartforgex-core-chartoptions-chartforgex-core-chartorientation) 

Sets [ChartOptions.SlopeOrientation](/api/chartforgex-core-chartoptions/): Gets or sets slope orientation without sorting or replacing its stage observations.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartOrientation required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Core.ChartOptions { SlopeOrientation = value };    chartOptions.SlopeOrientation(value);
```

 StateTimeline 2 overloads 

 `public static ChartOptions StateTimeline(ChartOptions chartOptions, ChartStateTimelineOptions value)` [#](#method-statetimeline-chartforgex-core-chartoptions-chartforgex-core-chartstatetimelineoptions) 

Sets [ChartOptions.StateTimeline](/api/chartforgex-core-chartoptions/): Gets or sets the state timeline categories and summary.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartStateTimelineOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Core.ChartOptions { StateTimeline = value };    chartOptions.StateTimeline(value);
```

 `public static ChartOptions StateTimeline(ChartOptions chartOptions, Action<ChartStateTimelineOptions> configure)` [#](#method-statetimeline-chartforgex-core-chartoptions-action-chartforgex-core-chartstatetimelineoptions) 

Configures a copy of [ChartOptions.StateTimeline](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the state timeline categories and summary.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartStateTimelineOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 SubtitleStyle 2 overloads 

 `public static ChartOptions SubtitleStyle(ChartOptions chartOptions, TextStyleOverride value)` [#](#method-subtitlestyle-chartforgex-core-chartoptions-chartforgex-typography-textstyleoverride) 

Sets [ChartOptions.SubtitleStyle](/api/chartforgex-core-chartoptions/): Gets the text style used for chart subtitles.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Typography.TextStyleOverride required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Core.ChartOptions { SubtitleStyle = value };    chartOptions.SubtitleStyle(value);
```

 `public static ChartOptions SubtitleStyle(ChartOptions chartOptions, Action<TextStyleOverride> configure)` [#](#method-subtitlestyle-chartforgex-core-chartoptions-action-chartforgex-typography-textstyleoverride) 

Configures a copy of [ChartOptions.SubtitleStyle](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the text style used for chart subtitles.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Typography.TextStyleOverride> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 Sunburst 2 overloads 

 `public static ChartOptions Sunburst(ChartOptions chartOptions, ChartSunburstOptions value)` [#](#method-sunburst-chartforgex-core-chartoptions-chartforgex-core-chartsunburstoptions) 

Sets [ChartOptions.Sunburst](/api/chartforgex-core-chartoptions/): Gets the Sunburst parent-size and independent numeric color options.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartSunburstOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::ChartForgeX.Core.ChartOptions { Sunburst = value };    chartOptions.Sunburst(value);
```

 `public static ChartOptions Sunburst(ChartOptions chartOptions, Action<ChartSunburstOptions> configure)` [#](#method-sunburst-chartforgex-core-chartoptions-action-chartforgex-core-chartsunburstoptions) 

Configures a copy of [ChartOptions.Sunburst](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the Sunburst parent-size and independent numeric color options.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartSunburstOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 `public static ChartOptions SvgColorVariables(ChartOptions chartOptions, SvgColorVariables? value)` [#](#method-svgcolorvariables-chartforgex-core-chartoptions-chartforgex-themes-svgcolorvariables) 

Sets [ChartOptions.SvgColorVariables](/api/chartforgex-core-chartoptions/): Gets or sets the CSS custom properties SVG output writes for mapped colours (see [SvgColorVariables](/api/chartforgex-themes-svgcolorvariables/)); null (the default) writes literal colours. PNG output always uses literal colours.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Themes.SvgColorVariables? required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartOptions { SvgColorVariables = value };    chartOptions.SvgColorVariables(value);
```

 `public static ChartOptions Theme(ChartOptions chartOptions, VisualTheme value)` [#](#method-theme-chartforgex-core-chartoptions-chartforgex-themes-visualtheme) 

Sets [ChartOptions.Theme](/api/chartforgex-core-chartoptions/): Gets or sets the visual theme used by renderers.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Themes.VisualTheme required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                   // C# fluent
new global::ChartForgeX.Core.ChartOptions { Theme = value };    chartOptions.Theme(value);
```

 `public static ChartOptions ThemeMode(ChartOptions chartOptions, ThemeMode value)` [#](#method-thememode-chartforgex-core-chartoptions-chartforgex-thememode) 

Sets [ChartOptions.ThemeMode](/api/chartforgex-core-chartoptions/): Gets or sets the explicit color-palette mode.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.ThemeMode required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::ChartForgeX.Core.ChartOptions { ThemeMode = value };    chartOptions.ThemeMode(value);
```

 `public static ChartOptions TickCount(ChartOptions chartOptions, int value)` [#](#method-tickcount-chartforgex-core-chartoptions-int32) 

Sets [ChartOptions.TickCount](/api/chartforgex-core-chartoptions/): Gets or sets the shared legacy tick count for every axis.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value int required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::ChartForgeX.Core.ChartOptions { TickCount = value };    chartOptions.TickCount(value);
```

 TickLabelStyle 2 overloads 

 `public static ChartOptions TickLabelStyle(ChartOptions chartOptions, TextStyleOverride value)` [#](#method-ticklabelstyle-chartforgex-core-chartoptions-chartforgex-typography-textstyleoverride) 

Sets [ChartOptions.TickLabelStyle](/api/chartforgex-core-chartoptions/): Gets the text style used for axis tick and category labels.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Typography.TextStyleOverride required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartOptions { TickLabelStyle = value };    chartOptions.TickLabelStyle(value);
```

 `public static ChartOptions TickLabelStyle(ChartOptions chartOptions, Action<TextStyleOverride> configure)` [#](#method-ticklabelstyle-chartforgex-core-chartoptions-action-chartforgex-typography-textstyleoverride) 

Configures a copy of [ChartOptions.TickLabelStyle](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the text style used for axis tick and category labels.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Typography.TextStyleOverride> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 TitleStyle 2 overloads 

 `public static ChartOptions TitleStyle(ChartOptions chartOptions, TextStyleOverride value)` [#](#method-titlestyle-chartforgex-core-chartoptions-chartforgex-typography-textstyleoverride) 

Sets [ChartOptions.TitleStyle](/api/chartforgex-core-chartoptions/): Gets the text style used for chart titles.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Typography.TextStyleOverride required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                        // C# fluent
new global::ChartForgeX.Core.ChartOptions { TitleStyle = value };    chartOptions.TitleStyle(value);
```

 `public static ChartOptions TitleStyle(ChartOptions chartOptions, Action<TextStyleOverride> configure)` [#](#method-titlestyle-chartforgex-core-chartoptions-action-chartforgex-typography-textstyleoverride) 

Configures a copy of [ChartOptions.TitleStyle](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the text style used for chart titles.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Typography.TextStyleOverride> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 `public static ChartOptions TransparentBackground(ChartOptions chartOptions, bool value = true)` [#](#method-transparentbackground-chartforgex-core-chartoptions-boolean) 

Sets [ChartOptions.TransparentBackground](/api/chartforgex-core-chartoptions/): Gets or sets a value indicating whether the chart background should be transparent.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.Core.ChartOptions { TransparentBackground = value };    chartOptions.TransparentBackground(value);
```

 Treemap 2 overloads 

 `public static ChartOptions Treemap(ChartOptions chartOptions, ChartTreemapOptions value)` [#](#method-treemap-chartforgex-core-chartoptions-chartforgex-core-charttreemapoptions) 

Sets [ChartOptions.Treemap](/api/chartforgex-core-chartoptions/): Gets the treemap spacing, group-caption and independent numeric color options.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartTreemapOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                     // C# fluent
new global::ChartForgeX.Core.ChartOptions { Treemap = value };    chartOptions.Treemap(value);
```

 `public static ChartOptions Treemap(ChartOptions chartOptions, Action<ChartTreemapOptions> configure)` [#](#method-treemap-chartforgex-core-chartoptions-action-chartforgex-core-charttreemapoptions) 

Configures a copy of [ChartOptions.Treemap](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the treemap spacing, group-caption and independent numeric color options.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartTreemapOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 `public static ChartOptions ValueFormat(ChartOptions chartOptions, ChartValueFormat value)` [#](#method-valueformat-chartforgex-core-chartoptions-chartforgex-core-chartvalueformat) 

Sets [ChartOptions.ValueFormat](/api/chartforgex-core-chartoptions/): Gets or sets the shared numeric display policy. Existing chart defaults retain grouped values below ten thousand.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartValueFormat required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                         // C# fluent
new global::ChartForgeX.Core.ChartOptions { ValueFormat = value };    chartOptions.ValueFormat(value);
```

 `public static ChartOptions ValueUnit(ChartOptions chartOptions, string? value)` [#](#method-valueunit-chartforgex-core-chartoptions-string) 

Sets [ChartOptions.ValueUnit](/api/chartforgex-core-chartoptions/): Gets or sets the unit appended to values in tooltips, readouts and accessible names, or null for none.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value string? required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::ChartForgeX.Core.ChartOptions { ValueUnit = value };    chartOptions.ValueUnit(value);
```

 Waterfall 2 overloads 

 `public static ChartOptions Waterfall(ChartOptions chartOptions, ChartWaterfallOptions value)` [#](#method-waterfall-chartforgex-core-chartoptions-chartforgex-core-chartwaterfalloptions) 

Sets [ChartOptions.Waterfall](/api/chartforgex-core-chartoptions/): Gets the waterfall orientation settings shared by static exports.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartWaterfallOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::ChartForgeX.Core.ChartOptions { Waterfall = value };    chartOptions.Waterfall(value);
```

 `public static ChartOptions Waterfall(ChartOptions chartOptions, Action<ChartWaterfallOptions> configure)` [#](#method-waterfall-chartforgex-core-chartoptions-action-chartforgex-core-chartwaterfalloptions) 

Configures a copy of [ChartOptions.Waterfall](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the waterfall orientation settings shared by static exports.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartWaterfallOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 WordCloud 2 overloads 

 `public static ChartOptions WordCloud(ChartOptions chartOptions, ChartWordCloudOptions value)` [#](#method-wordcloud-chartforgex-core-chartoptions-chartforgex-core-chartwordcloudoptions) 

Sets [ChartOptions.WordCloud](/api/chartforgex-core-chartoptions/): Gets or sets the word cloud sizing, angles and density.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartWordCloudOptions required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::ChartForgeX.Core.ChartOptions { WordCloud = value };    chartOptions.WordCloud(value);
```

 `public static ChartOptions WordCloud(ChartOptions chartOptions, Action<ChartWordCloudOptions> configure)` [#](#method-wordcloud-chartforgex-core-chartoptions-action-chartforgex-core-chartwordcloudoptions) 

Configures a copy of [ChartOptions.WordCloud](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the word cloud sizing, angles and density.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartWordCloudOptions> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 XAxis 2 overloads 

 `public static ChartOptions XAxis(ChartOptions chartOptions, ChartAxis value)` [#](#method-xaxis-chartforgex-core-chartoptions-chartforgex-core-chartaxis) 

Sets [ChartOptions.XAxis](/api/chartforgex-core-chartoptions/): Gets the primary horizontal axis.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartAxis required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                   // C# fluent
new global::ChartForgeX.Core.ChartOptions { XAxis = value };    chartOptions.XAxis(value);
```

 `public static ChartOptions XAxis(ChartOptions chartOptions, Action<ChartAxis> configure)` [#](#method-xaxis-chartforgex-core-chartoptions-action-chartforgex-core-chartaxis) 

Configures a copy of [ChartOptions.XAxis](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the primary horizontal axis.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartAxis> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

 YAxis 2 overloads 

 `public static ChartOptions YAxis(ChartOptions chartOptions, ChartAxis value)` [#](#method-yaxis-chartforgex-core-chartoptions-chartforgex-core-chartaxis) 

Sets [ChartOptions.YAxis](/api/chartforgex-core-chartoptions/): Gets the primary vertical axis.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**value ChartForgeX.Core.ChartAxis required**

The value.

Returns

 `ChartOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                   // C# fluent
new global::ChartForgeX.Core.ChartOptions { YAxis = value };    chartOptions.YAxis(value);
```

 `public static ChartOptions YAxis(ChartOptions chartOptions, Action<ChartAxis> configure)` [#](#method-yaxis-chartforgex-core-chartoptions-action-chartforgex-core-chartaxis) 

Configures a copy of [ChartOptions.YAxis](/api/chartforgex-core-chartoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the primary vertical axis.

Parameters

**chartOptions ChartForgeX.Core.ChartOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartAxis> required**

Configures the copy.

Returns

 `ChartOptions` The same instance. 

## 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?` 

<!-- PowerForge markdown artifact sha256:42BFC13E08AA82E55237D483E4894BF49AE1CC2A46C177959414FAE980C6810E -->
