java - Setting the minimum value of yAxes in afreechart android -
i using afreechart plot timeseries in example code if chart panned vertically reach areas of negative y axes. want avoid , want set min , max both y , x axes. tried doing below:-
valueaxis yaxes=plot.getrangeaaxis(); yaxes.setrange(0,100);
but not seem work , still able pan chart non-negative y values area.
ok solved myself.. extending class demoview in example. changed values below:-
this.domainmovable=true; this.rangemovable=false;
it might dirty way job
java android jfreechart
No comments:
Post a Comment