angular2-nvd3
angular2-nvd3 copied to clipboard
Access to the chart object
Currently, it's possible to get the chart object with this method, to ignore the private access.
let char = <LineChart>(this.nvD3['ngNvD3']['chart']);
let x = chart.xAxis.scale()(current);
Is it possible tout add a getter like this?
let char = this.nvD3.getChart<LineChart>();
let x = chart.xAxis.scale()(current);