Hi,
I am developping a graph including two curves.
I don't have found out any problem posting x and y axis.
Except when I add a secondary Y axis the application crash on the line: [m_chart addYAxis:yAxisSecondary].
The error given by XCode:
2014-11-03 15:33:46.053 XXXXXX[26283:1113882] -[SChartCartesianAxisAdder fatalLogWithMessage:fromSource:]: unrecognized selector sent to instance 0x7fa3af847360
2014-11-03 15:33:46.055 XXXXXX[26283:1113882] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SChartCartesianAxisAdder fatalLogWithMessage:fromSource:]: unrecognized selector sent to instance 0x7fa3af847360'
*** First throw call stack:
(
0 CoreFoundation 0x0000000108c28f35 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x00000001083bbbb7 objc_exception_throw + 45
2 CoreFoundation 0x0000000108c3004d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x0000000108b8827c ___forwarding___ + 988
4 CoreFoundation 0x0000000108b87e18 _CF_forwarding_prep_0 + 120
5 XXXXX 0x0000000105d9187f -[SChartBaseAxisAdder assertAddingAxis:toAxesArray:replacing:] + 303
6 XXXXX 0x0000000105d911bc -[SChartBaseAxisAdder addAxis:toAxesArray:] + 76
7 XXXXX 0x0000000105dc9733 -[ShinobiChart addXAxis:] + 83
8 XXXXX 0x0000000105cff9f5 -[CCourbeController afficheCourbe] + 1269
9 XXXXX 0x0000000105d00883 -[CCourbeController dataReceived:] + 147
10 XXXXX 0x0000000105d026fd -[CJSONReceiver connectionDidFinishLoading:] + 461
11 CFNetwork 0x000000010aae5b8c __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 69
12 CFNetwork 0x000000010aae5b30 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 199
13 CFNetwork 0x000000010aae5c97 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 48
14 CFNetwork 0x000000010a9b68f7 ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 107
15 CFNetwork 0x000000010aa83011 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 273
16 CFNetwork 0x000000010a9a1e26 _ZN19RunloopBlockContext13_invoke_blockEPKvPv + 72
17 CoreFoundation 0x0000000108b31194 CFArrayApplyFunction + 68
18 CFNetwork 0x000000010a9a1ce7 _ZN19RunloopBlockContext7performEv + 133
19 CFNetwork 0x000000010a9a1b26 _ZN17MultiplexerSource7performEv + 256
20 CFNetwork 0x000000010a9a193c _ZN17MultiplexerSource8_performEPv + 72
21 CoreFoundation 0x0000000108b5e551 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
22 CoreFoundation 0x0000000108b5441d __CFRunLoopDoSources0 + 269
23 CoreFoundation 0x0000000108b53a54 __CFRunLoopRun + 868
24 CoreFoundation 0x0000000108b53486 CFRunLoopRunSpecific + 470
25 GraphicsServices 0x00000001090109f0 GSEventRunModal + 161
26 UIKit 0x0000000106a21420 UIApplicationMain + 1282
27 XXXXX 0x0000000105d027c3 main + 115
28 libdyld.dylib 0x0000000108775145 start + 1
Your help is welcome…
Thanks.