Question

I am trying to disable the y value from being shown when the mouse hovers over a circle in nvd3 Bubble/Scatter chart. The live code is here. I tried this

var chart = nv.models.scatterChart()
            .showDistY(false)

but it only makes the line to the y axis disappear and not the y axis value. How do I disable the y axis label from being shown when the mouse hovers over the circles/bubbles?

Was it helpful?

Solution

You can set the y tooltip content to null to achieve this:

var chart = nv.models.scatterChart()
        .showDistY(false)
        .tooltipYContent(null);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top