API Reference
Class
ChartJsNeedleGaugeOptions
Options for the needle gauge helper.
Inheritance
- Object
- ChartJsNeedleGaugeOptions
Constructors
public ChartJsNeedleGaugeOptions() #Inherited Methods
Properties
public Object Cutout { get; set; } #Doughnut inner cutout (thickness) e.g., "60%".
public Double StartAngleDeg { get; set; } #Start angle in degrees (default -90 for semi-circle up).
public Double SweepAngleDeg { get; set; } #Sweep angle in degrees (default 180 for semi-circle).
public List<ValueTuple<Double, String>> Bands { get; } #Colored bands defined by absolute 'to' thresholds and colors.
public Boolean FillRemainingTrack { get; set; } #When true, fills remaining to 'max' with RemainingTrackColor.
public String RemainingTrackColor { get; set; } #Default color for the remaining track if Bands don't cover full range.
public Double NeedleWidthPercentage { get; set; } #Needle width as % of gauge thickness.
public Double NeedleLengthPercentage { get; set; } #Needle length as % of radius span (inner to outer).
public Double NeedleHubRadiusPercentage { get; set; } #Needle hub circle radius as % of gauge thickness.