ChartStrokeSegment
ChartForgeX.Core
Restyles a connected series stroke from a source X coordinate onward, such as a dashed forecast after the last actual.
Inheritance
- object
- ChartStrokeSegment
Remarks
The segment runs until the next segment's ChartStrokeSegment.FromX. Unset style members inherit the series ChartSeries.StrokeStyle, then the series color and theme width, so a forecast usually sets only its dash. Its opacity multiplies the series stroke opacity.
Usage
Explore 1 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 1
- Property ChartSeries.StrokeSegments
Constructors
public ChartStrokeSegment(double fromX, ChartStrokeStyle style) #Creates a stroke segment starting at a numeric source X coordinate.
Parameters
- fromX double
- The finite source X where the style starts. Stroke exactly at this X belongs to the segment.
- style ChartForgeX.Core.ChartStrokeStyle
- The stroke overrides applied from fromX onward.
public ChartStrokeSegment(DateTime fromX, ChartStrokeStyle style) #Creates a stroke segment starting at a date/time source X coordinate.
Parameters
- fromX System.DateTime
- The date/time where the style starts.
- style ChartForgeX.Core.ChartStrokeStyle
- The stroke overrides applied from fromX onward.
Inherited Methods
Properties
public ChartStrokeStyle Style { get; } #Gets the stroke overrides applied from ChartStrokeSegment.FromX until the next segment.