API Reference
ChartStateTimelineSegment
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 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.
Accepted by parameters 1
- Method Chart.AddStateTimelineLane
Constructors
public ChartStateTimelineSegment(Double start, Double end, String state, String? detail = null) #Initializes a segment from OLE Automation date values.
Parameters
- start System.Double
- The inclusive start instant.
- end System.Double
- The exclusive end instant; must be later than start.
- state System.String
- The key of the state that applies during the interval.
- detail System.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 System.String
- The key of the state that applies during the interval.
- detail System.String? = null
- Optional detail text shown in tooltips.
Inherited Methods
public override Boolean Equals(Object? obj) #BooleanParameters
- obj Object?