Commit 467fad13 authored by Brandon Bernal's avatar Brandon Bernal

Added Arc Gauges.

parent dac84aee
...@@ -3489,6 +3489,7 @@ ...@@ -3489,6 +3489,7 @@
return function (t) { return getArc(interpolate(t), true); }; return function (t) { return getArc(interpolate(t), true); };
}) })
.attr("transform", withTransform ? "scale(1)" : "") .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); .style("opacity", (__color_opacity) ? __color_opacity : 1);
main.selectAll('.' + CLASS.chartArc).select('text') main.selectAll('.' + CLASS.chartArc).select('text')
.attr("transform", transformForArcLabel) .attr("transform", transformForArcLabel)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment