UNPKG

ag-charts-enterprise

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

44 lines (43 loc) 1.47 kB
import { _ModuleSupport } from 'ag-charts-community'; import { AbstractModuleInstance, type DynamicContext } from 'ag-charts-core'; import { HorizontalScrollbarProperties, ScrollbarThumb, ScrollbarTrack, VerticalScrollbarProperties } from './scrollbarProperties'; export declare class Scrollbar extends AbstractModuleInstance { private readonly ctx; enabled: boolean; enableAxisScrolling: boolean; enableSeriesAreaScrolling: boolean; thickness?: number; spacing?: number; tickSpacing?: number; placement?: 'inner' | 'outer'; visible?: 'auto' | 'always' | 'never'; track: ScrollbarTrack; thumb: ScrollbarThumb; horizontal: HorizontalScrollbarProperties; vertical: VerticalScrollbarProperties; private readonly state; private seriesRect?; private readonly scrollPanner; constructor(ctx: DynamicContext<_ModuleSupport.ChartRegistry>); private createOrientationState; private resolveProperties; private getDefaultPosition; private resolveAxis; private onLayoutStart; private onLayoutComplete; private getLayoutRect; private updateStyles; private updateTrack; private updateThumb; private updateThumbs; private updateVisibility; private getZoomRange; private handleUserChange; private handleHoverChange; private onWheel; private onAxisWheel; private onScrollbarWheel; private handleWheel; private getZoom; destroy(): void; }