Is the idea that you will have multiple CPPlots, stacked on top of one another? If that is the case, it may be best implemented by having a 'supportingPlot' property, or something like that, which one plot can use to request another plot for its starting position (ie base). I think caching the data in CPGraph would be an uglier solution. By simply have a reference from one plot to another, the data can be generated on the fly, and lazily.
Another option would simply be to have a single plot draw the stacked bars, rather than having multiple plots. In this case the CPPlot class would be updated to request multiple y values for each x value, or something along those lines.
Drew
> --
> You received this message because you are subscribed to the Google Groups "coreplot-discuss" group.
> To post to this group, send email to coreplot...@googlegroups.com.
> To unsubscribe from this group, send email to coreplot-discu...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/coreplot-discuss?hl=en.
>
Drew
Drew
> --
> You received this message because you are subscribed to the Google Groups "coreplot-discuss" group.
> To post to this group, send email to coreplot...@googlegroups.com.