|
InterlineLayer and Grids |
Posted by Tony on Feb-10-2012 01:37 |
|
Hi - When I create an XYChart and show a grid all is fine. When I add an interlinelayer, the layer displays OK but is over the grid. How can I make the grid always visible, ie 'on top' of all chart layers?
Thanks |
Re: InterlineLayer and Grids |
Posted by Tony on Feb-10-2012 01:53 |
|
Also the interline layer is on top of a scatterLayer that I have as well. Ive had a look in the documentation but cant see a way to order the drawing - i.e. interlinelayer first, then other layers, then the grid .... |
Re: InterlineLayer and Grids |
Posted by Tony on Feb-10-2012 16:22 |
|
Ive worked round it by making the interline layer a chart on its own and then the real data in another chart with a transparent background and then combining both into a multichart - is this the best way to do this? |
Re: InterlineLayer and Grids |
Posted by Peter Kwan on Feb-11-2012 00:10 |
|
Hi Tony,
In ChartDirector Ver 5, you can use Layer.moveFront, Layer.moveBack and PlotArea.moveGridBefore to rearrange the ordering of the layers and the grid lines. For example, in Java/C#:
//move layer1 behind layer2
layer1.moveBack(layer2);
//move the grid in front of layer2
c.getPlotArea().moveGridBefore(layer2);
Hope this can help.
Regards
Peter Kwan |
|