Page 1 of 1

Web Service with html image map

Posted: Thu Jun 05, 2008 10:21 am
by 14048132
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.

Posted: Thu Jun 05, 2008 10:36 am
by narcis
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!

Posted: Thu Jun 05, 2008 11:27 am
by 14048132
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.

Posted: Fri Jun 06, 2008 10:04 am
by 14048132
Dear sir

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

Thanks.