nivo
nivo copied to clipboard
Line Layer over Grouped Bar Chart
Hi Guys,
I am trying to achieve a Line Chart over a Grouped Bar Chart. I followed the example in an older issue that I found here, which is shown in this CodeSandbox This is also working but I have a Problem when I use Grouped Bars and add a new entry in the "Keys" Array for the Bar. The Line gets manipulated and behaves incorrectly ( The first and last point of the Line get connected) as soon as the Bar chart is using the Grouped mode.
It looks like this:
Any Idea how to solve this?
@sharaku17, it's hard to tell without seeing the code, Can you please share the new sandbox?
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!
@plouc here is an example: https://codesandbox.io/s/nivo-bar-extra-layers-forked-xg3xkf
That being said, I did found an example of a working hack. The developer here is super-positioning two individual bar and line charts: https://codesandbox.io/s/practical-pare-6oq93n