angular-highcharts icon indicating copy to clipboard operation
angular-highcharts copied to clipboard

How to use gradient

Open dariogriffo opened this issue 5 years ago • 0 comments

Trying to reproduce this code

plotOptions: { series: { fillColor: { linearGradient: [0, 0, 0, 300], stops: [ [0, Highcharts.getOptions().colors[0]], [1, Highcharts.Color(Highcharts.getOptions().colors[0]).setOpacity(0).get('rgba')] ] } } }

I can't fine the Highcharts.Color function. Any hint on how to create an area chart with gradient colors like https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/area-fillcolor-gradient/

dariogriffo avatar May 01 '19 14:05 dariogriffo