We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi
Can we add rounded corners to the Bar graph? I tried the following, But it is not rendering the Round-Rect corners.
- (UIBezierPath *)drawBarPathWithStartPoint:(CGPoint)startPoint endPoint:(CGPoint)endPoint{ CGRect rect = CGRectMake(startPoint.x, startPoint.y, endPoint.x - startPoint.x, endPoint.y - startPoint.y); CGSize radii = CGSizeMake(5, 5); UIRectCorner corners = UIRectCornerAllCorners; UIBezierPath *path1 = [UIBezierPath bezierPathWithRoundedRect:rect byRoundingCorners:corners cornerRadii:radii]; [path1 closePath]; [path1 stroke]; return path1; }
I want something like this:
Screenshot
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi
Can we add rounded corners to the Bar graph? I tried the following, But it is not rendering the Round-Rect corners.
I want something like this:
Screenshot
The text was updated successfully, but these errors were encountered: