how to add date in HH:MM:SS format to the x-axis of the XY-Line chart?
- by Aru
Hi,
I want to add date in HH:MM:SS format to the x-axis of XY-Line chart.
I am using follwing code to do it.
xValueExpression
![CDATA[new SimpleDateFormat("HH:mm:ss").format($F{time})]]
/xValueExpression
But it is giving error as can not convert from string to number.
Because XY-Line chart takes number on X and Y axis.
So how to achieve this?
Or there is any other way to achieve this?