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

Message ListMessage List     Post MessagePost Message

  Contour chart - Imagemap
Posted by Hill on Sep-17-2009 07:10
Would it be possible to have tooltip to display the underlying x,y,z value in contour plot. This would be similiar to the imagemap feature in bar charts.

Thanks for your help..

  Re: Contour chart - Imagemap
Posted by Peter Kwan on Sep-17-2009 23:26
Hi Hill,

You can set up the tooltips to display the underlying (x, y, z) data points you used to plot the contour chart. This is by adding a scatter layer for your data points to the chart (see the "Scattered Data Contour Chart" sample code). The scatter symbols, which represent your data points, can have tooltips. You can use an extra field (see Layer.addExtraField) to attach the z value to the tooltips of the scatter layer.

The contour surface itself is mathematically a "continuous region". Internally, ChartDirector does not necessarily compute the z-value of all possible points, and it does not remember and keep track of everything it computes. Currently, there is no easy method to get the z-value of arbitrary points on the contour surface. So you can only get the (x, y, z) tooltips for the data points that you provided to ChartDirector.

Hope this can help.

Regards
Peter Kwan