From ad4c0581e3a4389cdab611a535d495e0441f77f3 Mon Sep 17 00:00:00 2001 From: Naughton Date: Fri, 12 Aug 2016 13:08:01 -0700 Subject: [PATCH] Bug fixes when 100% and empty data. --- CHANGELOG.md | 3 +++ demo/dist/main.js | 12 ++++----- lib/dist/ArcPath.js | 11 +++++--- lib/dist/Arcs.js | 3 +-- lib/dist/DonutChart.js | 51 ++++++++++++++++++++++++++------------ lib/dist/DonutInnerText.js | 1 - lib/dist/Legend.js | 3 +-- lib/dist/LegendItem.js | 1 - lib/src/ArcPath.js | 9 ++++--- lib/src/Arcs.js | 2 +- lib/src/DonutChart.js | 20 +++++++++++++-- lib/src/Legend.js | 2 +- package.json | 2 +- 13 files changed, 80 insertions(+), 40 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89e3ad1..44264c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,3 +9,6 @@ ## 1.0.2: * No legend offset by default * Hacking for condition of 100%. + +## 1.0.03 +* Bug fixes when no data present and when 100%. diff --git a/demo/dist/main.js b/demo/dist/main.js index a4fbf11..45e16a6 100644 --- a/demo/dist/main.js +++ b/demo/dist/main.js @@ -1,6 +1,6 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/",t(0)}([function(e,t,n){e.exports=n(131)},function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,u){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,u],c=0;s=new Error(t.replace(/%s/g,function(){return l[c++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}e.exports=r},function(e,t){"use strict";function n(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r1){for(var v=Array(m),g=0;g1){for(var b=Array(y),C=0;C]/;e.exports=r},function(e,t,n){"use strict";var r,o=n(6),i=n(66),a=/^[ \r\n\t\f]/,u=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,s=n(76),l=s(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild.childNodes,o=0;o";for(t.style.display="none",n(155).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("