%PDF- %PDF-
Direktori : /home/opti/workflow/src/public/app-assets/js/scripts/charts/chartjs/advance/ |
Current File : /home/opti/workflow/src/public/app-assets/js/scripts/charts/chartjs/advance/combo-bar-line.min.js |
/*! * stack-admin-theme (https://pixinvent.com/bootstrap-admin-template/stack) * Copyright 2018 PIXINVENT * Licensed under the Themeforest Standard Licenses */ $(window).on("load",function(){var ctx=$("#combo-bar-line"),chartOptions={responsive:!0,maintainAspectRatio:!1,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:!1,text:"Chart.js Combo Bar Line Chart"}},chartData={labels:["January","February","March","April","May","June","July"],datasets:[{type:"line",label:"My Second dataset",data:[28,48,40,19,86,27,90],backgroundColor:"rgba(250,142,117,.5)",borderColor:"transparent",borderWidth:2,pointBorderColor:"#FA8E75",pointBackgroundColor:"#FFF",pointBorderWidth:2,pointHoverBorderWidth:2,pointRadius:4},{type:"bar",label:"My First dataset",data:[65,59,80,81,56,55,40],backgroundColor:"#00A5A8",borderColor:"transparent",borderWidth:2},{type:"bar",label:"My Third dataset - No bezier",data:[45,25,16,36,67,18,76],backgroundColor:"#F25E75",borderColor:"transparent",borderWidth:2}]},config={type:"bar",options:chartOptions,data:chartData};new Chart(ctx,config)});