Page 1 of 1

Make chart an imagelink

Posted: Mon Jun 28, 2004 12:39 am
by 8125097
Is there an easy way to make a webchart into an image link? Click anywhere and be taken to http://www.foobar.com? Seems like a simple concept, but noone seems to have every asked this question before.

Posted: Mon Jun 28, 2004 8:59 am
by Pep
Hi Brian,

you can open an IE when the user clicks over the Chart using the OnClick Chart event. I've not tried to find the code to open an IE from a WinForm but surely can be done.

Posted: Mon Jun 28, 2004 12:02 pm
by 8125097
Pep,

It is a webchart on an asp.net webpart. The only problem is an onclick would require a postback and a server.transfer, no?

-Brian

Posted: Mon Jun 28, 2004 4:11 pm
by Pep
Hi Brian,
It is a webchart on an asp.net webpart. The only problem is an onclick would require a postback and a server.transfer, no?
Yes, you can see one example which show you the use of the events (OnClick event) under :
C:\Program Files\Steema Software\TeeChart for .NET v1\TeeChartForNET\WebForm

Posted: Mon Jun 28, 2004 5:49 pm
by 8125097
Rather than make another round trip to the server, can I just render my chart manually by creating an image tag and adding the url of the image?

How do I get my chart's file name?

Posted: Tue Jun 29, 2004 8:35 am
by Pep
Hi Brian,
Rather than make another round trip to the server, can I just render my chart manually by creating an image tag and adding the url of the image?
yes, you can see one example of this under :
C:\Program Files\Steema Software\TeeChart for .NET v1\TeeChartForNET\ASPStream