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

Bar chart: How to show y values on top of the every bar #121

Open
nraju-nyros opened this issue Sep 7, 2020 · 1 comment
Open

Bar chart: How to show y values on top of the every bar #121

nraju-nyros opened this issue Sep 7, 2020 · 1 comment

Comments

@nraju-nyros
Copy link

No description provided.

@mahen2804-ms
Copy link

this.state = {sampleDataone : [
{
seriesName: 'series1',
data:[
{x:'Charging',y:(1 * 15)},
{x:'Daily Check',y: (1 * 18)},
{x:'Weekely Checks',y:(1 * 24)},
{x:'Pnumeticn Door',y:(1 * 26)},
{x:'Uptime',y:(1 * 28)} ,
{x:'oK Tagging',y:(1 * 5)}
],
color: '#6FD7F9'
},
],
}
<View style={{flex:1,justifyContent:'center',alignSelf:'center'}}>
<PureChart data={this.state.sampleDataone} type='bar'
width={'100%'}
height={"100%"}
numberOfYAxisGuideLine={10}
backgroundColor={'white'} labelColor={'green'} style={{ borderColor: 'green', borderWidth: 1, width: 600 }}
/>

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

No branches or pull requests

2 participants