Charting API for a JavaFX app with epoch unix timestamp to dd:mm:yy hh:mm:ss format
posted 11 months ago
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.