This project is read-only.

Pie Chart Widget

periscope_pie.png
This widget uses the Chart(New).js javascript library to create a very slick looking Pie chart widget.

Template

The template supports these custom properties...
  • None

Update

Javascript payload to post to the api in order to set the gauge value.
{
	"data" : [
             {"value":34, "color":"Salmon", "title":"Bob"},
             {"value":134, "color":"LightGreen", "title":"Dave"},
             {"value":88, "color":"Plum", "title":"Homer"}
        ],
	"options" : {
		"inGraphDataShow" : true,
                "inGraphDataFontColor": "white",
                "graphTitle": "Pie Eaten",
                "graphTitleFontColor": "white"
	}
}

Last edited Jul 18, 2014 at 10:24 AM by jimbobdog, version 2