Skip to content

Javascript example doesn't render #2

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

Open
chemeng opened this issue Mar 8, 2020 · 0 comments
Open

Javascript example doesn't render #2

chemeng opened this issue Mar 8, 2020 · 0 comments

Comments

@chemeng
Copy link

chemeng commented Mar 8, 2020

The following simple example doesn't render..

let table = this.anychart.data.table(); table.addData(this.series); // map the data let mapping = table.mapAs({x: 'asofdate', value: 'price'}); // chart type this.chart = this.anychart.stock(); // set the series var series = this.chart.plot(0).line(mapping); series.name("Stock Price"); this.chart.title('Stock Price'); this.chart.container(this.$el); this.chart.draw();

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