Not able to change background color for donutFrame?



I want to change the background color of donut but not able to do so?

Please help!!!

    CGRect donutFrame;
    donutFrame = CGRectMake(175, 100,250,410 );
     donut = [ShinobiChartdonutChartForOSVersionDataWithFrame:donutFrame];
     dataSource.donutChart = donut;
     donut.datasource = dataSource;
    donut.licenseKey = licenseKey;
    [self.view addSubview:donut];


Hi Arti,

There are 3 different properties relating to background colour on a ShinobiChart that relate to different areas of the chart:

  • backgroundColor
  • canvasAreaBackgroundColor
  • plotAreaBackgroundColor