I have to show either 10 or 30 years of data on my chart with regression. The number of years shown is based on a button the user presses on the UI. In my Angular component I bind hc options object to a highcharts-angular component instance in my view. It shows the regression line initially. But when I update the options object and include the 30 years of data, the regression line is removed from the chart.
Is there any way to get this to work?
This fiddle shows the working options object with STATIC data: http://jsfiddle.net/yv8pbx56/4/