Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
545
Background color of the chart
posted

Hi,

I addeda graphic as subview of a view with blue backgroundcolor , I can not set the background color of the chart in white. how can I do to remove the " transparency " ?

I tried this code but does not work

    IGChartThemeDefinition *theme = [IGChartGradientThemes IGTheme];
    theme.backgroundColor = [UIColor whiteColor];
    theme.plotAreaPalette.color = [[IGBrush alloc] initWithColor:[UIColor whiteColor]];

    chart.theme = theme;

Here a preview


Thanks