Hi,
i have a problema when i try put backgroud image in diagram.
Version 14:
http://jsplayground.syncfusion.com/dk0kgxmd
$("#diagram").ejDiagram({ width: "100%", height: "600px", nodes: nodes, //backgroundColor: "whitesmoke", backgroundImage: "http://2.bp.blogspot.com/-6Unz0GdPIPE/Ti_XYAe8okI/AAAAAAAABd0/FY4zKhSy6g4/s1600/Opera-Background-Blue-Bubbles.png", enableContextMenu: false }); |
and try same in documentation:
var bk = { source: "http://2.bp.blogspot.com/-6Unz0GdPIPE/Ti_XYAe8okI/AAAAAAAABd0/FY4zKhSy6g4/s1600/Opera-Background-Blue-Bubbles.png", alignment: "xmidymid", scale: "meet" }; $("#diagram").ejDiagram({ width: "100%", height: "600px", nodes: nodes, //backgroundColor: "whitesmoke", backgroundImage: bk, enableContextMenu: false }); |
Don't work... but when i try with version 13 work fine!:
http://jsplayground.syncfusion.com/iszx4xzd
$("#diagram").ejDiagram({ width: "100%", height: "600px", nodes: nodes, // backgroundColor: "whitesmoke", backgroundImage: "http://2.bp.blogspot.com/-6Unz0GdPIPE/Ti_XYAe8okI/AAAAAAAABd0/FY4zKhSy6g4/s1600/Opera-Background-Blue-Bubbles.png", enableContextMenu: false }); |
Any ideas?