ChartGaugeOptions
ChartForgeX.Core
Controls arc, needle and linear gauges without introducing host behaviour.
Inheritance
- object
- ChartGaugeOptions
Usage
Explore 53 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 23
- Extension method ChartGaugeOptions.Band
- Extension method ChartGaugeOptions.BandGap
- Extension method ChartGaugeOptions.Bands
- Extension method ChartGaugeOptions.Caption
- Extension method ChartGaugeOptions.Form
- Extension method ChartGaugeOptions.NeedleColor
- Extension method ChartGaugeOptions.Orientation
- Extension method ChartGaugeOptions.StartAngleDegrees
- Extension method ChartGaugeOptions.SweepAngleDegrees
- Extension method ChartGaugeOptions.TickCount
- Extension method ChartGaugeOptions.TickLabels
- Method ChartGaugeOptionsFluent.Band
- Method ChartGaugeOptionsFluent.BandGap
- Method ChartGaugeOptionsFluent.Bands
- Method ChartGaugeOptionsFluent.Caption
- Method ChartGaugeOptionsFluent.Form
- Method ChartGaugeOptionsFluent.NeedleColor
- Method ChartGaugeOptionsFluent.Orientation
- Method ChartGaugeOptionsFluent.StartAngleDegrees
- Method ChartGaugeOptionsFluent.SweepAngleDegrees
- Method ChartGaugeOptionsFluent.TickCount
- Method ChartGaugeOptionsFluent.TickLabels
- Property ChartOptions.Gauge
Accepted by parameters 30
- Extension method Chart.Gauge
- Extension method Chart.Gauge
- Method ChartFluent.Gauge
- Method ChartFluent.Gauge
- Extension method ChartGaugeOptions.Band
- Extension method ChartGaugeOptions.BandGap
- Extension method ChartGaugeOptions.Bands
- Extension method ChartGaugeOptions.Caption
- Extension method ChartGaugeOptions.Form
- Extension method ChartGaugeOptions.NeedleColor
- Extension method ChartGaugeOptions.Orientation
- Extension method ChartGaugeOptions.StartAngleDegrees
- Extension method ChartGaugeOptions.SweepAngleDegrees
- Extension method ChartGaugeOptions.TickCount
- Extension method ChartGaugeOptions.TickLabels
- Method ChartGaugeOptionsFluent.Band
- Method ChartGaugeOptionsFluent.BandGap
- Method ChartGaugeOptionsFluent.Bands
- Method ChartGaugeOptionsFluent.Caption
- Method ChartGaugeOptionsFluent.Form
- Method ChartGaugeOptionsFluent.NeedleColor
- Method ChartGaugeOptionsFluent.Orientation
- Method ChartGaugeOptionsFluent.StartAngleDegrees
- Method ChartGaugeOptionsFluent.SweepAngleDegrees
- Method ChartGaugeOptionsFluent.TickCount
- Method ChartGaugeOptionsFluent.TickLabels
- Extension method ChartOptions.Gauge
- Extension method ChartOptions.Gauge
- Method ChartOptionsFluent.Gauge
- Method ChartOptionsFluent.Gauge
Constructors
public ChartGaugeOptions() #Inherited Methods
Properties
public ChartOrientation Orientation { get; set; } #Gets or sets the linear gauge direction. Horizontal places the minimum at the left; vertical places it at the bottom.
public double StartAngleDegrees { get; set; } #Gets or sets the radial scale's starting angle in degrees. Zero points right and positive angles turn clockwise.
public double SweepAngleDegrees { get; set; } #Gets or sets the radial scale's clockwise sweep in degrees, greater than zero and at most 360.
public int? TickCount { get; set; } #Gets or sets the preferred generated tick ceiling. Null uses two radial or five linear ticks.
public IReadOnlyList<ChartAxisLabel> TickLabels { get; set; } #Gets or sets a detached read-only snapshot of explicit tick values and captions in authored order.
public double BandGap { get; set; } #Gets or sets the total empty inset between band segments in logical pixels. Half is removed at each segment end; zero retains contiguous bands.
public ChartColor? NeedleColor { get; set; } #Gets or sets an optional needle color. Null uses the measured value paint; it does not change the reading or semantic band state.
public string? Caption { get; set; } #Gets or sets the caption beneath the value. Null uses the series name.
public List<ChartGaugeBand> Bands { get; private set; } #Gets the optional bands. Overlap is rejected when rendering.
Extension Methods
public static ChartGaugeOptions Band(ChartGaugeOptions chartGaugeOptions, ChartGaugeBand item) #Adds an item to ChartGaugeOptions.Bands: Gets the optional bands. Overlap is rejected when rendering.
Parameters
- chartGaugeOptions ChartForgeX.Core.ChartGaugeOptions
- The instance.
- item ChartForgeX.Core.ChartGaugeBand
- The item.
public static ChartGaugeOptions BandGap(ChartGaugeOptions chartGaugeOptions, double value) #Sets ChartGaugeOptions.BandGap: Gets or sets the total empty inset between band segments in logical pixels. Half is removed at each segment end; zero retains contiguous bands.
Parameters
- chartGaugeOptions ChartForgeX.Core.ChartGaugeOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGaugeOptions { BandGap = value }; chartGaugeOptions.BandGap(value);public static ChartGaugeOptions Bands(ChartGaugeOptions chartGaugeOptions, IEnumerable<ChartGaugeBand> items) #Adds items to ChartGaugeOptions.Bands: Gets the optional bands. Overlap is rejected when rendering.
Parameters
- chartGaugeOptions ChartForgeX.Core.ChartGaugeOptions
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartGaugeBand>
- The items, in order.
public static ChartGaugeOptions Caption(ChartGaugeOptions chartGaugeOptions, string? value) #Sets ChartGaugeOptions.Caption: Gets or sets the caption beneath the value. Null uses the series name.
Parameters
- chartGaugeOptions ChartForgeX.Core.ChartGaugeOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGaugeOptions { Caption = value }; chartGaugeOptions.Caption(value);public static ChartGaugeOptions Form(ChartGaugeOptions chartGaugeOptions, ChartGaugeForm value) #Sets ChartGaugeOptions.Form: Gets or sets the gauge form.
Parameters
- chartGaugeOptions ChartForgeX.Core.ChartGaugeOptions
- The instance.
- value ChartForgeX.Core.ChartGaugeForm
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGaugeOptions { Form = value }; chartGaugeOptions.Form(value);public static ChartGaugeOptions NeedleColor(ChartGaugeOptions chartGaugeOptions, ChartColor? value) #Sets ChartGaugeOptions.NeedleColor: Gets or sets an optional needle color. Null uses the measured value paint; it does not change the reading or semantic band state.
Parameters
- chartGaugeOptions ChartForgeX.Core.ChartGaugeOptions
- The instance.
- value ChartForgeX.Primitives.ChartColor?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGaugeOptions { NeedleColor = value }; chartGaugeOptions.NeedleColor(value);public static ChartGaugeOptions Orientation(ChartGaugeOptions chartGaugeOptions, ChartOrientation value) #Sets ChartGaugeOptions.Orientation: Gets or sets the linear gauge direction. Horizontal places the minimum at the left; vertical places it at the bottom.
Parameters
- chartGaugeOptions ChartForgeX.Core.ChartGaugeOptions
- The instance.
- value ChartForgeX.Core.ChartOrientation
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGaugeOptions { Orientation = value }; chartGaugeOptions.Orientation(value);public static ChartGaugeOptions StartAngleDegrees(ChartGaugeOptions chartGaugeOptions, double value) #Sets ChartGaugeOptions.StartAngleDegrees: Gets or sets the radial scale's starting angle in degrees. Zero points right and positive angles turn clockwise.
Parameters
- chartGaugeOptions ChartForgeX.Core.ChartGaugeOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGaugeOptions { StartAngleDegrees = value }; chartGaugeOptions.StartAngleDegrees(value);public static ChartGaugeOptions SweepAngleDegrees(ChartGaugeOptions chartGaugeOptions, double value) #Sets ChartGaugeOptions.SweepAngleDegrees: Gets or sets the radial scale's clockwise sweep in degrees, greater than zero and at most 360.
Parameters
- chartGaugeOptions ChartForgeX.Core.ChartGaugeOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGaugeOptions { SweepAngleDegrees = value }; chartGaugeOptions.SweepAngleDegrees(value);public static ChartGaugeOptions TickCount(ChartGaugeOptions chartGaugeOptions, int? value) #Sets ChartGaugeOptions.TickCount: Gets or sets the preferred generated tick ceiling. Null uses two radial or five linear ticks.
Parameters
- chartGaugeOptions ChartForgeX.Core.ChartGaugeOptions
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGaugeOptions { TickCount = value }; chartGaugeOptions.TickCount(value);public static ChartGaugeOptions TickLabels(ChartGaugeOptions chartGaugeOptions, IReadOnlyList<ChartAxisLabel> value) #Sets ChartGaugeOptions.TickLabels: Gets or sets a detached read-only snapshot of explicit tick values and captions in authored order.
Parameters
- chartGaugeOptions ChartForgeX.Core.ChartGaugeOptions
- The instance.
- value System.Collections.Generic.IReadOnlyList<ChartForgeX.Core.ChartAxisLabel>
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGaugeOptions { TickLabels = value }; chartGaugeOptions.TickLabels(value);