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

Alternative data provision for quicker changes + animation support #403

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The current approach of having to implement delegate methods (via protocol or 
data source delegate) is one of the biggest restrictions in coreplot related to 
data provision. It prevents everything data-related from being quickly 
changeable (especially for animation). A better approach is using an array 
controller and KVO. The protocol driven approach only adds to the complexity as 
most of us have their data in an array or tree controller anyway.

This holds true for all data provided by said delegates (e.g. also labels, pie 
offsets etc.).

Original issue reported on code.google.com by mike.lischke on 15 Feb 2012 at 8:34

GoogleCodeExporter commented 9 years ago
Core Plot supports bindings on Mac OS X for the plot data and has since the 
beginning. We can add bindings support for the other data elements.

The Mac version of CPTTestApp demonstrates data bindings. The other example 
apps use the datasource methods so that the code is cross platform since 
bindings are not supported on iOS.

Original comment by eskr...@mac.com on 22 Apr 2012 at 11:32

GoogleCodeExporter commented 9 years ago
Ah, I really missed this part. Thanks for pointing this out. In fact the 
existing binding in scatter plots is already a good start. Adding support for 
the other elements would definitely be a plus, especially when you want to 
animate them. Please don't forget the other plot types (I'm especially waiting 
for bound pie offsets, so I can animate them).

Original comment by mike.lischke on 23 Apr 2012 at 3:44

GoogleCodeExporter commented 9 years ago

Original comment by eskr...@mac.com on 26 May 2012 at 6:03

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 625776bee48d.

Original comment by eskr...@mac.com on 3 Jun 2012 at 9:03