logo

S2

  • Manual
  • API
  • Examples
  • Playground
  • ChangeLog
  • Productsantv logo arrow
  • 2.x
  • Common Configuration
    • S2DataConfig
    • S2Options
      Updated
    • S2Theme
      Updated
    • S2Event
  • Basic Class
    • SpreadSheet
    • Interaction
      Updated
    • Store
    • BaseCell
      Updated
    • BaseDataSet
    • Node
    • BaseTooltip
    • BaseFacet
      Updated
    • Hierarchy
      New
    • BaseBBox
      New
    • CellData
      New
  • Components
    • table component
    • DrillDown
    • Switcher
    • Advanced Sort
    • Export
      Updated
  • Graphic style
  • 透视组合图拓展 S2Options

透视组合图拓展 S2Options

Previous
Graphic style

Resources

Ant Design
Galacea Effects
Umi-React Application Framework
Dumi-Component doc generator
ahooks-React Hooks Library

Community

Ant Financial Experience Tech
seeconfSEE Conf-Experience Tech Conference

Help

GitHub
StackOverflow

more productsMore Productions

Ant DesignAnt Design-Enterprise UI design language
yuqueYuque-Knowledge creation and Sharing tool
EggEgg-Enterprise-class Node development framework
kitchenKitchen-Sketch Tool set
GalaceanGalacean-互动图形解决方案
xtechLiven Experience technology
© Copyright 2025 Ant Group Co., Ltd..备案号:京ICP备15032932号-38

Loading...

功能描述:透视组合图对 S2Options 配置的拓展。查看 文档 和 示例

参数说明类型默认值必选
chart图形配置Chart
axisRowCell自定义竖轴单元格 cellCellCallback
axisColCell自定义横轴单元格 cellCellCallback
axisCornerCell自定义交叉轴单元格 cellCellCallback

Chart

功能描述:透视组合图 g2 配置。

参数说明类型默认值必选
coordinate图形坐标系'cartesian' | 'polar''cartesian'
dataCellSpec数据单元格自定义的 g2 specG2Spec | ((cell: PivotChartDataCell) => G2Spec)
axisRowCellSpec竖轴单元格自定义的 g2 axis component spec[AxisComponent](AxisComponent) | ((cell: AxisRowCell) => AxisComponent)
axisColSpec横轴单元格自定义的 g2 axis component specAxisComponent | ((cell: AxisColCell) => AxisComponent)