ChartJS CutoutPercentage issue

0
0

Using ChartJS, is the issue with the “Options -> CutoutPercentage” property a known problem?
When creating a Doughnut chart and trying to set this field to a value other than 50, it causes a compilation error, as if the property does not exist.

  • You must to post comments
0
0

Instead of setting it in the designer, the way to do it is to set it in code:

((DoughnutOptions)this.chartJS1.Options).CutoutPercentage = 80;

  • Gabriel Lupinacci
    I’m using the following line (vb.net): DirectCast(Me.chartJS1.Options, Wisej.Web.Ext.ChartJS.DoughnutOptions).CutoutPercentage = 80. But it produces no visible change in the doughnut chart. Am I doing something wrong?
  • Julie(ITG)
    Can you please attach a test case? Delete the bin and obj folders before posting.
  • You must to post comments
0
0

I can reproduce, we’ll look into this.

Julie

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.