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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -