xieziyu/ngx-echarts

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

sam-hajj opened this issue · 0 comments

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