API Reference
Class
ChartJsGaugeOptions
Options for the doughnut-based gauge helper.
Inheritance
- Object
- ChartJsGaugeOptions
Constructors
public ChartJsGaugeOptions() #Inherited Methods
Properties
public String ValueColor { get; set; } #Color for the filled value arc.
public String TrackColor { get; set; } #Color for the background track arc.
public Object Cutout { get; set; } #Inner cutout (e.g., "70%" for a thick ring).
public Double StartAngleDeg { get; set; } #Start angle in degrees (default -90 for a top-centered semi-circle).
public Double SweepAngleDeg { get; set; } #Sweep angle in degrees (default 180 for a semi-circle).
public Int32 BorderRadius { get; set; } #Rounded cap radius for the doughnut arcs.
public Boolean OverlayTrack { get; set; } #When true, draws a full neutral track under the value arc so it looks like a true gauge rather than a donut wedge.
public List<ValueTuple<Double, String>> Bands { get; } #Optional band thresholds for dynamic value color selection. Provide cumulative 'to' values in absolute units (same scale as value/min/max). Example: Bands = [(70, "#8cd610"), (90, "#efc600"), (100, "#e71831")].