Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

ChartLineVisualStyle

Namespace ChartForgeX.Core
Assembly ChartForgeX
Modifiers sealed

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

Inheritance

  • Object
  • ChartLineVisualStyle

Usage

Explore 14 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.

Accepted by parameters 4

Constructors

public ChartLineVisualStyle() #

Methods

public static ChartLineVisualStyle Classic() #
Returns: ChartLineVisualStyle

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

public ChartLineVisualStyle Clone() #
Returns: ChartLineVisualStyle

Creates a copy that can be safely reused and customized.

public static ChartLineVisualStyle Luminous() #
Returns: ChartLineVisualStyle

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

public static ChartLineVisualStyle Plain() #
Returns: ChartLineVisualStyle

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

public static ChartLineVisualStyle Premium() #
Returns: ChartLineVisualStyle

Creates the premium default line style used by dashboard and report charts. The default keeps lines crisp with subtle polish rather than glow.

public ChartLineVisualStyle WithAmbientHalo(Double opacity, Double strokeExtra) #
Returns: ChartLineVisualStyle

Sets the widest soft color halo opacity and extra stroke width.

Parameters

opacity System.Double requiredposition: 0
strokeExtra System.Double requiredposition: 1
public ChartLineVisualStyle WithHalo(Double opacity, Double strokeExtra) #
Returns: ChartLineVisualStyle

Sets the readable stroke halo opacity and extra stroke width.

Parameters

opacity System.Double requiredposition: 0
strokeExtra System.Double requiredposition: 1
public ChartLineVisualStyle WithHighlight(Double opacity, Double strokeRatio = 0.3) #
Returns: ChartLineVisualStyle

Sets the subtle white highlight opacity and stroke-width ratio.

Parameters

opacity System.Double requiredposition: 0
strokeRatio System.Double = 0.3 optionalposition: 1

Properties

public Double AmbientHaloOpacity { get; set; } #

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

public Double AmbientHaloStrokeExtra { get; set; } #

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

public Double HaloOpacity { get; set; } #

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

public Double HaloStrokeExtra { get; set; } #

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

public Double HighlightOpacity { get; set; } #

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

public Double HighlightStrokeRatio { get; set; } #

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