Skip to content

Commit 7680a88

Browse files
committed
Fix: Line chart crashing with labels
1 parent 0d5ac32 commit 7680a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/charts/line/draw.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export default function drawChart(container) {
326326
textContainer.visible = showLabels;
327327
if (needTextUpdate && showLabels) {
328328
fontSize = newFontSize;
329-
setLabels(textContainer, groups, groupIndices, sourceData, fontSize);
329+
setLabels(textContainer, groups, groupIndices, sourceData, fontSize, textColor);
330330
}
331331

332332
[xOffset, yOffset, boundsScale] = mutateChart(chart, groups, groupIndices, sourceData, genes, textColor);

0 commit comments

Comments
 (0)