摘要: $.get('data.csv', function(data) { // Split the lines var lines = data.split('\n'); // Iterate over the lines and add categories or series $.each(lines, function(lineNo, line) { var items = line.split(','); // header line containes categories if (lineNo == 0) { $.each(items, 阅读全文
posted @ 2013-01-19 11:01 tinaleft 阅读(212) 评论(0) 推荐(0) 编辑