Skip to content

Using highchart-regression with highcharts-angular in an Angular project, cannot update options/data. #111

@cosmoKenney

Description

@cosmoKenney

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions