mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 09:33:34 -06:00
Graph: fix for second y axis tick unit labels wrapping on the next line, Fixes #505
This commit is contained in:
parent
9866e0851b
commit
e3e08cf8e7
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
**Fixes**
|
**Fixes**
|
||||||
- [Issue #925](https://github.com/grafana/grafana/issues/925). Graph: bar width calculation fix for some edge cases (bars would render on top of each other)
|
- [Issue #925](https://github.com/grafana/grafana/issues/925). Graph: bar width calculation fix for some edge cases (bars would render on top of each other)
|
||||||
|
- [Issue #505](https://github.com/grafana/grafana/issues/505). Graph: fix for second y axis tick unit labels wrapping on the next line
|
||||||
|
|
||||||
=======
|
=======
|
||||||
# 1.8.1 (2014-09-30)
|
# 1.8.1 (2014-09-30)
|
||||||
|
3
src/vendor/jquery/jquery.flot.js
vendored
3
src/vendor/jquery/jquery.flot.js
vendored
@ -1416,7 +1416,8 @@ Licensed under the MIT license.
|
|||||||
|
|
||||||
var info = surface.getTextInfo(layer, t.label, font, null, maxWidth);
|
var info = surface.getTextInfo(layer, t.label, font, null, maxWidth);
|
||||||
|
|
||||||
labelWidth = Math.max(labelWidth, info.width);
|
/// Grafana fix, add +1 to label width
|
||||||
|
labelWidth = Math.max(labelWidth, info.width + 1);
|
||||||
labelHeight = Math.max(labelHeight, info.height);
|
labelHeight = Math.max(labelHeight, info.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user