HtmlChartCrosshairOptionsFluent
ChartForgeX.Interactivity.Html
The fluent methods of HtmlChartCrosshairOptions, 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
- HtmlChartCrosshairOptionsFluent
Methods
public static HtmlChartCrosshairOptions LineStyle(HtmlChartCrosshairOptions htmlChartCrosshairOptions, HtmlChartCrosshairLineStyle? value) #Sets HtmlChartCrosshairOptions.LineStyle: Gets or sets the pattern of both guide lines. Null retains the default dashed pattern for every palette.
Parameters
- htmlChartCrosshairOptions ChartForgeX.Interactivity.Html.HtmlChartCrosshairOptions
- The instance.
- value ChartForgeX.Interactivity.Html.HtmlChartCrosshairLineStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartCrosshairOptions { LineStyle = value }; htmlChartCrosshairOptions.LineStyle(value);public static HtmlChartCrosshairOptions ShowLabel(HtmlChartCrosshairOptions htmlChartCrosshairOptions, bool value = true) #Sets HtmlChartCrosshairOptions.ShowLabel: Gets or sets whether the crosshair includes a target label. The default is true for every palette. The ChartInteractionFeatures.Crosshair feature controls whether the guide is enabled.
Parameters
- htmlChartCrosshairOptions ChartForgeX.Interactivity.Html.HtmlChartCrosshairOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartCrosshairOptions { ShowLabel = value }; htmlChartCrosshairOptions.ShowLabel(value);public static HtmlChartCrosshairOptions Stroke(HtmlChartCrosshairOptions htmlChartCrosshairOptions, ChartColor? value) #Sets HtmlChartCrosshairOptions.Stroke: Gets or sets the color of both guide lines. Null retains the palette's line color. A transparent color hides the lines while retaining the label and guide identity. Explicit line styling uses a crisp stroke without glow.
Parameters
- htmlChartCrosshairOptions ChartForgeX.Interactivity.Html.HtmlChartCrosshairOptions
- The instance.
- value ChartForgeX.Primitives.ChartColor?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartCrosshairOptions { Stroke = value }; htmlChartCrosshairOptions.Stroke(value);public static HtmlChartCrosshairOptions StrokeWidth(HtmlChartCrosshairOptions htmlChartCrosshairOptions, double? value) #Sets HtmlChartCrosshairOptions.StrokeWidth: Gets or sets the finite, non-negative width of both guide lines in CSS pixels. Null retains the default width. Zero hides the lines without disabling the guide or its label.
Parameters
- htmlChartCrosshairOptions ChartForgeX.Interactivity.Html.HtmlChartCrosshairOptions
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartCrosshairOptions { StrokeWidth = value }; htmlChartCrosshairOptions.StrokeWidth(value);