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

Message ListMessage List     Post MessagePost Message

  How can I move the line layer above the bar layer in the chart?
Posted by bigtiger on Dec-24-2012 18:13
Attachments:
Hi,everyone

I have some problems when generating XYCharts.
How can I move the line layer above the bar layer in the chart?
I find nothing about this neither in the apis nor in the demos.
thanks for help.
111.jpg

  Re: How can I move the line layer above the bar layer in the chart?
Posted by Peter Kwan on Dec-24-2012 22:27
Hi bigtiger,

You may use one of the following methods:

(a) Please add the line layer first, followed by the bar layer. In this way, the line layer will be in front of the bar layer.

(b) If you must add the bar layer first, followed by the line layer, you may use Layer.moveFront to move the line layer to the front. For example, in C#/Java:

// move line layer in front of the bar layer
myLineLayer.moveFront(myBarLayer);

Hope this can help.

Regards
Peter Kwan

  Re: How can I move the line layer above the bar layer in the chart?
Posted by bigtiger on Dec-25-2012 09:43
It helps me a lot.
Thank you very much Peter.
It is the easist library I have used to generate charts.
Great job.