Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望在条形图值的正上方包含 tooptip div
例如:如果条形图值约为 90,80 在鼠标悬停时,[值框] 应该在当前条形图值的正上方。
是否有可能在酒吧的起始顶部获得鼠标?
刚刚浏览过,可以通过以下方式访问
x = plot1.axes.xaxis.u2p(data[0]), // convert x axis unita to pixels y = plot1.axes.yaxis.u2p(data[1]); // convert y axis units to pixels