mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
When stacking graphs, always include the y-offset so that tooltips can
render proper values for individual points
This commit is contained in:
parent
667ca3d54d
commit
e91729a568
2
public/vendor/flot/jquery.flot.js
vendored
2
public/vendor/flot/jquery.flot.js
vendored
@ -1129,7 +1129,7 @@ Licensed under the MIT license.
|
||||
format.push({ x: true, number: true, required: true });
|
||||
format.push({ y: true, number: true, required: true });
|
||||
|
||||
if (s.bars.show || (s.lines.show && s.lines.fill)) {
|
||||
if (s.stack || s.bars.show || (s.lines.show && s.lines.fill)) {
|
||||
var autoscale = !!((s.bars.show && s.bars.zero) || (s.lines.show && s.lines.zero));
|
||||
format.push({ y: true, number: true, required: false, defaultValue: 0, autoscale: autoscale });
|
||||
if (s.bars.horizontal) {
|
||||
|
Loading…
Reference in New Issue
Block a user