Re: GD::Graph with Image Map implementation question



On Jun 27, 3:10 pm, dkele...@xxxxxxxxx wrote:
Hello,
.....
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.

What I ended up doing just to have it working is re-create the graph
in the main html page, since I have all the data there, solely for the
purpose of grabbing the hotpsots (still using the image link to
another graph drawing page). This worked ok as a quick fix, but still
doesn't feel quite right.

-Dan

.



Relevant Pages

  • Re: crop image when printing/saveing
    ... Is there a way to crop a graph figure when saving it as a jpg file? ... The figure shall be directly read into an html file. ... As it is, the saved jpg figure contains a white area below the graph, which thus takes up space in the html file... ...
    (comp.soft-sys.matlab)
  • crop image when printing/saveing
    ... Is there a way to crop a graph figure when saving it as a jpg file? ... The figure shall be directly read into an html file. ... As it is, the saved jpg figure contains a white area below the graph, which thus takes up space in the html file... ...
    (comp.soft-sys.matlab)