2015-12-24 43 views
8

如何爲zingchart中的系列數組之外的不同值設置不同的背景顏色?凡應該和我應該如何設置我的背景色-1的值設置1和VALU SET2如何爲外部系列中的繪圖值設置顏色ZingChart

var myConfig = { 
    type: "mixed", 
    series : [ 
     { 
      type : 'bar', 
      values : [35,42,67,89,25,34,67,85], 
      values : [30,40,60,80], 
      // how to change background color without setting it here ? 

     }, 
     { 
      type : 'line', 
      values : [35,42,67,89,25,34,67,85], 
      lineWidth : "6px", 
      topState : { 
       lineWidth : "2px", 
       lineColor : "pink" 
      } 
     } 
    ] 
}; 

回答

相關問題