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 add Axis name like this
The text was updated successfully, but these errors were encountered:
Hi @ChauVV Thanks for requesting this feature. I will add it in the next release.
For now, I can suggest you a workaround. Try adding Text with position absolute. Here's an example-
const data= [ {value:10, label:'2'}, {value:15, label:'3'}, {value:18, label:'4'}, {value:15, label:'5'}, {value:12, label:'6'}, {value:8, label:'7'}, ] return( <View style={{marginTop:20}}> <LineChart data={data} /> <View style={{position:'absolute',top:-20,left:16}}> <Text>Wh</Text> </View> <View style={{position:'absolute',bottom:12,right:32}}> <Text>Days</Text> </View> </View> )
Output-
Sorry, something went wrong.
No branches or pull requests
How can i add Axis name like this
The text was updated successfully, but these errors were encountered: