ChartStateTimelineSegment
ChartForgeX.Core
Represents one interval of a state timeline lane. Start and end are OLE Automation dates holding UTC instants. Time between segments is rendered as a gap (no data).
Inheritance
- ValueType
- ChartStateTimelineSegment
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 2
Accepted by parameters 4
Constructors
public ChartStateTimelineSegment(double start, double end, string state, string? detail = null) #Initializes a segment from OLE Automation date values.
Parameters
- start double
- The inclusive start instant.
- end double
- The exclusive end instant; must be later than start.
- state string
- The key of the state that applies during the interval.
- detail string? = null
- Optional detail text shown in tooltips.
public ChartStateTimelineSegment(DateTime start, DateTime end, string state, string? detail = null) #Initializes a segment from date/time values. DateTimeKind.Local values are converted to UTC; DateTimeKind.Unspecified values are treated as UTC. Both instants must be on or after 1899-12-30 UTC. DateTime inputs are rounded to 100-microsecond time-axis resolution; shorter intervals are rejected.
Parameters
- start System.DateTime
- The inclusive start.
- end System.DateTime
- The exclusive end; must be later than start.
- state string
- The key of the state that applies during the interval.
- detail string? = null
- Optional detail text shown in tooltips.
Methods
public ChartStateTimelineSegment WithMarkOptions(ChartMarkOptions? options) #Returns a copy with replacement mark metadata, retaining all authored values.
Parameters
- options ChartForgeX.Core.ChartMarkOptions?
- Immutable metadata, or null to clear it.
Inherited Methods
Properties
public double Start { get; } #Gets the inclusive start instant as an OLE Automation date.
public double End { get; } #Gets the exclusive end instant as an OLE Automation date.
public string? Detail { get; } #Gets optional detail text shown in tooltips.
public ChartMarkOptions? MarkOptions { get; } #Gets optional immutable navigation, accessibility and host metadata.