Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic