来自 highcharts.com 的简单示例: http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/column-parsed/
这是我的版本标题和数字:http://jsfiddle.net/948ws5k3/1/
基本上只是改变了<th>Pears</th>
至<th>Pears 222</th>
和<th>Bananas</th>
至<th>986</th>
等等
我需要我的 table <th>
有数字。如何做到这一点?
最佳答案
如果删除文本和数字之间的空格,它会正常工作
点赞
<th>Pears 222</th>
使用
<th>Pears222</th>
但类似fiddle即使 string 和 number 之间有空格也能正常工作,因此这可能是与版本相关的问题
关于javascript - Highcharts 如果标题包含数字,则显示无效数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32640227/