2015-04-22 66 views

回答

2

更改您的渲染功能,這個 - 很多

renderer: function (sprite, config, rendererData, index) { 
        var items = rendererData.store.getData().items; 
        if (items[index].data.hidden && config.type ==='marker') { // also check for config.type (data point will return marker as type and the lines will return line) 
        return { strokeStyle: 'yellow', lineWidth: 5 }; // added a lineWidth so that you can see the different color easily 
       } 
       } 
+0

謝謝你救了我的一天! – stefan