芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/breadwinnerv2/assets/js/scripts/charts/chartjs/line/line.min.js
$(window).on("load",function(){var o=$("#line-chart"),r={responsive:!0,maintainAspectRatio:!1,legend:{position:"bottom"},hover:{mode:"label"},scales:{xAxes:[{display:!0,gridLines:{color:"#f3f3f3",drawTicks:!1},scaleLabel:{display:!0,labelString:"Month"}}],yAxes:[{display:!0,gridLines:{color:"#f3f3f3",drawTicks:!1},scaleLabel:{display:!0,labelString:"Value"}}]},title:{display:!0,text:"Chart.js Line Chart - Legend"}},e={labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",data:[65,59,80,81,56,55,40],fill:!1,borderDash:[5,5],borderColor:"#673AB7",pointBorderColor:"#673AB7",pointBackgroundColor:"#FFF",pointBorderWidth:2,pointHoverBorderWidth:2,pointRadius:4},{label:"My Second dataset",data:[28,48,40,19,86,27,90],fill:!1,borderDash:[5,5],borderColor:"#00BCD4",pointBorderColor:"#00BCD4",pointBackgroundColor:"#FFF",pointBorderWidth:2,pointHoverBorderWidth:2,pointRadius:4},{label:"My Third dataset - No bezier",data:[45,25,16,36,67,18,76],lineTension:0,fill:!1,borderColor:"#FF5722",pointBorderColor:"#FF5722",pointBackgroundColor:"#FFF",pointBorderWidth:2,pointHoverBorderWidth:2,pointRadius:4}]},i={type:"line",options:r,data:e};new Chart(o,i)});