ChartGaugeOptionsFluent
ChartForgeX.Core
The fluent methods of ChartGaugeOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- ChartGaugeOptionsFluent
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);