Hiding xAxis and yAxis Charts


#1

I just downloaded a demo,I’m  thinking on using charts on a upcoming project.  I would like both axis and border to be removed and the graph extend the entire size of the view.  I have tried the following, but both axis still appear. What I’m I missing?

- (void)awakeFromNib
{
    // Initialization code
	[self configureDataSource];
	SChartTheme *chartTheme = [SChartDarkTheme new];
	_chart = [[ShinobiChart alloc] initWithFrame:CGRectInset(self.bounds, 0, 0)];
	_chart.datasource = self;
	[_chart applyTheme: chartTheme];

	_chart.licenseKey = @""; // TODO: add your trial licence key here!
	
	_chart.autoresizingMask = ~UIViewAutoresizingNone;
	_chart.xAxis.style.majorTickStyle.showLabels = NO;
	_chart.xAxis.style.majorTickStyle.showTicks = NO;
	_chart.yAxis.style.majorTickStyle.showLabels = NO;
	_chart.yAxis.style.majorTickStyle.showTicks = NO;
	
	[self addSubview:_chart];
}