40 275
ediciones
m (absolutely sliced up) |
m (color me surprised) |
||
const data = []
/// add a slice to the pie
svg.add_data_entry = function(count, name, label, fill) { data.push({ count: count, name: name, label: label || name,
/// wedge all the slices into the pie
svg.render = function() { console.debug('make-pie:', 'rendering', svg, data)
|