iPhone에서 그래프를 표시하기 위해 coreplot을 사용하고 있습니다. plotArea에 레이블 (10,20,30 ..)을 올바르게 표시하고 싶습니다. 현재 바 및 레이블이 고르지 않은 형식으로 표시됩니다. 어떻게 해결할 수 있을까요?CorePlot - XAxis - iPhone
코드 :
x.axisLineStyle = nil;
x.majorTickLineStyle = nil;
x.minorTickLineStyle = nil;
x.majorIntervalLength = CPDecimalFromString(@"10");
x.orthogonalCoordinateDecimal = CPDecimalFromString(@"0");
x.title = @"Age Limit";
x.titleLocation = CPDecimalFromFloat(30.0f);
x.titleOffset = 35.0f;
x.labelRotation = M_PI/2;![enter image description here][1]
x.labelOffset = 5.0f;