ios - Adjusting range on y-axis Shinobi 2016 -


i'm trying set range of values on axis live feed. user guide specifies

schartnumberrange *range = [[schartnumberrange alloc] initwithminimum:@0 andmaximum:@100];  chart.xaxis = [[schartnumberaxis alloc] initwithrange:range]; 

and,

[chart.xaxis setrangewithminimum:@10 andmaximum:@40]; 

however, xcode says function deprecated.

shinobi's documentation fantastic, appears have made updates, haven't implemented fixes. but, want make sure not mistaken , there in fact way this. because graph looks garbage when keeps automatically updating.

note i've tried anchoring axis didn't seem much. , aware graph redrawn, have programmed according detail. also, using trial version.


Comments