Reply LinkBack Thread Tools Search this Thread
Old 25-01-2005, 15:07   #1 (permalink)
jarn
Registered User
 
Join Date: Jan 2005
Posts: 1
create plots/charts dynamically on a web page

Use layers to create plots within a browser. Each point to be plotted is rendered via a layer (using the DIV tag). Mozilla/Firefox/IE seem to handle thousands of layers without any problem. Can attach event handler to each point for additional interactivity. Snippet example is housed within a JSP at the location below.

Same technique can be used to create lines between rendered objects on the fly. Compute the equation of a line between two rendered objects. Plot the line point by point and render via div's.

Have fun....
Code source and demo are at
http://www.datacorner.com/coding

click on the jsp for the demo.
click on the txt file and then view source to see the code.

seems to work just fine on IE5.0 or greater / MOZILLA / FIREFOX
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8