fixed issue with gauge value

This commit is contained in:
Sergey Tarnavskiy 2018-09-19 12:27:38 +03:00
parent 8efb250f18
commit 3727519e51

View File

@ -209,7 +209,7 @@ export default class CanvasDigitalGauge extends canvasGauges.BaseGauge {
this.elementValueClone.renderedValue = this._value;
}
if (angular.isUndefined(this.elementValueClone.renderedValue)) {
this.elementValueClone.renderedValue = options.minValue;
this.elementValueClone.renderedValue = this.value;
}
let context = this.contextValueClone;
// clear the cache