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

no Labels on LineChart #118

Open
yernandus opened this issue Feb 16, 2018 · 4 comments
Open

no Labels on LineChart #118

yernandus opened this issue Feb 16, 2018 · 4 comments

Comments

@yernandus
Copy link

I copy pasted the example that is given in documentation. But no labels are shown

@redrobotdev
Copy link

redrobotdev commented Mar 15, 2018

the label is added to the DOM, but it's not visible because it's white. Adding a style .label { fill: black } would adjust the color correctly.

@olekspickle
Copy link

@ababakanian any tips how to do this in React e.g.
<LineChart style={{fill: 'black'}} (???) axes axisLabels={{ y: 'My Level' }} data={[moodData]} dataPoints grid height={chart.height} interpolate={'cardinal'} lineColors={['#ff6600']} width={chart.width} xType={'text'} yDomainRange={[0, 10]} />
and my y axis text is obviously white

@abarnes26
Copy link

abarnes26 commented Apr 17, 2018

@alexgnatrow

style={{ '.label': { fill: 'black' } }}

@sumer9999
Copy link

Adding style worked well for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants