ngx-echarts
ngx-echarts copied to clipboard
An angular (ver >= 2.x) directive for ECharts (ver >= 3.x)
实例通过onChartInit获取,获取之后执行ec.getDataURL可以,但是ec.getDataURL()就会报错,错误如下,我想是不是上下文关系 ERROR TypeError: Cannot read property 'get' of undefined at za.Ew.getRenderedCanvas (echarts.min.js:formatted:1) at za.Ew.getDataURL (echarts.min.js:formatted:1) at StatsComponent.push../src/app/project/data-view/stats/stats.component.ts.StatsComponent.onChartInit (stats.component.ts:295)
$evnet.getModel().getComponent('bmap').getBMap() is undefined
**index.html:** **main.ts:** import 'echarts/dist/extension/bmap.min.js'; 第一次进去: 报错: ERROR TypeError: Cannot read property 'ubsubscribe' of undefined at ngx-echarts.js:197: this.resizeSub.unsubscibe() 但是并不影响显示 页面刷新: BMap api is not loaded 页面显示不出来
I'm trying to import a typedef from echarts, but it's failing with the following error: ``` Could not find a declaration file for module 'echarts'. 'node_modules/echarts/dist/echarts.min.js' implicitly has an 'any'...
are there any examples of using this library inside bootstrap tabs? I am currently able to create several charts, but once I place one inside of a tab I cannot...
I have a simple chart diplaying data, the xAxis values type is Date, the xAxis type is "category" , I retrieve my data using an API, my data shows correctly...
原生的时候是 let resizeContainer = function () { part.style.width = $("#flow-statistics-content").width()/2-20+'px'; if ($(document.body).height() > 600 ) { part.style.height = $(document.body).height()/2+'px'; }else{ part.style.height = 300+'px'; } }; resizeContainer(); const myPartChart = echarts.init(part);...
uncaught Error: Template parse errors: Can't bind to 'options' since it isn't a known property of 'div'. (" 条形图 ][options]="chartOption" [ngStyle]="{height: '400px'}"> 1. npm install echarts --save 2. npm install...

i want to use 'graphic ' to drag a line,but ngx-echarts has no convertToPixel & convertFromPixel .could anyone help me solve this issue.thanks!