nnnick/Chart.js — pull request #711 by cmweiss (2014-10-21 17:42:39+00:00)
Title: Default color for Doughnut/Pie

This adds a helper function, hue(), to Doughnut and adds a default color to each segment if color is not included in data. It adds color just before addData() is invoked. It currently uses Array.prototype.map to do this which requires ECMAScript 5 or a polyfill. Also included is a demo.