hightchats调用数据问题,急急急
hightcharts的data在页面调用只可以是实际的数吗?
代码如下:
$(function () {
$('#container3').highcharts({
chart: {
type: 'gauge',
plotBorderWidth: 1,
plotBackgroundColor: {
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
stops: [
[0, '#FFF4C6'],
[0.3, '#FFFFFF'],
[1, '#FFF4C6']
]
},
plotBackgroundImage: null,
height:165
},
title: {
text: '温度'
},
pane: [{
startAngle: -45,
endAngle: 45,
background: null,
center: ['50%', '105%'],
size: 200
}],
yAxis: [{