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

Message ListMessage List     Post MessagePost Message

  One Layer on top of other
Posted by Sinan on Feb-11-2011 03:56
Attachments:
Hi Peter,

In the example image below I would like to draw the green circle on top of the blue line.
I meen within the CChart::CircleSymbol the blue line should be invisible.
The line was created first ( LineLayer ) and then the circle (ScatterLayer).
I tried a lot with transparency but did not find correct way.

Cheers
Sinan
dot.jpg

  Re: One Layer on top of other
Posted by Peter Kwan on Feb-11-2011 12:42
Hi Sinan,

You may:

(a) Reverse the order of adding the layers. If you are currently adding the line layer first, you may change your code to add the scatter layer first. In ChartDirector, by default, the layer that is first added stays on top.

or

(b) Use Layer.moveFront to move a layer to the front.

Hope this can help.

Regards
Peter Kwan

  Re: One Layer on top of other
Posted by Sinan on Feb-11-2011 17:00
Unbelievable! Great.
Thank you.