Fixed gauge issue that will require migration later and also value options editor did not handle null decimals or 0 decimals

This commit is contained in:
Torkel Ödegaard
2019-02-16 16:27:12 +01:00
parent c0b204f93b
commit d33d08fa15
3 changed files with 18 additions and 5 deletions
@@ -9,7 +9,7 @@ import { Themeable } from '../../index';
type TimeSeriesValue = string | number | null;
export interface Props extends Themeable {
decimals: number;
decimals?: number | null;
height: number;
valueMappings: ValueMapping[];
maxValue: number;