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

ChartGridLineStyle

Namespace ChartForgeX.Core
Assembly ChartForgeX
Modifiers sealed

Defines reusable visual tokens for cartesian grid and guide lines.

Inheritance

  • Object
  • ChartGridLineStyle

Usage

Explore 12 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 2

Constructors

public ChartGridLineStyle() #

Methods

public ChartGridLineStyle Clone() #
Returns: ChartGridLineStyle

Creates a copy that can be safely reused and customized.

public static ChartGridLineStyle DashboardVerticalGuides() #
Returns: ChartGridLineStyle

Creates a dashboard guide style with vertical dashed category guides.

public static ChartGridLineStyle Default() #
Returns: ChartGridLineStyle

Creates the default cartesian grid style.

public ChartGridLineStyle WithDash(Double dash, Double gap) #
Returns: ChartGridLineStyle

Sets the dash and gap lengths. Use zero dash for solid lines.

Parameters

dash System.Double requiredposition: 0
gap System.Double requiredposition: 1
public ChartGridLineStyle WithHorizontalLines(Boolean visible = true) #
Returns: ChartGridLineStyle

Sets whether horizontal value grid lines are drawn.

Parameters

visible System.Boolean = true optionalposition: 0
public ChartGridLineStyle WithHorizontalOpacity(Double opacity) #
Returns: ChartGridLineStyle

Sets horizontal grid line opacity.

Parameters

opacity System.Double requiredposition: 0
public ChartGridLineStyle WithStrokeWidth(Double width) #
Returns: ChartGridLineStyle

Sets grid line stroke width.

Parameters

width System.Double requiredposition: 0
public ChartGridLineStyle WithVerticalLines(Boolean visible = true) #
Returns: ChartGridLineStyle

Sets whether vertical category grid lines are drawn.

Parameters

visible System.Boolean = true optionalposition: 0
public ChartGridLineStyle WithVerticalOpacity(Double opacity) #
Returns: ChartGridLineStyle

Sets vertical grid line opacity.

Parameters

opacity System.Double requiredposition: 0

Properties

public Boolean ShowHorizontalLines { get; set; } #

Gets or sets whether horizontal value grid lines are drawn.

public Boolean ShowVerticalLines { get; set; } #

Gets or sets whether vertical category grid lines are drawn.

public Double HorizontalOpacity { get; set; } #

Gets or sets horizontal grid line opacity.

public Double VerticalOpacity { get; set; } #

Gets or sets vertical grid line opacity.

public Double StrokeWidth { get; set; } #

Gets or sets grid line stroke width.

public Double Dash { get; set; } #

Gets or sets the dash length. Zero renders solid lines.

public Double Gap { get; set; } #

Gets or sets the dash gap length.