# ChartLineOptions

Line styling, markers and orientation. Configure it through ChartOptions.Lines.

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartLineOptions.cs:21](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineOptions.cs#L21)

**Modifiers**

sealed

**Attributes**

 `Fluent(Copy = "Clone")` 

Line styling, markers and orientation. Configure it through [ChartOptions.Lines](/api/chartforgex-core-chartoptions/).

## Inheritance

- object
- ChartLineOptions

## Usage

 Explore 29 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 11

- Extension method [ChartLineOptions.LuminousStyle](/api/chartforgex-core-chartlineoptions/#extension-luminousstyle-chartforgex-core-chartlineoptions)
- Extension method [ChartLineOptions.MarkerMode](/api/chartforgex-core-chartlineoptions/#extension-markermode-chartforgex-core-chartlineoptions-nullable-chartforgex-core-chartlinemarkermode)
- Extension method [ChartLineOptions.Orientation](/api/chartforgex-core-chartlineoptions/#extension-orientation-chartforgex-core-chartlineoptions-chartforgex-core-chartorientation)
- Extension method [ChartLineOptions.PlainStyle](/api/chartforgex-core-chartlineoptions/#extension-plainstyle-chartforgex-core-chartlineoptions)
- Extension method [ChartLineOptions.VisualStyle](/api/chartforgex-core-chartlineoptions/#extension-visualstyle-chartforgex-core-chartlineoptions-chartforgex-core-chartlinevisualstyle)
- Method [ChartLineOptionsFluent.LuminousStyle](/api/chartforgex-core-chartlineoptionsfluent/#method-luminousstyle-chartforgex-core-chartlineoptions)
- Method [ChartLineOptionsFluent.MarkerMode](/api/chartforgex-core-chartlineoptionsfluent/#method-markermode-chartforgex-core-chartlineoptions-nullable-chartforgex-core-chartlinemarkermode)
- Method [ChartLineOptionsFluent.Orientation](/api/chartforgex-core-chartlineoptionsfluent/#method-orientation-chartforgex-core-chartlineoptions-chartforgex-core-chartorientation)
- Method [ChartLineOptionsFluent.PlainStyle](/api/chartforgex-core-chartlineoptionsfluent/#method-plainstyle-chartforgex-core-chartlineoptions)
- Method [ChartLineOptionsFluent.VisualStyle](/api/chartforgex-core-chartlineoptionsfluent/#method-visualstyle-chartforgex-core-chartlineoptions-chartforgex-core-chartlinevisualstyle)
- Property [ChartOptions.Lines](/api/chartforgex-core-chartoptions/#property-lines)

### Accepted by parameters 18

- Extension method [Chart.Lines](/api/chartforgex-core-chart/#extension-lines-chartforgex-core-chart-action-chartforgex-core-chartlineoptions) parameter `configure`
- Extension method [Chart.Lines](/api/chartforgex-core-chart/#extension-lines-chartforgex-core-chart-chartforgex-core-chartlineoptions) parameter `value`
- Method [ChartFluent.Lines](/api/chartforgex-core-chartfluent/#method-lines-chartforgex-core-chart-action-chartforgex-core-chartlineoptions) parameter `configure`
- Method [ChartFluent.Lines](/api/chartforgex-core-chartfluent/#method-lines-chartforgex-core-chart-chartforgex-core-chartlineoptions) parameter `value`
- Extension method [ChartLineOptions.LuminousStyle](/api/chartforgex-core-chartlineoptions/#extension-luminousstyle-chartforgex-core-chartlineoptions) parameter `chartLineOptions`
- Extension method [ChartLineOptions.MarkerMode](/api/chartforgex-core-chartlineoptions/#extension-markermode-chartforgex-core-chartlineoptions-nullable-chartforgex-core-chartlinemarkermode) parameter `chartLineOptions`
- Extension method [ChartLineOptions.Orientation](/api/chartforgex-core-chartlineoptions/#extension-orientation-chartforgex-core-chartlineoptions-chartforgex-core-chartorientation) parameter `chartLineOptions`
- Extension method [ChartLineOptions.PlainStyle](/api/chartforgex-core-chartlineoptions/#extension-plainstyle-chartforgex-core-chartlineoptions) parameter `chartLineOptions`
- Extension method [ChartLineOptions.VisualStyle](/api/chartforgex-core-chartlineoptions/#extension-visualstyle-chartforgex-core-chartlineoptions-action-chartforgex-core-chartlinevisualstyle) parameter `chartLineOptions`
- Method [ChartLineOptionsFluent.LuminousStyle](/api/chartforgex-core-chartlineoptionsfluent/#method-luminousstyle-chartforgex-core-chartlineoptions) parameter `chartLineOptions`
- Method [ChartLineOptionsFluent.MarkerMode](/api/chartforgex-core-chartlineoptionsfluent/#method-markermode-chartforgex-core-chartlineoptions-nullable-chartforgex-core-chartlinemarkermode) parameter `chartLineOptions`
- Method [ChartLineOptionsFluent.Orientation](/api/chartforgex-core-chartlineoptionsfluent/#method-orientation-chartforgex-core-chartlineoptions-chartforgex-core-chartorientation) parameter `chartLineOptions`
- Method [ChartLineOptionsFluent.PlainStyle](/api/chartforgex-core-chartlineoptionsfluent/#method-plainstyle-chartforgex-core-chartlineoptions) parameter `chartLineOptions`
- Method [ChartLineOptionsFluent.VisualStyle](/api/chartforgex-core-chartlineoptionsfluent/#method-visualstyle-chartforgex-core-chartlineoptions-chartforgex-core-chartlinevisualstyle) parameter `chartLineOptions`
- Extension method [ChartOptions.Lines](/api/chartforgex-core-chartoptions/#extension-lines-chartforgex-core-chartoptions-action-chartforgex-core-chartlineoptions) parameter `configure`
- Extension method [ChartOptions.Lines](/api/chartforgex-core-chartoptions/#extension-lines-chartforgex-core-chartoptions-chartforgex-core-chartlineoptions) parameter `value`
- Method [ChartOptionsFluent.Lines](/api/chartforgex-core-chartoptionsfluent/#method-lines-chartforgex-core-chartoptions-action-chartforgex-core-chartlineoptions) parameter `configure`
- Method [ChartOptionsFluent.Lines](/api/chartforgex-core-chartoptionsfluent/#method-lines-chartforgex-core-chartoptions-chartforgex-core-chartlineoptions) parameter `value`

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartLineOptions()` [#](#constructor-ctor) 

[ChartLineOptions.cs:21](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineOptions.cs#L21)

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from object

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

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

Inherited from object

Returns

 `string?` 

## Properties

 `public ChartLineMarkerMode? MarkerMode { get; set; }` [#](#property-markermode) 

[ChartLineOptions.cs:19](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineOptions.cs#L19)

Gets or sets optional line-marker visibility. Null uses the shared default (last point).

 `public ChartOrientation Orientation { get; set; }` [#](#property-orientation) 

[ChartLineOptions.cs:33](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineOptions.cs#L33)

Gets or sets the orientation of line and step-line series. Horizontal lines retain source X as the category coordinate on the physical Y axis and source Y as the value on the physical X axis. They use the primary axis and a linear or time category scale, and can share that orientation with horizontal bars.

 `public ChartLineVisualStyle VisualStyle { get; set; }` [#](#property-visualstyle) 

[ChartLineOptions.cs:47](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineOptions.cs#L47)

 `FluentPreset("PlainStyle", typeof(ChartLineVisualStyle), "Plain", Summary = "Uses plain lines without glow.")` `FluentPreset("LuminousStyle", typeof(ChartLineVisualStyle), "Luminous", Summary = "Uses luminous lines with a soft glow.")` 

Gets or sets reusable visual tokens for line, area boundary, trend, and slope strokes.

## Extension Methods

 `public static ChartLineOptions LuminousStyle(ChartLineOptions chartLineOptions)` [#](#extension-luminousstyle-chartforgex-core-chartlineoptions) 

Uses luminous lines with a soft glow.

Parameters

**chartLineOptions ChartForgeX.Core.ChartLineOptions required**

The instance.

Returns

 `ChartLineOptions` The same instance. 

 `public static ChartLineOptions MarkerMode(ChartLineOptions chartLineOptions, ChartLineMarkerMode? value)` [#](#extension-markermode-chartforgex-core-chartlineoptions-nullable-chartforgex-core-chartlinemarkermode) 

Sets [ChartLineOptions.MarkerMode](/api/chartforgex-core-chartlineoptions/): Gets or sets optional line-marker visibility. Null uses the shared default (last point).

Parameters

**chartLineOptions ChartForgeX.Core.ChartLineOptions required**

The instance.

**value ChartForgeX.Core.ChartLineMarkerMode? required**

The value.

Returns

 `ChartLineOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartLineOptions { MarkerMode = value };    chartLineOptions.MarkerMode(value);
```

 `public static ChartLineOptions Orientation(ChartLineOptions chartLineOptions, ChartOrientation value)` [#](#extension-orientation-chartforgex-core-chartlineoptions-chartforgex-core-chartorientation) 

Sets [ChartLineOptions.Orientation](/api/chartforgex-core-chartlineoptions/): Gets or sets the orientation of line and step-line series. Horizontal lines retain source X as the category coordinate on the physical Y axis and source Y as the value on the physical X axis. They use the primary axis and a linear or time category scale, and can share that orientation with horizontal bars.

Parameters

**chartLineOptions ChartForgeX.Core.ChartLineOptions required**

The instance.

**value ChartForgeX.Core.ChartOrientation required**

The value.

Returns

 `ChartLineOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Core.ChartLineOptions { Orientation = value };    chartLineOptions.Orientation(value);
```

 `public static ChartLineOptions PlainStyle(ChartLineOptions chartLineOptions)` [#](#extension-plainstyle-chartforgex-core-chartlineoptions) 

Uses plain lines without glow.

Parameters

**chartLineOptions ChartForgeX.Core.ChartLineOptions required**

The instance.

Returns

 `ChartLineOptions` The same instance. 

 VisualStyle 2 overloads 

 `public static ChartLineOptions VisualStyle(ChartLineOptions chartLineOptions, ChartLineVisualStyle value)` [#](#extension-visualstyle-chartforgex-core-chartlineoptions-chartforgex-core-chartlinevisualstyle) 

Sets [ChartLineOptions.VisualStyle](/api/chartforgex-core-chartlineoptions/): Gets or sets reusable visual tokens for line, area boundary, trend, and slope strokes.

Parameters

**chartLineOptions ChartForgeX.Core.ChartLineOptions required**

The instance.

**value ChartForgeX.Core.ChartLineVisualStyle required**

The value.

Returns

 `ChartLineOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Core.ChartLineOptions { VisualStyle = value };    chartLineOptions.VisualStyle(value);
```

 `public static ChartLineOptions VisualStyle(ChartLineOptions chartLineOptions, Action<ChartLineVisualStyle> configure)` [#](#extension-visualstyle-chartforgex-core-chartlineoptions-action-chartforgex-core-chartlinevisualstyle) 

Configures a copy of [ChartLineOptions.VisualStyle](/api/chartforgex-core-chartlineoptions/) (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 reusable visual tokens for line, area boundary, trend, and slope strokes.

Parameters

**chartLineOptions ChartForgeX.Core.ChartLineOptions required**

The instance.

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

Configures the copy.

Returns

 `ChartLineOptions` The same instance. 

<!-- PowerForge markdown artifact sha256:DBEF159259421AC205FE21E663634567F9D2F5602563A3DFDA92E893E5E176DA -->
