I’ve noticed an issue with setting custom colors on a SChartLineSeries that I can’t resolve.
This is the basic setup code, certainly nothing new in here;
SChartLineSeriesStyle *style = [SChartLineSeriesStyle new];
SChartLineSeries *lineSeries = [SChartLineSeries new];
Now say we want to have a line chart with a green line. Simple;
style.lineColor = [UIColor greenColor]; Let's add a fill to our line chart; style.showFill = YES; Wait, the entire fill is blue (global tint color I suppose) and the green line is gone. Is there something I'm missing here? Adding a gradient works as it is supposed to be; style.areaColorLowGradient = [UIColor redColor]; style.fillWithGradient = YES; However, our supposedly green line is still blue. I really have no idea what is going on here. Given that I haven't fiddled with the global tinting mechanism in any way, setting a line color and using a fill (gradient or not) should work, shouldn't it? If you guys know what's going on here, please let me know! Cheers, Max Edit: Just checked the global tint color and no, it is not using the global tint color. Even more clueless now...