Open MobileMon opened 10 months ago
Right now the fastest bet is: transform: rotate(90deg);
or contributing 😄
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 style={{ transform: [{ rotate: "90deg" }] }}>
<CartesianChart>
...
</CartesianChart>
</View>
Though, be mindful this will also rotate the entire chart (including your labels and axis as well).
How should we handle the rotated labels and axis?
How can I turn the bar chart horizontal?