Struct
ChartInterval
ChartForgeX.Core
Represents one category or x-value with a start and end value.
Inheritance
- ValueType
- ChartInterval
Usage
Explore 9 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 3
- Method ChartInterval.WithMarkOptions
- Property ChartRangeBarEndpointLabelContext.Interval
- Property ChartSeries.Intervals
Accepted by parameters 6
- Method Chart.AddRangeBar
- Method Chart.AddRangeBar``1
- Constructor ChartRangeBarEndpointLabelContext.ChartRangeBarEndpointLabelContext
- Method ChartSeries.CreateRangeBar
- Method ChartSeries.ReplaceIntervals
- Method ChartSeries.UpdateInterval
Constructors
ChartInterval 2 overloads
public ChartInterval(double x, double start, double end) #Initializes a new instance of the ChartInterval struct.
Parameters
- x double
- The category coordinate.
- start double
- The interval start value.
- end double
- The interval end value.
public ChartInterval(DateTime x, double start, double end) #Initializes a new instance of the ChartInterval struct from a date/time x value.
Parameters
- x System.DateTime
- The date/time category coordinate.
- start double
- The interval start value.
- end double
- The interval end value.
Methods
public ChartInterval 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 ChartMarkOptions? MarkOptions { get; } #Gets optional immutable navigation, accessibility and host metadata.
Fields
public readonly double X #Gets the category coordinate, mapped to X for vertical range bars and Y for horizontal range bars.