Access to node data from graduatedSkip method

graduatedSkip return just the tick value, it would be nice if that method returns the graohObject as well exactly like the binding methods.

I think it’s a little bit weird to not be able to get the height, width or any other attribute of the current object in the graduatedSkip function. Now I think the only way to achieve that is by extending the ResizingTool.

So, one way to do this is by avoiding function expressions and using function declarations instead. Then the this keyword would be a reference for the go.Shape class.

By using the this.part.resizeObject, it’s possible to get the height inside graduatedSkip.

We just released 2.2.11. graduatedSkip and graduatedFunction now take a second argument, the Shape or TextBlock.