syntagmatic / parallel-coordinates

A d3-based parallel coordinates plot in canvas. This library is no longer actively developed.
http://syntagmatic.github.com/parallel-coordinates/
Other
510 stars 211 forks source link

Canvas cannot draw on modal #261

Closed kdh6429 closed 8 years ago

kdh6429 commented 8 years ago

I tried to made parcoords chart on modal ( which is from bootstrap.3.1.0). SVG part is shown well but Canvas part are not. I think because SVG is drawn on the modal but Canvas are drawn behind the modal. I tried to fix wthe css z-index attribute, but couldn't make that canvas and svg are drawn together.

here is capture that I'm dealing with. image

The capture when I tried to chagne z-index to show canvas part on modal. It looks working. (.parcoords > canvas { z-index: 1 or 1051 }) (becuase modal z-index is 1050)

image

But when I brushed any axises, SVG part gone behind the canvas. image

kdh6429 commented 8 years ago

Self solved. Somehow other css file is loaded and svg background-color was set :(