divyavamsee / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Crash if we set CPTLegend property "numberOfColumns" 'to any number other than 1 #416

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set property of CPTLegend----> theLegend.numberOfColumns = 2;
2. Run program.
3. It will crash on this line.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
---> coreplot0.9 , coreplot1.0

Please provide any additional information below.

            theLegend.numberOfColumns = 1; (works fine) 
            theLegend.numberOfColumns = 2; (gives crash) 

It crashes whenever we set it to other than 1 (initial setup or 
changing later---> in both cases) 

Crash Log is: 
 *** Terminating app due to uncaught exception 'NSRangeException', 
reason: '*** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 
0]' 

Original issue reported on code.google.com by m262ban...@gmail.com on 30 Mar 2012 at 8:14

GoogleCodeExporter commented 9 years ago
version iOS 5.0, iOS 4.3

Original comment by m262ban...@gmail.com on 30 Mar 2012 at 8:15

GoogleCodeExporter commented 9 years ago
sorry heading is "Crash if we set CPTLegend property 'numberOfColumns" 'to any 
number other than 1"

Original comment by m262ban...@gmail.com on 30 Mar 2012 at 8:16

GoogleCodeExporter commented 9 years ago
Can you post your legend code (legend setup and any delegates)? I'm not able to 
reproduce this problem in the example apps.

Original comment by eskr...@mac.com on 30 Mar 2012 at 11:50

GoogleCodeExporter commented 9 years ago
We need more information to troubleshoot this issue. Closed due to lack of 
followup.

Original comment by eskr...@mac.com on 22 Oct 2012 at 12:12