jQuery图表插件Highcharts API参数,方法和属性

Highcharts支持大部分的图表类型:直线图,曲线图、区域图、区域曲线图、柱状图、饼装图、散布图,
兼容性:兼容当今所有的浏览器,包括iPhone、IE和火狐等.

The options object

var chart = new Highcharts.Chart({
chart: {
alignTicks: true,
animation: true,
backgroundColor: “#FFFFFF”,
borderColor: “#4572A7”,
borderRadius: 5,
borderWidth: 0,
className: “”,
defaultSeriesType: ,
events: {…},
height: null,
ignoreHiddenSeries: true,
inverted: false,
margin: [null],
marginTop: null,
marginRight: 50,
marginBottom: 70,
marginLeft: 80,
plotBackgroundColor: null,
plotBackgroundImage: null,
plotBorderColor: “#C0C0C0”,
plotBorderWidth: 0,
plotShadow: false,
reflow: true,
renderTo: null,
resetZoomButton: {…},
selectionMarkerFill: rgba(69,114,167,0.25),
shadow: false,
showAxes: false,
spacingTop: 10,
spacingRight: 10,
spacingBottom: 15,
spacingLeft: 10,
style: ,
type: “line”,
width: null,
zoomType: “”
},
colors: […]
credits: {…},
global: {…},
labels: {…},
lang: {…},
legend: {…},
loading: {…},
plotOptions: {…},
point: {…},
series: [{…}],
subtitle: {…},
symbols: […]
title: {…},
tooltip: {…},
xAxis: {…},
yAxis: {…},
// exporting module
exporting: {…},
navigation: {…}
});

Methods and properties

Highcharts (namespace)
Renderer
Element
Chart
Axis
Series
Point

参考文章:
http://www.highcharts.com/ref

Leave a Reply