Highcharts的可配置属性总览
Highcharts可配置选项,在最初的声明chart的时候,初始化。各个属性总览和默认值如下,稍后会系统解释。
var chart = newHighcharts.Chart({
chart: {…
alignTicks: true
animation:true
backgroundColor:#FFFFFF
borderColor:#4572A7
borderRadius: 5.0
borderWidth: 0.0
className:null
defaultSeriesType:null
events: {…
}
height:null
ignoreHiddenSeries:true
inverted:false
margin:null
marginBottom:null
marginLeft:null
marginRight:null
marginTop:null
plotBackgroundColor:null
plotBackgroundImage:null
plotBorderColor:#C0C0C0
plotBorderWidth: 0.0
plotShadow: false
polar:false
reflow:true
renderTo: null
resetZoomButton: {…
}
selectionMarkerFill:rgba(69,114,167,0.25)
shadow:false
showAxes:false
spacingBottom: 15
spacingLeft:10.0
spacingRight:10.0
spacingTop:10.0
style:null
type:line
width:null
zoomType:null
}
colors: [{…
}]
credits: {…
enabled:true
href:http://www.highcharts.com
position:null
style:null
text:Highcharts.com
}
exporting: {…
}
global: {…
}
labels: {…
}
lang: {…
}
legend: {…
}
loading: {…
}
navigation: {…
}
pane: {…
}
plotOptions: {…
area: {…
}
arearange: {…
}
areaspline: {…
}
areasplinerange: {…
}
bar: {…
}
column: {…
}
columnrange: {…
}
gauge: {…
}
line: {…
}
pie: {…
allowPointSelect:false
animation:true
borderColor:#FFFFFF
borderWidth: 1.0
color:null
cursor:null
dataLabels: {…
backgroundColor:null
borderColor:null
borderRadius: 0.0
borderWidth: 0.0
color:null
connectorColor:{point.color}
connectorPadding: 5.0
connectorWidth: 1.0
crop:true
distance:30.0
enabled:true
formatter:null
overflow:null
padding: 2.0
rotation: 0.0
shadow:false
softConnector:true
style:null
useHTML:false
verticalAlign:null
x: 0.0
y:-6.0
zIndex: 6
}
enableMouseTracking:true
events: {…
}
id:null
ignoreHiddenPoint:false
innerSize: 0.0
lineWidth: 2.0
marker: {…
enabled:true
fillColor:null
lineColor:#FFFFFF
lineWidth: 0.0
radius: 0.0
states: {…
}
symbol:null
}
point: {…
events: {…
click: null
legendItemClick: null
mouseOut: null
mouseOver: null
remove: null
select: null
unselect: null
update: null
}
}
pointPlacement:null
selected:false
shadow:true
showInLegend:false
size: 75%
slicedOffset:10.0
startAngle: 0
states: {…
}
stickyTracking:true
tooltip: {}
visible:true
zIndex:null
}
scatter: {…
}
series: {…
}
spline: {…
}
}
series: [{…
data: {…
}
dataParser:null
dataURL:null
index: null
legendIndex:null
name:null
stack:null
type:line
xAxis: 0.0
yAxis: 0.0
}]
subtitle: {…
}
title: {…
}
tooltip: {…
}
xAxis: {…
}
yAxis: {…
}
});