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

series-treemap. nodeClick -> Type definition error/Not in line with docs #368

Open
sam-hajj opened this issue Jul 28, 2022 · 0 comments
Open

Comments

@sam-hajj
Copy link

sam-hajj commented Jul 28, 2022

Steps to reproduce:

  1. Follow installation guide
  2. Go to node_modules/echarts/types/dist/echarts.d.ts, search TreemapSeriesOption
  3. nodeClick?: 'zoomToNode' | 'link';

image


Docs:
https://echarts.apache.org/en/option.html#series-treemap.nodeClick
image


Temp fix:

...
series: [
      {
        type: 'treemap',
        nodeClick: null,
...

Not sure where to put this, as it may relate to type definitions of echarts, or a handful of other things. Lead dev could know where the problem is faster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant