Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Component({
- template: `<amCharts [id]="id" [options]="options" [style.width.%]="100" [style.height.px]="500"></amCharts>`
- })
- export class AppComponent {
- private id = "chartdiv";
- private options = {
- "type": "serial",
- "theme": "light",
- "dataProvider": []
- ...
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement