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,
},
]
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!
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.