Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datazoom not displayed correctly #307

Open
3 tasks done
JPLucasOrange opened this issue Jul 16, 2024 · 1 comment · May be fixed by #396
Open
3 tasks done

datazoom not displayed correctly #307

JPLucasOrange opened this issue Jul 16, 2024 · 1 comment · May be fixed by #396
Assignees
Labels
bug Something isn't working

Comments

@JPLucasOrange
Copy link

Prerequisites

Describe the issue

Sliders are not visibles when using datazoom echarts functionnality

Reduced test cases

To show the problem, we can run the project angular-boosted-starter and add this to the file "ods-charts.component.ts"
replace line 49 : tooltip: {},
by
tooltip: { trigger: 'axis', axisPointer: { label: { formatter: function (params) { let oT = new Date(params.value); return oT.toLocaleDateString("fr-FR"); }, } } }, toolbox: { feature: { dataZoom: { yAxisIndex: 'none' }, restore: {}, } }, dataZoom: [ { type: 'inside', }, { type: 'slider', } ],

On this example of echarts, we see slider below the chart to control the zoom :
apache echarts zoom
image

With ods-charts, we don't see the slider below the graph
image

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome, Firefox, Microsoft Edge

What version of ODS Charts are you using?

0.1.0-alpha.4

@JPLucasOrange JPLucasOrange added the bug Something isn't working label Jul 16, 2024
@jacques-lebourgeois
Copy link
Member

Reproduced here : https://codepen.io/jacques-lebourgeois/pen/dyxjgRP

The slider came back when we remove the line
echarts.registerTheme(themeManager.name , themeManager.theme);

@jacques-lebourgeois jacques-lebourgeois self-assigned this Nov 4, 2024
@jacques-lebourgeois jacques-lebourgeois linked a pull request Nov 4, 2024 that will close this issue
9 tasks
@jacques-lebourgeois jacques-lebourgeois linked a pull request Nov 4, 2024 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants