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

G2 V5.*如何实现数据标签(label)文字颜色自动调整 #6539

Closed
seven-sent opened this issue Dec 6, 2024 · 1 comment
Closed

G2 V5.*如何实现数据标签(label)文字颜色自动调整 #6539

seven-sent opened this issue Dec 6, 2024 · 1 comment

Comments

@seven-sent
Copy link

问题描述

G2 4.*可以设置数据标签文字颜色自动调整,G2 V5.*如何实现呢?

//G2 4.*
interval.label('y', {
	layout: [{ type: 'interval-adjust-position' }, {type: 'adjust-color' }]
})

重现链接

No response

重现步骤

No response

预期行为

提供G2 V5.*实现数据标签文字颜色自动调整的方法

平台

  • 操作系统: macOS
  • 网页浏览器: Google Chrome

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@hustcc
Copy link
Member

hustcc commented Dec 6, 2024

等发包就可以了,今天发布一个版本。

@hustcc hustcc closed this as completed Dec 6, 2024
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

2 participants