@visactor/vchart-types 2.0.13-alpha.4 → 2.0.13-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -91,8 +91,6 @@ export declare class Brush<T extends IBrushSpec = IBrushSpec> extends BaseCompon
91
91
  protected _getNeedClearVRenderComponents(): IGraphic[];
92
92
  clearGraphic(): void;
93
93
  clear(): void;
94
- disableDimensionHover(): void;
95
- enableDimensionHover(): void;
96
94
  clearBrushStateAndMask(): void;
97
95
  }
98
96
  export declare const registerBrush: () => void;
@@ -27,4 +27,5 @@ export interface ITooltip extends IComponent {
27
27
  tooltipHandler?: ITooltipHandler;
28
28
  getVisible: () => boolean;
29
29
  showTooltip: (datum: Datum, options: IShowTooltipOption) => void;
30
+ enable?: boolean;
30
31
  }
@@ -29,6 +29,7 @@ export declare class Tooltip extends BaseComponent<any> implements ITooltip {
29
29
  private _isEnterTooltip;
30
30
  protected _spec: ITooltipSpec;
31
31
  tooltipHandler?: ITooltipHandler;
32
+ enable?: boolean;
32
33
  processor: ITooltipActiveTypeAsKeys<ITooltipProcessor<MarkTooltipInfo>, ITooltipProcessor<DimensionTooltipInfo>, ITooltipProcessor<GroupTooltipInfo>>;
33
34
  private _alwaysShow;
34
35
  private _cacheInfo;
@@ -90,6 +90,9 @@ export interface IVChart {
90
90
  getDataSet: () => Maybe<DataSet>;
91
91
  getScale: (scaleId: string) => IBaseScale | null;
92
92
  setDimensionIndex: (value: StringOrNumber, options?: DimensionIndexOption) => void;
93
+ disableDimensionHoverEvent: (disabled: boolean) => void;
94
+ disableCrossHair: (disabled: boolean) => void;
95
+ disableTooltip: (disabled: boolean) => void;
93
96
  convertDatumToPosition: (datum: Datum, dataLinkInfo?: DataLinkSeries, isRelativeToCanvas?: boolean, checkInViewData?: boolean) => IPoint | null;
94
97
  convertValueToPosition: ((value: StringOrNumber, dataLinkInfo: DataLinkAxis, isRelativeToCanvas?: boolean) => number | null) & ((value: [StringOrNumber, StringOrNumber], dataLinkInfo: DataLinkSeries, isRelativeToCanvas?: boolean) => IPoint | null);
95
98
  updateIndicatorDataById: (id: string, datum?: Datum) => void;
@@ -182,6 +182,9 @@ export declare class VChart implements IVChart {
182
182
  getComponents(): import("../component/interface").IComponent[];
183
183
  getScale(scaleId: string): import("@visactor/vscale").IBaseScale;
184
184
  setDimensionIndex(value: StringOrNumber, opt?: DimensionIndexOption): void;
185
+ disableDimensionHoverEvent(value?: boolean): void;
186
+ disableCrossHair(value?: boolean): void;
187
+ disableTooltip(value?: boolean): void;
185
188
  showCrosshair(cb: (axis: IAxis) => false | string | number): void;
186
189
  stopAnimation(): void;
187
190
  reRunNormalAnimation(): void;