It was difficult to get CorePlot to work in my project, but everything runs now. I just don’t see ANYTHING other than a blank white screen.
With the following code, shouldn’t I at least so a blank graph?
self.graph = [[[CPTXYGraph alloc] initWithFrame:frame] autorelease];
layerHostingView.hostedGraph = graph;
[self addSubview:layerHostingView];
Thanks for helping me with this.
FYI this is not my first test with coreplot. I’ve been spinning my wheels on this for days and have since tried every full example I can get my hands on. I figured it’s a good idea to start over again with the basics.
The difference is in the code you posted in your answer, you created a
CPTGraphHostingViewand added it as a subview of theRaceDetailView. In the code in your question, I suspect the hosting view was nil. I don’t think adding the theme would make a difference–the default appearance is a simple white background with black lines and labels and you’d still be able to see something.