Browse Source

Merge pull request #764 from Terny22/issue/yAxis-tick-decimals

solved issue with tick-decimals option
pull/767/merge
Andrew Shvayka 9 years ago
committed by GitHub
parent
commit
50e698eb37
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ui/src/app/widget/lib/flot-widget.js

4
ui/src/app/widget/lib/flot-widget.js

@ -251,7 +251,7 @@ export default class TbFlot {
if (this.tickUnits) { if (this.tickUnits) {
formatted += ' ' + this.tickUnits; formatted += ' ' + this.tickUnits;
} }
return formatted; return formatted;
}; };
@ -1097,7 +1097,7 @@ export default class TbFlot {
"axisTickDecimals": { "axisTickDecimals": {
"title": "Axis tick number of digits after floating point", "title": "Axis tick number of digits after floating point",
"type": "number", "type": "number",
"default": 0 "default": null
}, },
"axisTickSize": { "axisTickSize": {
"title": "Axis step size between ticks", "title": "Axis step size between ticks",

Loading…
Cancel
Save