Every line of 'angular charts cdn' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
163 ngAfterViewInit() { 164 this.chart = echarts.init(this.view.nativeElement); 165 this.chart.setOption(this.option, true); 166 }
37 export function ng2ChartsPie(_options: any): Rule { 38 // console.log('options', _options); 39 return chain([ 40 externalSchematic('@schematics/angular', 'component', _options), 41 (tree: Tree, _context: SchematicContext) => ng2ProcessTree(tree, _context, _options, newCode, newMarkup, newImports) 42 ]); 43 }