Browse Source

Added Arc Gauges.

pull/254/head
Brandon Bernal 11 years ago
parent
commit
467fad130f
  1. 1
      c3.js
  2. 2
      c3.min.js

1
c3.js

@ -3489,6 +3489,7 @@
return function (t) { return getArc(interpolate(t), true); };
})
.attr("transform", withTransform ? "scale(1)" : "")
.style("fill", function (d) { return (__color_values) ? levelColor(d.data.values[0].value) : color(d.data.id); }) // Where gauge reading color would receive customization.
.style("opacity", (__color_opacity) ? __color_opacity : 1);
main.selectAll('.' + CLASS.chartArc).select('text')
.attr("transform", transformForArcLabel)

2
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save