Donut Chart

Created with Raphaƫl 2.1.2foo70%
  1. Morris.Donut({
  2. element: 'graph',
  3. data: [
  4. {value: 70, label: 'foo'},
  5. {value: 15, label: 'bar'},
  6. {value: 10, label: 'baz'},
  7. {value: 5, label: 'A really really long label'}
  8. ],
  9. backgroundColor: '#ccc',
  10. labelColor: '#060',
  11. colors: [
  12. '#0BA462',
  13. '#39B580',
  14. '#67C69D',
  15. '#95D7BB'
  16. ],
  17. formatter: function (x) { return x + "%"}
  18. });