Skip to content

Commit 80a0331

Browse files
Gökhan Sarımcnuttandrew
authored andcommitted
Fixed #1085 (#1197)
1 parent cb13e3c commit 80a0331

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/plot/series/custom-svg-series.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ function getInnerComponent({
100100
}
101101
// if default component is a function
102102
if (!innerComponent) {
103-
return defaultType(customComponent, positionInPixels, aggStyle);
103+
return defaultType(customComponent, positionInPixels, aggStyle, positionFunctions);
104104
}
105105
if (typeof innerComponent === 'string') {
106106
return predefinedComponents(innerComponent || defaultType, size, aggStyle);
107107
}
108108
// if inner component is a function
109-
return innerComponent(customComponent, positionInPixels, aggStyle);
109+
return innerComponent(customComponent, positionInPixels, aggStyle, positionFunctions);
110110
}
111111

112112
class CustomSVGSeries extends AbstractSeries {

0 commit comments

Comments
 (0)