chinmaymk/angular-charts

Pie Chart Radius

Closed this issue · 0 comments

Replicate

  1. Visit http://chinmaymk.github.io/angular-charts/ (Firefox 40 on Ubuntu)
  2. Set Chart type to: Pie
  3. Set Radius to: 10

Expected

A 10-pixel radius pie chart?

Actual

Completely blank pie chart (nothing visible).

Continue for a bug that is probably related:

Replicate

  1. Set Radius to: 0

Expected

The whole pie is shown. (Note that when the page is first loaded, the Radius displays as 0, so the expected behaviour is that setting the value back to zero, after having set it to 10, is that the pie chart shows complete once more.) The only way to get it back to resembling the page load (without reloading the page) is to set the radius to 181. A value of 180 leaves a white dot in the middle.

Actual

Border with a radius of 10 pixels is shown?