Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
318 views
in Technique[技术] by (71.8m points)

javascript - 如何在剑道图中显示时间格式(How to show time format in kendo chart)

I have the following JSON object.

(我有以下JSON对象。)

[ 
   { 
      "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.

(在上面的JSON Time in Seconds中。)

I need to show that in the Kendo line chart as HH.MM.SS format.

(我需要在Kendo折线图中将其HH.MM.SSHH.MM.SS格式。)

And YValue needs to show in Bar chart.

(YValue需要显示在条形图中。)

LocationName should be X-axis.

(LocationName应该是X轴。)

How can I do it?

(我该怎么做?)

  ask by Adam translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...