CSS转换样式不适用于IE11中的VictoryAxis

时间:2020-11-12 22:08:17

标签: css svg grid transform victory-charts

我正在使用“胜利图”,并且想将垂直网格向左移动。为此,我使用了VictoryAxis提供的“样式”道具,例如:

<VictoryAxis style={{
    axis: {stroke: "#756f6a"},
    grid: {stroke: "red", transform: "translateX(-18px)"},
/>

这仅在IE中不起作用。看起来 transform:“ translateX(-18px)” 对IE没有任何影响。有什么办法可以做到这一点?

0 个答案:

没有答案