We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83b850a commit ad1cdfdCopy full SHA for ad1cdfd
Graph Views/XRGGenericView.m
@@ -156,14 +156,18 @@ - (void)drawRangedGraphWithData:(CGFloat *)samples size:(NSInteger)nSamples curr
156
157
[color set];
158
NSBezierPath *bp = [NSBezierPath bezierPath];
159
- [bp setLineWidth:0.0f];
160
- [bp setFlatness: 0.6f];
161
[bp appendBezierPathWithPoints:points count:(currentPointIndex + (1 - filledOffset))];
162
if (filled) {
+ [bp setLineWidth:0.0f];
+ [bp setFlatness: 0.6f];
163
[bp closePath];
164
[bp fill];
165
}
166
else {
167
+ [bp setLineWidth:1.2f];
168
+ [bp setFlatness: 10.0f];
169
+ [bp setLineCapStyle:NSRoundLineCapStyle];
170
+ [bp setLineJoinStyle:NSRoundLineJoinStyle];
171
[bp stroke];
172
173
0 commit comments