- Notifications
You must be signed in to change notification settings - Fork217
-
您好,透视表树形展示的时候,希望可以数值类型的指标单独一列,而不是树的最下级节点,请问这种可以实现么? |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 1 reply
-
在 antvis/S2 中,透视表的树形展示通常是将数值类型的指标放在树的最下级节点。然而,如果您希望将数值类型的指标单独展示为一列,可以通过自定义数据结构和配置来实现。 以下是一个可能的实现思路:
如果您需要更具体的代码示例或配置指导,请提供更多的上下文信息或数据结构示例,我将很乐意为您提供进一步的帮助。 🪧 TipsFor further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me. |
BetaWas this translation helpful?Give feedback.
All reactions
-
import { PivotSheet, S2Options } from '@antv/s2'; const container = document.getElementById('container'); const s2Options: S2Options = { const s2 = new PivotSheet(container, s2DataConfig, s2Options); s2.render(); |
BetaWas this translation helpful?Give feedback.