GD::Graph with Image Map implementation question
- From: dkelemen@xxxxxxxxx
- Date: Wed, 27 Jun 2007 19:10:49 -0000
Hello,
I currently have two embedded perl pages, one that gathers a bunch
of data and displays it (view.epl), and another that returns a gif
image of the data with GD::Graph (graph.epl) The first page calls the
second page in an img src=graph.epl?data=1,2,3 format
Right now, I am working on turning the lovely mixed graph image into
an image map by using the get_hotspot() function so that when I
mouseover the bars or lines, the actual data is displayed, but it
seems like my design is not capable of doing this since the GD::Graph
is only in an img file, and the html file doesn't know about the
graph.
I was wondering if anyone had done anything like this before and
would have any suggestions? I guess I could do away with the graph
epl and just print out the graph to a file in the main view.epl,
getting the hotspots at the same time. But writing to a file every
time seems superfluous and like it might leave the possibility of
concurrent users overwritting their graphs. Is there a better
approach to take?
Thanks a lot,
Dan
.
- Follow-Ups:
- Re: GD::Graph with Image Map implementation question
- From: dkelemen
- Re: GD::Graph with Image Map implementation question
- Prev by Date: Looking for a base module that can automatically load sub modules
- Next by Date: Re: XPath to Line Number?
- Previous by thread: Looking for a base module that can automatically load sub modules
- Next by thread: Re: GD::Graph with Image Map implementation question
- Index(es):
Relevant Pages
|