Skip to content

Commit 301eaaa

Browse files
committed
fix: use highlight draw flag
1 parent d5e7b09 commit 301eaaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/charting/renderer/LineChartRenderer.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ export class LineChartRenderer extends LineRadarRenderer {
722722
}
723723
}
724724

725-
public drawHighlighted(c: Canvas, indices: Highlight[]) {
725+
public drawHighlighted(c: Canvas, indices: Highlight[], actualDraw?:boolean) {
726726
let lineData = this.mChart.getLineData();
727727

728728
for (let high of indices) {
@@ -744,7 +744,7 @@ export class LineChartRenderer extends LineRadarRenderer {
744744
// high.setDraw( pix.x, pix.y);
745745

746746
// draw the lines
747-
this.drawHighlightLines(c, pix.x, pix.y, set);
747+
actualDraw && this.drawHighlightLines(c, pix.x, pix.y, set);
748748
}
749749
}
750750

0 commit comments

Comments
 (0)