java - Fix (freeze) y axis for Android GraphView package -
i need way fix y axis graph view package. showing real time frequency spectra not possible visualise data y axis adjusts current largest value. please advise. offer bounty answer solves problem.
if know range if y axis, method setmanualyaxisbounds(max,min) can used. example, if using sin function,
graphview.setmanualyaxisbounds(1,-1);
or if yours percentage graph,
graphview.setmanualyaxisbounds(100,0);
if have values plotted in array, again method can used max , min values of array (with formatting looks neater).
Comments
Post a Comment