This is my first time on the support forum so sorry if i have missed some information.
Im trying to display date time data on a graph and i want it to be quick so I add data using arrays and date time as milliseconds since epoch:
Code: Select all
rs = conn.QueryDB("Select millisecondssinceepoch(thedatetime), chan257"
+ "from data10hz "
+ "where thedate = to_date('" + selectedDate + "','YYYY-MM-DD') and resim = '0'"
+ "order by thedatetime");
Code: Select all
Line1.add(xarray1, yarray1);
So i read the tutorial and the tried the following code with no success:
Code: Select all
tChart1.getAxes().getBottom().isDateTime();
tChart1.getAxes().getBottom().getLabels().setDateTimeFormat("dd-MM-yyyy hh:mm:ss");
Please help.
Asim