如何在透视表中插入迷你图? #2100
-
你好 目前想要在透视表最后一列插入迷你图显示整体数据趋势 基本诉求和下面的issue一致 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
迷你图确实缺少 demo/相关文档, 近期会补充, 迷你图是 |
Beta Was this translation helpful? Give feedback.
-
你好 我看链接里的迷你图demo表类型都是sheetType="strategy" 现在sheetType="PivotSheet"支持吗 还是说一样的传入数据就会展示 和具体的表类型无关? |
Beta Was this translation helpful? Give feedback.
-
https://s2.antv.antgroup.com/examples/custom/custom-cell/#data-cell |
Beta Was this translation helpful? Give feedback.
迷你图确实缺少 demo/相关文档, 近期会补充, 迷你图是
@antv/s2
这个包内置的, 只要传入的数据是满足要求的就会自动渲染迷你图, 和什么框架无关, 你可以尝试下, 不过这一块能力比较弱, 还不太成熟, 2.0 的新版本可以支持渲染 G2 之类的第三方图表库https://s2.antv.antgroup.com/manual/basic/analysis/strategy#:~:text=%3D%3E%20void%3B-,BaseChartData,-%E6%8A%98%E7%BA%BF%E5%9B%BE%E3%80%81%E6%9F%B1%E7%8A%B6