I just started using CorePlot library, and so far I'm managing to get stuff done.
I'm trying to create a piechart with some dummy data and more or less everything works as expected but for the life of me I cannot find how to style the legend items to make them look something like this:
I can style the entire legend with background color, borders like this:
theLegend.numberOfColumns = 1;
theLegend.fill = [CPTFill fillWithColor:[CPTColor whiteColor]];
theLegend.borderLineStyle = [CPTLineStyle lineStyle];
theLegend.cornerRadius = 5.0;
as well as swatch size and row margin like this:
theLegend.swatchSize = CGSizeMake(7, 50);
theLegend.rowMargin = 5.0;
etc, but is there any way to style the individual rows of the legend backgrounds and borders?
If not, how would you suggest me to solve this?
Thank you for any help, cheers