Skip to content

Commit

Permalink
chore: updated distribution files
Browse files Browse the repository at this point in the history
  • Loading branch information
scmmishra committed Jul 3, 2019
1 parent e479e06 commit 0e333bf
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 9 deletions.
5 changes: 4 additions & 1 deletion dist/frappe-charts.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -1725,6 +1725,9 @@ class AggregationChart extends BaseChart {
let divisor = Math.floor(
(this.width - getExtraWidth(this.measures))/barWidth
);
if (this.legendTotals.length < divisor) {
barWidth = this.width/this.legendTotals.length;
}
if(count > divisor) {
count = 0;
y += 20;
Expand Down Expand Up @@ -2279,7 +2282,7 @@ class PercentageChart extends AggregationChart {
b.depth = b.depth || PERCENTAGE_BAR_DEFAULT_DEPTH;

m.paddings.right = 30;
m.legendHeight = 80;
m.legendHeight = 60;
m.baseHeight = (b.height + b.depth * 0.5) * 8;
}

Expand Down
2 changes: 1 addition & 1 deletion dist/frappe-charts.min.cjs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/frappe-charts.min.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/frappe-charts.min.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/frappe-charts.min.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/frappe-charts.min.iife.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/frappe-charts.min.iife.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/js/frappe-charts.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/js/frappe-charts.min.js.map

Large diffs are not rendered by default.

0 comments on commit 0e333bf

Please sign in to comment.