mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
adding clip path to circles
This commit is contained in:
parent
be16b14283
commit
188131bdad
2 changed files with 4 additions and 2 deletions
|
@ -153,7 +153,8 @@ export default function AreaChartFactory(Private) {
|
|||
const isHorizontal = this.getCategoryAxis().axisConfig.isHorizontal();
|
||||
|
||||
const layer = svg.append('g')
|
||||
.attr('class', 'points area');
|
||||
.attr('class', 'points area')
|
||||
.attr('clip-path', 'url(#' + this.baseChart.clipPathId + ')');
|
||||
|
||||
// append the circles
|
||||
const circles = layer.selectAll('circles')
|
||||
|
|
|
@ -47,7 +47,8 @@ export default function LineChartFactory(Private) {
|
|||
const radiusStep = ((radii.max - radii.min) || (radii.max * 100)) / Math.pow(this.seriesConfig.radiusRatio, 2);
|
||||
|
||||
const layer = svg.append('g')
|
||||
.attr('class', 'points line');
|
||||
.attr('class', 'points line')
|
||||
.attr('clip-path', 'url(#' + this.baseChart.clipPathId + ')');
|
||||
|
||||
const circles = layer
|
||||
.selectAll('circle')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue