We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I turn the bar chart horizontal?
The text was updated successfully, but these errors were encountered:
Right now the fastest bet is: transform: rotate(90deg); or contributing 😄
transform: rotate(90deg);
Sorry, something went wrong.
Hi @lukebars, where would you add transform: rotate(90deg);?
@YTRodi you can add this property to the containing View component's style object, like so:
View
<View style={{ transform: [{ rotate: "90deg" }] }}> <CartesianChart> ... </CartesianChart> </View>
Though, be mindful this will also rotate the entire chart (including your labels and axis as well).
No branches or pull requests
How can I turn the bar chart horizontal?
The text was updated successfully, but these errors were encountered: