S2 icon indicating copy to clipboard operation
S2 copied to clipboard

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

Open IAmChenwenchun opened this issue 2 years ago • 4 comments

🖋 Description

使用 mergedCellsInfo 设置合并单元格信息后,展示出来的 meta 信息是否可以配置居中方式? image

😊 Expected Behavior

可以在合并后的 整个大单元格 内,配置成垂直水平居中

😅 Current Behavior

默认是配置了 showText 所属单元格的居中方式

IAmChenwenchun avatar Jul 19 '22 02:07 IAmChenwenchun

可以通过配置 showText ,合并后单元格,展示文本的位置。 现在暂无设置文字居中的属性。

stone-lyl avatar Jul 19 '22 05:07 stone-lyl

showText如何配置呢,我这边尝试了true和false都没有实现垂直居中效果

yangxiaoguai132 avatar Jul 28 '22 10:07 yangxiaoguai132

ref: https://github.com/antvis/S2/issues/1630

lijinke666 avatar Aug 05 '22 09:08 lijinke666

暂无设置合并后内容,垂直或者水平居中的功能

stone-lyl avatar Sep 06 '22 22:09 stone-lyl