What steps will reproduce the problem?
1. Create a graph - CPTXYGraph *myGraph
2. Create 2 plots - CPTScatterPlot *plot1, CPTBarPlot *plot2
3. Call [myGraph addPlot:plot1]
4. Call [myGraph insertPlot:plot2 atIndex:0]
What is the expected output? What do you see instead?
Expected: The scatter plot (plot1) is drawn above the bar plot (plot2).
Actual: The bar plot (plot2) is drawn above the scatter plot (plot1).
What version of the product are you using? On what operating system?
Bleeding-edge version, all targets
Please provide any additional information below.
Note that this isn't that the library works in the reverse direction to my
expectations, insertPlot:atIndex: simply calls addPlot: on the corresponding
plot group, the order of the layers is simply the order that the plots are
added.
I have fixed this behaviour in my clone:
http://code.google.com/r/elliot-core-plot-amends/source/detail?r=4a544e49ba6da41
c67c218e762a6880975610357
Original issue reported on code.google.com by elliot@emdentec.com on 28 Mar 2012 at 2:50
Original issue reported on code.google.com by
elliot@emdentec.com
on 28 Mar 2012 at 2:50