Skip to content
New issue

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

Label rotation does not do what is expected #366

Open
ArjunVermaGitHub opened this issue Jul 7, 2020 · 1 comment · May be fixed by #626
Open

Label rotation does not do what is expected #366

ArjunVermaGitHub opened this issue Jul 7, 2020 · 1 comment · May be fixed by #626

Comments

@ArjunVermaGitHub
Copy link

ArjunVermaGitHub commented Jul 7, 2020

Setting the vertical label roration value does not make the labels rotate in place, but instead, it rotates the entire collection of the labels, at least in LineChart.

Here is my code(the relevant parts):
const chartConfig = {
backgroundGradientFrom: '#1E2923',
backgroundGradientTo: '#08130D',
color: (opacity = 1) => rgba(255, 255, 255, ${opacity}),
decimalPlaces: 3
}

In styles:

lineChart:{
margin: 5,
borderRadius: 10
}

Screenshot from 2020-07-07 17-30-16

@me301
Copy link

me301 commented Sep 11, 2020

I haven't tested this on a phone. But I think it's an issue with react native web (Since rotation seems to work in all of the other android or ios issues opened here).

@ps-patryk ps-patryk linked a pull request Aug 5, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants