Updated the pie 'combined' example.

Tweaked the description to indicate that we no longer combine single
slices into 'other', and reduced the threshold from 10% to 5% to
encourage more slices to combine in the demo.
pull/1/head
David Schnur 13 years ago
parent 64b28faf0d
commit b8b3b9cb7f

@ -435,7 +435,7 @@
placeholder.unbind(); placeholder.unbind();
$("#title").text("Combined Slice"); $("#title").text("Combined Slice");
$("#description").text("All slices less than a given percentage of the pie can be combined into a single, larger slice (10% in this case)."); $("#description").text("Multiple slices less than a given percentage (5% in this case) of the pie can be combined into a single, larger slice.");
$.plot(placeholder, data, { $.plot(placeholder, data, {
series: { series: {
@ -443,7 +443,7 @@
show: true, show: true,
combine: { combine: {
color: "#999", color: "#999",
threshold: 0.1 threshold: 0.05
} }
} }
}, },

Loading…
Cancel
Save