Opened 10 years ago

Last modified 9 years ago

#10856 closed enhancement

[patch] Charting Animation for Zoom/Grow — at Initial Version

Reported by: ruanqi Owned by: Eugene Lazutkin
Priority: high Milestone: 1.5
Component: Charting Version: 1.4.0
Keywords: charting, animation Cc: deanw@…, hwcdl@…, xiangxz@…
Blocked By: Blocking:

Description

FYI. this enhancement enable chart(area,lines,markers...) grow/zoom animation.

1.chart grows from the bottom when it render, set "animation" to turn it on. e.g.

chart.addPlot("default", {type: "Areas",animation:{duration:2000}}).render();

2.chart zooms by the scale&offset of axes, add a argument to turn it on. e.g.

chart.setWindow(scaleX, scaleY, offsetX, offsetY, {duration:1800}).render();

demo:http://dleadt.torolab.ibm.com/dl/dojodemos/rock/dojo/dojox/charting/tests/test_axisZoomControl.html

Change History (0)

Note: See TracTickets for help on using tickets.