如何在Victory Native的条形图的顶部放置Y轴?

问题描述

这是到目前为止的代码:

<Chart theme={VictoryTheme.material} width={width} height={height}>
    <VictoryBar
      style={barStyle}
      data={normalizedData}
      horizontal
      barWidth={({ index }) => index * 20 + 10}
    />
  </Chart>

这将Y轴显示在图形的底部。我需要在图的正下方包括另一个小部件,因此我想将Y轴放在顶部,但是我不确定VictoryBar是否对此提供支持。有什么想法吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)