(function(){functionf(){this.renderToDataset=this.renderToDataset.bind(this)}if("undefined"===typeofChart)console.error("Can not find Chart object.");else{"function"!=typeofObject.assign&&(Object.assign=function(a,c){if(null==a)thrownewTypeError("Cannot convert undefined or null to object");for(varb=Object(a),e=1;e<arguments.length;e++){vard=arguments[e];if(null!=d)for(vargind)Object.prototype.hasOwnProperty.call(d,g)&&(b[g]=d[g])}returnb});vark={};["pie","doughnut","polarArea","bar"].forEach(function(a){k[a]=