ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  getHTMLImageMap Problem ChartDirector Version 5.0
Posted by Guna Balaji on Dec-13-2002 18:04
Hi All,

I am using ChartDirector Version 5.0 & windowz 2000.

I am Using the Recordset that will return Data(0),(Data(1),Data(2)

Sample Code:

Set ObjChart = CreateObject("ChartDirector.API")
Data = ObjChart.RecordSetToArray(RstCallSummaryByAreaCode)
Set ObjChartType = ObjChart.PieChart(550,400)
Call ObjChartType.setData(Data(1),Data(0))

In the pie chart tool tip i was showned Data(0) and Data(1) as a tool tip.

I want to pass the Data(2) as a querystring parameter values in the getHTMLImageMap
for next page purpose.

How can i Do that?

Rgs,
Balaji.G
gunabalaji@yahoo.com

  Re: getHTMLImageMap Problem ChartDirector Version 5.0
Posted by Peter Kwan on Dec-21-2002 03:35
Hi Balaji,

>
> I am using ChartDirector Version 5.0 & windowz 2000.
>
> I am Using the Recordset that will return Data(0),(Data(1),Data(2)
>
> Sample Code:
>
> Set ObjChart = CreateObject("ChartDirector.API")
> Data = ObjChart.RecordSetToArray(RstCallSummaryByAreaCode)
> Set ObjChartType = ObjChart.PieChart(550,400)
> Call ObjChartType.setData(Data(1),Data(0))
>
> In the pie chart tool tip i was showned Data(0) and Data(1) as a tool tip.
>
> I want to pass the Data(2) as a querystring parameter values in the getHTMLImageMap
> for next page purpose.
>
> How can i Do that?
>

Sorry for the late reply for your posting in the ChartDirector Forum. I browsed the old postings today and found that I had forgotten to answer your posting.

In your case, you probably need to use the "getImageCoor" method to produce the image map yourself (as opposed to using getHTMLImageMap). The "getImageCoor" of the Sector object method will give you the image map coordinates for the sector in HTML area map format. Once you have the coordinates, you can create the <area> tag and put anything you like in it. By using a loop, you can then generate the image map for all the sectors.

Regards
Peter Kwan