Plugin renderer to draw a pie chart. Pie charts will draw only the first series. Other series are ignored. x values, if present, will be used as slice labels. y values give slice size.
| $.jqplot. | Plugin renderer to draw a pie chart. |
| Properties | |
| diameter | diameter of the pie, auto computed by default |
| padding | padding between the pie and plot edges, legend, etc. |
| sliceMargin | pixels spacing between pie slices. |
| fill | true or false, wether to fil the slices. |
| shadowOffset | offset of the shadow from the slice and offset of each succesive stroke of the shadow from the last. |
| shadowAlpha | transparency of the shadow (0 = transparent, 1 = opaque) |
| shadowDepth | number of strokes to apply to the shadow, each stroke offset shadowOffset from the last. |
diameter of the pie, auto computed by default
this.diameter = null
padding between the pie and plot edges, legend, etc.
this.padding = 20
pixels spacing between pie slices.
this.sliceMargin = 0
true or false, wether to fil the slices.
this.fill = true
offset of the shadow from the slice and offset of each succesive stroke of the shadow from the last.
this.shadowOffset = 2
transparency of the shadow (0 = transparent, 1 = opaque)
this.shadowAlpha = 0.07
number of strokes to apply to the shadow, each stroke offset shadowOffset from the last.
this.shadowDepth = 5