Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
316 views
in Technique[技术] by (71.8m points)

reactjs - react-native-chart-kit turn trun StackedBarChart sideways

is there any reasonable way on how to turn a StackedBarChart sideways? I have tried it with

style: {
    transform: [{ rotate: '90deg'}]
}

This will lead to a result that looks like the image below: enter image description here

My question is, if it is possible to remove the bottom label and to have no margin or padding from the left. The graph should just start at the corner of the parent component.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...