¡@

Home 

2014/10/15 ¤U¤È 10:16:03

iphone Programming Glossary: xaxislabels

How do you provide labels for the axis of a Core Plot chart?

http://stackoverflow.com/questions/2904562/how-do-you-provide-labels-for-the-axis-of-a-core-plot-chart

1 NSDecimalNumber numberWithInt 5 NSDecimalNumber numberWithInt 10 NSDecimalNumber numberWithInt 15 nil NSArray xAxisLabels NSArray arrayWithObjects @ Label A @ Label B @ Label C @ Label D @ Label E nil NSUInteger labelLocation 0 NSMutableArray.. C @ Label D @ Label E nil NSUInteger labelLocation 0 NSMutableArray customLabels NSMutableArray arrayWithCapacity xAxisLabels count for NSNumber tickLocation in customTickLocations CPAxisLabel newLabel CPAxisLabel alloc initWithText xAxisLabels objectAtIndex.. xAxisLabels count for NSNumber tickLocation in customTickLocations CPAxisLabel newLabel CPAxisLabel alloc initWithText xAxisLabels objectAtIndex labelLocation textStyle x.labelTextStyle newLabel.tickLocation tickLocation decimalValue newLabel.offset x.labelOffset..

iphone, using an array to define in core-plot range

http://stackoverflow.com/questions/3060310/iphone-using-an-array-to-define-in-core-plot-range

numberWithInt 30 NSDecimalNumber numberWithInt 35 NSDecimalNumber numberWithInt 40 nil NSArray xAxisLabels NSArray arrayWithObjects @ 15 @ 18 @ 21 @ 0 @ 3 @ 6 @ 9 @ 12 @ 15 nil NSUInteger labelLocation 0 NSMutableArray customLabels.. @ 0 @ 3 @ 6 @ 9 @ 12 @ 15 nil NSUInteger labelLocation 0 NSMutableArray customLabels NSMutableArray arrayWithCapacity xAxisLabels count for NSNumber tickLocation in customTickLocations CPAxisLabel newLabel CPAxisLabel alloc initWithText xAxisLabels.. count for NSNumber tickLocation in customTickLocations CPAxisLabel newLabel CPAxisLabel alloc initWithText xAxisLabels objectAtIndex labelLocation textStyle axisSet.xAxis.labelTextStyle newLabel.tickLocation tickLocation decimalValue newLabel.offset..