问题
I have the following JSON object.
[
{
"LocationName":"AAA",
"YValue":0.29,
"Time":"100"
},
{
"LocationName":"BBB",
"YValue":0,
"Time":"500"
},
{
"LocationName":"CCC",
"YValue":0,
"Time":"10"
},
{
"LocationName":"DDDD",
"YValue":0,
"Time":"120.10"
},
{
"LocationName":"GGG",
"YValue":0,
"Time":"60"
},
{
"LocationName":"LLL",
"YValue":0,
"Time":"60.5"
}
]
In above JSON Time in Seconds. I need to show that in the Kendo line chart as HH.MM.SS
format. And YValue needs to show in Bar chart. LocationName should be X-axis. How can I do it?
来源:https://stackoverflow.com/questions/59093044/how-to-show-time-format-in-kendo-chart