# ChartLineVisualStyle

Defines reusable visual tokens for line, area boundary, trend, and slope strokes.

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartLineVisualStyle.cs:16](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineVisualStyle.cs#L16)

**Modifiers**

sealed

**Attributes**

 `Fluent(Copy = "Clone")` 

Defines reusable visual tokens for line, area boundary, trend, and slope strokes.

## Inheritance

- object
- ChartLineVisualStyle

## Usage

 Explore 39 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 19

- Property [ChartLineOptions.VisualStyle](/api/chartforgex-core-chartlineoptions/#property-visualstyle)
- Extension method [ChartLineVisualStyle.AmbientHaloOpacity](/api/chartforgex-core-chartlinevisualstyle/#extension-ambienthaloopacity-chartforgex-core-chartlinevisualstyle-double)
- Extension method [ChartLineVisualStyle.AmbientHaloStrokeExtra](/api/chartforgex-core-chartlinevisualstyle/#extension-ambienthalostrokeextra-chartforgex-core-chartlinevisualstyle-double)
- Extension method [ChartLineVisualStyle.HaloOpacity](/api/chartforgex-core-chartlinevisualstyle/#extension-haloopacity-chartforgex-core-chartlinevisualstyle-double)
- Extension method [ChartLineVisualStyle.HaloStrokeExtra](/api/chartforgex-core-chartlinevisualstyle/#extension-halostrokeextra-chartforgex-core-chartlinevisualstyle-double)
- Extension method [ChartLineVisualStyle.HighlightOpacity](/api/chartforgex-core-chartlinevisualstyle/#extension-highlightopacity-chartforgex-core-chartlinevisualstyle-double)
- Extension method [ChartLineVisualStyle.HighlightStrokeRatio](/api/chartforgex-core-chartlinevisualstyle/#extension-highlightstrokeratio-chartforgex-core-chartlinevisualstyle-double)
- Method [ChartLineVisualStyle.Classic](/api/chartforgex-core-chartlinevisualstyle/#method-classic)
- Method [ChartLineVisualStyle.Clone](/api/chartforgex-core-chartlinevisualstyle/#method-clone)
- Method [ChartLineVisualStyle.Luminous](/api/chartforgex-core-chartlinevisualstyle/#method-luminous)
- Method [ChartLineVisualStyle.Plain](/api/chartforgex-core-chartlinevisualstyle/#method-plain)
- Method [ChartLineVisualStyle.Premium](/api/chartforgex-core-chartlinevisualstyle/#method-premium)
- Method [ChartLineVisualStyleFluent.AmbientHaloOpacity](/api/chartforgex-core-chartlinevisualstylefluent/#method-ambienthaloopacity-chartforgex-core-chartlinevisualstyle-double)
- Method [ChartLineVisualStyleFluent.AmbientHaloStrokeExtra](/api/chartforgex-core-chartlinevisualstylefluent/#method-ambienthalostrokeextra-chartforgex-core-chartlinevisualstyle-double)
- Method [ChartLineVisualStyleFluent.HaloOpacity](/api/chartforgex-core-chartlinevisualstylefluent/#method-haloopacity-chartforgex-core-chartlinevisualstyle-double)
- Method [ChartLineVisualStyleFluent.HaloStrokeExtra](/api/chartforgex-core-chartlinevisualstylefluent/#method-halostrokeextra-chartforgex-core-chartlinevisualstyle-double)
- Method [ChartLineVisualStyleFluent.HighlightOpacity](/api/chartforgex-core-chartlinevisualstylefluent/#method-highlightopacity-chartforgex-core-chartlinevisualstyle-double)
- Method [ChartLineVisualStyleFluent.HighlightStrokeRatio](/api/chartforgex-core-chartlinevisualstylefluent/#method-highlightstrokeratio-chartforgex-core-chartlinevisualstyle-double)
- Property [TopologyRenderOptions.EdgeVisualStyle](/api/chartforgex-topology-topologyrenderoptions/#property-edgevisualstyle)

### Accepted by parameters 20

- Extension method [ChartLineOptions.VisualStyle](/api/chartforgex-core-chartlineoptions/#extension-visualstyle-chartforgex-core-chartlineoptions-action-chartforgex-core-chartlinevisualstyle) parameter `configure`
- Extension method [ChartLineOptions.VisualStyle](/api/chartforgex-core-chartlineoptions/#extension-visualstyle-chartforgex-core-chartlineoptions-chartforgex-core-chartlinevisualstyle) parameter `value`
- Method [ChartLineOptionsFluent.VisualStyle](/api/chartforgex-core-chartlineoptionsfluent/#method-visualstyle-chartforgex-core-chartlineoptions-action-chartforgex-core-chartlinevisualstyle) parameter `configure`
- Method [ChartLineOptionsFluent.VisualStyle](/api/chartforgex-core-chartlineoptionsfluent/#method-visualstyle-chartforgex-core-chartlineoptions-chartforgex-core-chartlinevisualstyle) parameter `value`
- Extension method [ChartLineVisualStyle.AmbientHaloOpacity](/api/chartforgex-core-chartlinevisualstyle/#extension-ambienthaloopacity-chartforgex-core-chartlinevisualstyle-double) parameter `chartLineVisualStyle`
- Extension method [ChartLineVisualStyle.AmbientHaloStrokeExtra](/api/chartforgex-core-chartlinevisualstyle/#extension-ambienthalostrokeextra-chartforgex-core-chartlinevisualstyle-double) parameter `chartLineVisualStyle`
- Extension method [ChartLineVisualStyle.HaloOpacity](/api/chartforgex-core-chartlinevisualstyle/#extension-haloopacity-chartforgex-core-chartlinevisualstyle-double) parameter `chartLineVisualStyle`
- Extension method [ChartLineVisualStyle.HaloStrokeExtra](/api/chartforgex-core-chartlinevisualstyle/#extension-halostrokeextra-chartforgex-core-chartlinevisualstyle-double) parameter `chartLineVisualStyle`
- Extension method [ChartLineVisualStyle.HighlightOpacity](/api/chartforgex-core-chartlinevisualstyle/#extension-highlightopacity-chartforgex-core-chartlinevisualstyle-double) parameter `chartLineVisualStyle`
- Extension method [ChartLineVisualStyle.HighlightStrokeRatio](/api/chartforgex-core-chartlinevisualstyle/#extension-highlightstrokeratio-chartforgex-core-chartlinevisualstyle-double) parameter `chartLineVisualStyle`
- Method [ChartLineVisualStyleFluent.AmbientHaloOpacity](/api/chartforgex-core-chartlinevisualstylefluent/#method-ambienthaloopacity-chartforgex-core-chartlinevisualstyle-double) parameter `chartLineVisualStyle`
- Method [ChartLineVisualStyleFluent.AmbientHaloStrokeExtra](/api/chartforgex-core-chartlinevisualstylefluent/#method-ambienthalostrokeextra-chartforgex-core-chartlinevisualstyle-double) parameter `chartLineVisualStyle`
- Method [ChartLineVisualStyleFluent.HaloOpacity](/api/chartforgex-core-chartlinevisualstylefluent/#method-haloopacity-chartforgex-core-chartlinevisualstyle-double) parameter `chartLineVisualStyle`
- Method [ChartLineVisualStyleFluent.HaloStrokeExtra](/api/chartforgex-core-chartlinevisualstylefluent/#method-halostrokeextra-chartforgex-core-chartlinevisualstyle-double) parameter `chartLineVisualStyle`
- Method [ChartLineVisualStyleFluent.HighlightOpacity](/api/chartforgex-core-chartlinevisualstylefluent/#method-highlightopacity-chartforgex-core-chartlinevisualstyle-double) parameter `chartLineVisualStyle`
- Method [ChartLineVisualStyleFluent.HighlightStrokeRatio](/api/chartforgex-core-chartlinevisualstylefluent/#method-highlightstrokeratio-chartforgex-core-chartlinevisualstyle-double) parameter `chartLineVisualStyle`
- Extension method [TopologyRenderOptions.EdgeVisualStyle](/api/chartforgex-topology-topologyrenderoptions/#extension-edgevisualstyle-chartforgex-topology-topologyrenderoptions-action-chartforgex-core-chartlinevisualstyle) parameter `configure`
- Extension method [TopologyRenderOptions.EdgeVisualStyle](/api/chartforgex-topology-topologyrenderoptions/#extension-edgevisualstyle-chartforgex-topology-topologyrenderoptions-chartforgex-core-chartlinevisualstyle) parameter `value`
- Method [TopologyRenderOptionsFluent.EdgeVisualStyle](/api/chartforgex-topology-topologyrenderoptionsfluent/#method-edgevisualstyle-chartforgex-topology-topologyrenderoptions-action-chartforgex-core-chartlinevisualstyle) parameter `configure`
- Method [TopologyRenderOptionsFluent.EdgeVisualStyle](/api/chartforgex-topology-topologyrenderoptionsfluent/#method-edgevisualstyle-chartforgex-topology-topologyrenderoptions-chartforgex-core-chartlinevisualstyle) parameter `value`

 Filter members   

    Show inherited   

 

## Constructors

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

[ChartLineVisualStyle.cs:16](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineVisualStyle.cs#L16)

## Methods

 `public static ChartLineVisualStyle Classic()` [#](#method-classic) 

[ChartLineVisualStyle.cs:119](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineVisualStyle.cs#L119)

Creates the previous simpler line style with only a readable color halo.

Returns

 `ChartLineVisualStyle` 

 `public ChartLineVisualStyle Clone()` [#](#method-clone) 

[ChartLineVisualStyle.cs:131](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineVisualStyle.cs#L131)

Creates a copy that can be safely reused and customized.

Returns

 `ChartLineVisualStyle` 

 `public static ChartLineVisualStyle Luminous()` [#](#method-luminous) 

[ChartLineVisualStyle.cs:107](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineVisualStyle.cs#L107)

Creates a stronger luminous line style for deliberate glow-heavy dashboard treatments.

Returns

 `ChartLineVisualStyle` 

 `public static ChartLineVisualStyle Plain()` [#](#method-plain) 

[ChartLineVisualStyle.cs:102](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineVisualStyle.cs#L102)

Creates a plain single-stroke line style without halo or highlight layers.

Returns

 `ChartLineVisualStyle` 

 `public static ChartLineVisualStyle Premium()` [#](#method-premium) 

[ChartLineVisualStyle.cs:90](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineVisualStyle.cs#L90)

Creates a lightly decorated line style for dashboard and report charts.

Returns

 `ChartLineVisualStyle` 

## 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 double AmbientHaloOpacity { get; set; }` [#](#property-ambienthaloopacity) 

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

Gets or sets the opacity used for the widest soft color halo.

 `public double AmbientHaloStrokeExtra { get; set; }` [#](#property-ambienthalostrokeextra) 

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

Gets or sets the extra width added to the line for the widest soft color halo.

 `public double HaloOpacity { get; set; }` [#](#property-haloopacity) 

[ChartLineVisualStyle.cs:45](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineVisualStyle.cs#L45)

Gets or sets the opacity used for the readable stroke halo closest to the line.

 `public double HaloStrokeExtra { get; set; }` [#](#property-halostrokeextra) 

[ChartLineVisualStyle.cs:56](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineVisualStyle.cs#L56)

Gets or sets the extra width added to the line for the readable stroke halo.

 `public double HighlightOpacity { get; set; }` [#](#property-highlightopacity) 

[ChartLineVisualStyle.cs:68](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineVisualStyle.cs#L68)

Gets or sets the opacity used for the subtle white line highlight.

 `public double HighlightStrokeRatio { get; set; }` [#](#property-highlightstrokeratio) 

[ChartLineVisualStyle.cs:79](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartLineVisualStyle.cs#L79)

Gets or sets the highlight stroke width as a ratio of the foreground line stroke width.

## Extension Methods

 `public static ChartLineVisualStyle AmbientHaloOpacity(ChartLineVisualStyle chartLineVisualStyle, double value)` [#](#extension-ambienthaloopacity-chartforgex-core-chartlinevisualstyle-double) 

Sets [ChartLineVisualStyle.AmbientHaloOpacity](/api/chartforgex-core-chartlinevisualstyle/): Gets or sets the opacity used for the widest soft color halo.

Parameters

**chartLineVisualStyle ChartForgeX.Core.ChartLineVisualStyle required**

The instance.

**value double required**

The value.

Returns

 `ChartLineVisualStyle` The same instance. 

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::ChartForgeX.Core.ChartLineVisualStyle { AmbientHaloOpacity = value };    chartLineVisualStyle.AmbientHaloOpacity(value);
```

 `public static ChartLineVisualStyle AmbientHaloStrokeExtra(ChartLineVisualStyle chartLineVisualStyle, double value)` [#](#extension-ambienthalostrokeextra-chartforgex-core-chartlinevisualstyle-double) 

Sets [ChartLineVisualStyle.AmbientHaloStrokeExtra](/api/chartforgex-core-chartlinevisualstyle/): Gets or sets the extra width added to the line for the widest soft color halo.

Parameters

**chartLineVisualStyle ChartForgeX.Core.ChartLineVisualStyle required**

The instance.

**value double required**

The value.

Returns

 `ChartLineVisualStyle` The same instance. 

Examples

```csharp
// C# initializer or property                                                            // C# fluent
new global::ChartForgeX.Core.ChartLineVisualStyle { AmbientHaloStrokeExtra = value };    chartLineVisualStyle.AmbientHaloStrokeExtra(value);
```

 `public static ChartLineVisualStyle HaloOpacity(ChartLineVisualStyle chartLineVisualStyle, double value)` [#](#extension-haloopacity-chartforgex-core-chartlinevisualstyle-double) 

Sets [ChartLineVisualStyle.HaloOpacity](/api/chartforgex-core-chartlinevisualstyle/): Gets or sets the opacity used for the readable stroke halo closest to the line.

Parameters

**chartLineVisualStyle ChartForgeX.Core.ChartLineVisualStyle required**

The instance.

**value double required**

The value.

Returns

 `ChartLineVisualStyle` The same instance. 

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartLineVisualStyle { HaloOpacity = value };    chartLineVisualStyle.HaloOpacity(value);
```

 `public static ChartLineVisualStyle HaloStrokeExtra(ChartLineVisualStyle chartLineVisualStyle, double value)` [#](#extension-halostrokeextra-chartforgex-core-chartlinevisualstyle-double) 

Sets [ChartLineVisualStyle.HaloStrokeExtra](/api/chartforgex-core-chartlinevisualstyle/): Gets or sets the extra width added to the line for the readable stroke halo.

Parameters

**chartLineVisualStyle ChartForgeX.Core.ChartLineVisualStyle required**

The instance.

**value double required**

The value.

Returns

 `ChartLineVisualStyle` The same instance. 

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Core.ChartLineVisualStyle { HaloStrokeExtra = value };    chartLineVisualStyle.HaloStrokeExtra(value);
```

 `public static ChartLineVisualStyle HighlightOpacity(ChartLineVisualStyle chartLineVisualStyle, double value)` [#](#extension-highlightopacity-chartforgex-core-chartlinevisualstyle-double) 

Sets [ChartLineVisualStyle.HighlightOpacity](/api/chartforgex-core-chartlinevisualstyle/): Gets or sets the opacity used for the subtle white line highlight.

Parameters

**chartLineVisualStyle ChartForgeX.Core.ChartLineVisualStyle required**

The instance.

**value double required**

The value.

Returns

 `ChartLineVisualStyle` The same instance. 

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Core.ChartLineVisualStyle { HighlightOpacity = value };    chartLineVisualStyle.HighlightOpacity(value);
```

 `public static ChartLineVisualStyle HighlightStrokeRatio(ChartLineVisualStyle chartLineVisualStyle, double value)` [#](#extension-highlightstrokeratio-chartforgex-core-chartlinevisualstyle-double) 

Sets [ChartLineVisualStyle.HighlightStrokeRatio](/api/chartforgex-core-chartlinevisualstyle/): Gets or sets the highlight stroke width as a ratio of the foreground line stroke width.

Parameters

**chartLineVisualStyle ChartForgeX.Core.ChartLineVisualStyle required**

The instance.

**value double required**

The value.

Returns

 `ChartLineVisualStyle` The same instance. 

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::ChartForgeX.Core.ChartLineVisualStyle { HighlightStrokeRatio = value };    chartLineVisualStyle.HighlightStrokeRatio(value);
```

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