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

Message ListMessage List     Post MessagePost Message

  htmlImageMap for InterLineLayer
Posted by Craig Pepper on Oct-12-2011 08:39
Hi Peter,

I am wanting to create an image map for an interline layer.  From the doco and the fact that InterLineLayer inherits from Layer I thought it would be possible to do this.  I couldn't get it happening and then discovered in one of your forum replies that image maps aren't supported for interline layers.

I can approximate what I want with a transparent stacked area layer but it's kind of cumbersome.

So I was wondering if you plan to implement image maps for interline layers anytime soon?

Cheers,
Craig

  Re: htmlImageMap for InterLineLayer
Posted by Peter Kwan on Oct-12-2011 18:12
Hi Craig,

Currently, we do not have any plan to support image map for the "InterLineLayer".

The "InterLineLayer" is to fill the region between two lines. Those lines can come from other layers (eg. line layers, spline layers, step line layers, trend line layers), or from mark lines. Also, the two lines does not need to be using "synchronized data points". For example, one of the line can be a normal line layer plotted using 50 equally spaced data points, and another line from a spline line layer plotted using 17 randomly spaced data points. The line does not even need to pass through any data points (eg. the lines from a trend line layer or mark lines).

So given a filled region between the two lines, it is hard to know which part of the region is associated with which data point(s). This is why so far we have not implement image map for the filled region itself.

Regards
Peter Kwan

  Re: htmlImageMap for InterLineLayer
Posted by Craig Pepper on Oct-13-2011 06:11
Hi Peter,

Thanks for the detailed & quick reply, as always.  Just to explain, the functionality I'm looking for is a kind of dumbed down image map that doesn't need to support parameters like {value}, {x}, etc but just has a fixed string in 'title' and perhaps the ability to use {fieldN} etc.  A parameter to indicate whether line1 is greater, equal or less than line2 would also be useful.

Nevertheless, due to the excellent versatility of ChartDirector, I have managed to achieve the result I was after using a combination of transparent stacked areas and some trickery in the tooltip display code.

Thanks again for the great support.

Cheers,
Craig