Med Med - 1 year ago 97
AngularJS Question

in angular-nvd3 how to Invert donut Chart

is there a way to invert angular nvd3 donut chart (

donut: true,
that will draw the chart in the inverted sense which is the second part of the donut.

Answer Source

Under pie options change the startAngle to:

function (d) { return d.startAngle/2 - (3 * Math.PI / 2) }

And endAngle to:

function (d) { return d.endAngle/2 - (3 * Math.PI / 2) }
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download