Jquery Highcharts 参数配置说明
chart:
renderTo 圖表的頁面顯示容器
defaultSeriesType 圖表的顯示類型(line,spline, scatter, splinearea bar,pie,area,column)
margin 上下左右空隙
events 事件
click function(e) {}
load function(e) {}
?
xAxis:yAxis:
屬性:
gridLineColor 網格顏色
reversed 是否反向 true ,false
gridLineWidth 網格粗細
startOnTick 是否從坐標線開始畫圖區域
endOnTick 是否從坐標線結束畫圖區域
tickmarkPlacement 坐標值與坐標線標記的對齊方式on,between
tickPosition 坐標線標記的樣式 向內延伸還是向外延伸(insidel,outside)
tickPixelInterval 決定著橫坐標的密度
tickColor 坐標線標記的顏色
tickWidth 坐標線標記的寬度
lineColor 基線顏色
lineWidth 基線寬度
max 固定坐標最大值
min 固定坐標最小值
plotlines 標線屬性
maxZoom
minorGridLineColor
minorGridLineWidth
/minorTickColor
title:
enabled: 是否顯示
text: 坐標名稱
Labels 坐標軸值顯示類 默認:defaultLabelOptions
formatter 格式化函數
enabled 是否顯示坐標軸的坐標值
rotation 傾斜角度
align 與坐標線的水平相對位置
x 水平偏移量
y 垂直偏移量
style
font 字體樣式 默認defaultFont
color 顏色
?
Tooltip 數據點的提示框
enabled 鼠標經過時是否可動態呈現true,false
formatter 格式化提示框的內容樣式
?
plotOptions 畫各種圖表的數據點的設置
defaultOptions 默認設置
屬性
Area類:
lineWidth 線寬度
fillColor area的填充顏色組
marker{} 設置動態屬性
shadow 是否陰影 true,false
states 設置狀態?
Line類
dataLabels: 數據顯示類
enabled 是否直接顯示點的數據true,false
series
name 該條曲線名稱
data[] 該條曲線的數據項
addPoint([x,y],redraw,cover) 添加描點,redraw 是否重畫,cover是否左移
setData: function(data, redraw) 重新設置Data數組,redraw是否重畫
remove: function(redraw) 刪除曲線
redraw: function() 重畫曲線
marker :
enabled 是否顯示描點
?
轉載于:https://www.cnblogs.com/xiashenbin/p/3213992.html
總結
以上是生活随笔為你收集整理的Jquery Highcharts 参数配置说明的全部內容,希望文章能夠幫你解決所遇到的問題。