antvis / antvis/S2

🙏希望可以针对合并后的单元格设置对齐样式

Open
#3,057 2 comments 0 reactions 0 assignees View on GitHub
💤 inactive 🙏feature request
Dominant language
TypeScript
Stars
1.7k
Forks
220
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature / 功能描述

希望可以对合并后的单元格设置对齐方式, 例如横向:左对齐,居中,右对齐, 纵向: 顶部对齐, 居中,底部对齐
例如下图
![image](https://github.com/user-attachments/assets/5594d769-e1cf-4385-a993-a8dcc87d0e6d)

### Design the API / API 设计

| name | type | default | description |
| ---- | ---- | ------- | ----------- |
| - | - | - | - |

### Are you willing to contribute? / 是否愿意参与贡献?

✅ Yes / 是

Contributor guide

Open the contributing guide

Research direction

Start by reading the S2 code that handles merged cells and cell styling; the issue does not identify a file, test, or API entry point. Define how horizontal and vertical alignment should apply to merged cells, then verify the behavior with coverage for left, center, right, top, and bottom alignment.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.