I’m evaluating shinobi charts and seem to have run into an issue: the chart won’t clear the background color from black.
I have a gradient being drawn like this:
CGGradientRef background = [UIColorFromRGB(self.theme.backgroundFrom) newGradientToColor:UIColorFromRGB(self.theme.backgroundTo)];
CGContextDrawLinearGradient(context, background, startPoint, endPoint, 0);
and the chart has been added as a subview of the view. I initialise the chart as follows:
// apply customisations
self.chart.backgroundColor = [UIColorclearColor];
self.chart.plotAreaBackgroundColor = [UIColorclearColor];
self.chart.canvasAreaBackgroundColor = [UIColorclearColor];
The last three lines seem to change the chart, but I still see a black background. Is there a problem here or is it simply that the shinobi controls watermark is drawn using this black background?