문제

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?

도움이 되었습니까?

해결책

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

var chart = nv.models.scatterChart()
        .showDistY(false)
        .tooltipYContent(null);
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top