Vladyslav
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
ui/src/app/widget/lib/canvas-digital-gauge.js
|
|
|
@ -63,6 +63,7 @@ export default class TbCanvasDigitalGauge { |
|
|
|
} |
|
|
|
|
|
|
|
this.localSettings.showTicks = settings.showTicks || false; |
|
|
|
this.localSettings.ticks = []; |
|
|
|
this.localSettings.ticksValue = settings.ticksValue || []; |
|
|
|
this.localSettings.tickWidth = settings.tickWidth || 4; |
|
|
|
this.localSettings.colorTicks = settings.colorTicks || '#666'; |
|
|
|
@ -152,7 +153,7 @@ export default class TbCanvasDigitalGauge { |
|
|
|
|
|
|
|
colorTicks: this.localSettings.colorTicks, |
|
|
|
tickWidth: this.localSettings.tickWidth, |
|
|
|
ticks: [], |
|
|
|
ticks: this.localSettings.ticks, |
|
|
|
|
|
|
|
title: this.localSettings.title, |
|
|
|
|
|
|
|
|