Reputation: 1826
I'm using core plot scatter graph,but i'm not able to maintain size of the. For some values the graph works fine ,but for some values the size of the graph changes.
Can i fix it using xRange
,if yes, how?
please refer these images
1.
2
Why this is happening ?
Upvotes: 0
Views: 353
Reputation: 1826
plotSpace.xRange = [CPTPlotRange plotRangeWithLocation:CPTDecimalFromFloat(0) length:CPTDecimalFromFloat([[mXaxisArray valueForKeyPath:@"@max.floatValue"]floatValue])];
Added xRange
to fix this issue
Upvotes: 1