hey my json data looks something like this
[{"datePoa":"2016-07-24","Frequency":"4"},{"datePoa":"2016-07-25","Frequency":"4"}]
am using jquery ($.getJSON)to fetch it and a function called chart() that accepts json as a parameter to call the morris.area() method here is the code
hey my json data looks something like this [{"datePoa":"2016-07-24","Frequency":"4"},{"datePoa":"2016-07-25","Frequency":"4"}]
am using jquery ($.getJSON)to fetch it and a function called chart() that accepts json as a parameter to call the morris.area() method here is the code
function Chart(json){ Morris.Area({ element: 'morris-area-chart', data: json, xkey: 'datePoa', ykeys: ['Frequency'], labels: ['Frequency'], pointSize: 3, fillOpacity: 0, pointStrokeColors:['#00bfc7'], behaveLikeLine: true, gridLineColor: '#e0e0e0', lineWidth: 3, hideHover: 'auto', lineColors: ['#00bfc7'], resize: true
} here is the screen shot of how the graphs looks like...my problem is the x axis labels..dont know where these values come from