diff --git a/packages/vchart/src/series/base/base-series.ts b/packages/vchart/src/series/base/base-series.ts index f079d0fb5..eb5adc6fa 100644 --- a/packages/vchart/src/series/base/base-series.ts +++ b/packages/vchart/src/series/base/base-series.ts @@ -268,6 +268,7 @@ export abstract class BaseSeries extends BaseModel imp protected _buildMarkAttributeContext() { this._markAttributeContext = { + vchart: this._option.globalInstance, globalScale: (key: string, value: string | number) => { return this._option.globalScale.getScale(key)?.scale(value); },