From b48f1aa9e707ee117a2f387da452e3e31253bd33 Mon Sep 17 00:00:00 2001 From: Julien Thomas Date: Fri, 21 Sep 2012 18:57:38 +0200 Subject: [PATCH] Pie: Allow to set shadow distance and alpha of a tilted pie --- examples/pie.html | 5 +++++ jquery.flot.pie.js | 11 ++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/examples/pie.html b/examples/pie.html index b7bccf8..d72e82e 100644 --- a/examples/pie.html +++ b/examples/pie.html @@ -671,6 +671,11 @@ $("#interactive").bind("plotclick", pieClick);
  • innerRadius: 0 - Sets the radius of the donut hole. If value is between 0 and 1 (inclusive) then it will use that as a percentage of the radius, otherwise it will use the value as a direct pixel length.
  • startAngle: 3/2 - Factor of PI used for the starting angle (in radians) It can range between 0 and 2 (where 0 and 2 have the same result).
  • tilt: 1 - Percentage of tilt ranging from 0 and 1, where 1 has no change (fully vertical) and 0 is completely flat (fully horizontal -- in which case nothing actually gets drawn).
  • +
  • shadow:
  • offset: