chore: update build
This commit is contained in:
parent
0633e407f3
commit
170129cb44
8
dist/frappe-charts.esm.js
vendored
8
dist/frappe-charts.esm.js
vendored
@ -684,13 +684,14 @@ function percentageBar(x, y, width, height,
|
|||||||
return createSVG("rect", args);
|
return createSVG("rect", args);
|
||||||
}
|
}
|
||||||
|
|
||||||
function heatSquare(className, x, y, size, fill='none', data={}) {
|
function heatSquare(className, x, y, size, radius, fill='none', data={}) {
|
||||||
let args = {
|
let args = {
|
||||||
className: className,
|
className: className,
|
||||||
x: x,
|
x: x,
|
||||||
y: y,
|
y: y,
|
||||||
width: size,
|
width: size,
|
||||||
height: size,
|
height: size,
|
||||||
|
rx: radius,
|
||||||
fill: fill
|
fill: fill
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -2183,7 +2184,7 @@ let componentConfigs = {
|
|||||||
heatDomain: {
|
heatDomain: {
|
||||||
layerClass: function() { return 'heat-domain domain-' + this.constants.index; },
|
layerClass: function() { return 'heat-domain domain-' + this.constants.index; },
|
||||||
makeElements(data) {
|
makeElements(data) {
|
||||||
let {index, colWidth, rowHeight, squareSize, xTranslate} = this.constants;
|
let {index, colWidth, rowHeight, squareSize, radius, xTranslate} = this.constants;
|
||||||
let monthNameHeight = -12;
|
let monthNameHeight = -12;
|
||||||
let x = xTranslate, y = 0;
|
let x = xTranslate, y = 0;
|
||||||
|
|
||||||
@ -2206,7 +2207,7 @@ let componentConfigs = {
|
|||||||
'data-value': day.dataValue,
|
'data-value': day.dataValue,
|
||||||
'data-day': i
|
'data-day': i
|
||||||
};
|
};
|
||||||
let square = heatSquare('day', x, y, squareSize, day.fill, data);
|
let square = heatSquare('day', x, y, squareSize, radius, day.fill, data);
|
||||||
this.serializedSubDomains.push(square);
|
this.serializedSubDomains.push(square);
|
||||||
}
|
}
|
||||||
y += rowHeight;
|
y += rowHeight;
|
||||||
@ -2925,6 +2926,7 @@ class Heatmap extends BaseChart {
|
|||||||
colWidth: COL_WIDTH,
|
colWidth: COL_WIDTH,
|
||||||
rowHeight: ROW_HEIGHT,
|
rowHeight: ROW_HEIGHT,
|
||||||
squareSize: HEATMAP_SQUARE_SIZE,
|
squareSize: HEATMAP_SQUARE_SIZE,
|
||||||
|
radius: this.rawChartArgs.radius || 0,
|
||||||
xTranslate: s.domainConfigs
|
xTranslate: s.domainConfigs
|
||||||
.filter((config, j) => j < i)
|
.filter((config, j) => j < i)
|
||||||
.map(config => config.cols.length - lessCol)
|
.map(config => config.cols.length - lessCol)
|
||||||
|
|||||||
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