Re: Displaying a Link on A Web PAge with image/png header.



You probably wouldn't want to add the link to an image/png since that
probably shouldn't work as it's not something png's should be doing.
You'll want to output an html page and embed the image directly within
the page source if you can't output a temporary file. Look into the
"data:"; URI type which should allow you to encode the image data and
serve it as standard HTML.

jeevs wrote:
Hi Forum!!!

I want to plot a graph on a web page. I am using the GD::Graph
module and can successfully plot the graph. The graph is displayed on
the web page with the following code.

...
...
print "content-type: image/$graph_format\n\n";
my $img_obj = $graph->plot(\@data)->$graph_format();
binmode STDOUT;
print $img_obj;
...
...

But now i need to give a link to the user to move to other page on the
same page where the graph is displayed. This is tedious for me since I
am not supposed to write to the server. Otherwise i could have written
a image file and instead of using image headers, I wud have used the
text/html header and the img tag to display the graph.

Please guide me how can I provide the link to the another page.



.



Relevant Pages

  • Re: Mike: Restating your explanation
    ... and in software scale my data to fit the physical limits of the display ... then as soon as you change the size of the object your graph ... four quadrant graph of course you usually want the opposite of that. ...
    (microsoft.public.vb.general.discussion)
  • Re: Mike: One last explanation, I hope!
    ... and in software scale my data to fit the physical limits of the display ... then as soon as you change the size of the object your graph ... Dim xmin As Single, xmax As Single ... four quadrant graph of course you usually want the opposite of that. ...
    (microsoft.public.vb.general.discussion)
  • RE: Regression results
    ... What I am recording are weekly closes of stocks and the precision displayed ... polynomials, assuming that the x-values themselves are really accurate enough ... Your mention of "the formula provided by the graph" raises another issue: ... the equation and change the numeric format to display scientific notation ...
    (microsoft.public.excel.programming)
  • Re: Horizontal ScrollBar+ PictureBox + Flickering (how to stop flickering?)
    ... to true has no effect - namely, 'scrolling the graph' still ... The reason the Autoredraw method works is because your entire "clearing and drawing code" runs in a closed loop for each specific "frame", and the VB Autoredraw method will not actually display the new frame until that "closed loop" code has finished. ...
    (microsoft.public.vb.general.discussion)
  • Re: graph visualization software
    ... > the graph visualization. ... and also with the layout on a board or semiconductor. ... > between the visualization and the rest of the system ... > - Add numerous attributes to edges/vertices for the display ...
    (comp.compilers)