Browse Source

minor fix

merge-requests/2/head
rozetko 3 years ago
parent
commit
0d3581253a
  1. 2
      src/models/gauge_options.ts

2
src/models/gauge_options.ts

@ -145,7 +145,7 @@ export class GaugeOptions extends CoreOptions<GaugeConfig> {
return this._options.outerRadius; return this._options.outerRadius;
} }
valueFormatter(value: number): string { valueFormatter(value?: number | null): string {
if(this._options.valueFormatter) { if(this._options.valueFormatter) {
return this._options.valueFormatter(value); return this._options.valueFormatter(value);
} }

Loading…
Cancel
Save