Home | History | Annotate | Download | only in flot

Lines Matching full:minmax

195                 var minmax = [ax[e].min, ax[e].max];
220 if (upper > minmax[1]) {
222 upper = minmax[1];
224 if (lower < minmax[0]) {
226 lower = minmax[0];
238 tmp = minmax[0];
239 minmax[0] = minmax[1];
240 minmax[1] = tmp;
248 minmax[0] = ax[e].p2c(minmax[0]);
249 minmax[1] = ax[e].p2c(minmax[1]);
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){
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]] );