I have made a bubble chart using a coreplot scatterplot by adjusting the size of each symbol in the data source method
-(CPTPlotSymbol *)symbolForScatterPlot:(CPTScatterPlot *)plot recordIndex:(NSUInteger)idx {
Event *thisEvent;
CGSize size;
CPTPlotSymbol *symbol;
symbol = [CPTPlotSymbol ellipsePlotSymbol];
CPTMutableLineStyle *lineStyle = [symbol.lineStyle mutableCopy];
if (idx < self.events.count) {
thisEvent = [self.events objectAtIndex:idx];
size.width = [thisEvent scaledValue];
size.height = size.width;
}
}
How can I create a legend showing the values for each of several symbol sizes? I've been looking at CPTLegendEntry in the class reference, but haven't been able to work it out yet. If anyone out there can help (Eric?), i'd appreciate it.