HtmlForgeX

API Reference

Enum

ChartJsGaugeV3ValueFormatterMode

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Modes supported by ChartJsGaugeV3ValueFormatter.

Inheritance

  • Enum
  • ChartJsGaugeV3ValueFormatterMode

Values

public const ChartJsGaugeV3ValueFormatterMode Default #

Use the plugin default formatter (Math.round).

Value: 0
public const ChartJsGaugeV3ValueFormatterMode Floor #

Floor to the nearest integer.

Value: 1
public const ChartJsGaugeV3ValueFormatterMode Ceiling #

Ceiling to the nearest integer.

Value: 2
public const ChartJsGaugeV3ValueFormatterMode FixedDecimals #

Use value.toFixed(decimals).

Value: 3
public const ChartJsGaugeV3ValueFormatterMode ZeroPad #

Pad the floored value with leading zeros.

Value: 4
public const ChartJsGaugeV3ValueFormatterMode Custom #

Emit a custom JavaScript function.

Value: 5