HtmlForgeX

API Reference

Class

ChartJsGaugeV3ValueLabel

Namespace HtmlForgeX
Assembly HtmlForgeX

Styling of the central value label used by the gauge-v3 plugin.

Inheritance

  • Object
  • ChartJsGaugeV3ValueLabel

Constructors

public ChartJsGaugeV3ValueLabel() #

Properties

public Boolean Display { get; set; } #

Whether the central value label is displayed.

public String Color { get; set; } #

Text color of the central label.

public String BackgroundColor { get; set; } #

Background color for the central label pill.

public String BorderColor { get; set; } #

Border color for the central label pill.

public Int32 BorderWidth { get; set; } #

Border width in pixels for the central label pill.

public Int32 BorderRadius { get; set; } #

Corner radius of the central label pill.

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

Optional font size in pixels. If null, Chart.js default is used.

public Int32 OffsetX { get; set; } #

Horizontal offset (pixels) from the gauge center.

public Int32 OffsetY { get; set; } #

Vertical offset (pixels) from the gauge center.

public ChartJsGaugeV3ValueFormatter Formatter { get; } #

Optional formatter for the numeric text.