diff --git a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js index fcc40b92b1f30..7f3d4d08d4fef 100644 --- a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js +++ b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js @@ -673,9 +673,9 @@ function nvd3Vis(element, props) { chart.color(d => d.color || colorFn(cleanColorInput(d[colorKey]))); } - if (isVizTypes(['line', 'area', 'dist_bar']) && useRichTooltip) { + if (isVizTypes(['line', 'area', 'bar', 'dist_bar']) && useRichTooltip) { chart.useInteractiveGuideline(true); - if (vizType === 'line') { + if (vizType === 'line' || vizType === 'bar') { chart.interactiveLayer.tooltip.contentGenerator(d => generateRichLineTooltipContent( d,