@visactor/vchart-types 2.0.23-alpha.6 → 2.0.23-alpha.8

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.
@@ -47,6 +47,8 @@ export declare class Compiler implements ICompiler {
47
47
  updateLayoutTag(): void;
48
48
  protected handleLayoutEnd: () => void;
49
49
  protected handleStageRender: () => void;
50
+ private _isGeoRegionRoamDragEnabled;
51
+ private _shouldDisableCanvasTouchAction;
50
52
  private _setCanvasStyle;
51
53
  compile(ctx: {
52
54
  chart: IChart;
@@ -1,11 +1,9 @@
1
- import type { DataView } from '@visactor/vdataset';
2
1
  import type { IComponent } from '../../../interface';
3
- import type { IAggrType, IMarkerAttributeContext, IMarkerPositionsSpec, IDataPointSpec, IMarkerSpec, IDataPos, IDataPosCallback, IMarkerLabelSpec, IMarkerCrossSeriesSpec, OffsetPoint, MarkerStateValue, MarkerStateCallback, IMarkerSupportSeries } from '../../interface';
2
+ import type { IAggrType, IMarkerPositionsSpec, IDataPointSpec, IMarkerSpec, IDataPos, IDataPosCallback, IMarkerLabelSpec, IMarkerCrossSeriesSpec, OffsetPoint, MarkerStateValue, MarkerStateCallback, IMarkerSupportSeries } from '../../interface';
4
3
  import type { IRegressType } from '../../mark-area/interface';
5
4
  import type { IMarkLineTheme } from './theme';
6
5
  import type { Datum, ILineMarkSpec, IPoint } from '../../../../typings';
7
6
  import type { BaseMarkerAnimation, MarkCommonLineAnimationType } from '@visactor/vrender-components';
8
- import type { IRegion } from '../../../../region/interface';
9
7
  export type IMarkLine = IComponent;
10
8
  export type IMarkLineSpec = (IMarkerSpec & (IMarkLineXSpec | IMarkLineYSpec | IMarkLineXYSpec | IMarkLineXYY1Spec | IMarkLineYXX1Spec | IMarkLineAngleSpec | IMarkLineRadiusSpec | IMarkLineAngRadRad1Spec | IMarkLineRadAngAng1Spec | IMarkLineAngRadSpec | IMarkLineCoordinateSpec | IMarkerPositionsSpec) & IMarkLineTheme & BaseMarkerAnimation<MarkCommonLineAnimationType>) | (IStepMarkLineSpec & BaseMarkerAnimation<MarkCommonLineAnimationType>);
11
9
  export interface IMarkLineXSpec extends IMarkerCrossSeriesSpec {
@@ -66,12 +64,7 @@ export type IMarkLineCoordinateSpec = {
66
64
  export type IStepMarkLineSpec = IMarkerSpec & {
67
65
  type: 'type-step';
68
66
  connectDirection: 'top' | 'bottom' | 'left' | 'right';
69
- expandDistance?: number | string | ((markerData: DataView, context: IMarkerAttributeContext & {
70
- region: IRegion;
71
- startRegion: IRegion;
72
- endRegion: IRegion;
73
- coordinatePoints: IPoint[];
74
- }) => number | string);
67
+ expandDistance?: number | string;
75
68
  label?: IMarkerLabelSpec;
76
69
  line?: {
77
70
  multiSegment?: boolean;
@@ -48,6 +48,8 @@ export declare class WaterfallSeries<T extends IWaterfallSeriesSpec = IWaterfall
48
48
  };
49
49
  totalPositionX(datum: Datum, field: string, pos?: number): number;
50
50
  totalPositionY(datum: Datum, field: string, pos?: number): number;
51
+ protected _isCategoryAxisInverse(): boolean;
52
+ protected _getLeaderLineCategoryPos(isStart: boolean, isDecrease: boolean): number;
51
53
  initMarkStyle(): void;
52
54
  protected isVisibleLeaderLine(datum: Datum): boolean;
53
55
  }