$("#description").text("The default pie chart with no options set.");
$("#description").text("The default pie chart with no options set.");
$.plot("#placeholder", data, {
$.plot(placeholder, data, {
series: {
series: {
pie: {
pie: {
show: true
show: true
@ -135,10 +140,12 @@
$("#example-2").click(function() {
$("#example-2").click(function() {
placeholder.unbind();
$("#title").text("Default without legend");
$("#title").text("Default without legend");
$("#description").text("The default pie chart when the legend is disabled. Since the labels would normally be outside the container, the chart is resized to fit.");
$("#description").text("The default pie chart when the legend is disabled. Since the labels would normally be outside the container, the chart is resized to fit.");
$.plot("#placeholder", data, {
$.plot(placeholder, data, {
series: {
series: {
pie: {
pie: {
show: true
show: true
@ -165,10 +172,12 @@
$("#example-3").click(function() {
$("#example-3").click(function() {
placeholder.unbind();
$("#title").text("Custom Label Formatter");
$("#title").text("Custom Label Formatter");
$("#description").text("Added a semi-transparent background to the labels and a custom labelFormatter function.");
$("#description").text("Added a semi-transparent background to the labels and a custom labelFormatter function.");
$.plot("#placeholder", data, {
$.plot(placeholder, data, {
series: {
series: {
pie: {
pie: {
show: true,
show: true,
@ -213,10 +222,12 @@
$("#example-4").click(function() {
$("#example-4").click(function() {
placeholder.unbind();
$("#title").text("Label Radius");
$("#title").text("Label Radius");
$("#description").text("Slightly more transparent label backgrounds and adjusted the radius values to place them within the pie.");
$("#description").text("Slightly more transparent label backgrounds and adjusted the radius values to place them within the pie.");