Open NickSchweitzer opened 7 years ago
Off top of my head I dont think the options are observable, there is no mechanism inside aurelia to just observe an object for changes (or there wasnt when I first developed this), if there is a quick way to just know at a high level if the object has changed I can probably trigger a refresh or whatever with new options, its just knowing when the options have changed, there may be a way to do it based upon the convention functions within custom components.
It appears that if I bind native-options to a Chart Options object, and then change the chart options, that the chart doesn't reflect the changes. It appears to only read the bound value on creation of the chart.
The reason I want this, is that if I change the data on a line chart, that I want to change the min and max value in the xAxes of the scales.