Grid lines overlaps floating legend
See original GitHub issueBug report
Codepen
https://codepen.io/ashlanderr/pen/VwaGpVa
Explanation
- What is the behavior you expect?
Floating legend should be in front layer. It must not be overlapped by the rest of the chart.
- What is happening instead?
The legend is under the grid lines of the chart:
With single series I can use offsetY
to shift the legend, but with multiple and unknown number of series that doesn’t work. I tried to use the z-index
property, but it doesn’t work in SVG.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to draw grid lines behind matplotlib bar graph
You can use the following code to set the gridlines behind the plot. ax.set_axisbelow(True) ax.grid(color='gray', linestyle='dashed').
Read more >Working with legends
Multiple legends per guide; Legends are placed under axis lines ... Shared legend across multiple plot; Shared legend with grid.arrange; More examples.
Read more >Resolve Overlapping - DevExtreme - DevExpress
In multi-series charts, point labels often overlap. To decide how to resolve overlapping, employ the resolveLabelOverlapping property.
Read more >ybar overlaps axis line (and xtick removal) - TeX
To have axis lines on top but show the grid behind the bars, ... (or use x tick style={draw=white}) area legend, scale only...
Read more >Axes Labels Overlap | FlexChart | ComponentOne - GrapeCity
Axes Labels Overlap. In This Topic. Trim or Wrap Axis Labels; Staggered Axis Lines. In case there are less number of data points...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello. Is there any updates about the issue? Maybe I can help fix it?
@KylePinkerton Thanks for the heads up. I was going to release a new version in a few hours and this really helped. Looking into this.