You're creating two new plot spaces but only adding one to the graph. The one with user interaction enabled in -configureGraph
is different from the one created in -configurePlots
and added to the graph.
The -newPlotSpace
method creates a new plot space object for you. In -configureGraph
, give it an identifier and add it to the graph (move those lines from -configurePlots
). When you need to refer to it later (e.g., in -configurePlots
), do this:
CPTXYPlotSpace *newPlotSpace = (CPTXYPlotSpace *)[graph plotSpaceWithIdentifier:@"Fd Plot Space"];