%PDF- %PDF-
Direktori : /home/opti/workflow/src/public/app-assets/js/scripts/charts/chartist/pie/ |
Current File : /home/opti/workflow/src/public/app-assets/js/scripts/charts/chartist/pie/custom-labels.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 data={labels:["Bananas","Apples","Grapes"],series:[20,15,40]},options={labelInterpolationFnc:function(value){return value[0]}},responsiveOptions=[["screen and (min-width: 640px)",{chartPadding:30,labelOffset:100,labelDirection:"explode",labelInterpolationFnc:function(value){return value}}],["screen and (min-width: 1024px)",{labelOffset:80,chartPadding:20}]];new Chartist.Pie("#pie-custom-labels",data,options,responsiveOptions)});