某些数据点无法访问Highcharts工具提示 [英] Highcharts tooltips not accessible for certain data points

查看:49
本文介绍了某些数据点无法访问Highcharts工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时很难获得Highcharts Javascript图表库来显示某些数据点的工具提示.例如,尝试在下面的链接上将数据点的工具提示显示在50,50处.很难显示它,并且闪烁很多.有人知道一些解决方法吗?

Sometimes it is very difficult to get the Highcharts Javascript charting library to show a tool tip for certain data points. For example, try to show the tooltip of the data point at 50,50 on the below link. It is very difficult to get it to show, and it flickers a lot. Does anyone know about some workaround?

http://highcharts.com/jsbin/ogixaz/2/edit

我尝试使用最新的Chrome和Firefox.

I tried it with an update-to-date Chrome and Firefox.

推荐答案

工具提示闪烁50,50的原因是因为在该点上绘制了工具提示.左侧和右侧的点为将工具提示绘制到侧面留出空间.中间图不能画到一边的原因是图表很小,工具提示很大.

The reason the tooltip at 50,50 flickers is because the tooltip is being drawn over the point. The points to the left and right allow room for the tooltip to be drawn to the side. The reason the middle one can't be drawn to the side is that the chart is small, and the toolip is big.

一些有助于解决这种情况的想法: 1.缩小工具提示. 2.放大图表(在您的示例中,尝试将右侧放大). 3.使用highcharts tooltip.positioner函数将工具提示放置在其他位置.

Some ideas to help this situation: 1. Making the tooltip smaller. 2. Make the chart bigger (try making the right hand side bigger in your example). 3. Use the highcharts tooltip.positioner function to place the tooltip somewhere else.

这篇关于某些数据点无法访问Highcharts工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆