diff --git a/c3.js b/c3.js
index 69dc9d0..e0fbed5 100644
--- a/c3.js
+++ b/c3.js
@@ -131,7 +131,7 @@
__point_onunselected = getConfig(['point', 'onunselected'], function () {});
// arc
- var __arc_label_fomat = getConfig(['arc', 'label', 'format'], function (d, ratio) { return (100 * ratio).toFixed(1) + "%"; }),
+ var __arc_label_format = getConfig(['arc', 'label', 'format'], null),
__arc_title = getConfig(['arc', 'title'], "");
// region - region to change style
@@ -150,11 +150,11 @@
if (! text) {
title = titleFormat ? titleFormat(d[i].x) : d[i].x;
- text = "
"}),jg=i(["tooltip","init","show"],!1),kg=i(["tooltip","init","x"],0),lg=i(["tooltip","init","position"],{top:"0px",left:"50px"}),mg=_d.replace("#","")+"-clip",ng=j(mg),og="timeseries"===rf,pg="categorized"===rf,qg=!og&&(Ue||Ve),rg=null,sg=!1,tg=!1,ug=_c(ef,lf),vg=function(){var a=[[g.time.format("%Y/%-m/%-d"),function(){return!0}],[g.time.format("%-m/%-d"),function(a){return a.getMonth()}],[g.time.format("%-m/%-d"),function(a){return 1!==a.getDate()}],[g.time.format("%-m/%-d"),function(a){return a.getDay()&&1!==a.getDate()}],[g.time.format("%I %p"),function(a){return a.getHours()}],[g.time.format("%I:%M"),function(a){return a.getMinutes()}],[g.time.format(":%S"),function(a){return a.getSeconds()}],[g.time.format(".%L"),function(a){return a.getMilliseconds()}]];return function(b){for(var c=a.length-1,d=a[c];!d[1](b);)d=a[--c];return d[0](b)}}(),wg=qf?"left":"bottom",xg=qf?Df?"top":"bottom":Df?"right":"left",yg=qf?Lf?"bottom":"top":Lf?"left":"right",zg=qf?"left":"bottom",Ag={main:function(){return"translate("+ke.left+","+ke.top+")"},context:function(){return"translate("+le.left+","+le.top+")"},legend:function(){return"translate("+me.left+","+me.top+")"},y2:function(){return"translate("+(qf?0:ne)+","+(qf?1:0)+")"},x:function(){return"translate(0,"+pe+")"},subx:function(){return"translate(0,"+(qf?0:qe)+")"},arc:function(){return"translate("+ne/2+","+pe/2+")"}},Bg="right"===nf,Cg=40,Dg=20;Be=g.layout.pie().value(function(a){return a.values.reduce(function(a,b){return a+b.value},0)});var Eg,Fg=function(){var a=g.svg.line().x(qf?function(a){return K(a.id)(a.value)}:mc).y(qf?mc:function(a){return K(a.id)(a.value)});return function(b){var c,d,e=md(b.values);return Rc(b)?(a.interpolate(Sc(b)?"cardinal":"linear"),df[b.id]?yd(e,Ke,K(b.id),df[b.id]):a(e)):(c=Ke(e[0].x),d=K(b.id)(e[0].value),qf?"M "+d+" "+c:"M "+c+" "+d)}}(),Gg=function(){var a;return a=qf?g.svg.area().x0(function(a){return K(a.id)(0)}).x1(function(a){return K(a.id)(a.value)}).y(mc):g.svg.area().x(mc).y0(function(a){return K(a.id)(0)}).y1(function(a){return K(a.id)(a.value)}),function(b){var c,d,e=md(b.values);return Lc([b],"area")||Lc([b],"area-spline")?(a.interpolate(Sc(b)?"cardinal":"linear"),a(e)):(c=Ke(e[0].x),d=K(b.id)(e[0].value),qf?"M "+d+" "+c:"M "+c+" "+d)}}(),Hg=function(){var a=g.svg.line().x(qf?function(a){return L(a.id)(a.value)}:pc).y(qf?pc:function(a){return L(a.id)(a.value)});return function(b){var c=md(b.values);return Rc(b)?a(c):"M "+Ne(c[0].x)+" "+L(b.id)(c[0].value)}}(),Ig=function(){};Eg=g.svg.brush().on("brush",Hd),Eg.update=function(){return Mg&&Mg.select(".x.brush").call(this),this},Eg.scale=function(a){return qf?this.y(a):this.x(a)},ee&&(Ig=g.behavior.zoom().on("zoomstart",function(){Ig.altDomain=g.event.sourceEvent.altKey?Ke.orgDomain():null}).on("zoom",ee?Id:null),Ig.scale=function(a){return qf?this.y(a):this.x(a)},Ig.orgScaleExtent=function(){var a=fe?fe:[1,10];return[a[0],Math.max(Lb()/a[1],a[1])]},Ig.updateScaleExtent=function(){var a=tb(Ke.orgDomain())/tb(Qg),b=this.orgScaleExtent();return this.scaleExtent([b[0]*a,b[1]*a]),this});var Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg,Rg,Sg={};if(Wd.focus=function(a){function b(a){a.transition().duration(100).style("opacity",1)}var c=Jg.selectAll(Sd(a)),d=c.filter(Td),e=c.filter(Ud);Wd.revert(),Wd.defocus(),b(d.classed("focused",!0)),b(e),Qc(Wd.data.targets)&&jb(a,!0),Nd(a)},Wd.defocus=function(a){function b(a){a.transition().duration(100).style("opacity",.3)}var c=Jg.selectAll(Sd(a)),d=c.filter(Td),e=c.filter(Ud);Wd.revert(),b(d.classed("focused",!1)),b(e),Qc(Wd.data.targets)&&kb(a),Od(a)},Wd.revert=function(a){function b(a){a.transition().duration(100).style("opacity",1)}var c=Jg.selectAll(Sd(a)),d=c.filter(Td),e=c.filter(Ud);b(d.classed("focused",!1)),b(e),Qc(Wd.data.targets)&&kb(a),Pd()},Wd.show=function(a){Jg.selectAll(Sd(a)).transition().style("opacity",1)},Wd.hide=function(a){Jg.selectAll(Sd(a)).transition().style("opacity",0)},Wd.unzoom=function(){Eg.clear().update(),Gd({withUpdateXDomain:!0})},Wd.load=function(a){if("function"!=typeof a.done&&(a.done=function(){}),a.xs&&Db(a.xs),"categories"in a&&pg&&(sf=a.categories,Qe.categories(sf)),"cacheIds"in a&&ub(a.cacheIds))return void Md(wb(a.cacheIds),a.done);if("data"in a)Md(Hb(a.data),a.done);else if("url"in a)g.csv(a.url,function(b,c){Md(Hb(c),a.done)});else if("rows"in a)Md(Hb(Fb(a.rows)),a.done);else{if(!("columns"in a))throw Error("url or rows or columns is required.");Md(Hb(Gb(a.columns)),a.done)}},Wd.unload=function(a){Wd.data.targets=Wd.data.targets.filter(function(b){return b.id!==a}),Jg.selectAll(Sd(a)).transition().style("opacity",0).remove(),mf&&(Jg.selectAll(".legend-item"+Rd(a)).remove(),Qd(Wd.data.targets)),Wd.data.targets.length>0&&Gd({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})},Wd.selected=function(a){var b=Rd(a);return g.merge(Lg.selectAll(".-shapes"+b).selectAll(".-shape").filter(function(){return g.select(this).classed(Zd)}).map(function(a){return a.map(function(a){return a.__data__})}))},Wd.select=function(a,b,c){ff&&Lg.selectAll(".-shapes").selectAll(".-shape").each(function(f,h){var i="circle"===this.nodeName?gd:jd,j="circle"===this.nodeName?hd:kd;b.indexOf(h)>=0?hf(f)&&(gf||d(a)||a.indexOf(f.id)>=0)&&i(g.select(this).classed(Zd,!0),f,h):e(c)&&c&&j(g.select(this).classed(Zd,!1),f,h)})},Wd.unselect=function(a,b){ff&&Lg.selectAll(".-shapes").selectAll(".-shape").each(function(c,e){var f="circle"===this.nodeName?hd:kd;(d(b)||b.indexOf(e)>=0)&&hf(c)&&(gf||d(a)||a.indexOf(c.id)>=0)&&f(g.select(this).classed(Zd,!1),c,e)})},Wd.toLine=function(a){Kc(a,"line"),Kd({withTransition:!0})},Wd.toSpline=function(a){Kc(a,"spline"),Kd({withTransition:!0})},Wd.toBar=function(a){Kc(a,"bar"),Kd({withTransition:!0})},Wd.toScatter=function(a){Kc(a,"scatter"),Kd({withTransition:!0})},Wd.toArea=function(a){Kc(a,"area"),Kd({withTransition:!0})},Wd.toAreaSpline=function(a){Kc(a,"area-spline"),Kd({withTransition:!0})},Wd.toPie=function(a){Kc(a,"pie"),Kd({withTransition:!0,withTransform:!0})},Wd.toDonut=function(a){Kc(a,"donut"),Kd({withTransition:!0,withTransform:!0})},Wd.groups=function(a){return d(a)?Ze:(Ze=a,Gd(),Ze)},Wd.xgrids=function(a){return a?(Rf=a,Gd(),Rf):Rf},Wd.xgrids.add=function(a){return a?Wd.xgrids(Rf.concat(a)):void 0},Wd.xgrids.remove=function(a){var b=Vd(a);return Wd.xgrids(Rf.filter(b))},Wd.ygrids=function(a){return a?(Tf=a,Gd(),Tf):Tf},Wd.ygrids.add=function(a){return a?Wd.ygrids(Tf.concat(a)):void 0},Wd.ygrids.remove=function(a){var b=Vd(a);return Wd.ygrids(Tf.filter(b))},Wd.regions=function(a){return d(a)?eg:(eg=a,Gd(),eg)},Wd.regions.add=function(a){return d(a)?eg:(eg=eg.concat(a),Gd(),eg)},Wd.regions.remove=function(a,b){var d=[].concat(a);return b=e(b)?b:{},d.forEach(function(a){var d=c(b.duration)?b.duration:0;Jg.selectAll("."+a).transition().duration(d).style("fill-opacity",0).remove(),eg=eg.filter(function(b){return b.classes.indexOf(a)<0})}),eg},Wd.data.get=function(a){var b=Wd.data.getAsTarget(a);return e(b)?b.values.map(function(a){return a.value}):void 0},Wd.data.getAsTarget=function(a){var b=Pb(function(b){return b.id===a});return b.length>0?b[0]:void 0},Wd.resize=function(a){ae=a?a.width:null,be=a?a.height:null,Kd()},Wd.destroy=function(){Wd.data.targets=void 0,Wd.data.x={},Pg.html(""),a.onresize=null},"url"in f.data)g.csv(f.data.url,function(a,b){zd(b)});else if("rows"in f.data)zd(Fb(f.data.rows));else{if(!("columns"in f.data))throw Error("url or rows or columns is required.");zd(Gb(f.data.columns))}return Wd}}(window);
\ No newline at end of file