i'm using nvd3 for angular2 and i'm trying to change the chart options (yDomain) dynamically after beeing initialized.
this.options = {
chart: {
type: 'lineChart',
x: function(d){return d.x;},
y: function(d){return d.y;},
yDomain: [1, 2],
I've already tried this:
this.options.chart.yDomain = [0.1,0.2];
Any help is appreciated.