mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -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
|
||||
path.attr('d', function () {
|
||||
const area = getArea()
|
||||
.defined(function (d) {
|
||||
return !_.isNull(d.y);
|
||||
path
|
||||
.attr('d', function () {
|
||||
const area = getArea()
|
||||
.defined(function (d) {
|
||||
return !_.isNull(d.y);
|
||||
})
|
||||
.interpolate(interpolate);
|
||||
return area(data.values.filter(function (d) {
|
||||
return !_.isNull(d.y);
|
||||
}));
|
||||
})
|
||||
.interpolate(interpolate);
|
||||
return area(data.values.filter(function (d) {
|
||||
return !_.isNull(d.y);
|
||||
}));
|
||||
});
|
||||
.style('stroke-width', '1px');
|
||||
|
||||
return path;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue