曲线介绍
隐藏标题
title :{
text:null, //设置标题为空
align: "left" //标题左对齐
},
subtitle: {
text: null //标题下说明为空,隐藏
},
自定义曲线宽度高度
var kd=100;
chart: {
type: 'line',
width: kd
},
导出功能按钮隐藏
exporting: {
enabled: false //隐藏导出功能按钮
}
版权信息
credits:{
enabled: false // 禁用版权信息
}
图列相关属性
legend: {
enabled: true, //是否显示
floating: true, //是否悬浮
verticalAlign: 'top', //对齐方式
align: 'right', //水平对齐方式
y: -5, //Y轴偏移
x:10//X轴偏移
},
描点 flags
series: [{
name: 'USD to EUR',
data: data,
id: 'dataseries'
// the event marker flags
}, {
type: 'flags',
data: [{
x: Date.UTC(2015, 5, 8),
title: 'C',
text: 'Stocks fall on Greece, rate concerns; US dollar dips'
}, {
x: Date.UTC(2015, 5, 12),
title: 'D',
text: 'Zimbabwe ditches \'worthless\' currency for the US dollar '
}],
onSeries: 'dataseries',
shape: 'circlepin',
width: 16
}]