使用Json字符串将多个系列添加到Highcharts

时间:2015-12-21 15:11:46

标签: asp.net json vb.net highcharts

目前我正在创建3个Json字符串并在运行时添加该系列。

series: [  {  

name: userID,
showInLegend: true,  
color: '#6699cc',
data: <%= chartData%>  
},
{
name: 'High Alarm Value',
showInLegend: true,  
color: '#FF0000',
data: <%= chartDataMax%>  
},
{
name: 'Low Alarm Value',
showInLegend: true,  
color: '#0000FF',
data: <%= chartDataMin%>  
}
]  

并加载它们,如您所见。我想创建一个包含n个系列的Json字符串数组,并将它们添加到图形中。

0 个答案:

没有答案