All Downloads are FREE. Search and download functionalities are using the official Maven repository.

report-resources.chartjs.chartjs-plugin-doughnutlabel.min.js Maven / Gradle / Ivy

There is a newer version: 4.2.12
Show newest version
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("chart.js")):"function"==typeof define&&define.amd?define(["chart.js"],e):e(t.Chart)}(this,function(c){"use strict";var t={font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null}},l=(c=c&&c.hasOwnProperty("default")?c.default:c).helpers,p={parseFont:function(t){var e=c.defaults.global,n=l.valueOrDefault(t.size,e.defaultFontSize),i={family:l.valueOrDefault(t.family,e.defaultFontFamily),lineHeight:l.options.toLineHeight(t.lineHeight,n),size:n,style:l.valueOrDefault(t.style,e.defaultFontStyle),weight:l.valueOrDefault(t.weight,null),string:""};return i.string=p.toFontString(i),i},toFontString:function(t){return!t||l.isNullOrUndef(t.size)||l.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family},textSize:function(t,e){var n,i=[].concat(e),l=i.length,o=t.font,a=0,r=0;for(n=0;n




© 2015 - 2025 Weber Informatics LLC | Privacy Policy