mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
adds stroke back to area charts (#14149)
This commit is contained in:
parent
3987888988
commit
d869ceadde
1 changed files with 11 additions and 9 deletions
|
@ -119,16 +119,18 @@ export function VislibVisualizationsAreaChartProvider(Private) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// update
|
// update
|
||||||
path.attr('d', function () {
|
path
|
||||||
const area = getArea()
|
.attr('d', function () {
|
||||||
.defined(function (d) {
|
const area = getArea()
|
||||||
return !_.isNull(d.y);
|
.defined(function (d) {
|
||||||
|
return !_.isNull(d.y);
|
||||||
|
})
|
||||||
|
.interpolate(interpolate);
|
||||||
|
return area(data.values.filter(function (d) {
|
||||||
|
return !_.isNull(d.y);
|
||||||
|
}));
|
||||||
})
|
})
|
||||||
.interpolate(interpolate);
|
.style('stroke-width', '1px');
|
||||||
return area(data.values.filter(function (d) {
|
|
||||||
return !_.isNull(d.y);
|
|
||||||
}));
|
|
||||||
});
|
|
||||||
|
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue