【问题标题】:Victory chart, stacked bar one inside other胜利图,堆叠的条形一内一
【发布时间】:2021-01-13 15:34:12
【问题描述】:

如何在胜利原生中实现这样的东西?

【问题讨论】:

    标签: reactjs react-native victory-charts victory-native


    【解决方案1】:

    有一个围绕三个 VictoryBars 的 VictoryGroup,每个 VictoryBars 都有不同的 barWidth

    <VictoryGroup>
      <VictoryBar barWidth={30} />
      <VictoryBar barWidth={20} />
      <VictoryBar barWidth={10} />
    </VictoryGroup> 
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-01-31
      • 2012-05-11
      • 2023-01-21
      • 1970-01-01
      相关资源
      最近更新 更多