shutterstock / rickshaw

JavaScript toolkit for creating interactive real-time graphs
https://shutterstock.github.io/rickshaw
MIT License
6.53k stars 941 forks source link

Highlight event on mouseover should move highlighted series above other series in DOM for line graphs. #151

Closed thisisbrians closed 11 years ago

thisisbrians commented 11 years ago

In the case of line graphs, the highlight event on mouseover in Rickshaw.Graph.Behavior.Series.Highlight should reorder the SVG paths in the DOM so the highlighted series is not obscured or hidden by other series.

dchester commented 11 years ago

Agreed, this would be nice. I think you end up having to rearrange the DOM to make this happen, since SVG doesn't implement z-index.