highchart插件屬性說明

一.chart的部分相關屬性說明
    renderTo: 'container',      //圖表的頁面顯示容器(也就是要顯示到的div)
    defaultSeriesType: 'line',  //圖表類型(line、spline、scatter、splinearea、bar、pie、area、column)
    marginRight: 50,            //上下左右空隙(圖表跟圖框之間)
    marginBottom: 60,           //下面空隙如果不夠大,圖例說明有可能看不到
    plotBackgroundImage: '../graphics/skies.jpg', //(圖表的)背景圖片
    plotBackgroundColor:        //背景顏色
    width: 1000,                //圖框(最外層)寬(默認800)
    height: 500,                //圖框高(默認500) 
    backgroundColor: "red"      //圖框的背景顏色
    borderColor: "red"          //圖框的邊框顏色
    borderRadius: 5,            //圖框的圓角大小
    borderWidth: 9,             //圖框的邊框大小
    inverted: false,            //(使圖)倒置
    plotBorderColor: "red",     //圖表的邊框顏色
    plotBorderWidth: 0,         //圖表的邊框大小
    plotShadow: false,          //圖表是否使用陰影效果
    reflow: false,   
    shadow:true                 //圖框是否使用陰影
    showAxes: false,            //是否最初顯示軸
    spacingTop: 100,            //圖表上方的空白
    spacingRight: 10,
    spacingBottom: 15,
    spacingLeft: 10,
    colors: [...]        

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章