apache / apache/echarts

[Feature] VisualMap滑块上的标签位置需要支持位置设置,可以避免滑块特别近时,两个标签数值重叠

Open
#21,606 2 comments 0 reactions 0 assignees View on GitHub
new-feature pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

1、历史版本的滑块为箭头场景时,滑块标签显示在两侧,而非居中,不会发生重叠问题
2、后续版本的滑块无对应样式选择或设置,滑块标签数值始终居中显示,两滑块靠近时,标签上的数值会重叠

### What does the proposed API look like?

支持分开设置滑块上的标签数值的对齐方式,例如 textStyle.align: ['left', 'right']
或默认样式就是左侧滑块的标签值left左对齐,右侧滑块标签值右对齐

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.