• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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!
 
Hot dog! An advertiser loves us THIS much:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic