Hi
please suggest some steps for implementing a chart on JSP +STRUTS implementation with zoom in/zoom out features .
Thanks
Husain
chart zoom for jsp implementation
Re: chart zoom for jsp implementation
1. Use SVG. Augment generated SVG with javascript mouse capture / drag to implement zoom and pan, or just let the user do those however the browser lets them. Different browsers use different keystrokes combined with the mouse for zoom and pan. Also full page zoom (Ctrl + / -) works for SVG. If you got really advanced you could modify the generated SVG with clipping on each axis, and the chart itself, and zoom each area independently but in sync so that the axis are always visible. This would be most similar to the zoom behavior in the Swing Jfreechart panel.
2. Google maps style. Generate the chart at several resolutions from small to large, and generate tiles from it. Implement zoom and pan in javascript. There may be some open source projects that can do this for you, you just point them at the tile generator.
3. Applet.
2. Google maps style. Generate the chart at several resolutions from small to large, and generate tiles from it. Implement zoom and pan in javascript. There may be some open source projects that can do this for you, you just point them at the tile generator.
3. Applet.