API Reference
Class
ChartStrokeStyle
Defines immutable stroke overrides for chart outlines, guides and reference lines.
Inheritance
- Object
- ChartStrokeStyle
Usage
Explore 6 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 6
- Property ChartAnnotation.StrokeStyle
- Property ChartOptions.GanttTodayStyle
- Property ChartOptions.PolarAxisStroke
- Property ChartOptions.PolarGridStroke
- Property ChartRadarOptions.OutlineStroke
- Property MermaidGanttRenderOptions.TodayStyle
Constructors
public ChartStrokeStyle(ChartColor? color = null, Double? width = null, Double opacity = 1, IEnumerable<Double>? dash = null) #Creates stroke overrides without changing the source geometry or caption.
Parameters
- color ChartForgeX.Primitives.ChartColor? = null
- The optional authored color.
- width System.Double? = null
- The optional width from zero through 1024 chart pixels.
- opacity System.Double = 1
- The opacity multiplier from zero through one.
- dash System.Collections.Generic.IEnumerable<System.Double>? = null
- Optional dash/gap lengths from 0.25 through 1024 chart pixels; an empty sequence selects a solid stroke.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public ChartColor? Color { get; } #Gets the authored stroke color. Null retains the mark's theme or series color.
public Double? Width { get; } #Gets the stroke width from zero through 1024 chart pixels. Null retains the theme width; zero hides the stroke.
public Double Opacity { get; } #Gets the opacity multiplier applied to the stroke color's alpha channel.
public IReadOnlyList<Double>? Dash { get; } #Gets alternating dash/gap lengths from 0.25 through 1024 chart pixels. Null retains the default pattern; an empty list is solid.