Skip to content

Nivo line graph acting strange #2263

Answered by tkonopka
imtiazhussain110 asked this question in Q&A
Discussion options

You must be logged in to vote

If these are svg charts, it may be that svg path components are using a solid color as a fill. You can try to set prop fill='none' on your Line component. But if this appeared without any changes to the nivo code, it may be caused by a global style rule elsewhere on your page/site that is now affecting these two graphs. In that case, track down the rule and edit it to avoid hitting the nivo charts. Alternatively, add a new style rule, e.g. path { fill: 'none', fill-opacity: 0 }, so that it affects these two charts and does not upset other elements on the page/site.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@imtiazhussain110
Comment options

Answer selected by imtiazhussain110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants