SVG renders but gets cut off in Firefox only - why?

后端 未结 6 1026
时光说笑
时光说笑 2020-12-16 11:23

I am using d3js, which uses SVG, to create a chart. View it at www.uscfstats.com/deltas (use 12842311 as the input value; right now it\'s VERY hacked together).

On

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-16 12:18

    I was also facing same issue

    .attr("width", window.innerWidth).attr("height",window.innerHeight)
    

    worked for me.

提交回复
热议问题