Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to the chart object #12

Open
Zefling opened this issue May 15, 2017 · 0 comments
Open

Access to the chart object #12

Zefling opened this issue May 15, 2017 · 0 comments

Comments

@Zefling
Copy link

Zefling commented May 15, 2017

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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant