我试图禁用我的图表中的line意境的工具提示,并保留bar意甲的工具提示。我真不知道该怎么做。
这两个系列的工具提示都启用了,问题是我看不到bar serie的工具提示,因为它总是从line中选择更接近的工具提示。也许,如果鼠标更接近这个点,就有可能触发工具提示?目前,它在离点10到20 it的地方触发它。

发布于 2014-05-20 10:46:03
这应该可以做到:
var chart = nv.models.linePlusBarChart()
.margin({top: 30, right: 60, bottom: 50, left: 70})
...
;
chart.lines.interactive(false) // add this linehttps://stackoverflow.com/questions/23754188
复制相似问题