%PDF- %PDF-
Direktori : /home/opti/workflow/src/public/app-assets/js/scripts/charts/chartist/line/ |
Current File : /home/opti/workflow/src/public/app-assets/js/scripts/charts/chartist/line/line-scatter.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 times=function(n){return Array.apply(null,new Array(n))},data=times(52).map(Math.random).reduce(function(data,rnd,index){return data.labels.push(index+1),data.series.forEach(function(series){series.push(100*Math.random())}),data},{labels:[],series:times(4).map(function(){return new Array})}),options={showLine:!1,axisX:{labelInterpolationFnc:function(value,index){return index%13===0?"W"+value:null}}},responsiveOptions=[["screen and (min-width: 640px)",{axisX:{labelInterpolationFnc:function(value,index){return index%4===0?"W"+value:null}}}]];new Chartist.Line("#line-scatter",data,options,responsiveOptions)});