I’m trying to show picture from svg file. Everything looks good in chrome, but doesn’t work for IE, there are no errors, it just doesn’t show icon. Here is my code
, go$(go.Picture, { margin: new go.Margin(10, 10), desiredSize: new go.Size(12, 12), source: "pic.svg"})
I have tried to set height and weight attributes but it still doesn’t work for IE.
What’s wrong ? Maybe the reason is that picture is inside Panel ? What should I do in this case ?
I’m sorry, but if I put that SVG text into a “pic.svg” file, that file does not render anything in IE, Firefox, or Chrome, for me on Windows 8.1. (I’m not using GoJS at all – just trying to look at the SVG using a browser.)
I don’t know why you would see anything in Chrome.