# ChartFluent

Hand-written shortcuts on Chart for switches that read better than a configure callback.

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[Chart.Shortcuts.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/Chart.Shortcuts.cs#L12)

**Modifiers**

static

Hand-written shortcuts on [Chart](/api/chartforgex-core-chart/) for switches that read better than a configure callback.

## Inheritance

- object
- ChartFluent

 Filter members   

    Show inherited   

 

## Methods

 Accessibility 2 overloads 

 `public static Chart Accessibility(Chart chart, VisualAccessibility value)` [#](#method-accessibility-chartforgex-core-chart-chartforgex-accessibility-visualaccessibility) 

Sets [Chart.Accessibility](/api/chartforgex-core-chart/): Gets accessibility metadata shared by capable renderers and hosts.

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Accessibility.VisualAccessibility required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::ChartForgeX.Core.Chart { Accessibility = value };    chart.Accessibility(value);
```

 `public static Chart Accessibility(Chart chart, Action<VisualAccessibility> configure)` [#](#method-accessibility-chartforgex-core-chart-action-chartforgex-accessibility-visualaccessibility) 

Configures a copy of [Chart.Accessibility](/api/chartforgex-core-chart/) (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 accessibility metadata shared by capable renderers and hosts.

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**configure System.Action<ChartForgeX.Accessibility.VisualAccessibility> required**

Configures the copy.

Returns

 `Chart` The same instance. 

 AxisTitleStyle 2 overloads 

 `public static Chart AxisTitleStyle(Chart chart, TextStyleOverride value)` [#](#method-axistitlestyle-chartforgex-core-chart-chartforgex-typography-textstyleoverride) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Typography.TextStyleOverride required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property            // C# fluent
chart.Options.AxisTitleStyle = value;    chart.AxisTitleStyle(value);
```

 `public static Chart AxisTitleStyle(Chart chart, Action<TextStyleOverride> configure)` [#](#method-axistitlestyle-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Bars 2 overloads 

 `public static Chart Bars(Chart chart, ChartBarOptions value)` [#](#method-bars-chartforgex-core-chart-chartforgex-core-chartbaroptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartBarOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Bars = value;      chart.Bars(value);
```

 `public static Chart Bars(Chart chart, Action<ChartBarOptions> configure)` [#](#method-bars-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 BoxPlot 2 overloads 

 `public static Chart BoxPlot(Chart chart, ChartBoxPlotOptions value)` [#](#method-boxplot-chartforgex-core-chart-chartforgex-core-chartboxplotoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartBoxPlotOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property     // C# fluent
chart.Options.BoxPlot = value;    chart.BoxPlot(value);
```

 `public static Chart BoxPlot(Chart chart, Action<ChartBoxPlotOptions> configure)` [#](#method-boxplot-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Bubble 2 overloads 

 `public static Chart Bubble(Chart chart, ChartBubbleOptions value)` [#](#method-bubble-chartforgex-core-chart-chartforgex-core-chartbubbleoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartBubbleOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Bubble = value;    chart.Bubble(value);
```

 `public static Chart Bubble(Chart chart, Action<ChartBubbleOptions> configure)` [#](#method-bubble-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Bullet 2 overloads 

 `public static Chart Bullet(Chart chart, ChartBulletOptions value)` [#](#method-bullet-chartforgex-core-chart-chartforgex-core-chartbulletoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartBulletOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Bullet = value;    chart.Bullet(value);
```

 `public static Chart Bullet(Chart chart, Action<ChartBulletOptions> configure)` [#](#method-bullet-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Calendar 2 overloads 

 `public static Chart Calendar(Chart chart, ChartCalendarOptions value)` [#](#method-calendar-chartforgex-core-chart-chartforgex-core-chartcalendaroptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartCalendarOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property      // C# fluent
chart.Options.Calendar = value;    chart.Calendar(value);
```

 `public static Chart Calendar(Chart chart, Action<ChartCalendarOptions> configure)` [#](#method-calendar-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Chord 2 overloads 

 `public static Chart Chord(Chart chart, ChartChordOptions value)` [#](#method-chord-chartforgex-core-chart-chartforgex-core-chartchordoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartChordOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Chord = value;     chart.Chord(value);
```

 `public static Chart Chord(Chart chart, Action<ChartChordOptions> configure)` [#](#method-chord-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Circle 2 overloads 

 `public static Chart Circle(Chart chart, ChartCircleOptions value)` [#](#method-circle-chartforgex-core-chart-chartforgex-core-chartcircleoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartCircleOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Circle = value;    chart.Circle(value);
```

 `public static Chart Circle(Chart chart, Action<ChartCircleOptions> configure)` [#](#method-circle-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

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

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property             // C# fluent
chart.Options.ClipMarksToPlot = value;    chart.ClipMarksToPlot(value);
```

 DataLabels 3 overloads 

 `public static Chart DataLabels(Chart chart, bool visible = true)` [#](#method-datalabels-chartforgex-core-chart-boolean) 

[Chart.Shortcuts.cs:22](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/Chart.Shortcuts.cs#L22)

Shows or hides data labels for every series that doesn't set its own.

Parameters

**chart ChartForgeX.Core.Chart required**

The chart to configure.

**visible bool = true optional**

Whether data labels are shown; true when omitted.

Returns

 `Chart` The same chart. 

 `public static Chart DataLabels(Chart chart, ChartDataLabelOptions value)` [#](#method-datalabels-chartforgex-core-chart-chartforgex-core-chartdatalabeloptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartDataLabelOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property        // C# fluent
chart.Options.DataLabels = value;    chart.DataLabels(value);
```

 `public static Chart DataLabels(Chart chart, Action<ChartDataLabelOptions> configure)` [#](#method-datalabels-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 DataLabelStyle 2 overloads 

 `public static Chart DataLabelStyle(Chart chart, TextStyleOverride value)` [#](#method-datalabelstyle-chartforgex-core-chart-chartforgex-typography-textstyleoverride) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Typography.TextStyleOverride required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property            // C# fluent
chart.Options.DataLabelStyle = value;    chart.DataLabelStyle(value);
```

 `public static Chart DataLabelStyle(Chart chart, Action<TextStyleOverride> configure)` [#](#method-datalabelstyle-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 `public static Chart DumbbellOrientation(Chart chart, ChartOrientation value)` [#](#method-dumbbellorientation-chartforgex-core-chart-chartforgex-core-chartorientation) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartOrientation required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property                 // C# fluent
chart.Options.DumbbellOrientation = value;    chart.DumbbellOrientation(value);
```

 `public static Chart FormatValuesBy(Chart chart, Func<double, string>? value)` [#](#method-formatvaluesby-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

The callback.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property            // C# fluent
chart.Options.ValueFormatter = value;    chart.FormatValuesBy(value);
```

 Funnel 2 overloads 

 `public static Chart Funnel(Chart chart, ChartFunnelOptions value)` [#](#method-funnel-chartforgex-core-chart-chartforgex-core-chartfunneloptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartFunnelOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Funnel = value;    chart.Funnel(value);
```

 `public static Chart Funnel(Chart chart, Action<ChartFunnelOptions> configure)` [#](#method-funnel-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Gantt 2 overloads 

 `public static Chart Gantt(Chart chart, ChartGanttOptions value)` [#](#method-gantt-chartforgex-core-chart-chartforgex-core-chartganttoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartGanttOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Gantt = value;     chart.Gantt(value);
```

 `public static Chart Gantt(Chart chart, Action<ChartGanttOptions> configure)` [#](#method-gantt-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Gauge 2 overloads 

 `public static Chart Gauge(Chart chart, ChartGaugeOptions value)` [#](#method-gauge-chartforgex-core-chart-chartforgex-core-chartgaugeoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartGaugeOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Gauge = value;     chart.Gauge(value);
```

 `public static Chart Gauge(Chart chart, Action<ChartGaugeOptions> configure)` [#](#method-gauge-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 GridLineStyle 2 overloads 

 `public static Chart GridLineStyle(Chart chart, ChartGridLineStyle style)` [#](#method-gridlinestyle-chartforgex-core-chart-chartforgex-core-chartgridlinestyle) 

[Chart.Shortcuts.cs:32](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/Chart.Shortcuts.cs#L32)

Sets the grid and guide line style. An assigned style overrides the theme's grid stroke width.

Parameters

**chart ChartForgeX.Core.Chart required**

The chart to configure.

**style ChartForgeX.Core.ChartGridLineStyle required**

The style; a copy is stored.

Returns

 `Chart` The same chart. 

 `public static Chart GridLineStyle(Chart chart, Action<ChartGridLineStyle> configure)` [#](#method-gridlinestyle-chartforgex-core-chart-action-chartforgex-core-chartgridlinestyle) 

[Chart.Shortcuts.cs:42](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/Chart.Shortcuts.cs#L42)

Refines the grid and guide line style on a copy, installed when the callback returns. Unlike assigning a style, it keeps the theme's grid stroke width unless the callback sets one.

Parameters

**chart ChartForgeX.Core.Chart required**

The chart to configure.

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

Edits the copy.

Returns

 `Chart` The same chart. 

 Heatmap 2 overloads 

 `public static Chart Heatmap(Chart chart, ChartHeatmapOptions value)` [#](#method-heatmap-chartforgex-core-chart-chartforgex-core-chartheatmapoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartHeatmapOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property     // C# fluent
chart.Options.Heatmap = value;    chart.Heatmap(value);
```

 `public static Chart Heatmap(Chart chart, Action<ChartHeatmapOptions> configure)` [#](#method-heatmap-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 `public static Chart HostOwnsFrame(Chart chart, bool value = true)` [#](#method-hostownsframe-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property           // C# fluent
chart.Options.HostOwnsFrame = value;    chart.HostOwnsFrame(value);
```

 Labels 2 overloads 

 `public static Chart Labels(Chart chart, ChartLabels value)` [#](#method-labels-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartLabels required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Labels = value;    chart.Labels(value);
```

 `public static Chart Labels(Chart chart, Action<ChartLabels> configure)` [#](#method-labels-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Legend 3 overloads 

 `public static Chart Legend(Chart chart, bool visible = true)` [#](#method-legend-chartforgex-core-chart-boolean) 

[Chart.Shortcuts.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/Chart.Shortcuts.cs#L12)

Shows or hides the legend. A default legend with one entry stays hidden; an explicit true also shows a single entry.

Parameters

**chart ChartForgeX.Core.Chart required**

The chart to configure.

**visible bool = true optional**

Whether the legend is shown; true when omitted.

Returns

 `Chart` The same chart. 

 `public static Chart Legend(Chart chart, ChartLegendOptions value)` [#](#method-legend-chartforgex-core-chart-chartforgex-core-chartlegendoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartLegendOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Legend = value;    chart.Legend(value);
```

 `public static Chart Legend(Chart chart, Action<ChartLegendOptions> configure)` [#](#method-legend-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 LegendStyle 2 overloads 

 `public static Chart LegendStyle(Chart chart, TextStyleOverride value)` [#](#method-legendstyle-chartforgex-core-chart-chartforgex-typography-textstyleoverride) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Typography.TextStyleOverride required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property         // C# fluent
chart.Options.LegendStyle = value;    chart.LegendStyle(value);
```

 `public static Chart LegendStyle(Chart chart, Action<TextStyleOverride> configure)` [#](#method-legendstyle-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Lines 2 overloads 

 `public static Chart Lines(Chart chart, ChartLineOptions value)` [#](#method-lines-chartforgex-core-chart-chartforgex-core-chartlineoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartLineOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Lines = value;     chart.Lines(value);
```

 `public static Chart Lines(Chart chart, Action<ChartLineOptions> configure)` [#](#method-lines-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 `public static Chart LollipopOrientation(Chart chart, ChartOrientation value)` [#](#method-lollipoporientation-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartOrientation required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property                 // C# fluent
chart.Options.LollipopOrientation = value;    chart.LollipopOrientation(value);
```

 Map 2 overloads 

 `public static Chart Map(Chart chart, ChartMapOptions value)` [#](#method-map-chartforgex-core-chart-chartforgex-core-chartmapoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartMapOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Map = value;       chart.Map(value);
```

 `public static Chart Map(Chart chart, Action<ChartMapOptions> configure)` [#](#method-map-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 `public static Chart MarkBackdrop(Chart chart, ChartMarkBackdrop value)` [#](#method-markbackdrop-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartMarkBackdrop required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property          // C# fluent
chart.Options.MarkBackdrop = value;    chart.MarkBackdrop(value);
```

 `public static Chart Options(Chart chart, Action<ChartOptions> configure)` [#](#method-options-chartforgex-core-chart-action-chartforgex-core-chartoptions) 

Configures [Chart.Options](/api/chartforgex-core-chart/) in place: Gets the chart options.

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the value.

Returns

 `Chart` The same instance. 

 `public static Chart Padding(Chart chart, ChartPadding value)` [#](#method-padding-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Primitives.ChartPadding required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property     // C# fluent
chart.Options.Padding = value;    chart.Padding(value);
```

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

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property     // C# fluent
chart.Options.IsPanel = value;    chart.Panel(value);
```

 Pictorial 2 overloads 

 `public static Chart Pictorial(Chart chart, ChartPictorialOptions value)` [#](#method-pictorial-chartforgex-core-chart-chartforgex-core-chartpictorialoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartPictorialOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property       // C# fluent
chart.Options.Pictorial = value;    chart.Pictorial(value);
```

 `public static Chart Pictorial(Chart chart, Action<ChartPictorialOptions> configure)` [#](#method-pictorial-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Pie 2 overloads 

 `public static Chart Pie(Chart chart, ChartPieOptions value)` [#](#method-pie-chartforgex-core-chart-chartforgex-core-chartpieoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartPieOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Pie = value;       chart.Pie(value);
```

 `public static Chart Pie(Chart chart, Action<ChartPieOptions> configure)` [#](#method-pie-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 `public static Chart PlotRegion(Chart chart, ChartPlotRegion item)` [#](#method-plotregion-chartforgex-core-chart-chartforgex-core-chartplotregion) 

Adds an item to [Chart.PlotRegions](/api/chartforgex-core-chart/): Gets the owned Cartesian background regions, painted in insertion order.

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**item ChartForgeX.Core.ChartPlotRegion required**

The item.

Returns

 `Chart` The same instance. 

 `public static Chart PlotRegions(Chart chart, IEnumerable<ChartPlotRegion> items)` [#](#method-plotregions-chartforgex-core-chart-collections-generic-ienumerable-chartforgex-core-chartplotregion) 

Adds items to [Chart.PlotRegions](/api/chartforgex-core-chart/): Gets the owned Cartesian background regions, painted in insertion order.

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartPlotRegion> required**

The items, in order.

Returns

 `Chart` The same instance. 

 Polar 2 overloads 

 `public static Chart Polar(Chart chart, ChartPolarLayoutOptions value)` [#](#method-polar-chartforgex-core-chart-chartforgex-core-chartpolarlayoutoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartPolarLayoutOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Polar = value;     chart.Polar(value);
```

 `public static Chart Polar(Chart chart, Action<ChartPolarLayoutOptions> configure)` [#](#method-polar-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Progress 2 overloads 

 `public static Chart Progress(Chart chart, ChartProgressOptions value)` [#](#method-progress-chartforgex-core-chart-chartforgex-core-chartprogressoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartProgressOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property      // C# fluent
chart.Options.Progress = value;    chart.Progress(value);
```

 `public static Chart Progress(Chart chart, Action<ChartProgressOptions> configure)` [#](#method-progress-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Pyramid 2 overloads 

 `public static Chart Pyramid(Chart chart, ChartPyramidOptions value)` [#](#method-pyramid-chartforgex-core-chart-chartforgex-core-chartpyramidoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartPyramidOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property     // C# fluent
chart.Options.Pyramid = value;    chart.Pyramid(value);
```

 `public static Chart Pyramid(Chart chart, Action<ChartPyramidOptions> configure)` [#](#method-pyramid-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 `public static Chart RadialBandAllocation(Chart chart, ChartRadialBandAllocation? value)` [#](#method-radialbandallocation-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property                  // C# fluent
chart.Options.RadialBandAllocation = value;    chart.RadialBandAllocation(value);
```

 `public static Chart RadialGeometry(Chart chart, ChartRadialGeometryOptions value)` [#](#method-radialgeometry-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartRadialGeometryOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property            // C# fluent
chart.Options.RadialGeometry = value;    chart.RadialGeometry(value);
```

 RangeBar 2 overloads 

 `public static Chart RangeBar(Chart chart, ChartRangeBarOptions value)` [#](#method-rangebar-chartforgex-core-chart-chartforgex-core-chartrangebaroptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartRangeBarOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property      // C# fluent
chart.Options.RangeBar = value;    chart.RangeBar(value);
```

 `public static Chart RangeBar(Chart chart, Action<ChartRangeBarOptions> configure)` [#](#method-rangebar-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Raster 2 overloads 

 `public static Chart Raster(Chart chart, ChartRasterOptions value)` [#](#method-raster-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartRasterOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Raster = value;    chart.Raster(value);
```

 `public static Chart Raster(Chart chart, Action<ChartRasterOptions> configure)` [#](#method-raster-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Sankey 2 overloads 

 `public static Chart Sankey(Chart chart, ChartSankeyOptions value)` [#](#method-sankey-chartforgex-core-chart-chartforgex-core-chartsankeyoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartSankeyOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Sankey = value;    chart.Sankey(value);
```

 `public static Chart Sankey(Chart chart, Action<ChartSankeyOptions> configure)` [#](#method-sankey-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 SecondaryXAxis 2 overloads 

 `public static Chart SecondaryXAxis(Chart chart, ChartAxis value)` [#](#method-secondaryxaxis-chartforgex-core-chart-chartforgex-core-chartaxis) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartAxis required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property            // C# fluent
chart.Options.SecondaryXAxis = value;    chart.SecondaryXAxis(value);
```

 `public static Chart SecondaryXAxis(Chart chart, Action<ChartAxis> configure)` [#](#method-secondaryxaxis-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 SecondaryYAxis 2 overloads 

 `public static Chart SecondaryYAxis(Chart chart, ChartAxis value)` [#](#method-secondaryyaxis-chartforgex-core-chart-chartforgex-core-chartaxis) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartAxis required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property            // C# fluent
chart.Options.SecondaryYAxis = value;    chart.SecondaryYAxis(value);
```

 `public static Chart SecondaryYAxis(Chart chart, Action<ChartAxis> configure)` [#](#method-secondaryyaxis-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 `public static Chart SeriesColorAssignment(Chart chart, ChartSeriesColorAssignment value)` [#](#method-seriescolorassignment-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartSeriesColorAssignment required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property                   // C# fluent
chart.Options.SeriesColorAssignment = value;    chart.SeriesColorAssignment(value);
```

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

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property      // C# fluent
chart.Options.ShowAxes = value;    chart.ShowAxes(value);
```

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

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property           // C# fluent
chart.Options.ShowAxisLines = value;    chart.ShowAxisLines(value);
```

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

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property      // C# fluent
chart.Options.ShowCard = value;    chart.ShowCard(value);
```

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

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property      // C# fluent
chart.Options.ShowGrid = value;    chart.ShowGrid(value);
```

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

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property        // C# fluent
chart.Options.ShowHeader = value;    chart.ShowHeader(value);
```

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

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property                // C# fluent
chart.Options.ShowPlotBackground = value;    chart.ShowPlotBackground(value);
```

 `public static Chart Size(Chart chart, ChartSize value)` [#](#method-size-chartforgex-core-chart-chartforgex-primitives-chartsize) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Primitives.ChartSize required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Size = value;      chart.Size(value);
```

 `public static Chart SlopeOrientation(Chart chart, ChartOrientation value)` [#](#method-slopeorientation-chartforgex-core-chart-chartforgex-core-chartorientation) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartOrientation required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property              // C# fluent
chart.Options.SlopeOrientation = value;    chart.SlopeOrientation(value);
```

 StateTimeline 2 overloads 

 `public static Chart StateTimeline(Chart chart, ChartStateTimelineOptions value)` [#](#method-statetimeline-chartforgex-core-chart-chartforgex-core-chartstatetimelineoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartStateTimelineOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property           // C# fluent
chart.Options.StateTimeline = value;    chart.StateTimeline(value);
```

 `public static Chart StateTimeline(Chart chart, Action<ChartStateTimelineOptions> configure)` [#](#method-statetimeline-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 `public static Chart Subtitle(Chart chart, string value)` [#](#method-subtitle-chartforgex-core-chart-string) 

Sets [Chart.Subtitle](/api/chartforgex-core-chart/): Gets or sets the chart subtitle.

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value string required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property                               // C# fluent
new global::ChartForgeX.Core.Chart { Subtitle = value };    chart.Subtitle(value);
```

 SubtitleStyle 2 overloads 

 `public static Chart SubtitleStyle(Chart chart, TextStyleOverride value)` [#](#method-subtitlestyle-chartforgex-core-chart-chartforgex-typography-textstyleoverride) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Typography.TextStyleOverride required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property           // C# fluent
chart.Options.SubtitleStyle = value;    chart.SubtitleStyle(value);
```

 `public static Chart SubtitleStyle(Chart chart, Action<TextStyleOverride> configure)` [#](#method-subtitlestyle-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 Sunburst 2 overloads 

 `public static Chart Sunburst(Chart chart, ChartSunburstOptions value)` [#](#method-sunburst-chartforgex-core-chart-chartforgex-core-chartsunburstoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartSunburstOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property      // C# fluent
chart.Options.Sunburst = value;    chart.Sunburst(value);
```

 `public static Chart Sunburst(Chart chart, Action<ChartSunburstOptions> configure)` [#](#method-sunburst-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 `public static Chart SvgColorVariables(Chart chart, SvgColorVariables? value)` [#](#method-svgcolorvariables-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property               // C# fluent
chart.Options.SvgColorVariables = value;    chart.SvgColorVariables(value);
```

 `public static Chart Theme(Chart chart, VisualTheme value)` [#](#method-theme-chartforgex-core-chart-chartforgex-themes-visualtheme) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Themes.VisualTheme required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.Theme = value;     chart.Theme(value);
```

 `public static Chart ThemeMode(Chart chart, ThemeMode value)` [#](#method-thememode-chartforgex-core-chart-chartforgex-thememode) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.ThemeMode required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property       // C# fluent
chart.Options.ThemeMode = value;    chart.ThemeMode(value);
```

 `public static Chart TickCount(Chart chart, int value)` [#](#method-tickcount-chartforgex-core-chart-int32) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value int required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property       // C# fluent
chart.Options.TickCount = value;    chart.TickCount(value);
```

 TickLabelStyle 2 overloads 

 `public static Chart TickLabelStyle(Chart chart, TextStyleOverride value)` [#](#method-ticklabelstyle-chartforgex-core-chart-chartforgex-typography-textstyleoverride) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Typography.TextStyleOverride required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property            // C# fluent
chart.Options.TickLabelStyle = value;    chart.TickLabelStyle(value);
```

 `public static Chart TickLabelStyle(Chart chart, Action<TextStyleOverride> configure)` [#](#method-ticklabelstyle-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 `public static Chart Title(Chart chart, string value)` [#](#method-title-chartforgex-core-chart-string) 

Sets [Chart.Title](/api/chartforgex-core-chart/): Gets or sets the chart title.

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value string required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property                            // C# fluent
new global::ChartForgeX.Core.Chart { Title = value };    chart.Title(value);
```

 TitleStyle 2 overloads 

 `public static Chart TitleStyle(Chart chart, TextStyleOverride value)` [#](#method-titlestyle-chartforgex-core-chart-chartforgex-typography-textstyleoverride) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Typography.TextStyleOverride required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property        // C# fluent
chart.Options.TitleStyle = value;    chart.TitleStyle(value);
```

 `public static Chart TitleStyle(Chart chart, Action<TextStyleOverride> configure)` [#](#method-titlestyle-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

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

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property                   // C# fluent
chart.Options.TransparentBackground = value;    chart.TransparentBackground(value);
```

 Treemap 2 overloads 

 `public static Chart Treemap(Chart chart, ChartTreemapOptions value)` [#](#method-treemap-chartforgex-core-chart-chartforgex-core-charttreemapoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartTreemapOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property     // C# fluent
chart.Options.Treemap = value;    chart.Treemap(value);
```

 `public static Chart Treemap(Chart chart, Action<ChartTreemapOptions> configure)` [#](#method-treemap-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 `public static Chart ValueFormat(Chart chart, ChartValueFormat value)` [#](#method-valueformat-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartValueFormat required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property         // C# fluent
chart.Options.ValueFormat = value;    chart.ValueFormat(value);
```

 `public static Chart ValueUnit(Chart chart, string? value)` [#](#method-valueunit-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

**value string? required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property       // C# fluent
chart.Options.ValueUnit = value;    chart.ValueUnit(value);
```

 Waterfall 2 overloads 

 `public static Chart Waterfall(Chart chart, ChartWaterfallOptions value)` [#](#method-waterfall-chartforgex-core-chart-chartforgex-core-chartwaterfalloptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartWaterfallOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property       // C# fluent
chart.Options.Waterfall = value;    chart.Waterfall(value);
```

 `public static Chart Waterfall(Chart chart, Action<ChartWaterfallOptions> configure)` [#](#method-waterfall-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 WordCloud 2 overloads 

 `public static Chart WordCloud(Chart chart, ChartWordCloudOptions value)` [#](#method-wordcloud-chartforgex-core-chart-chartforgex-core-chartwordcloudoptions) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartWordCloudOptions required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property       // C# fluent
chart.Options.WordCloud = value;    chart.WordCloud(value);
```

 `public static Chart WordCloud(Chart chart, Action<ChartWordCloudOptions> configure)` [#](#method-wordcloud-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 XAxis 2 overloads 

 `public static Chart XAxis(Chart chart, ChartAxis value)` [#](#method-xaxis-chartforgex-core-chart-chartforgex-core-chartaxis) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartAxis required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.XAxis = value;     chart.XAxis(value);
```

 `public static Chart XAxis(Chart chart, Action<ChartAxis> configure)` [#](#method-xaxis-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` The same instance. 

 YAxis 2 overloads 

 `public static Chart YAxis(Chart chart, ChartAxis value)` [#](#method-yaxis-chartforgex-core-chart-chartforgex-core-chartaxis) 

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

Parameters

**chart ChartForgeX.Core.Chart required**

The instance.

**value ChartForgeX.Core.ChartAxis required**

The value.

Returns

 `Chart` The same instance. 

Examples

```csharp
// C# initializer or property    // C# fluent
chart.Options.YAxis = value;     chart.YAxis(value);
```

 `public static Chart YAxis(Chart chart, Action<ChartAxis> configure)` [#](#method-yaxis-chartforgex-core-chart-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

**chart ChartForgeX.Core.Chart required**

The instance.

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

Configures the copy.

Returns

 `Chart` 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:1FEF9555D08DEBC2F9E13EA381B530D8BC41C2D9CF944ED4BD94BD8ED7ED21D9 -->
