I'm trying to set a stripes filling for a graph created with CorePlot. I've found an example on internet:
CPColor *firstStripesColor = [CPColor colorWithComponentRed:1.0 green:1.0 blue:1.0 alpha:0.0];
CPColor *secondStripesColor = [CPColor colorWithComponentRed:1.0 green:1.0 blue:1.0 alpha:0.6];
CPFill *areaStripesFill = [CPFill fillWithFirstColor:firstStripesColor secondColor:secondStripesColor stripeWidth:2];
scatterPlot.areaFill = areaStripesFill;
I think this code is using an old version of the CorePlot library (I'm using 1.0). I just changed CPColor with CPTColor and CPFill with CPTFill but no method called fillWithFirstColor:secondColor: is present. I would like to create a filling like the one in the iPhone Stocks app.
Any idea?
thanks a lot
Claus