Make chart an imagelink

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Brian Begy
Newbie
Newbie
Posts: 16
Joined: Fri Apr 16, 2004 4:00 am
Location: Chicago
Contact:

Make chart an imagelink

Post by Brian Begy » Mon Jun 28, 2004 12:39 am

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.

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jun 28, 2004 8:59 am

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.

Brian Begy
Newbie
Newbie
Posts: 16
Joined: Fri Apr 16, 2004 4:00 am
Location: Chicago
Contact:

Post by Brian Begy » Mon Jun 28, 2004 12:02 pm

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

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jun 28, 2004 4:11 pm

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

Brian Begy
Newbie
Newbie
Posts: 16
Joined: Fri Apr 16, 2004 4:00 am
Location: Chicago
Contact:

Post by Brian Begy » Mon Jun 28, 2004 5:49 pm

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?

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Jun 29, 2004 8:35 am

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

Post Reply