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

fix(treemap): cherry fix treemap drilldown #6437

Closed
wants to merge 1 commit into from

Conversation

ai-qing-hai
Copy link
Collaborator

@ai-qing-hai ai-qing-hai commented Aug 29, 2024

image
image

两个获取的 markOptions 内容不一致导致的问题。 进行兼容

);

const treemapDrillDown =
get(markOptions, ['interaction', 'treemapDrillDown']) ||
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个逻辑应该不需要处理,如果是 Spec 模式直接配置的话,印象中有处理逻辑。

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

返回的 interaction 本地只有 markIotions 有

'treemapDrillDown',
]);
const mark = find(
get(markOptions, ['children']),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

markOptions 是全量的 spec 还是对应 treemap 的 spec?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

全量的

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

Successfully merging this pull request may close these issues.

treemap drilldown not working
3 participants