Open yernandus opened 6 years ago
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.
@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
@alexgnatrow
style={{ '.label': { fill: 'black' } }}
Adding style worked well for me
I copy pasted the example that is given in documentation. But no labels are shown