For example, I has chart data:
self.chartData = @[@{@"x": @0, @"y": @3},
@{@"x": @1, @"y": @3},
@{@"x": @2, @"y": @2},
@{@"x": @3, @"y": @8},
@{@"x": @4, @"y": @6},
@{@"x": @5, @"y": @9}];
and set the xRange:
[plotSpace setXRange:[CPTPlotRange plotRangeWithLocation:[NSNumber numberWithInt:0] length:[NSNumber numberWithInt:5]]];
The first and the last plot symbol will be cut off.
There are any way to set padding from axises to have more space to draw symbols. Or any way to prevent plot symbol to be cut off.
I don't want to set xRange to [-1 : 6]
For example, I has chart data:
self.chartData = @[@{@"x": @0, @"y": @3}, @{@"x": @1, @"y": @3}, @{@"x": @2, @"y": @2}, @{@"x": @3, @"y": @8}, @{@"x": @4, @"y": @6}, @{@"x": @5, @"y": @9}];and set the xRange:
The first and the last plot symbol will be cut off.
There are any way to set padding from axises to have more space to draw symbols. Or any way to prevent plot symbol to be cut off.
I don't want to set xRange to [-1 : 6]