Androidplot: How can have integer data labels? -


this simple, cannot find in online documentation. have data plot integer range values on floating point domain (integer function of time). using

plot.setrangevalueformat(new decimalformat("#")); 

i obtain integer labels on side of graph. still 1 decimal place in label on data points instead of integers, e.g. "100.0". how can obtain integer values only, e.g. "100" ?

for me works this:

  • if want data floating point—i.e., 100.0—then delete line plot.setrangevalueformat(new decimalformat("#")); code.

  • if want integer data—i.e., 100—then keep (include) line plot.setrangevalueformat(new decimalformat("#")); in code.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -