1

is there a way to invert angular nvd3 donut chart (pieChart with donut: true,)? that will draw the chart in the inverted sense which is the second part of the donut.

Med
  • 241
  • 1
  • 6
  • 23

1 Answers1

1

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) }
Mark
  • 106,305
  • 20
  • 172
  • 230