diff --git a/src/plugins/series-markers/renderer.ts b/src/plugins/series-markers/renderer.ts index 90dbddef8..524b8b127 100644 --- a/src/plugins/series-markers/renderer.ts +++ b/src/plugins/series-markers/renderer.ts @@ -68,7 +68,7 @@ export class SeriesMarkersRenderer implements IPrimitivePaneRenderer { if (item && hitTestItem(item, x as Coordinate, y as Coordinate)) { return { zOrder: 'normal', - externalId: String(item.internalId), + externalId: item.externalId ?? '', }; } }