假如設置的 頁面中的配置是prototype
<highchart config='chartConfigLine' id='chart' style='margin-bottom:50px'></highchart>
js中code
$scope.chartConfigLine.func = function(chart) { Highcharts.seriesTypes.spline.prototype.drawLegendSymbol = Highcharts.seriesTypes.column.prototype.drawLegendSymbol; }
便可io