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

V5我想把interval柱状图设置固定宽度,但是都没找到类似配置项 #5994

Closed
fjloser opened this issue Dec 29, 2023 · 2 comments

Comments

@fjloser
Copy link

fjloser commented Dec 29, 2023

问题描述

V5我想把interval柱状图设置固定宽度,但是我都没找到类似配置项,请问可以在那个地方可以配置呢?

重现链接

No response

重现步骤

No response

预期行为

No response

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@hustcc
Copy link
Member

hustcc commented Dec 29, 2023

设置 style maxWidth minWidth

@pearmini
Copy link
Member

pearmini commented Jan 3, 2024

如果是固定宽度,可以设置为 chart.interval().encode("size", 50)

@antvis antvis locked and limited conversation to collaborators Jan 3, 2024
@pearmini pearmini converted this issue into discussion #6000 Jan 3, 2024

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

3 participants