javascript – Google图表工具 – 重叠标签

前端之家收集整理的这篇文章主要介绍了javascript – Google图表工具 – 重叠标签前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在使用谷歌图表工具显示一个简单的折线图,原因不明,无论我如何设置“图例”参数,标签都会重叠.在下面的屏幕截图中,您可以看到图例的结果:{position:’in’,alignment:’center’}.如何解决这个问题?

解决方法

“..when people generally complain about labels overlapping,that’s due to attempting to draw in an invisible container. We currently do not support this,so you need to make sure that your container is not display:none when you draw the chart.” – Sergey

链接https://groups.google.com/forum/#!topic/google-visualization-api/c-KpZk–8p0

原文链接:https://www.f2er.com/js/150700.html

猜你在找的JavaScript相关文章