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

Message ListMessage List     Post MessagePost Message

  areaLayer.set3D(x) Causing Zones to Drift
Posted by MarkZB on Jun-26-2018 18:17
Attachments:
Hi Peter

Is there a way to prevent this?
ZoneDrift.png

  Re: areaLayer.set3D(x) Causing Zones to Drift
Posted by Peter Kwan on Jun-26-2018 22:57
Hi MarkZB,

The zone is drawn at the back of the chart (at the plot area background), otherwise it would cover and block the layers. The mark by default is drawn on top of the layers. In 3D, the top and the bottom are offsetted due to the 3D depth.

If you want the mark line to align with the zone, you can draw the mark line at the back just like the zone, using Mark.setDrawOnTop. For example:

Mark m = c.xAxis().addMark(..........);
m.setDrawOnTop(false);

Regards
Peter Kwan