Skip to content

Commit

Permalink
Fixed #1085 (#1197)
Browse files Browse the repository at this point in the history
  • Loading branch information
th0th authored and mcnuttandrew committed Jun 21, 2019
1 parent cb13e3c commit 80a0331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plot/series/custom-svg-series.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ function getInnerComponent({
}
// if default component is a function
if (!innerComponent) {
return defaultType(customComponent, positionInPixels, aggStyle);
return defaultType(customComponent, positionInPixels, aggStyle, positionFunctions);
}
if (typeof innerComponent === 'string') {
return predefinedComponents(innerComponent || defaultType, size, aggStyle);
}
// if inner component is a function
return innerComponent(customComponent, positionInPixels, aggStyle);
return innerComponent(customComponent, positionInPixels, aggStyle, positionFunctions);
}

class CustomSVGSeries extends AbstractSeries {
Expand Down

0 comments on commit 80a0331

Please sign in to comment.