Highcharts散点图,每个点的名称为一个系列

时间:2015-02-11 13:33:23

标签: json plot highcharts scatter

我有这个 [[26.4,77.5,"US009"],[8.3,6.6,"US013"],[5.8,6.1,"US015"],[4.1,5.1,"US020"],[19,20.6,"US021"],[14.4,26.5,"US022"]]

使用highcharts散布, 一系列系列:

{
    data: [[26.4,77.5,"US009"],[8.3,6.6,"US013"],[5.8,6.1,"US015"],[4.1,5.1,"US020"],[19,20.6,"US021"],[14.4,26.5,"US022"]],
    name: 'Source'
}

系列:

[{
                    name: 'Source',
                    color: 'rgba(223, 83, 83, .5)',
                    data:  [[26.4,77.5,"US009"],[8.3,6.6,"US013"],[5.8,6.1,"US015"],[4.1,5.1,"US020"],[19,20.6,"US021"],[14.4,26.5,"US022"],
[0.2,0,"US024"],[2.2,0.8,"US025"],[13.2,15.9,"US032"],[4.7,0.6,"US034"],[3.5,3.1,"US039"],[0.3,0,"US042"]]
                }]

.... 我需要给我的图中的每个点图画一个像“US009”的名字我该怎么做?

0 个答案:

没有答案