Skip to content

Commit 80a0331

Browse files
th0thmcnuttandrew
authored andcommitted
Fixed #1085 (#1197)
1 parent cb13e3c commit 80a0331

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
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)