1
코어 플롯 프레임 워크를 사용하면 XYScatter Plot
이 있습니다. 모든 것이 지느러미가 있지만 x 축에는 3 개의 큰 눈금이 있습니다. 전체 척도가 10이므로 내 주요 진드기가 1/3로 나옵니다. 아주 이상한. 나는 다른 조합을 시도했다 :코어 플롯 : 주요 x 간격의 수
CPTXYAxisSet *axisSet = (CPTXYAxisSet *)plot.axisSet;
CPTXYAxis *x = axisSet.xAxis;
x.preferredNumberOfMajorTicks = 4;
x.majorIntervalLength = [[NSNumber numberWithFloat:35.0] decimalValue];
x.labelingPolicy = CPTAxisLabelingPolicyAutomatic;
을 ...하지만 내가 원하는 것을 얻을 수없는 것 - 상기 preferredNumberOfMajorTicks
을 떠나보십시오 2 또는 5