View Full Version : [OPEN] Package: ext-charts, draggable=true for Ext.draw.Sprite not working

8 May 2014, 11:36 AM
Charts-kitchensink is still using "ext-charts".

To reproduce the problem, just change one sprite of xt-\examples\charts-kitchensink\app\view\charts\draw\Sencha.js to draggable:true and reload the page.

Following error is thrown:

Uncaught TypeError: Cannot read property 'dom' of undefined Svg.js?_dc=1399577440288:591

If you add the sprite after rendering from Ext.draw.Component the cursor is changing to the move symbol, but you can not move the sprite.

//draw ... instance of Ext.draw.Component

type: 'image',
src: 'resources/elements/Lights0018_S.jpg',
draggable: true,
width: 200,
height: 200,
x: x,
y: y

Expected result

*) Page should be loaded without throwing an error
*) Sprite should be draggable

8 May 2014, 1:31 PM

Looks like there is a problem since ext 4.2, which is still not solved =(