Hi,

> I have a server-side script which generates a graph image given a set of
> dataset identifiers. Additional datasets are implicitly added server-side
> too.
> Currently the image contains the legend, but I'd like to generate the
> legend in HTML as it'll be more consistent with legends used for tables.
> The legend contents cannot be determined until partway through graph
> generation - so I'd like to retrieve both raw image data and legend data
> via AJAX, build the legend's HTML representation and display the image.

I guess you are lokking for something like <canvas>. Firefox and Safari do 
support it. I am not shure about Opera, but IE and Konqueror don't. For IE 
there is at least IECanvas (http://sourceforge.net/projects/iecanvas), which 
might be of use.

You can use JavaScript to put an Image on a canvas and you also have drawing 
primitives to add Information.

Christof

Reply via email to