Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

area给y轴设置domainMin时显示样式问题 #5954

Closed
lumdzeehol opened this issue Dec 19, 2023 · 1 comment
Closed

area给y轴设置domainMin时显示样式问题 #5954

lumdzeehol opened this issue Dec 19, 2023 · 1 comment

Comments

@lumdzeehol
Copy link

lumdzeehol commented Dec 19, 2023

问题描述

面积图设置 chart.area().scale('y', { type: 'linear', domain: [20000, 30000] }); 后, 区域显示会下探到x轴以下

重现链接

https://codesandbox.io/p/sandbox/interesting-brook-fnxwdj

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

截屏2023-12-20 02 00 30

No response

补充说明(可选)

V4中设置了min 后,小于min的区域不会显示出来, V5 中的表现不一致了

@pearmini
Copy link
Member

如果希望不展示的话,可以设置 const chart = new Chart({ clip: true})

@antvis antvis locked and limited conversation to collaborators Dec 20, 2023
@pearmini pearmini converted this issue into discussion #5956 Dec 20, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants