有了Victory,我如何影响VictoryAxis标签的Y位置?

问题描述

我正在使用React.js,胜利和Javascript

我正在尝试获取“日期”轴标签,使其低于刻度线。 即影响轴标签的y位置

<VictoryAxis
              fixLabeloverlap
              tickFormat={(t,i) => {
                t = t.replace("2020-","")
                t = t.replace(/-/g,"/")
                return t
              }}
              label = { xAxisLabel }
              style = {{ axisLabel: { paddingTop:"20px" } }}
            />

enter image description here

解决方法

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

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

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