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