mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(graph tooltip): fixed graph tooltip when stacking and one series is not stacked (via override), fixes #2670
This commit is contained in:
@@ -55,7 +55,7 @@ function ($) {
|
|||||||
hoverIndex = this.findHoverIndexFromData(pos.x, series);
|
hoverIndex = this.findHoverIndexFromData(pos.x, series);
|
||||||
results.time = series.data[hoverIndex][0];
|
results.time = series.data[hoverIndex][0];
|
||||||
|
|
||||||
if (scope.panel.stack) {
|
if (series.stack) {
|
||||||
if (scope.panel.tooltip.value_type === 'individual') {
|
if (scope.panel.tooltip.value_type === 'individual') {
|
||||||
value = series.data[hoverIndex][1];
|
value = series.data[hoverIndex][1];
|
||||||
} else if (!series.stack) {
|
} else if (!series.stack) {
|
||||||
|
|||||||
Reference in New Issue
Block a user