mirror of
https://github.com/VisActor/VChart
synced 2024-11-23 01:29:13 +00:00
fix: default realtime not effect
This commit is contained in:
parent
6e2f60305d
commit
e8a47007e2
@ -748,7 +748,7 @@ export abstract class DataFilterBaseComponent<T extends IDataFilterComponentSpec
|
||||
protected _initCommonEvent() {
|
||||
const delayType: IDelayType = this._spec?.delayType ?? 'throttle';
|
||||
const delayTime = isValid(this._spec?.delayType) ? this._spec?.delayTime ?? 30 : 0;
|
||||
const realTime = this._spec?.realTime ?? false;
|
||||
const realTime = this._spec?.realTime ?? true;
|
||||
const option = { delayType, delayTime, realTime };
|
||||
if (this._zoomAttr.enable) {
|
||||
(this as unknown as IZoomable).initZoomEventOfRegions(this._regions, null, this._handleChartZoom, option);
|
||||
|
Loading…
Reference in New Issue
Block a user