• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Charting API for a JavaFX app with epoch unix timestamp to dd:mm:yy hh:mm:ss format

 
Eddie Cross
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I have a hardware which has sensors connected to it. The sensor data is picked up the hardware and sent to a router through wifi. On the software side, I have a JavaFX application which shows the sensor values obtained from multiple sensors and gives the option to plot a graph for which you can select any sensor data you want. The hardware sends sensor data corresponding to the epoch unix time which is milliseconds (ex.  1467298662 ). The x-axis of the graph shows the timestamp but i have a code written for converting the epoch unix timestamp to a dd:mm:yy hh:mm:ss format (String) which slows down or causes a little lag in the plotting process.

Is there any charting API for my standalone application which takes this unix timestamp and converts it into the dd:mm:yy hh:mm:ss format . I don't care if the API converts it into string internally because that'll be faster IMO.

Please help.
Thanks in advance!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic