Data Point Style


How can I update my line graph so that the points look like they do in the first example in the gallery?  e.g. hollow circles.


Hi Ivan,

Thanks for getting in touch!

You can get that exact style by applying the SChartLightTheme to your chart using the following code:

[_chart applyTheme:[SChartLightTheme new]];

You may also need to set “showPoints” property on the SChartLineSeriesStyle to yes like so:

-(SChartSeries *)sChart:(ShinobiChart *)chart seriesAtIndex:(NSInteger)index {
    SChartLineSeries *lineSeries = [[SChartLineSeries alloc] init]; = YES;
    return lineSeries;

Let me know if you have any issues.

Kind Regards,
Andrew Polkinghorn