[x ] bug report - search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request - use StackOverflow (add the ngx-charts tag) or the gitter chat for support questions
Current behavior
I have put two ngx-charts-bar-horizontal in the same page. When the legend display is set to true on both, the legend position of the 2nd chart is strangely attached to the 1st graph.
Expected behavior
The legend should appear in line with the chart that it is attached to.
Reproduction of the problem
Here is the code & screenshot. Note that the legend should appear with the 2nd chart, highlighted by the pink box.
I'm submitting a ... (check one with "x")
ngx-charts
tag) or the gitter chat for support questionsCurrent behavior I have put two ngx-charts-bar-horizontal in the same page. When the legend display is set to true on both, the legend position of the 2nd chart is strangely attached to the 1st graph.
Expected behavior The legend should appear in line with the chart that it is attached to.
Reproduction of the problem Here is the code & screenshot. Note that the legend should appear with the 2nd chart, highlighted by the pink box.
What is the motivation / use case for changing the behavior?
ngx-charts version: 9.0.0
Angular version: 6.0.3
Browser: Chrome latest, Firefox latest