I'm trying to get a very simple diagram, with a custom visual for items. I have followed the examples and came up with this snippet: http://dojo.telerik.com/EYaCe/8
The diagram shows nothing, and looking at the console I see an error "e.drawingContainer is not a function" at kendo.min.ui.js.
Is this a bug, or am I doing something wrong? Replacing "Shape" with "Rectangle" or "Circle" works, but doesn't allow me to set a custom SVG path, obviously.
I also attach the code here, for reference:
<div id="diagram"></div> <script> $("#diagram").kendoDiagram({ dataSource: [ {id: 1, name: "Item 1"}, {id: 2, name: "Item 2"} ], shapeDefaults: { visual: visualTemplate } }); function visualTemplate(options) { return new kendo.dataviz.diagram.Shape({ path: "M 70 0 L 140 30 L 70 60 L 0 30 z", width: 140, height: 60, fill: "red", stroke: { width: 1, color: "black" } }); } </script>