@@ -0,0 +1,408 @@
+/**%0A * %0A */%0Apackage com.varone.web.aggregator.unit;%0A%0A%0A/**%0A * @author allen%0A *%0A */%0Apublic class TimeUnitTransfer %7B%0A%09%0A%09%0A%09public String transferToAxisX(long value) %7B%0A//%09%09SimpleDateFormat sdf = new SimpleDateFormat(%22HH:mm:ss%22);%0A%09%09int length = String.valueOf(value).length();%0A%09%09%0A%09%09//without millisecond%0A%09%09if(length == 10) %7B%0A//%09%09%09return sdf.format(value * 1000);%0A%09%09%09return value+%22000%22;%0A%09%09%7D%0A%09%09%0A%09%09return null;%0A%09%7D%0A%0A%7D%0A

add time unit transfer