记录一些code
lineOption = {
title : {
text : '',
textStyle : { //new add
color : '#386db3', //color
FontStyle : 'normal', //style
fontWeight : 'normal',//fat/thin
// fontFamily:"Microsoft yahei",
// fontSize:20, //size
align : 'center'
},
},
grid : { //show the chart located in the canvas//new add
x : 50,
y : 55,
x2 : 50,
y2 : 60,
borderWidth : 1
},
tooltip : {},
legend : {
data : [ 'volumn of business' ]
},
xAxis : {
data : line.date
},
yAxis : {},
series : [ {
name : 'volumn of business',
type : 'line',
symbol : 'circle',//new add
symbolSize : 12,//new add the pint size
itemStyle : { //new add
normal : {
color : '#386db3',
lineStyle : {
color : '#386db3',
width : 3
}
}
},
data : line.num
} ]
/*,
dataZoom:{
realtime:true,
height:25,
start:0,
end:100
} */
};