Lines Matching full:radius
27 radius: null or number
47 user-defined drawing function, with (ctx, x, y, radius) as parameters, as eg.
49 function drawSemiCircle( ctx, x, y, radius ) {
51 ctx.arc( x, y, radius, 0, Math.PI, false );
52 ctx.moveTo( x - radius, y );
53 ctx.lineTo( x + radius, y );
57 Color and radius both default to the same ones of the points series if not
58 set. The independent radius parameter on xerr/yerr is useful for the case when
60 points (with radius: 0), and still showing end caps on the error-bars.
70 …err: 'x', show: null, asymmetric: null, upperCap: null, lowerCap: null, color: null, radius: null}, property
71 … err: 'y', show: null, asymmetric: null, upperCap: null, lowerCap: null, color: null, radius: null} property
167 radius = s.points.radius,
260 … drawError(ctx, err[e], x, y, upper, lower, drawUpper, drawLower, radius, w + w/2, minmax);
263 … drawError(ctx, err[e], x, y, upper, lower, drawUpper, drawLower, radius, w/2, minmax);
269 … drawError(ctx, err[e], x, y, upper, lower, drawUpper, drawLower, radius, 0, minmax);
275 function drawError(ctx,err,x,y,upper,lower,drawUpper,drawLower,radius,offset,minmax){ argument
284 if (upper > x + radius) drawPath(ctx, [[upper,y],[Math.max(x + radius,minmax[0]),y]]);
286 if (lower < x - radius) drawPath(ctx, [[Math.min(x - radius,minmax[1]),y],[lower,y]] );
290 if (upper < y - radius) drawPath(ctx, [[x,upper],[x,Math.min(y - radius,minmax[0])]] );
292 if (lower > y + radius) drawPath(ctx, [[x,Math.max(y + radius,minmax[1])],[x,lower]] );
296 …//internal radius value in errorbar, allows to plot radius 0 points and still keep proper sized ca…
298 radius = err.radius != null? err.radius: radius;
303 if (err.err=='x') drawPath(ctx, [[upper,y - radius],[upper,y + radius]] );
304 else drawPath(ctx, [[x - radius,upper],[x + radius,upper]] );
306 if (err.err=='x') err.upperCap(ctx, upper, y, radius);
307 else err.upperCap(ctx, x, upper, radius);
313 if (err.err=='x') drawPath(ctx, [[lower,y - radius],[lower,y + radius]] );
314 else drawPath(ctx, [[x - radius,lower],[x + radius,lower]] );
316 if (err.err=='x') err.lowerCap(ctx, lower, y, radius);
317 else err.lowerCap(ctx, x, lower, radius);