Lines Matching full:tilt
24 tilt: 0-1 for percentage to tilt the pie, where 1 is no tilt, and 0 is completely flat (nothing will show)
110 // ensure sane tilt
112 if (options.series.pie.tilt > 1) {
113 options.series.pie.tilt = 1;
114 } else if (options.series.pie.tilt < 0) {
115 options.series.pie.tilt = 0;
290 maxRadius = Math.min(canvasWidth, canvasHeight / options.series.pie.tilt) / 2;
321 if (options.series.pie.tilt <= 0.8) {
351 if (radius >= canvasWidth / 2 - shadowLeft || radius * options.series.pie.tilt >= canvasHeight / 2 - shadowTop || radius <= edge) {
363 ctx.scale(1, options.series.pie.tilt);
386 ctx.scale(1, options.series.pie.tilt);
493 var y = centerTop + Math.round(Math.sin(halfAngle) * radius) * options.series.pie.tilt;
590 //ctx.scale(1, options.series.pie.tilt); // this actually seems to break everything when here.
624 // TODO: perhaps do some mathmatical trickery here with the Y-coordinate to compensate for pie tilt?
735 octx.scale(1, options.series.pie.tilt);
774 tilt: 1,