erossini/BlazorChartjs

Question: Pie chart options?

gerfen opened this issue · 3 comments

I'd like to create pie charts which have an arc of 180 degrees. Is it possible to set circumference and rotation options? For example, in pure JavaScript I would do this:

var chart = new Chart(canvas, {
  type: 'doughnut',
  data: ['400', '200'],
  options: {
    rotation: -90,
    circumference: 180,
}

I'll add this option to the new release that I'm planning for this week. Keep you posted.

The package PSC.Blazor.Components.Chartjs 6.0.30 was recently published on NuGet Gallery by erossini.

@erossini Thank you!