Highcharts ng 使用highchart ng更改图例颜色

Highcharts ng 使用highchart ng更改图例颜色,highcharts-ng,Highcharts Ng,我想更改highchart中的图例颜色。我使用了highchart ng,下面的代码无效,请帮助我 scope.dvBarChartNG = { options: { chart: { type: 'column', backgroundColor: '#ffffff'

我想更改highchart中的图例颜色。我使用了highchart ng,下面的代码无效,请帮助我

            scope.dvBarChartNG = {      
                options: {
                    chart: {
                        type: 'column',
                        backgroundColor: '#ffffff'
                    }
                },           
                xAxis: {

                },
                yAxis: {

                },                
                plotOptions: {
                    column: {
                        pointPadding: 0.2,
                        borderWidth: 0
                    },
                },
                *legend: {
                    itemStyle: {                            
                        'color' : '#000'
                    },
                    itemHoverStyle: {
                        'color' : '#000'
                    },
                    itemHiddenStyle: {  
                        'color' : '#000'
                    }
                },*
                series: [{
                    name: 'xxxx',
                    data: scope.yyyy.series.user,           
                    color: '#cfffac',
                    borderColor: "#cfffac",
                    showInLegend: true
                }, {
                    name: 'xxxx',
                    data: scope.yyyy.series.entity,
                    color: '#82c84c',
                    borderColor: "#82c84c",
                    showInLegend: true
                }]
            };
我的html代码是

上述询问我的问题没有正确表述。我的html代码最终得到了解决方案选项:{chart:{type:'column',backgroundColor:'#ffffff'},图例:{itemStyle:{'color':'#000'},itemHoverStyle:{'color':'#000'},itemHiddenStyle:{'color':'#000'}}太棒了我也被困在这里,你的解决方案帮助了我:)