Draw Line chart in jQuery using data from an AJAX request -


i trying generate line chart in jquery. here ajax request code:

var querystring = window.location.search; $.ajax({     url: '/turnover/drawlinechart'+ querystring,      cache: false,     type: 'post',     datatype: 'json',     success: function (response) {         ?????????     }, } }); 

here data in response:

enter image description here

how can draw line chart using data? here x-axis data static (jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec). in response have y-axis data. please me. thank you.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -