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

Message ListMessage List     Post MessagePost Message

  Layer order
Posted by catherine on Aug-27-2013 03:05
Is there a way to move a symbol in front of the chart axis?  I tried moving the scatter
layer using moveFront(), but that doesn't seem to work.

Thanks!

  Re: Layer order
Posted by Peter Kwan on Aug-28-2013 01:04
Hi Catherine,

The axis always stays in front of all data layers. So if the symbol comes from a scatter or line layer or other kind of data layers, it will always be behind the axis.

The sample code included in ChartDirector includes a few examples in which the symbols are not behind the axis. May be you can use them as references. For example, you can configure the axis stem to be transparent. See:

http://www.advsofteng.com/doc/cdjava.htm#missingpoints.htm
http://www.advsofteng.com/doc/cdjava.htm#unevenpoints.htm

You may also configure a margin equal to half the symbol width, so that the symbol will not overlap with the axis. See:

http://www.advsofteng.com/doc/cdjava.htm#customsymbolline.htm

Hope this can help.

Regards
Peter Kwan