gujjula / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

Cannot find protocol declaration for 'CPPlotDataSource' after upgrading CorePlot Framework to version 0.4 #309

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Cannot find protocol declaration for 'CPPlotDataSource' after upgrading 
CorePlot Framework to version 0.4

I am getting 146 errors of the similar type related to missing protocol as said 
above.

I have set the proper paths for Header Paths 
("${PROJECT_DIR}/Classes/CorePlot"/**).
Also added the framework to the Target -> Link binary with Libraries.
Added CorePlot Dependency to the Target.

Please help me resolve the issue.

Original issue reported on code.google.com by Manm...@gmail.com on 26 Jul 2011 at 10:10

GoogleCodeExporter commented 9 years ago
The prefix of all core plot entities has changed from CP to CPT. Please make 
this change in your code.

Original comment by drewmcco...@mac.com on 26 Jul 2011 at 10:18

GoogleCodeExporter commented 9 years ago
Thanks for the solution..
It did resolved some issues..

But now some delegates are removed like CPLineStyleDelegate..

And also some properties for various elements are set to readOnly like:
lineWidth
lineColor
color
lineWidth
fontSize

Can you please suggest how do we handle these properties now.

Thanks

Original comment by Manm...@gmail.com on 27 Jul 2011 at 7:09

GoogleCodeExporter commented 9 years ago
Change the prefix to CPT for all classes and delegates etc.

Line styles and text styles now come in mutable variations (e.g. 
CPTMutableLineStyle). Setup up one of those the same way you used to create a 
CPTLineStyle, and set the property. See CPTTestApp for examples.

Original comment by drewmcco...@mac.com on 27 Jul 2011 at 7:53