rodiusd
23 Jan 2012, 2:01 AM
Hello,
we have a tab-panel design where in one tab we display a grid and in the other a line-chart.
We use a json text file:
{
games:[
{playdate:"2011-10-14",game01:213,game02:167,game03:173,avg:184},
{playdate:"2011-09-02",game01:154,game02:145,game03:0,avg:149},
]
}
When using this store for the grid, the is correctly displayed (transformed to d/m/Y).
However in the the line-chart we use the date on the x:axis and its show in timestamp format.
Question now is how we can get the correct format of the date as label?
we have a tab-panel design where in one tab we display a grid and in the other a line-chart.
We use a json text file:
{
games:[
{playdate:"2011-10-14",game01:213,game02:167,game03:173,avg:184},
{playdate:"2011-09-02",game01:154,game02:145,game03:0,avg:149},
]
}
When using this store for the grid, the is correctly displayed (transformed to d/m/Y).
However in the the line-chart we use the date on the x:axis and its show in timestamp format.
Question now is how we can get the correct format of the date as label?