Morris.js line chart multiple ykeys from json
问题 I am wokring on morris.js line chart. My json is [ {"uma":"34","time":"2017-05-11 12:30","mahes":"23","karan":"56"}, {"uma":"45","time":"2017-05-11 12:35","mahes":"45","karan":"56"}, {"uma":"34","time":"2017-05-11 12:38","mahes":"54","karan":"56"} ] from the above json, I am sure about xkey and ykeys. so I can implement to the below code. var stringify=JSON.stringify(abovejson); var data =stringify, config = { data: JSON.parse(data), xkey: 'time', ykeys: ['uma','mahes','karan'], labels: [