HtmlForgeX

API Reference

Class

ChartJsGaugeV3DatasetOptions

Namespace HtmlForgeX
Assembly HtmlForgeX

Per-dataset options for gauge-v3 datasets (useful for layered gauges like clocks).

Inheritance

  • Object
  • ChartJsGaugeV3DatasetOptions

Constructors

public ChartJsGaugeV3DatasetOptions() #

Methods

SetBackgroundColors 2 overloads
public ChartJsGaugeV3DatasetOptions SetBackgroundColors(params RGBColor[] colors) #
Returns: ChartJsGaugeV3DatasetOptions

Sets background colors using CSS color strings.

Parameters

colors System.String[] requiredposition: 0
SetBackgroundColors(HtmlForgeX.RGBColor[] colors) #

Sets background colors using RGBColor values.

Parameters

colors HtmlForgeX.RGBColor[] required

Properties

public Object Cutout { get; set; } #

Inner cutout (e.g., "65%") applied to this dataset only.

public Nullable<Double> RotationDeg { get; set; } #

Starting angle in degrees for this dataset (0 degrees points to the right).

public Nullable<Double> CircumferenceDeg { get; set; } #

Sweep angle in degrees for this dataset (e.g., 360 for a full circle).

public ChartJsGaugeV3Needle Needle { get; set; } #

Needle configuration for this dataset.

public ChartJsGaugeV3ValueLabel ValueLabel { get; set; } #

Optional dataset-scoped value label styling (overrides global). Set Display=false to hide the plugin's label for this dataset.

public List<String> BackgroundColorsStrings { get; set; } #

Background colors for the bands as CSS strings.

public List<RGBColor> BackgroundColorsRgb { get; set; } #

Background colors for the bands specified as RGBColor values.

public String BorderColor { get; set; } #

Optional border color for segment separators.

public Nullable<Int32> BorderWidth { get; set; } #

Optional border width for segment separators (pixels).

public Nullable<Double> MinValue { get; set; } #

Optional minimum value for this dataset; values are normalized by value - minValue.