API Reference
Class
ChartTimeSessionDomain
An immutable, explicitly ordered set of included time intervals shared by every series on one X axis.
Inheritance
- Object
- ChartTimeSessionDomain
Remarks
Elapsed time inside each session retains its duration. Closed gaps collapse to one position. A closing instant and the next opening instant share that position; inverse projection selects the next opening. The final closing instant retains its own identity. Values outside the first/last session extrapolate for native axis padding.
Usage
Explore 3 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
- Property ChartAxis.TimeSessions
- Property ChartXProjection.TimeSessions
Accepted by parameters 1
- Method ChartAxis.WithTimeSessions
Constructors
public ChartTimeSessionDomain(IEnumerable<ChartTimeSession> sessions) #Captures included intervals in source order without sorting or merging them.
Parameters
- sessions System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartTimeSession>
- A nonempty sequence of increasing intervals; overlaps and reversed source order are rejected.
Exceptions
ArgumentNullExceptionโ The sequence is null.ArgumentExceptionโ The sequence is empty, overlapping or unordered.ArgumentOutOfRangeExceptionโ An interval is invalid.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public IReadOnlyList<ChartTimeSession> Sessions { get; } #Gets the captured intervals in their authored order.