antvis / antvis/S2

🤔合并单元格是否可以支持设置居中方式?

Open
#1,579 4 comments 0 reactions 0 assignees View on GitHub
❔question 💤 inactive pivot sheet
Dominant language
TypeScript
Stars
1.7k
Forks
220
PR merge metrics
No merged PRs in 30d

Description

### 🖋 Description
使用 mergedCellsInfo 设置合并单元格信息后,展示出来的 meta 信息是否可以配置居中方式?
![image](https://user-images.githubusercontent.com/43870289/179650781-f34af9cf-b9fc-4677-808a-dfd9a405b3d6.png)
### 😊 Expected Behavior
可以在合并后的 **整个大单元格** 内,配置成垂直水平居中
### 😅 Current Behavior
默认是配置了 showText 所属单元格的居中方式

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the mergedCellsInfo example and inspect how the showText cell's alignment is applied to merged-cell metadata. The work is done when horizontal and vertical centering can be configured for the entire merged cell rather than only the cell containing showText.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.