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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -