Hello,
I am new to using the ShinobiCharts framework. I am trying to set a custom range for the x-axis, which is of type "SChartAxisTypeDateTime".
I tried setting the default range, but that did not work. So then (upon advice on a previous forum), I created an axis with the desired range when I created the graph with this code:
SChartDateRange *XRange = [[SChartDateRangealloc] initWithDateMinimum:_theModel.myProcedure.procedureStartTimeandDateMaximum:[NSDatedate]];
SChartDateTimeAxis *xAxisSponge = [[SChartDateTimeAxisalloc] initWithRange:XRange];
spongeChart.xAxis = xAxisSponge;
However, that still does not work. Instead of giving the desired range (which should be several hours) I get an axis with a range of about a minute.
Has anyone else run into this problem?
Thanks!