return {"area": top, "mean": bottom==0?null:top/bottom};
}
- function plot(g, unit, total_unit, lines, stack, proportion_view, isnt_first) {
+ function plot(g, unit, total_unit, lines, stack, proportion_view) {
// lines is a list of objects which have attributes data, color, and label
var orig_unit = unit;