CodeYellowBV / chartist-plugin-legend

Legend plugin for Chartist.js.
https://codeyellowbv.github.io/chartist-plugin-legend/
Other
116 stars 62 forks source link

This plugin is not compatible in charts with aspectRatio #63

Open fcolecumberri opened 5 years ago

fcolecumberri commented 5 years ago

I have just found out (after several hours of debugging) that when aspectRatio is set in the chartist options, the svg style gets set to

.aspectRatio-class svg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

which makes the svg overlaps with the legend