Web Service with html image map

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Chris.CHWU
Newbie
Newbie
Posts: 57
Joined: Wed Jan 30, 2008 12:00 am

Web Service with html image map

Post by Chris.CHWU » Thu Jun 05, 2008 10:21 am

Dear sir:

I want to build a web service providing html which including image URL and image map, so the web service client user can write ajax reactions. I did build the web service and include the image URL no problem, but I can't find any TeeChart function which will generate the clickable area code of the chart. For example below:

Code: Select all

<map name="demo">
  <area shape=rect coords="25,20,75,82" href="javascript:alert('hello')">
  <area shape=circle coords="130,50,25" href="javascript:alert('hello')">
  <area shape=polygon coords="203,28,232,80,180,80" href="javascript:alert('hello')">
  <area shape=polygon coords="272,30,305,30,318,43,292,76,260,47" href="javascript:alert('hello')">
</map>

<img src="http://127.0.0.1/images/map.jpg" usemap="#demo" border=0>
Is there any way that I can implement this image map for the web service use?

Thanks in advance.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jun 05, 2008 10:36 am

Hi Chris.CHWU,

Yes, you'll find some examples of this at the live ASP.NET demo, specially at Interacting with Charts -> Drill Down and Interacting with Charts -> Mouseover Hints.

You'll also find full ASP.NET demo project included with TeeChart's installation.

Hope this helps!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Chris.CHWU
Newbie
Newbie
Posts: 57
Joined: Wed Jan 30, 2008 12:00 am

Post by Chris.CHWU » Thu Jun 05, 2008 11:27 am

narcis wrote:Hi Chris.CHWU,

Yes, you'll find some examples of this at the live ASP NET demo, specially at Interacting with Charts -> Drill Down and Interacting with Charts -> Mouseover Hints.

You'll also find full ASP.NET demo project included with TeeChart's installation.

Hope this helps!
Hiya sir

I apologies I think I didn't explain clear on first post. Please check my html sample code again, I know how to drill-down on asp dot Net. But now I have to export the chart into an image and re-assemble it into a html code with clickable image map.
I have to do this becuase I have a web service client will need to include this html page to generate a new jsp page. With the ajax code on it, the user can click the bar or bubble on the chart to execute drill-down event.

To simply the question, I have to export the chart to a html(not export chart data but the chart image) with image area map code(<map></map>) on it. So the user can click the chart on the html like they can do it on the aspx.

Hope you could understand my explaination.

Thanks in advnace.

Chris.CHWU
Newbie
Newbie
Posts: 57
Joined: Wed Jan 30, 2008 12:00 am

Post by Chris.CHWU » Fri Jun 06, 2008 10:04 am

Dear sir

Could you please provide solution if possible, we are in a hurry to get this done.

Thanks.

Post Reply