ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  miliseconds
Posted by seyyed on Jun-20-2011 16:39
hi
the chart time doesnt have a mili seconds part!
how should i show miliseconds in my chart x axis if my data intervals are like 50 ms
thank you

  Re: miliseconds
Posted by Peter Kwan on Jun-20-2011 23:56
Hi seyyed,

Just add the fractional part to the result of chartTime. For example, in Java/C#, it is like:

double myTime = Chart.chartTime(2011, 5, 11, 12, 12, 13) + 0.050;

As myTime is the seconds elapsed since the epoch (0001-01-01 00:00:00), the + 0.050 means 50 milliseconds.

Hope this can help.

Regards
Peter Kwan