Ngx-admin: dataZoom eCharts property not appearing

Created on 22 Nov 2017  路  3Comments  路  Source: akveo/ngx-admin

No matter what I do I can't get the dataZoom option to show up in any eCharts graph. Even when I put it in the example charts that already come with ngx-admin.

(dataZoom is the property that allows you to zoom in you graph, or to slide through data in different periods).

What's weird is that dataZoom worked properly in any other project I've worked on, so it made me wonder if it was an incompatibility with ngx-admin. Maybe something in the template is causing it to not appear? Anyone had any similar issue?

My graph is a simple line chart. I've tried multiple combinations of slider / inside types and nothing.

dataZoom: [
                        {
                            type: 'inside',
                            start: 95,
                            end: 100,
                        },
                        {
                            show: true,
                            orient: 'horizontal',
                            type: 'slider',
                            start: 95,
                            end: 100,
                        },
                    ]
help wanted question

Most helpful comment

I had the same problem for weeks and it was so easy to solve I couldn't believe. Go to the echarts website (ecomfe.github.io/echarts-doc/public/en/download.html) and download the full version of the echarts.min.js file. Then, replace the old file in the src/assets/vendors folder with the new one. Shazam! It works.

All 3 comments

up ?

I had the same problem for weeks and it was so easy to solve I couldn't believe. Go to the echarts website (ecomfe.github.io/echarts-doc/public/en/download.html) and download the full version of the echarts.min.js file. Then, replace the old file in the src/assets/vendors folder with the new one. Shazam! It works.

@fernandoGSS It worked! Thank you very much!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pulfabio picture pulfabio  路  4Comments

maxlein picture maxlein  路  3Comments

Kalaijagdai picture Kalaijagdai  路  4Comments

tal-shahar picture tal-shahar  路  3Comments

hoswey picture hoswey  路  3Comments