d-band/gantt

The width of SVG can not be write in Safari browser

Closed this issue · 0 comments

Hi,
I use this.gantt = new SVGGantt('#svgAccount', this.top10, this.ganttOptions); to draw gatt, it works well in Chrome and firefox, but not in Safari.

The error is :

Error: Invalid value for attribute width="NaN"
Error: Invalid value for attribute width="NaN"
Error: Invalid value for attribute x2="NaN"
Error: Invalid value for attribute x1="NaN"

I think this is an issue for Safari.
Is there a way to set the width of the svg and the rest elements' with under svg?
Thanks very much!