Skip to content

Commit 3bb2559

Browse files
committed
Fixed an axis title positioning bug in CPAxisTitle. Fixed issue core-plot#275.
1 parent eec7ca1 commit 3bb2559

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎framework/Source/CPAxisTitle.m‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ -(void)positionRelativeToViewPoint:(CGPoint)point forCoordinate:(CPCoordinate)co
2424
break;
2525
case CPSignPositive:
2626
*value += self.offset;
27-
anchor = (coordinate == CPCoordinateX ? CGPointMake(0.0, 0.5) : CGPointMake(0.5, 0.0));
27+
anchor = (coordinate == CPCoordinateX ? CGPointMake(0.5, 1.0) : CGPointMake(0.5, 0.0));
2828
break;
2929
default:
3030
[NSException raise:CPException format:@"Invalid sign in positionRelativeToViewPoint:inDirection:"];

0 commit comments

Comments
 (0)