Open canacan opened 6 years ago
@canacan 在你真正需要使用echarts指令的module中import NgxEchartsModule
Had the same issue, even with proper imports. The issue appeared to be a mismatch with the online demo installation guide and the installation steps on the github page.
you do NOT need to add the following to you angular.json : "../node_modules/echarts/dist/echarts.min.js"
uncaught Error: Template parse errors: Can't bind to 'options' since it isn't a known property of 'div'. (" 条形图 <div echarts [ERROR ->][options]="chartOption" [ngStyle]="{height: '400px'}">
另外, 之前试过viser,也报类似的错误