chore: updated distribution files
This commit is contained in:
parent
e479e060f0
commit
0e333bfcaa
5
dist/frappe-charts.esm.js
vendored
5
dist/frappe-charts.esm.js
vendored
@ -1725,6 +1725,9 @@ class AggregationChart extends BaseChart {
|
|||||||
let divisor = Math.floor(
|
let divisor = Math.floor(
|
||||||
(this.width - getExtraWidth(this.measures))/barWidth
|
(this.width - getExtraWidth(this.measures))/barWidth
|
||||||
);
|
);
|
||||||
|
if (this.legendTotals.length < divisor) {
|
||||||
|
barWidth = this.width/this.legendTotals.length;
|
||||||
|
}
|
||||||
if(count > divisor) {
|
if(count > divisor) {
|
||||||
count = 0;
|
count = 0;
|
||||||
y += 20;
|
y += 20;
|
||||||
@ -2279,7 +2282,7 @@ class PercentageChart extends AggregationChart {
|
|||||||
b.depth = b.depth || PERCENTAGE_BAR_DEFAULT_DEPTH;
|
b.depth = b.depth || PERCENTAGE_BAR_DEFAULT_DEPTH;
|
||||||
|
|
||||||
m.paddings.right = 30;
|
m.paddings.right = 30;
|
||||||
m.legendHeight = 80;
|
m.legendHeight = 60;
|
||||||
m.baseHeight = (b.height + b.depth * 0.5) * 8;
|
m.baseHeight = (b.height + b.depth * 0.5) * 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
dist/frappe-charts.min.cjs.js
vendored
2
dist/frappe-charts.min.cjs.js
vendored
File diff suppressed because one or more lines are too long
2
dist/frappe-charts.min.cjs.js.map
vendored
2
dist/frappe-charts.min.cjs.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/frappe-charts.min.esm.js
vendored
2
dist/frappe-charts.min.esm.js
vendored
File diff suppressed because one or more lines are too long
2
dist/frappe-charts.min.esm.js.map
vendored
2
dist/frappe-charts.min.esm.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/frappe-charts.min.iife.js
vendored
2
dist/frappe-charts.min.iife.js
vendored
File diff suppressed because one or more lines are too long
2
dist/frappe-charts.min.iife.js.map
vendored
2
dist/frappe-charts.min.iife.js.map
vendored
File diff suppressed because one or more lines are too long
2
docs/assets/js/frappe-charts.min.js
vendored
2
docs/assets/js/frappe-charts.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user