mirror of
https://github.com/VisActor/VChart
synced 2024-11-22 17:26:19 +00:00
fix: default realtime not effect
This commit is contained in:
parent
7f91b65db8
commit
8a1977a439
@ -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