ag-charts-enterprise
Advanced tools
Comparing version 9.3.1 to 10.0.0
import { _ModuleSupport, _Scale } from 'ag-charts-community'; | ||
import { AngleAxisInterval } from '../angle-number/angleAxisInterval'; | ||
import type { AngleAxisLabelDatum } from '../angle/angleAxis'; | ||
@@ -9,4 +10,4 @@ import { AngleAxis } from '../angle/angleAxis'; | ||
paddingInner: number; | ||
interval: AngleAxisInterval; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
protected createTick(): _ModuleSupport.AxisTick<_Scale.BandScale<string, number>, any, any>; | ||
protected generateAngleTicks(): { | ||
@@ -13,0 +14,0 @@ value: any; |
import { _ModuleSupport } from 'ag-charts-community'; | ||
import type { AngleAxisLabelDatum } from '../angle/angleAxis'; | ||
import { AngleAxis } from '../angle/angleAxis'; | ||
import { AngleAxisInterval } from './angleAxisInterval'; | ||
import { LinearAngleScale } from './linearAngleScale'; | ||
declare class AngleNumberAxisTick extends _ModuleSupport.AxisTick<LinearAngleScale, number> { | ||
minSpacing: number; | ||
maxSpacing: number; | ||
} | ||
export declare class AngleNumberAxis extends AngleAxis<number, LinearAngleScale> { | ||
@@ -15,2 +12,3 @@ static readonly className = "AngleNumberAxis"; | ||
max: number; | ||
interval: AngleAxisInterval; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
@@ -21,3 +19,2 @@ normaliseDataDomain(d: number[]): { | ||
}; | ||
protected createTick(): AngleNumberAxisTick; | ||
protected getRangeArcLength(): number; | ||
@@ -30,2 +27,1 @@ protected generateAngleTicks(): { | ||
} | ||
export {}; |
@@ -6,3 +6,3 @@ import { _Scale } from 'ag-charts-community'; | ||
private niceTickStep; | ||
ticks(): never[] | import("ag-charts-community/dist/types/src/util/ticks").NumericTicks; | ||
ticks(): number[]; | ||
private hasNiceRange; | ||
@@ -9,0 +9,0 @@ private getNiceStepAndTickCount; |
import { _ModuleSupport, _Scale } from 'ag-charts-community'; | ||
declare class OrdinalTimeAxisTick extends _ModuleSupport.AxisTick<_Scale.OrdinalTimeScale, number | Date> { | ||
minSpacing: number; | ||
maxSpacing: number; | ||
} | ||
export declare class OrdinalTimeAxis extends _ModuleSupport.CategoryAxis<_Scale.OrdinalTimeScale> { | ||
@@ -10,3 +6,2 @@ static readonly className: "OrdinalTimeAxis"; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
protected createTick(): OrdinalTimeAxisTick; | ||
normaliseDataDomain(d: Date[]): { | ||
@@ -16,4 +11,3 @@ domain: Date[]; | ||
}; | ||
protected onLabelFormatChange(ticks: any[], domain: any[], format?: string): void; | ||
protected onFormatChange(ticks: any[], fractionDigits: number, domain: any[], format?: string): void; | ||
} | ||
export {}; |
@@ -6,6 +6,6 @@ import { _ModuleSupport } from 'ag-charts-community'; | ||
direction: _ModuleSupport.ChartAxisDirection; | ||
private polygonNode; | ||
private sectorNode; | ||
private lineNode; | ||
private labelNode; | ||
private readonly polygonNode; | ||
private readonly sectorNode; | ||
private readonly lineNode; | ||
private readonly labelNode; | ||
constructor(); | ||
@@ -12,0 +12,0 @@ update(visible: boolean): void; |
@@ -11,5 +11,5 @@ import { _ModuleSupport } from 'ag-charts-community'; | ||
label: RadiusCrossLineLabel; | ||
private polygonNode; | ||
private sectorNode; | ||
private labelNode; | ||
private readonly polygonNode; | ||
private readonly sectorNode; | ||
private readonly labelNode; | ||
private outerRadius; | ||
@@ -16,0 +16,0 @@ private innerRadius; |
import type { _Scale } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
declare class RadiusAxisTick extends _ModuleSupport.AxisTick<_Scale.LinearScale, number> { | ||
minSpacing: number; | ||
maxSpacing: number; | ||
} | ||
declare class RadiusAxisLabel extends _ModuleSupport.AxisLabel { | ||
@@ -34,3 +30,2 @@ autoRotate?: boolean; | ||
protected updateTitle(): void; | ||
protected createTick(): RadiusAxisTick; | ||
protected updateCrossLines(): void; | ||
@@ -37,0 +32,0 @@ protected createLabel(): RadiusAxisLabel; |
@@ -1,45 +0,174 @@ | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
import { type FontStyle, type FontWeight, type Formatter, type TextAlign, _ModuleSupport } from 'ag-charts-community'; | ||
import type { AnnotationContext } from './annotationTypes'; | ||
declare const BaseProperties: typeof _ModuleSupport.BaseProperties; | ||
export declare class LineAnnotationStylesProperties extends BaseProperties { | ||
stroke?: string; | ||
strokeOpacity?: number; | ||
strokeWidth?: number; | ||
lineDash?: number[]; | ||
lineDashOffset?: number; | ||
type Constructor<T = {}> = new (...args: any[]) => T; | ||
export declare class AnnotationPoint extends BaseProperties { | ||
x?: string | number | Date; | ||
y?: number; | ||
} | ||
export declare class ChannelAnnotationStylesProperties extends LineAnnotationStylesProperties { | ||
middle: LineAnnotationStylesProperties; | ||
background: AnnotationFillProperties; | ||
declare const ChannelAnnotationBackground_base: { | ||
new (...args: any[]): { | ||
fill?: string | undefined; | ||
fillOpacity?: number | undefined; | ||
}; | ||
} & typeof _ModuleSupport.BaseProperties; | ||
export declare class ChannelAnnotationBackground extends ChannelAnnotationBackground_base { | ||
} | ||
export declare class AnnotationProperties extends LineAnnotationStylesProperties { | ||
type: 'line' | 'parallel-channel'; | ||
locked?: boolean; | ||
visible?: boolean; | ||
handle: AnnotationHandleProperties; | ||
start: AnnotationPointProperties; | ||
end: AnnotationPointProperties; | ||
top: AnnotationLinePointsProperties; | ||
bottom: AnnotationLinePointsProperties; | ||
middle: LineAnnotationStylesProperties; | ||
background: AnnotationFillProperties; | ||
declare const ChannelAnnotationMiddle_base: { | ||
new (...args: any[]): { | ||
stroke?: string | undefined; | ||
strokeOpacity?: number | undefined; | ||
strokeWidth?: number | undefined; | ||
}; | ||
} & { | ||
new (...args: any[]): { | ||
lineDash?: number[] | undefined; | ||
lineDashOffset?: number | undefined; | ||
}; | ||
} & { | ||
new (...args: any[]): { | ||
visible?: boolean | undefined; | ||
}; | ||
} & typeof _ModuleSupport.BaseProperties; | ||
export declare class ChannelAnnotationMiddle extends ChannelAnnotationMiddle_base { | ||
} | ||
export declare class AnnotationLinePointsProperties extends BaseProperties { | ||
start: AnnotationPointProperties; | ||
end: AnnotationPointProperties; | ||
declare const AnnotationHandleProperties_base: { | ||
new (...args: any[]): { | ||
stroke?: string | undefined; | ||
strokeOpacity?: number | undefined; | ||
strokeWidth?: number | undefined; | ||
}; | ||
} & { | ||
new (...args: any[]): { | ||
lineDash?: number[] | undefined; | ||
lineDashOffset?: number | undefined; | ||
}; | ||
} & { | ||
new (...args: any[]): { | ||
fill?: string | undefined; | ||
fillOpacity?: number | undefined; | ||
}; | ||
} & typeof _ModuleSupport.BaseProperties; | ||
export declare class AnnotationHandleProperties extends AnnotationHandleProperties_base { | ||
} | ||
export declare class AnnotationHandleProperties extends BaseProperties { | ||
fill?: string; | ||
stroke?: string; | ||
strokeOpacity?: number; | ||
lineDash?: number[]; | ||
lineDashOffset?: number; | ||
declare const AnnotationAxisLabelProperties_base: { | ||
new (...args: any[]): { | ||
stroke?: string | undefined; | ||
strokeOpacity?: number | undefined; | ||
strokeWidth?: number | undefined; | ||
}; | ||
} & { | ||
new (...args: any[]): { | ||
lineDash?: number[] | undefined; | ||
lineDashOffset?: number | undefined; | ||
}; | ||
} & { | ||
new (...args: any[]): { | ||
fill?: string | undefined; | ||
fillOpacity?: number | undefined; | ||
}; | ||
} & { | ||
new (...args: any[]): { | ||
padding?: number | undefined; | ||
textAlign: TextAlign; | ||
fontStyle?: FontStyle | undefined; | ||
fontWeight?: FontWeight | undefined; | ||
fontSize: number; | ||
fontFamily: string; | ||
color?: string | undefined; | ||
formatter?: Formatter<AnnotationAxisLabelFormatterParams> | undefined; | ||
}; | ||
} & typeof _ModuleSupport.BaseProperties; | ||
export declare class AnnotationAxisLabelProperties extends AnnotationAxisLabelProperties_base { | ||
enabled?: boolean; | ||
cornerRadius: number; | ||
} | ||
export declare class AnnotationPointProperties extends BaseProperties { | ||
x?: string | number | Date; | ||
y?: string | number | Date; | ||
export declare function Annotation<T extends string, U extends Constructor<_ModuleSupport.BaseProperties>>(_type: T, Parent: U): { | ||
new (...args: any[]): { | ||
id: string; | ||
isValidWithContext(_context: AnnotationContext, warningPrefix: string): boolean; | ||
locked?: boolean | undefined; | ||
visible?: boolean | undefined; | ||
set(properties: object): any; | ||
isValid<TContext = Omit<object, "type">>(this: TContext, warningPrefix?: string | undefined): boolean; | ||
toJson<J>(this: J): object; | ||
}; | ||
} & U; | ||
export declare function AnnotationLine<T extends Constructor>(Parent: T): { | ||
new (...args: any[]): { | ||
start: AnnotationPoint; | ||
end: AnnotationPoint; | ||
}; | ||
} & T; | ||
export declare function AnnotationCrossLine<T extends Constructor>(Parent: T): { | ||
new (...args: any[]): { | ||
value?: string | number | Date | undefined; | ||
}; | ||
} & T; | ||
export declare function ChannelAnnotation<T extends Constructor>(Parent: T): { | ||
new (...args: any[]): { | ||
background: ChannelAnnotationBackground; | ||
}; | ||
} & T; | ||
export declare function AnnotationHandle<T extends Constructor>(Parent: T): { | ||
new (...args: any[]): { | ||
handle: AnnotationHandleProperties; | ||
}; | ||
} & T; | ||
export declare function AnnotationAxisLabel<T extends Constructor>(Parent: T): { | ||
new (...args: any[]): { | ||
axisLabel: AnnotationAxisLabelProperties; | ||
}; | ||
} & T; | ||
export declare function Cappable<T extends Constructor>(Parent: T): { | ||
new (...args: any[]): { | ||
startCap?: "circle" | "arrow" | undefined; | ||
endCap?: "circle" | "arrow" | undefined; | ||
}; | ||
} & T; | ||
export declare function Extendable<T extends Constructor>(Parent: T): { | ||
new (...args: any[]): { | ||
extendLeft?: boolean | undefined; | ||
extendRight?: boolean | undefined; | ||
}; | ||
} & T; | ||
export declare function Visible<T extends Constructor>(Parent: T): { | ||
new (...args: any[]): { | ||
visible?: boolean | undefined; | ||
}; | ||
} & T; | ||
export declare function Fill<T extends Constructor>(Parent: T): { | ||
new (...args: any[]): { | ||
fill?: string | undefined; | ||
fillOpacity?: number | undefined; | ||
}; | ||
} & T; | ||
export declare function Stroke<T extends Constructor>(Parent: T): { | ||
new (...args: any[]): { | ||
stroke?: string | undefined; | ||
strokeOpacity?: number | undefined; | ||
strokeWidth?: number | undefined; | ||
}; | ||
} & T; | ||
export interface AnnotationAxisLabelFormatterParams { | ||
readonly value: any; | ||
} | ||
export declare class AnnotationFillProperties extends BaseProperties { | ||
fill?: string; | ||
fillOpacity?: number; | ||
} | ||
export declare function Label<T extends Constructor>(Parent: T): { | ||
new (...args: any[]): { | ||
padding?: number | undefined; | ||
textAlign: TextAlign; | ||
fontStyle?: FontStyle | undefined; | ||
fontWeight?: FontWeight | undefined; | ||
fontSize: number; | ||
fontFamily: string; | ||
color?: string | undefined; | ||
formatter?: Formatter<AnnotationAxisLabelFormatterParams> | undefined; | ||
}; | ||
} & T; | ||
export declare function LineDash<T extends Constructor>(Parent: T): { | ||
new (...args: any[]): { | ||
lineDash?: number[] | undefined; | ||
lineDashOffset?: number | undefined; | ||
}; | ||
} & T; | ||
export {}; |
import { _ModuleSupport } from 'ag-charts-community'; | ||
import { AnnotationProperties } from './annotationProperties'; | ||
declare class AxesButtons { | ||
enabled: boolean; | ||
axes?: 'x' | 'y' | 'xy'; | ||
} | ||
export declare class Annotations extends _ModuleSupport.BaseModuleInstance implements _ModuleSupport.ModuleInstance { | ||
readonly ctx: _ModuleSupport.ModuleContext; | ||
private __hackWasDisabled; | ||
enabled: boolean; | ||
initial: _ModuleSupport.PropertiesArray<AnnotationProperties>; | ||
private annotationData?; | ||
private container; | ||
private annotations; | ||
private scaleX?; | ||
private scaleY?; | ||
private domainX?; | ||
private domainY?; | ||
axesButtons: AxesButtons; | ||
private readonly state; | ||
private readonly annotationData; | ||
private hovered?; | ||
private active?; | ||
private addingType?; | ||
private addingStep?; | ||
private dragOffset?; | ||
private seriesRect?; | ||
private readonly container; | ||
private readonly annotations; | ||
private readonly colorPicker; | ||
private defaultColor?; | ||
private xAxis?; | ||
private yAxis?; | ||
constructor(ctx: _ModuleSupport.ModuleContext); | ||
private createAnnotationScene; | ||
private createAnnotationDatum; | ||
private appendDatum; | ||
private onRestoreAnnotations; | ||
private onToolbarButtonPress; | ||
private createAnnotation; | ||
private createDatum; | ||
private onToolbarAnnotationOptionButtonPress; | ||
private onToolbarButtonMoved; | ||
private onColorPickerChange; | ||
private onColorPickerClose; | ||
private onToolbarCancelled; | ||
private onLayoutComplete; | ||
private getAxis; | ||
private updateAnnotations; | ||
private validateDatum; | ||
private validateDatumLine; | ||
private validateDatumPoint; | ||
private validateDatumPointDirection; | ||
private validateChildStateDatumPoint; | ||
private getAnnotationContext; | ||
private onHover; | ||
private onHoverSelecting; | ||
private onHoverEditing; | ||
private hoverAddingFns; | ||
private onHoverAdding; | ||
private onClick; | ||
private onAxisButtonClick; | ||
private onClickSelecting; | ||
private onClickAdding; | ||
private clickAddingFns; | ||
private onDragStart; | ||
private onDrag; | ||
private onDragNodeHandle; | ||
private onDragAnnotation; | ||
private onDragAdding; | ||
private onDragEnd; | ||
private convertLine; | ||
private convertPoint; | ||
private invertPoint; | ||
private invertX; | ||
private invertY; | ||
private onCancel; | ||
private onDelete; | ||
private toggleAnnotationOptionsButtons; | ||
private getTypedDatum; | ||
private colorDatum; | ||
private isOtherElement; | ||
private clear; | ||
private reset; | ||
private cancel; | ||
private update; | ||
} | ||
export {}; |
@@ -0,5 +1,12 @@ | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
export declare enum AnnotationType { | ||
Line = "line", | ||
ParallelChannel = "parallel-channel" | ||
DisjointChannel = "disjoint-channel", | ||
ParallelChannel = "parallel-channel", | ||
HorizontalLine = "horizontal-line", | ||
VerticalLine = "vertical-line" | ||
} | ||
export declare const ANNOTATION_TYPES: AnnotationType[]; | ||
export declare const ANNOTATION_BUTTONS: readonly [AnnotationType.Line, AnnotationType.DisjointChannel, AnnotationType.ParallelChannel, AnnotationType.HorizontalLine, AnnotationType.VerticalLine]; | ||
export declare function stringToAnnotationType(value: string): AnnotationType | undefined; | ||
export interface Coords { | ||
@@ -15,1 +22,28 @@ x: number; | ||
} | ||
export interface Point { | ||
x?: number | string | Date; | ||
y?: number; | ||
} | ||
export interface StateHoverEvent<Annotation, Scene> { | ||
datum: Annotation; | ||
node: Scene; | ||
point: Coords; | ||
region?: _ModuleSupport.RegionName; | ||
} | ||
export interface StateClickEvent<Annotation, Scene> { | ||
datum?: Annotation; | ||
node?: Scene; | ||
point: Coords; | ||
region?: _ModuleSupport.RegionName; | ||
} | ||
export interface StateDragEvent<Annotation, Scene> extends StateClickEvent<Annotation, Scene> { | ||
} | ||
export interface AnnotationAxisContext extends Pick<_ModuleSupport.AxisContext, 'continuous' | 'direction' | 'position' | 'scaleBandwidth' | 'scaleConvert' | 'scaleDomain' | 'scaleInvert' | 'scaleInvertNearest' | 'scaleValueFormatter' | 'attachLabel' | 'inRange'> { | ||
bounds: _Scene.BBox; | ||
labelPadding: number; | ||
} | ||
export type AnnotationContext = { | ||
seriesRect: _Scene.BBox; | ||
xAxis: AnnotationAxisContext; | ||
yAxis: AnnotationAxisContext; | ||
}; |
import { _Scene } from 'ag-charts-community'; | ||
import type { AnnotationProperties } from '../annotationProperties'; | ||
import type { Coords } from '../annotationTypes'; | ||
export declare abstract class Annotation extends _Scene.Group { | ||
static isCheck(value: unknown, type: string): boolean; | ||
locked: boolean; | ||
abstract type: string; | ||
abstract activeHandle?: string; | ||
private cachedBBoxWithoutHandles?; | ||
abstract containsPoint(x: number, y: number): boolean; | ||
abstract toggleHandles(show: boolean | Record<string, boolean>): void; | ||
abstract toggleActive(active: boolean): void; | ||
abstract dragHandle(datum: AnnotationProperties, target: Coords, invertPoint: (point: Coords) => Coords | undefined): void; | ||
abstract stopDragging(): void; | ||
abstract getAnchor(): { | ||
x: number; | ||
y: number; | ||
position?: string; | ||
}; | ||
abstract getCursor(): string; | ||
protected getCachedBBoxWithoutHandles(): Readonly<_Scene.BBox>; | ||
protected computeBBoxWithoutHandles(): _Scene.BBox; | ||
render(renderCtx: _Scene.RenderContext): void; | ||
} |
import { _Scene } from 'ag-charts-community'; | ||
import type { Coords } from '../annotationTypes'; | ||
declare abstract class Handle extends _Scene.Group { | ||
type InvariantHandleStyles = { | ||
x: number; | ||
y: number; | ||
} & { | ||
[K in keyof _Scene.Circle]?: _Scene.Circle[K]; | ||
}; | ||
type UnivariantHandleStyles = { | ||
x: number; | ||
y: number; | ||
} & { | ||
[K in keyof _Scene.Rect]?: _Scene.Rect[K]; | ||
}; | ||
type DivariantHandleStyles = { | ||
x: number; | ||
y: number; | ||
} & { | ||
[K in keyof _Scene.Circle]?: _Scene.Circle[K]; | ||
}; | ||
export declare abstract class Handle extends _Scene.Group { | ||
static readonly HANDLE_SIZE: number; | ||
static readonly GLOW_SIZE: number; | ||
static readonly INACTIVE_STROKE_WIDTH = 1; | ||
protected abstract handle: _Scene.Rect | _Scene.Circle; | ||
protected abstract glow: _Scene.Rect | _Scene.Circle; | ||
protected active: boolean; | ||
protected locked: boolean; | ||
visible: boolean; | ||
@@ -17,18 +40,31 @@ abstract update(styles: { | ||
toggleDragging(dragging: boolean): void; | ||
toggleLocked(locked: boolean): void; | ||
getCursor(): string; | ||
containsPoint(x: number, y: number): boolean; | ||
} | ||
export declare class InvariantHandle extends Handle { | ||
static readonly HANDLE_SIZE = 7; | ||
static readonly GLOW_SIZE = 9; | ||
handle: _Scene.Circle; | ||
glow: _Scene.Circle; | ||
constructor(); | ||
update(styles: InvariantHandleStyles): void; | ||
drag(target: Coords): { | ||
point: Coords; | ||
offset: Coords; | ||
}; | ||
} | ||
export declare class UnivariantHandle extends Handle { | ||
static readonly HANDLE_SIZE = 12; | ||
static readonly GLOW_SIZE = 16; | ||
static readonly CORNER_RADIUS = 4; | ||
handle: _Scene.Rect; | ||
glow: _Scene.Rect; | ||
private gradient; | ||
gradient: 'horizontal' | 'vertical'; | ||
private cachedStyles?; | ||
constructor(); | ||
update(styles: { | ||
[K in keyof _Scene.Rect]?: _Scene.Rect[K]; | ||
}): void; | ||
toggleLocked(locked: boolean): void; | ||
update(styles: UnivariantHandleStyles): void; | ||
drag(target: Coords): { | ||
point: { | ||
x: number; | ||
y: number; | ||
}; | ||
point: Coords; | ||
offset: { | ||
@@ -39,12 +75,14 @@ x: number; | ||
}; | ||
getCursor(): "col-resize" | "row-resize"; | ||
getCursor(): "default" | "col-resize" | "row-resize"; | ||
} | ||
export declare class DivariantHandle extends Handle { | ||
static readonly HANDLE_SIZE = 11; | ||
static readonly GLOW_SIZE = 17; | ||
handle: _Scene.Circle; | ||
glow: _Scene.Circle; | ||
private cachedStyles?; | ||
constructor(); | ||
update(styles: { | ||
[K in keyof _Scene.Circle]?: _Scene.Circle[K]; | ||
}): void; | ||
toggleLocked(locked: boolean): void; | ||
update(styles: DivariantHandleStyles): void; | ||
} | ||
export {}; |
import { _Scene } from 'ag-charts-community'; | ||
export declare class CollidableLine extends _Scene.Line { | ||
collisionBBox?: _Scene.BBox; | ||
private growCollisionBox; | ||
private readonly growCollisionBox; | ||
updateCollisionBBox(): void; | ||
isPointInPath(pointX: number, pointY: number): boolean; | ||
} |
@@ -21,4 +21,4 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
performLayout(containerWidth: number, containerHeight: number): void; | ||
private onImageLoad; | ||
private readonly onImageLoad; | ||
} | ||
export {}; |
@@ -0,4 +1,3 @@ | ||
import type { AgContextMenuOptions } from 'ag-charts-community'; | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
type ContextMenuAction = _ModuleSupport.ContextMenuAction; | ||
type ContextMenuItem = 'download' | ContextMenuAction; | ||
export declare class ContextMenu extends _ModuleSupport.BaseModuleInstance implements _ModuleSupport.ModuleInstance { | ||
@@ -11,38 +10,41 @@ readonly ctx: _ModuleSupport.ModuleContext; | ||
*/ | ||
extraActions: Array<ContextMenuAction>; | ||
extraActions: NonNullable<AgContextMenuOptions['extraActions']>; | ||
/** | ||
* Extra menu actions that only appear when clicking on a node. | ||
*/ | ||
extraNodeActions: Array<ContextMenuAction>; | ||
private scene; | ||
private highlightManager; | ||
private interactionManager; | ||
private registry; | ||
private groups; | ||
extraNodeActions: NonNullable<AgContextMenuOptions['extraNodeActions']>; | ||
/** | ||
* Extra menu actions that only appear when clicking on a legend item | ||
*/ | ||
extraLegendItemActions: NonNullable<AgContextMenuOptions['extraLegendItemActions']>; | ||
private readonly scene; | ||
private readonly interactionManager; | ||
private readonly registry; | ||
private readonly groups; | ||
private pickedNode?; | ||
private pickedLegendItem?; | ||
private showEvent?; | ||
private x; | ||
private y; | ||
private readonly canvasElement; | ||
private readonly container; | ||
private readonly element; | ||
private menuElement?; | ||
private intersectionObserver?; | ||
private mutationObserver?; | ||
private menuElementDestroyFns; | ||
private lastFocus?; | ||
private readonly mutationObserver?; | ||
constructor(ctx: _ModuleSupport.ModuleContext); | ||
private isShown; | ||
private onClick; | ||
private onContextMenu; | ||
show(): void; | ||
hide(): void; | ||
renderMenu(): HTMLDivElement; | ||
appendMenuGroup(menuElement: HTMLElement, group: ContextMenuItem[], divider?: boolean): void; | ||
renderItem(item: ContextMenuItem): HTMLElement | void; | ||
private onContext; | ||
private getLastFocus; | ||
private show; | ||
private hide; | ||
private renderMenu; | ||
private appendMenuGroup; | ||
private renderItem; | ||
private createDividerElement; | ||
private createActionElement; | ||
private createButtonOnClick; | ||
private createButtonElement; | ||
private createDisabledElement; | ||
private reposition; | ||
destroy(): void; | ||
} | ||
export {}; |
export declare const DEFAULT_CONTEXT_MENU_CLASS = "ag-chart-context-menu"; | ||
export declare const DEFAULT_CONTEXT_MENU_DARK_CLASS = "ag-charts-dark-context-menu"; | ||
export declare const defaultContextMenuCss: string; | ||
export { default as defaultContextMenuCss } from './contextMenuStyles.css'; |
@@ -14,3 +14,3 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
readonly label: CrosshairLabelProperties; | ||
private labels; | ||
private readonly labels; | ||
private readonly axisCtx; | ||
@@ -23,3 +23,3 @@ private seriesRect; | ||
private labelFormatter?; | ||
private crosshairGroup; | ||
private readonly crosshairGroup; | ||
protected readonly lineGroup: _Scene.Group; | ||
@@ -30,3 +30,2 @@ protected lineGroupSelection: _Scene.Selection<_Scene.Line, any>; | ||
private layout; | ||
private buildBounds; | ||
private updateSelections; | ||
@@ -33,0 +32,0 @@ private updateLabels; |
import type { AgCrosshairLabelRendererParams, AgCrosshairLabelRendererResult } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import defaultLabelCss from './crosshairLabel.css'; | ||
export { defaultLabelCss }; | ||
declare const BaseProperties: typeof _ModuleSupport.BaseProperties; | ||
export declare const defaultLabelCss: string; | ||
export interface LabelMeta { | ||
x: number; | ||
y: number; | ||
} | ||
export declare class CrosshairLabelProperties extends _Scene.ChangeDetectableProperties { | ||
@@ -18,3 +15,4 @@ enabled: boolean; | ||
export declare class CrosshairLabel extends BaseProperties { | ||
private readonly labelRoot; | ||
private readonly domManager; | ||
private readonly id; | ||
enabled: boolean; | ||
@@ -27,7 +25,6 @@ className?: string; | ||
private readonly element; | ||
constructor(labelRoot: HTMLElement); | ||
show(meta: LabelMeta): void; | ||
constructor(domManager: _ModuleSupport.DOMManager); | ||
show(meta: _Scene.Point): void; | ||
setLabelHtml(html?: string): void; | ||
computeBBox(): _Scene.BBox; | ||
private getContainerBoundingBox; | ||
toggle(visible?: boolean): void; | ||
@@ -37,2 +34,1 @@ destroy(): void; | ||
} | ||
export {}; |
import type { AgErrorBarOptions, AgErrorBarThemeableOptions } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
type NearestResult<T> = _Scene.NearestResult<T>; | ||
type NearestResult<T> = _ModuleSupport.NearestResult<T>; | ||
export type ErrorBarNodeDatum = _ModuleSupport.CartesianSeriesNodeDatum & _ModuleSupport.ErrorBoundSeriesNodeDatum; | ||
export type ErrorBarStylingOptions = Omit<AgErrorBarThemeableOptions, 'cap'>; | ||
export type ErrorBarFormatter = NonNullable<AgErrorBarOptions['formatter']>; | ||
export type ErrorBarCapFormatter = NonNullable<NonNullable<AgErrorBarOptions['cap']>['formatter']>; | ||
type ErrorBarDataOptions = Pick<AgErrorBarOptions, 'xLowerKey' | 'xLowerName' | 'xUpperKey' | 'xUpperName' | 'yLowerKey' | 'yLowerName' | 'yUpperKey' | 'yUpperName'>; | ||
type Formatters = { | ||
formatter?: ErrorBarFormatter; | ||
cap: { | ||
formatter?: ErrorBarCapFormatter; | ||
}; | ||
} & ErrorBarDataOptions; | ||
type FormatOptions = Pick<AgErrorBarOptions<any>, 'xLowerKey' | 'xUpperKey' | 'yLowerKey' | 'yUpperKey' | 'itemStyler'>; | ||
export declare class ErrorBarNode extends _Scene.Group { | ||
private whiskerPath; | ||
private capsPath; | ||
private readonly whiskerPath; | ||
private readonly capsPath; | ||
private capLength; | ||
private bboxes; | ||
private readonly bboxes; | ||
protected _datum?: ErrorBarNodeDatum; | ||
@@ -25,6 +17,6 @@ get datum(): ErrorBarNodeDatum | undefined; | ||
private calculateCapLength; | ||
private getFormatterParams; | ||
private getItemStylerParams; | ||
private formatStyles; | ||
private applyStyling; | ||
update(style: AgErrorBarThemeableOptions, formatters: Formatters, highlighted: boolean): void; | ||
update(style: AgErrorBarThemeableOptions, formatters: FormatOptions, highlighted: boolean): void; | ||
updateBBoxes(): void; | ||
@@ -31,0 +23,0 @@ containsPoint(x: number, y: number): boolean; |
@@ -1,5 +0,4 @@ | ||
import { type AgErrorBarOptions, _ModuleSupport } from 'ag-charts-community'; | ||
import type { ErrorBarCapFormatter, ErrorBarFormatter } from './errorBarNode'; | ||
import { type AgErrorBarItemStylerParams, type AgErrorBarOptions, type AgErrorBarThemeableOptions, type ErrorBarCapOptions, type Styler, _ModuleSupport } from 'ag-charts-community'; | ||
declare const BaseProperties: typeof _ModuleSupport.BaseProperties; | ||
declare class ErrorBarCap extends BaseProperties<NonNullable<AgErrorBarOptions['cap']>> { | ||
declare class ErrorBarCap extends BaseProperties<ErrorBarCapOptions> { | ||
visible?: boolean; | ||
@@ -13,5 +12,4 @@ stroke?: string; | ||
lengthRatio?: number; | ||
formatter?: ErrorBarCapFormatter; | ||
} | ||
export declare class ErrorBarProperties extends BaseProperties<AgErrorBarOptions> { | ||
export declare class ErrorBarProperties extends BaseProperties<AgErrorBarOptions<any>> { | ||
yLowerKey?: string; | ||
@@ -31,5 +29,5 @@ yLowerName?: string; | ||
lineDashOffset?: number; | ||
formatter?: ErrorBarFormatter; | ||
itemStyler?: Styler<AgErrorBarItemStylerParams<unknown>, AgErrorBarThemeableOptions>; | ||
cap: ErrorBarCap; | ||
} | ||
export {}; |
@@ -12,7 +12,3 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
}): Promise<void>; | ||
performLayout(opts: { | ||
shrinkRect: _Scene.BBox; | ||
}): Promise<{ | ||
shrinkRect: _Scene.BBox; | ||
}>; | ||
performLayout(opts: _ModuleSupport.LayoutContext): Promise<_ModuleSupport.LayoutContext>; | ||
performCartesianLayout(opts: { | ||
@@ -19,0 +15,0 @@ seriesRect: _Scene.BBox; |
@@ -1,2 +0,2 @@ | ||
import type { AgToolbarGroupAlignment, AgToolbarGroupPosition, AgToolbarZoomButton, AgZoomAnchorPoint, AgZoomButtons } from 'ag-charts-community'; | ||
import type { AgToolbarGroupAlignment, AgToolbarGroupPosition, AgToolbarGroupSize, AgToolbarZoomButton, AgZoomAnchorPoint, AgZoomButtons } from 'ag-charts-community'; | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
@@ -10,2 +10,3 @@ import { ZoomRange } from './zoomRange'; | ||
position?: AgToolbarGroupPosition; | ||
size?: AgToolbarGroupSize; | ||
align?: AgToolbarGroupAlignment; | ||
@@ -20,2 +21,3 @@ constructor(onChange: () => void); | ||
enableDoubleClickToReset: boolean; | ||
enableIndependentAxes?: boolean; | ||
enablePanning: boolean; | ||
@@ -44,3 +46,3 @@ enableScrolling: boolean; | ||
private readonly toolbar; | ||
deceleration: number; | ||
deceleration: number | 'off' | 'short' | 'long'; | ||
private dragState; | ||
@@ -60,3 +62,6 @@ private hoveredAxis?; | ||
private onDragEnd; | ||
private onNavZoom; | ||
private onWheel; | ||
private onWheelPanning; | ||
private onWheelScrolling; | ||
private onAxisLeave; | ||
@@ -63,0 +68,0 @@ private onAxisHover; |
@@ -9,4 +9,10 @@ import type { _Scene } from 'ag-charts-community'; | ||
} | ||
declare const decelerationValues: { | ||
off: number; | ||
short: number; | ||
long: number; | ||
}; | ||
export declare class ZoomPanner { | ||
deceleration: number; | ||
deceleration: number | keyof typeof decelerationValues; | ||
private get decelerationValue(); | ||
private onUpdate; | ||
@@ -16,3 +22,3 @@ private coords?; | ||
private zoomCoordsHistoryIndex; | ||
private coordsHistory; | ||
private readonly coordsHistory; | ||
private inertiaHandle; | ||
@@ -29,1 +35,2 @@ addListener(_type: 'update', fn: (e: ZoomPanUpdate) => void): () => void; | ||
} | ||
export {}; |
@@ -1,6 +0,7 @@ | ||
import type { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import type { DefinedZoomState, ZoomProperties } from './zoomTypes'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import type { AxisZoomStates, DefinedZoomState, ZoomProperties } from './zoomTypes'; | ||
export declare class ZoomScroller { | ||
updateAxes(event: _ModuleSupport.PointerInteractionEvent<'wheel'>, props: ZoomProperties, bbox: _Scene.BBox, zooms: AxisZoomStates): AxisZoomStates; | ||
update(event: _ModuleSupport.PointerInteractionEvent<'wheel'>, props: ZoomProperties, bbox: _Scene.BBox, oldZoom: DefinedZoomState): DefinedZoomState; | ||
private scaleZoomToPointer; | ||
updateDelta(delta: number, props: ZoomProperties, oldZoom: DefinedZoomState): DefinedZoomState; | ||
} |
import type { _Scene } from 'ag-charts-community'; | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
import type { AxisZoomStates } from './zoomTypes'; | ||
export declare class ZoomScrollPanner { | ||
update(event: _ModuleSupport.PointerInteractionEvent<'wheel'>, step: number, bbox: _Scene.BBox, zooms: AxisZoomStates): AxisZoomStates; | ||
update(event: { | ||
deltaX: number; | ||
}, step: number, bbox: _Scene.BBox, zooms: AxisZoomStates): AxisZoomStates; | ||
private translateZooms; | ||
} |
@@ -5,3 +5,3 @@ import type { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
export declare class ZoomSelector { | ||
private rect; | ||
private readonly rect; | ||
private coords?; | ||
@@ -8,0 +8,0 @@ constructor(rect: ZoomRect); |
@@ -8,3 +8,4 @@ import { _ModuleSupport } from 'ag-charts-community'; | ||
private readonly updateZoom; | ||
constructor(toolbarManager: _ModuleSupport.ToolbarManager, zoomManager: _ModuleSupport.ZoomManager, getResetZoom: () => DefinedZoomState, updateZoom: (zoom: DefinedZoomState) => void); | ||
private readonly updateAxisZoom; | ||
constructor(toolbarManager: _ModuleSupport.ToolbarManager, zoomManager: _ModuleSupport.ZoomManager, getResetZoom: () => DefinedZoomState, updateZoom: (zoom: DefinedZoomState) => void, updateAxisZoom: (axisId: string, direction: _ModuleSupport.ChartAxisDirection, partialZoom: _ModuleSupport.ZoomState | undefined) => void); | ||
toggle(enabled: boolean | undefined, zoom: DefinedZoomState, props: ZoomProperties): void; | ||
@@ -16,2 +17,4 @@ toggleButtons(zoom: DefinedZoomState, props: ZoomProperties): void; | ||
private onButtonPressZoom; | ||
private onButtonPressZoomAxis; | ||
private onButtonPressZoomUnified; | ||
} |
@@ -21,2 +21,3 @@ import type { AgZoomAnchorPoint, _ModuleSupport } from 'ag-charts-community'; | ||
enabled: boolean; | ||
independentAxes: boolean; | ||
isScalingX: boolean; | ||
@@ -23,0 +24,0 @@ isScalingY: boolean; |
@@ -1,2 +0,2 @@ | ||
import { AgZoomAnchorPoint, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { type AgZoomAnchorPoint, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import type { DefinedZoomState } from './zoomTypes'; | ||
@@ -58,2 +58,9 @@ export declare const UNIT: { | ||
export declare function constrainZoom(zoom: DefinedZoomState): DefinedZoomState; | ||
export declare function constrainAxis(axis: { | ||
min: number; | ||
max: number; | ||
}): { | ||
min: number; | ||
max: number; | ||
}; | ||
export declare function constrainAxisWithOld({ min, max }: { | ||
@@ -60,0 +67,0 @@ min: number; |
@@ -1,8 +0,2 @@ | ||
import { type AgChartLegendPosition, type AgGradientLegendIntervalOptions, type AgGradientLegendLabelOptions, type AgGradientLegendScaleOptions, _ModuleSupport, _Scale, _Scene } from 'ag-charts-community'; | ||
declare class GradientLegendAxisTick extends _ModuleSupport.AxisTick<_Scale.LinearScale, number> { | ||
enabled: boolean; | ||
size: number; | ||
minSpacing: number; | ||
maxSpacing: number; | ||
} | ||
import { type AgChartLegendPosition, type AgGradientLegendScaleOptions, _ModuleSupport, _Scale, _Scene } from 'ag-charts-community'; | ||
declare class GradientLegendAxis extends _ModuleSupport.CartesianAxis<_Scale.LinearScale, number> { | ||
@@ -12,28 +6,9 @@ colorDomain: number[]; | ||
calculateDomain(): void; | ||
protected createTick(): GradientLegendAxisTick; | ||
protected getTickSize(): number; | ||
} | ||
declare class GradientLegendLabel implements AgGradientLegendLabelOptions { | ||
label: GradientLegendAxis['label']; | ||
constructor(label: GradientLegendAxis['label']); | ||
fontStyle?: GradientLegendAxis['label']['fontStyle']; | ||
fontWeight?: GradientLegendAxis['label']['fontWeight']; | ||
fontSize?: GradientLegendAxis['label']['fontSize']; | ||
fontFamily?: GradientLegendAxis['label']['fontFamily']; | ||
color?: GradientLegendAxis['label']['color']; | ||
format?: GradientLegendAxis['label']['format']; | ||
formatter?: GradientLegendAxis['label']['formatter']; | ||
} | ||
declare class GradientLegendInterval implements AgGradientLegendIntervalOptions { | ||
tick: GradientLegendAxisTick; | ||
constructor(tick: GradientLegendAxisTick); | ||
values?: GradientLegendAxisTick['values']; | ||
minSpacing?: GradientLegendAxisTick['minSpacing']; | ||
maxSpacing?: GradientLegendAxisTick['maxSpacing']; | ||
step?: GradientLegendAxisTick['interval']; | ||
} | ||
declare class GradientLegendScale implements AgGradientLegendScaleOptions { | ||
axis: GradientLegendAxis; | ||
label: GradientLegendLabel; | ||
interval: GradientLegendInterval; | ||
constructor(axis: GradientLegendAxis); | ||
label: _ModuleSupport.AxisLabel; | ||
interval: _ModuleSupport.AxisInterval<number>; | ||
padding?: GradientLegendAxis['seriesAreaPadding']; | ||
@@ -52,4 +27,4 @@ } | ||
private readonly arrow; | ||
private gradient; | ||
private destroyFns; | ||
private readonly gradient; | ||
private readonly destroyFns; | ||
private readonly layoutService; | ||
@@ -67,3 +42,2 @@ private readonly highlightManager; | ||
scale: GradientLegendScale; | ||
stop: GradientLegendScale; | ||
data: _ModuleSupport.GradientLegendDatum[]; | ||
@@ -70,0 +44,0 @@ listeners: any; |
export declare class LicenseManager { | ||
private static RELEASE_INFORMATION; | ||
private static readonly RELEASE_INFORMATION; | ||
private licenseKey?; | ||
private gridContext; | ||
private watermarkMessage; | ||
private md5; | ||
private document?; | ||
private totalMessageLength; | ||
private readonly md5; | ||
private readonly document?; | ||
private readonly totalMessageLength; | ||
constructor(document?: Document); | ||
@@ -10,0 +10,0 @@ validateLicense(): void; |
@@ -1,1 +0,2 @@ | ||
export declare function injectWatermark(parentElement: HTMLElement, text: string): void; | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
export declare function injectWatermark(domManager: _ModuleSupport.DOMManager, text: string): void; |
@@ -1,8 +0,8 @@ | ||
import type { AgBoxPlotSeriesStyles } from 'ag-charts-community'; | ||
import type { AgBoxPlotSeriesStyle } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import type { BoxPlotNodeDatum } from './boxPlotTypes'; | ||
declare const Group: typeof _Scene.Group; | ||
export declare class BoxPlotGroup extends Group implements _Scene.DistantObject { | ||
export declare class BoxPlotGroup extends Group implements _ModuleSupport.DistantObject { | ||
constructor(); | ||
updateDatumStyles(datum: BoxPlotNodeDatum, activeStyles: _ModuleSupport.DeepRequired<AgBoxPlotSeriesStyles>, isVertical: boolean, isReversedValueAxis: boolean | undefined, cornerRadius: number): void; | ||
updateDatumStyles(datum: BoxPlotNodeDatum, activeStyles: _ModuleSupport.DeepRequired<AgBoxPlotSeriesStyle>, isVertical: boolean, isReversedValueAxis: boolean | undefined): void; | ||
distanceSquared(x: number, y: number): number; | ||
@@ -9,0 +9,0 @@ get midPoint(): { |
@@ -1,2 +0,2 @@ | ||
import { type AgBoxPlotSeriesStyles, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { type AgBoxPlotSeriesStyle, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { BoxPlotGroup } from './boxPlotGroup'; | ||
@@ -27,4 +27,4 @@ import { BoxPlotSeriesProperties } from './boxPlotSeriesProperties'; | ||
scales: { | ||
x?: import("ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
y?: import("ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
x?: import("packages/ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
y?: import("packages/ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
}; | ||
@@ -56,5 +56,5 @@ visible: boolean; | ||
protected nodeFactory(): BoxPlotGroup; | ||
getFormattedStyles(nodeDatum: BoxPlotNodeDatum, highlighted?: boolean): AgBoxPlotSeriesStyles; | ||
getFormattedStyles(nodeDatum: BoxPlotNodeDatum, highlighted?: boolean): AgBoxPlotSeriesStyle; | ||
protected computeFocusBounds({ datumIndex, seriesRect }: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import type { AgBoxPlotSeriesFormatterParams, AgBoxPlotSeriesOptions, AgBoxPlotSeriesStyles, AgBoxPlotSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
import type { AgBoxPlotSeriesItemStylerParams, AgBoxPlotSeriesOptions, AgBoxPlotSeriesStyle, AgBoxPlotSeriesTooltipRendererParams, Styler } from 'ag-charts-community'; | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
@@ -36,8 +36,9 @@ declare const BaseProperties: typeof _ModuleSupport.BaseProperties, AbstractBarSeriesProperties: typeof _ModuleSupport.AbstractBarSeriesProperties; | ||
cornerRadius: number; | ||
formatter?: (params: AgBoxPlotSeriesFormatterParams<unknown>) => AgBoxPlotSeriesStyles; | ||
itemStyler?: Styler<AgBoxPlotSeriesItemStylerParams<unknown>, AgBoxPlotSeriesStyle>; | ||
readonly cap: BoxPlotSeriesCap; | ||
readonly whisker: BoxPlotSeriesWhisker; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgBoxPlotSeriesTooltipRendererParams>; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgBoxPlotSeriesTooltipRendererParams<any>>; | ||
backgroundFill: string; | ||
toJson(): AgBoxPlotSeriesOptions<any>; | ||
} | ||
export {}; |
export declare const BOX_PLOT_SERIES_THEME: { | ||
series: { | ||
__extends__: string; | ||
direction: "vertical"; | ||
@@ -5,0 +4,0 @@ strokeWidth: number; |
@@ -23,5 +23,5 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
private normalizedColorRanges; | ||
private colorRangesGroup; | ||
private colorRangesSelection; | ||
private targetLinesSelection; | ||
private readonly colorRangesGroup; | ||
private readonly colorRangesSelection; | ||
private readonly targetLinesSelection; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
@@ -28,0 +28,0 @@ destroy(): void; |
@@ -1,28 +0,24 @@ | ||
import { AgCandlestickSeriesBaseFormatterParams, AgCandlestickSeriesFormatterParams, AgCandlestickSeriesItemOptions, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { type AgCandlestickSeriesItemOptions, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { OhlcSeriesBase } from '../ohlc/ohlcSeriesBase'; | ||
import { CandlestickGroup } from './candlestickGroup'; | ||
import { CandlestickSeriesBase } from './candlestickSeriesBase'; | ||
import { CandlestickSeriesProperties } from './candlestickSeriesProperties'; | ||
import type { CandlestickNodeDatum } from './candlestickTypes'; | ||
export declare class CandlestickSeries extends CandlestickSeriesBase<CandlestickGroup, AgCandlestickSeriesItemOptions, CandlestickSeriesProperties, CandlestickNodeDatum, AgCandlestickSeriesFormatterParams<CandlestickNodeDatum>> { | ||
export declare class CandlestickSeries extends OhlcSeriesBase<CandlestickGroup, AgCandlestickSeriesItemOptions, CandlestickSeriesProperties<any>, CandlestickNodeDatum> { | ||
static readonly className = "CandleStickSeries"; | ||
static readonly type: "candlestick"; | ||
properties: CandlestickSeriesProperties; | ||
properties: CandlestickSeriesProperties<import("ag-charts-community").AgOhlcSeriesBaseOptions>; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
createNodeData(): Promise<{ | ||
nodeData: { | ||
fill: string | undefined; | ||
fillOpacity: number | undefined; | ||
stroke: string | undefined; | ||
strokeWidth: number | undefined; | ||
strokeOpacity: number | undefined; | ||
lineDash: number[] | undefined; | ||
lineDashOffset: number | undefined; | ||
wick: import("ag-charts-community").AgCandlestickWickOptions | undefined; | ||
cornerRadius: number | undefined; | ||
itemId: import("ag-charts-community").AgCandlestickSeriesItemType; | ||
fill: any; | ||
fillOpacity: any; | ||
stroke: any; | ||
strokeWidth: any; | ||
strokeOpacity: any; | ||
lineDash: any; | ||
lineDashOffset: any; | ||
wick: any; | ||
cornerRadius: any; | ||
itemId: import("ag-charts-community").AgOhlcSeriesItemType; | ||
bandwidth: number; | ||
openKey?: string | undefined; | ||
closeKey?: string | undefined; | ||
highKey?: string | undefined; | ||
lowKey?: string | undefined; | ||
openValue: number; | ||
@@ -40,9 +36,10 @@ closeValue: number; | ||
}; | ||
enabled?: boolean | undefined; | ||
series: _ModuleSupport.ISeries<any, any>; | ||
xKey: string; | ||
datum: any; | ||
midPoint?: Readonly<_Scene.Point> | undefined; | ||
datum: any; | ||
point?: Readonly<_Scene.SizedPoint> | undefined; | ||
missing?: boolean | undefined; | ||
xValue?: any; | ||
point?: Readonly<_Scene.SizedPoint> | undefined; | ||
}[]; | ||
@@ -52,12 +49,12 @@ itemId: string; | ||
scales: { | ||
x?: import("ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
y?: import("ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
x?: import("packages/ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
y?: import("packages/ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
}; | ||
visible: boolean; | ||
} | undefined>; | ||
getFormattedStyles(nodeDatum: CandlestickNodeDatum, highlighted?: boolean): AgCandlestickSeriesItemOptions; | ||
protected nodeFactory(): CandlestickGroup; | ||
protected getSeriesStyles(nodeDatum: CandlestickNodeDatum): AgCandlestickSeriesItemOptions; | ||
protected getActiveStyles(nodeDatum: CandlestickNodeDatum, highlighted: boolean): AgCandlestickSeriesItemOptions; | ||
protected getFormatterParams(params: AgCandlestickSeriesBaseFormatterParams<CandlestickNodeDatum>): AgCandlestickSeriesFormatterParams<CandlestickNodeDatum>; | ||
protected computeFocusBounds(opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} |
@@ -1,4 +0,3 @@ | ||
import type { AgCandlestickSeriesBaseFormatterParams, AgCandlestickSeriesBaseOptions, AgCandlestickSeriesFormatterParams, AgCandlestickSeriesItemOptions, AgCandlestickSeriesOptions, AgCandlestickSeriesStyles, AgCandlestickSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
import type { AgCandlestickSeriesItemOptions, AgCandlestickSeriesItemStylerParams, AgCandlestickSeriesTooltipRendererParams, AgOhlcSeriesBaseOptions, Styler } from 'ag-charts-community'; | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
import type { CandlestickNodeDatum } from './candlestickTypes'; | ||
declare const BaseProperties: typeof _ModuleSupport.BaseProperties, AbstractBarSeriesProperties: typeof _ModuleSupport.AbstractBarSeriesProperties; | ||
@@ -21,9 +20,4 @@ declare class CandlestickSeriesWick extends BaseProperties { | ||
cornerRadius: number; | ||
formatter?: (params: AgCandlestickSeriesFormatterParams<any>) => AgCandlestickSeriesStyles; | ||
readonly wick: CandlestickSeriesWick; | ||
} | ||
declare class CandlestickSeriesItems extends BaseProperties implements CandlestickSeriesBaseItems<CandlestickSeriesItem> { | ||
readonly up: CandlestickSeriesItem; | ||
readonly down: CandlestickSeriesItem; | ||
} | ||
export interface CandlestickSeriesBaseItems<T> { | ||
@@ -33,3 +27,3 @@ readonly up: T; | ||
} | ||
export declare class CandlestickSeriesBaseProperties<T extends Omit<AgCandlestickSeriesBaseOptions, 'openKey'>, TItem extends AgCandlestickSeriesItemOptions, TItems extends CandlestickSeriesBaseItems<TItem>, TFormatterParams extends AgCandlestickSeriesBaseFormatterParams<unknown>> extends AbstractBarSeriesProperties<T> { | ||
export declare class CandlestickSeriesProperties<T extends AgOhlcSeriesBaseOptions> extends AbstractBarSeriesProperties<T> { | ||
xKey: string; | ||
@@ -46,11 +40,6 @@ openKey: string; | ||
lowName?: string; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgCandlestickSeriesTooltipRendererParams>; | ||
readonly item: TItems; | ||
formatter?: ((params: TFormatterParams) => AgCandlestickSeriesItemOptions) | undefined; | ||
constructor(item: TItems, formatter?: (params: TFormatterParams) => AgCandlestickSeriesItemOptions); | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgCandlestickSeriesTooltipRendererParams<any>>; | ||
readonly item: CandlestickSeriesBaseItems<any>; | ||
itemStyler?: Styler<AgCandlestickSeriesItemStylerParams<unknown>, AgCandlestickSeriesItemOptions>; | ||
} | ||
export declare class CandlestickSeriesProperties extends CandlestickSeriesBaseProperties<AgCandlestickSeriesOptions, AgCandlestickSeriesItemOptions, CandlestickSeriesItems, AgCandlestickSeriesFormatterParams<CandlestickNodeDatum>> { | ||
openKey: string; | ||
constructor(); | ||
} | ||
export {}; |
export declare const CANDLESTICK_SERIES_THEME: { | ||
series: { | ||
__extends__: string; | ||
highlightStyle: { | ||
@@ -9,3 +8,2 @@ item: { | ||
}; | ||
direction: string; | ||
}; | ||
@@ -12,0 +10,0 @@ animation: { |
@@ -1,2 +0,2 @@ | ||
import type { AgBarSeriesStyle, AgCandlestickSeriesItemType, LineDashOptions, StrokeOptions, _ModuleSupport } from 'ag-charts-community'; | ||
import type { AgBarSeriesStyle, AgOhlcSeriesItemType, LineDashOptions, StrokeOptions, _ModuleSupport } from 'ag-charts-community'; | ||
export interface CandlestickNodeDatum extends CandlestickNodeBaseDatum, Readonly<AgBarSeriesStyle> { | ||
@@ -6,8 +6,4 @@ readonly wick?: StrokeOptions & LineDashOptions; | ||
export interface CandlestickNodeBaseDatum extends Omit<_ModuleSupport.CartesianSeriesNodeDatum, 'yKey' | 'yValue'> { | ||
readonly itemId: AgCandlestickSeriesItemType; | ||
readonly itemId: AgOhlcSeriesItemType; | ||
readonly bandwidth: number; | ||
readonly openKey?: string; | ||
readonly closeKey?: string; | ||
readonly highKey?: string; | ||
readonly lowKey?: string; | ||
readonly openValue: number; | ||
@@ -14,0 +10,0 @@ readonly closeValue: number; |
@@ -13,3 +13,3 @@ import { _ModuleSupport, type _Scene } from 'ag-charts-community'; | ||
}; | ||
export declare function resetCandlestickSelectionsFn(_node: CandlestickBaseGroup<CandlestickNodeBaseDatum, any>, datum: CandlestickNodeBaseDatum): { | ||
export declare function resetCandlestickSelectionsFn(_node: any, datum: CandlestickNodeBaseDatum): { | ||
x: number; | ||
@@ -16,0 +16,0 @@ y: number; |
@@ -36,3 +36,2 @@ import type { FontStyle, FontWeight, TextAlign, VerticalAlign } from 'ag-charts-community'; | ||
readonly colorScale: _Scale.ColorScale; | ||
private seriesItemEnabled; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
@@ -47,4 +46,4 @@ processData(dataController: _ModuleSupport.DataController): Promise<void>; | ||
scales: { | ||
x?: import("ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
y?: import("ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
x?: import("packages/ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
y?: import("packages/ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
}; | ||
@@ -51,0 +50,0 @@ visible: boolean; |
@@ -1,2 +0,2 @@ | ||
import type { AgHeatmapSeriesFormat, AgHeatmapSeriesFormatterParams, AgHeatmapSeriesLabelFormatterParams, AgHeatmapSeriesOptions, AgHeatmapSeriesTooltipRendererParams, TextAlign, VerticalAlign } from 'ag-charts-community'; | ||
import type { AgHeatmapSeriesItemStylerParams, AgHeatmapSeriesLabelFormatterParams, AgHeatmapSeriesOptions, AgHeatmapSeriesStyle, AgHeatmapSeriesTooltipRendererParams, Styler, TextAlign, VerticalAlign } from 'ag-charts-community'; | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
@@ -20,6 +20,6 @@ import { AutoSizedLabel } from '../util/labelFormatter'; | ||
itemPadding: number; | ||
formatter?: (params: AgHeatmapSeriesFormatterParams<any>) => AgHeatmapSeriesFormat; | ||
itemStyler?: Styler<AgHeatmapSeriesItemStylerParams<unknown>, AgHeatmapSeriesStyle>; | ||
readonly label: AutoSizedLabel<AgHeatmapSeriesLabelFormatterParams>; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgHeatmapSeriesTooltipRendererParams>; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgHeatmapSeriesTooltipRendererParams<any>>; | ||
} | ||
export {}; |
import { _Theme } from 'ag-charts-community'; | ||
export declare const HEATMAP_SERIES_THEME: { | ||
series: { | ||
__extends__: string; | ||
label: { | ||
@@ -6,0 +5,0 @@ enabled: boolean; |
import { _ModuleSupport, _Scene, _Util } from 'ag-charts-community'; | ||
import { MapLineBackgroundNodeDatum, MapLineBackgroundSeriesProperties } from './mapLineBackgroundSeriesProperties'; | ||
import { type MapLineBackgroundNodeDatum, MapLineBackgroundSeriesProperties } from './mapLineBackgroundSeriesProperties'; | ||
declare const DataModelSeries: typeof _ModuleSupport.DataModelSeries; | ||
@@ -18,3 +18,3 @@ export interface MapLineNodeDataContext extends _ModuleSupport.SeriesNodeDataContext<MapLineBackgroundNodeDatum> { | ||
get hasData(): boolean; | ||
private itemGroup; | ||
private readonly itemGroup; | ||
private datumSelection; | ||
@@ -21,0 +21,0 @@ private contextNodeData?; |
import { _ModuleSupport, _Scene, _Util } from 'ag-charts-community'; | ||
import { GeoGeometry } from '../map-util/geoGeometry'; | ||
import { MapLineNodeDatum, MapLineNodeLabelDatum, MapLineSeriesProperties } from './mapLineSeriesProperties'; | ||
import { type MapLineNodeDatum, type MapLineNodeLabelDatum, MapLineSeriesProperties } from './mapLineSeriesProperties'; | ||
declare const DataModelSeries: typeof _ModuleSupport.DataModelSeries; | ||
@@ -5,0 +5,0 @@ export interface MapLineNodeDataContext extends _ModuleSupport.SeriesNodeDataContext<MapLineNodeDatum, MapLineNodeLabelDatum> { |
@@ -1,2 +0,2 @@ | ||
import type { AgMapLineSeriesFormatterParams, AgMapLineSeriesLabelFormatterParams, AgMapLineSeriesOptions, AgMapLineSeriesStyle, AgMapLineSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
import type { AgMapLineSeriesItemStylerParams, AgMapLineSeriesLabelFormatterParams, AgMapLineSeriesOptions, AgMapLineSeriesStyle, AgMapLineSeriesTooltipRendererParams, Styler } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene, _Util } from 'ag-charts-community'; | ||
@@ -36,3 +36,3 @@ declare const SeriesProperties: typeof _ModuleSupport.SeriesProperties; | ||
lineDashOffset: number; | ||
formatter?: (params: AgMapLineSeriesFormatterParams<any>) => AgMapLineSeriesStyle; | ||
itemStyler?: Styler<AgMapLineSeriesItemStylerParams<unknown>, AgMapLineSeriesStyle>; | ||
readonly label: _Scene.Label<AgMapLineSeriesLabelFormatterParams, any>; | ||
@@ -39,0 +39,0 @@ readonly tooltip: _ModuleSupport.SeriesTooltip<AgMapLineSeriesTooltipRendererParams<any>>; |
import { _ModuleSupport, _Scene, _Util } from 'ag-charts-community'; | ||
import { MapMarkerNodeDatum, MapMarkerNodeLabelDatum, MapMarkerSeriesProperties } from './mapMarkerSeriesProperties'; | ||
import { type MapMarkerNodeDatum, type MapMarkerNodeLabelDatum, MapMarkerSeriesProperties } from './mapMarkerSeriesProperties'; | ||
declare const DataModelSeries: typeof _ModuleSupport.DataModelSeries; | ||
@@ -18,3 +18,3 @@ export interface MapMarkerNodeDataContext extends _ModuleSupport.SeriesNodeDataContext<MapMarkerNodeDatum, MapMarkerNodeLabelDatum> { | ||
private readonly sizeScale; | ||
private markerGroup; | ||
private readonly markerGroup; | ||
private labelSelection; | ||
@@ -24,3 +24,3 @@ private markerSelection; | ||
private contextNodeData?; | ||
private animationState; | ||
private readonly animationState; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
@@ -40,2 +40,4 @@ setChartTopology(topology: any): void; | ||
updateSelections(): Promise<void>; | ||
private previousScale; | ||
private checkScaleChange; | ||
update({ seriesRect }: { | ||
@@ -59,2 +61,3 @@ seriesRect?: _Scene.BBox; | ||
getTooltipHtml(nodeDatum: MapMarkerNodeDatum): _ModuleSupport.TooltipContent; | ||
getMapMarkerStyle(markerDatum: MapMarkerNodeDatum, highlighted: boolean): import("ag-charts-community").AgMapMarkerSeriesStyle | undefined; | ||
getFormattedMarkerStyle(markerDatum: MapMarkerNodeDatum): { | ||
@@ -61,0 +64,0 @@ size: number; |
@@ -1,2 +0,2 @@ | ||
import type { AgMapMarkerSeriesFormatterParams, AgMapMarkerSeriesLabelFormatterParams, AgMapMarkerSeriesOptions, AgMapMarkerSeriesStyle, AgMapMarkerSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
import type { AgMapMarkerSeriesItemStylerParams, AgMapMarkerSeriesLabelFormatterParams, AgMapMarkerSeriesOptions, AgMapMarkerSeriesStyle, AgMapMarkerSeriesTooltipRendererParams, Styler } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene, _Util } from 'ag-charts-community'; | ||
@@ -50,3 +50,3 @@ declare const SeriesProperties: typeof _ModuleSupport.SeriesProperties; | ||
strokeOpacity: number; | ||
formatter?: (params: AgMapMarkerSeriesFormatterParams<any>) => AgMapMarkerSeriesStyle; | ||
itemStyler?: Styler<AgMapMarkerSeriesItemStylerParams<unknown>, AgMapMarkerSeriesStyle>; | ||
readonly label: MapMarkerSeriesLabel; | ||
@@ -53,0 +53,0 @@ readonly tooltip: _ModuleSupport.SeriesTooltip<AgMapMarkerSeriesTooltipRendererParams<any>>; |
import { _ModuleSupport, _Util } from 'ag-charts-community'; | ||
import { MapShapeBackgroundNodeDatum, MapShapeBackgroundSeriesProperties } from './mapShapeBackgroundSeriesProperties'; | ||
import { type MapShapeBackgroundNodeDatum, MapShapeBackgroundSeriesProperties } from './mapShapeBackgroundSeriesProperties'; | ||
declare const Series: typeof _ModuleSupport.Series; | ||
@@ -17,3 +17,3 @@ export interface MapShapeBackgroundNodeDataContext extends _ModuleSupport.SeriesNodeDataContext<MapShapeBackgroundNodeDatum> { | ||
get hasData(): boolean; | ||
private itemGroup; | ||
private readonly itemGroup; | ||
private datumSelection; | ||
@@ -20,0 +20,0 @@ private contextNodeData?; |
import { _ModuleSupport, _Scene, _Util } from 'ag-charts-community'; | ||
import { GeoGeometry } from '../map-util/geoGeometry'; | ||
import { MapShapeNodeDatum, MapShapeNodeLabelDatum, MapShapeSeriesProperties } from './mapShapeSeriesProperties'; | ||
import { type MapShapeNodeDatum, type MapShapeNodeLabelDatum, MapShapeSeriesProperties } from './mapShapeSeriesProperties'; | ||
declare const DataModelSeries: typeof _ModuleSupport.DataModelSeries; | ||
@@ -18,4 +18,4 @@ export interface MapShapeNodeDataContext extends _ModuleSupport.SeriesNodeDataContext<MapShapeNodeDatum, MapShapeNodeLabelDatum> { | ||
private readonly colorScale; | ||
private itemGroup; | ||
private itemLabelGroup; | ||
private readonly itemGroup; | ||
private readonly itemLabelGroup; | ||
datumSelection: _Scene.Selection<GeoGeometry, MapShapeNodeDatum>; | ||
@@ -56,4 +56,4 @@ private labelSelection; | ||
getTooltipHtml(nodeDatum: MapShapeNodeDatum): _ModuleSupport.TooltipContent; | ||
protected computeFocusBounds(opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
protected computeFocusBounds(opts: _ModuleSupport.PickFocusInputs): _Scene.Path | undefined; | ||
} | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import type { AgMapShapeSeriesFormatterParams, AgMapShapeSeriesLabelFormatterParams, AgMapShapeSeriesOptions, AgMapShapeSeriesStyle, AgMapShapeSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
import type { AgMapShapeSeriesItemStylerParams, AgMapShapeSeriesLabelFormatterParams, AgMapShapeSeriesOptions, AgMapShapeSeriesStyle, AgMapShapeSeriesTooltipRendererParams, Styler } from 'ag-charts-community'; | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
@@ -39,3 +39,3 @@ import { AutoSizeableSecondaryLabel } from '../util/labelFormatter'; | ||
padding: number; | ||
formatter?: (params: AgMapShapeSeriesFormatterParams<any>) => AgMapShapeSeriesStyle; | ||
itemStyler?: Styler<AgMapShapeSeriesItemStylerParams<unknown>, AgMapShapeSeriesStyle>; | ||
readonly label: AutoSizeableSecondaryLabel<AgMapShapeSeriesLabelFormatterParams>; | ||
@@ -42,0 +42,0 @@ readonly tooltip: _ModuleSupport.SeriesTooltip<AgMapShapeSeriesTooltipRendererParams<any>>; |
@@ -12,3 +12,3 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
private bbox; | ||
private strokePath; | ||
private readonly strokePath; | ||
computeBBox(): _Scene.BBox | undefined; | ||
@@ -15,0 +15,0 @@ updatePath(): void; |
@@ -17,3 +17,3 @@ import type { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
}; | ||
export declare function computeGeoFocusBounds<TDatum>(series: SomeMapSeries<TDatum>, opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
export declare function findFocusedGeoGeometry<TDatum>(series: SomeMapSeries<TDatum>, opts: _ModuleSupport.PickFocusInputs): GeoGeometry | undefined; | ||
export {}; |
@@ -1,13 +0,13 @@ | ||
import { type AgRadialSeriesFormat, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { type AgNightingaleSeriesOptions, type AgRadialSeriesStyle, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import type { RadialColumnNodeDatum } from '../radial-column/radialColumnSeriesBase'; | ||
import { RadialColumnSeriesBase } from '../radial-column/radialColumnSeriesBase'; | ||
import { NightingaleSeriesProperties } from './nightingaleSeriesProperties'; | ||
import { RadialColumnSeriesBaseProperties } from '../radial-column/radialColumnSeriesBaseProperties'; | ||
export declare class NightingaleSeries extends RadialColumnSeriesBase<_Scene.Sector> { | ||
static readonly className = "NightingaleSeries"; | ||
static readonly type: "nightingale"; | ||
properties: NightingaleSeriesProperties; | ||
properties: RadialColumnSeriesBaseProperties<AgNightingaleSeriesOptions<any>>; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
protected getStackId(): string; | ||
protected nodeFactory(): _Scene.Sector; | ||
protected updateItemPath(node: _Scene.Sector, datum: RadialColumnNodeDatum, highlight: boolean, _format: AgRadialSeriesFormat | undefined): void; | ||
protected updateItemPath(node: _Scene.Sector, datum: RadialColumnNodeDatum, highlight: boolean, _format: AgRadialSeriesStyle | undefined): void; | ||
protected getColumnTransitionFunctions(): { | ||
@@ -27,5 +27,5 @@ toFn: (_sect: _Scene.Sector, datum: RadialColumnNodeDatum, status: _ModuleSupport.NodeUpdateState) => { | ||
clipSector: _Scene.SectorBox; | ||
phase: "end" | "initial" | "none" | "update" | "trailing" | "remove" | "add"; | ||
phase: "end" | "initial" | "update" | "none" | "trailing" | "remove" | "add"; | ||
}; | ||
}; | ||
} |
import { _Theme } from 'ag-charts-community'; | ||
export declare const NIGHTINGALE_SERIES_THEME: { | ||
series: { | ||
__extends__: string; | ||
strokeWidth: number; | ||
@@ -6,0 +5,0 @@ label: { |
@@ -30,3 +30,3 @@ import { _Scene } from 'ag-charts-community'; | ||
clipSector: _Scene.SectorBox; | ||
phase: "end" | "initial" | "none" | "update" | "trailing" | "remove" | "add"; | ||
phase: "end" | "initial" | "update" | "none" | "trailing" | "remove" | "add"; | ||
}; | ||
@@ -33,0 +33,0 @@ }; |
@@ -1,7 +0,7 @@ | ||
import { AgCandlestickSeriesBaseFormatterParams, AgOhlcSeriesFormatterParams, AgOhlcSeriesItemOptions, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { CandlestickSeriesBase } from '../candlestick/candlestickSeriesBase'; | ||
import { type AgOhlcSeriesItemOptions, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { OhlcGroup } from './ohlcGroup'; | ||
import { OhlcSeriesBase } from './ohlcSeriesBase'; | ||
import { OhlcSeriesProperties } from './ohlcSeriesProperties'; | ||
import type { OhlcNodeDatum } from './ohlcTypes'; | ||
export declare class OhlcSeries extends CandlestickSeriesBase<OhlcGroup, AgOhlcSeriesItemOptions, OhlcSeriesProperties, OhlcNodeDatum, AgOhlcSeriesFormatterParams<OhlcNodeDatum>> { | ||
export declare class OhlcSeries extends OhlcSeriesBase<OhlcGroup, AgOhlcSeriesItemOptions, OhlcSeriesProperties, OhlcNodeDatum> { | ||
static readonly className = "ohlc"; | ||
@@ -13,13 +13,9 @@ static readonly type: "ohlc"; | ||
nodeData: { | ||
stroke: string | undefined; | ||
strokeWidth: number | undefined; | ||
strokeOpacity: number | undefined; | ||
lineDash: number[] | undefined; | ||
lineDashOffset: number | undefined; | ||
itemId: import("ag-charts-community").AgCandlestickSeriesItemType; | ||
stroke: any; | ||
strokeWidth: any; | ||
strokeOpacity: any; | ||
lineDash: any; | ||
lineDashOffset: any; | ||
itemId: import("ag-charts-community").AgOhlcSeriesItemType; | ||
bandwidth: number; | ||
openKey?: string | undefined; | ||
closeKey?: string | undefined; | ||
highKey?: string | undefined; | ||
lowKey?: string | undefined; | ||
openValue: number; | ||
@@ -37,9 +33,10 @@ closeValue: number; | ||
}; | ||
enabled?: boolean | undefined; | ||
series: _ModuleSupport.ISeries<any, any>; | ||
xKey: string; | ||
datum: any; | ||
midPoint?: Readonly<_Scene.Point> | undefined; | ||
datum: any; | ||
point?: Readonly<_Scene.SizedPoint> | undefined; | ||
missing?: boolean | undefined; | ||
xValue?: any; | ||
point?: Readonly<_Scene.SizedPoint> | undefined; | ||
}[]; | ||
@@ -49,9 +46,9 @@ itemId: string; | ||
scales: { | ||
x?: import("ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
y?: import("ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
x?: import("packages/ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
y?: import("packages/ag-charts-community/dist/types/src/chart/series/cartesian/scaling").Scaling | undefined; | ||
}; | ||
visible: boolean; | ||
} | undefined>; | ||
getFormattedStyles(nodeDatum: OhlcNodeDatum, highlighted?: boolean): AgOhlcSeriesItemOptions; | ||
protected nodeFactory(): OhlcGroup; | ||
protected getFormatterParams(params: AgCandlestickSeriesBaseFormatterParams<OhlcNodeDatum>): AgOhlcSeriesFormatterParams<OhlcNodeDatum>; | ||
protected getSeriesStyles(nodeDatum: OhlcNodeDatum): AgOhlcSeriesItemOptions; | ||
@@ -58,0 +55,0 @@ protected getActiveStyles(nodeDatum: OhlcNodeDatum, highlighted: boolean): AgOhlcSeriesItemOptions; |
@@ -1,5 +0,4 @@ | ||
import type { AgOhlcSeriesFormatterParams, AgOhlcSeriesItemOptions, AgOhlcSeriesOptions, AgOhlcSeriesStyles } from 'ag-charts-community'; | ||
import type { AgCandlestickSeriesItemOptions, AgOhlcSeriesItemStylerParams, AgOhlcSeriesOptions, AgOhlcSeriesStyles, Styler } from 'ag-charts-community'; | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
import { CandlestickSeriesBaseItems, CandlestickSeriesBaseProperties } from '../candlestick/candlestickSeriesProperties'; | ||
import type { OhlcNodeDatum } from './ohlcTypes'; | ||
import { type CandlestickSeriesBaseItems, CandlestickSeriesProperties } from '../candlestick/candlestickSeriesProperties'; | ||
declare const BaseProperties: typeof _ModuleSupport.BaseProperties; | ||
@@ -12,3 +11,3 @@ export declare class OhlcSeriesItem extends BaseProperties { | ||
lineDashOffset: number; | ||
formatter?: (params: AgOhlcSeriesFormatterParams<any>) => AgOhlcSeriesStyles; | ||
itemStyler?: Styler<AgOhlcSeriesItemStylerParams<any>, AgOhlcSeriesStyles>; | ||
} | ||
@@ -19,5 +18,6 @@ declare class OhlcSeriesItems extends BaseProperties implements CandlestickSeriesBaseItems<OhlcSeriesItem> { | ||
} | ||
export declare class OhlcSeriesProperties extends CandlestickSeriesBaseProperties<AgOhlcSeriesOptions, AgOhlcSeriesItemOptions, OhlcSeriesItems, AgOhlcSeriesFormatterParams<OhlcNodeDatum>> { | ||
constructor(); | ||
export declare class OhlcSeriesProperties extends CandlestickSeriesProperties<AgOhlcSeriesOptions> { | ||
readonly item: OhlcSeriesItems; | ||
itemStyler?: Styler<AgOhlcSeriesItemStylerParams<unknown>, AgCandlestickSeriesItemOptions>; | ||
} | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import { AgRadarAreaSeriesOptions } from 'ag-charts-community'; | ||
import { type AgRadarAreaSeriesOptions } from 'ag-charts-community'; | ||
import { RadarSeriesProperties } from '../radar/radarSeriesProperties'; | ||
@@ -3,0 +3,0 @@ export declare class RadarAreaSeriesProperties extends RadarSeriesProperties<AgRadarAreaSeriesOptions> { |
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { RadarNodeDatum, RadarSeriesProperties } from './radarSeriesProperties'; | ||
import { type RadarNodeDatum, RadarSeriesProperties } from './radarSeriesProperties'; | ||
export interface RadarPathPoint { | ||
@@ -23,3 +23,2 @@ x: number; | ||
protected resetInvalidToZero: boolean; | ||
private seriesItemEnabled; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
@@ -26,0 +25,0 @@ protected nodeFactory(): _Scene.Marker; |
@@ -1,2 +0,2 @@ | ||
import type { AgBaseRadarSeriesOptions, AgRadarSeriesLabelFormatterParams, AgRadarSeriesTooltipRendererParams, AgRadialSeriesOptionsKeys, FillOptions, StrokeOptions } from 'ag-charts-community'; | ||
import type { AgBaseRadarSeriesOptions, AgRadarSeriesItemStylerParams, AgRadarSeriesLabelFormatterParams, AgRadarSeriesTooltipRendererParams, AgRadialSeriesOptionsKeys, FillOptions, StrokeOptions, Styler } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
@@ -27,9 +27,9 @@ export interface RadarNodeDatum extends _ModuleSupport.SeriesNodeDatum { | ||
lineDashOffset: number; | ||
formatter?: (params: AgRadarSeriesTooltipRendererParams) => AgRadarSeriesFormat; | ||
itemStyler?: Styler<AgRadarSeriesItemStylerParams<unknown>, AgRadarSeriesFormat>; | ||
rotation: number; | ||
readonly marker: _ModuleSupport.SeriesMarker<AgRadialSeriesOptionsKeys, RadarNodeDatum>; | ||
readonly marker: _ModuleSupport.SeriesMarker<AgRadialSeriesOptionsKeys>; | ||
readonly label: _Scene.Label<AgRadarSeriesLabelFormatterParams, any>; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgRadarSeriesTooltipRendererParams>; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgRadarSeriesTooltipRendererParams<any>>; | ||
connectMissingData: boolean; | ||
} | ||
export {}; |
export declare const RADAR_LINE_SERIES_THEME: { | ||
series: { | ||
__extends__: string; | ||
label: { | ||
@@ -33,3 +32,2 @@ enabled: boolean; | ||
series: { | ||
__extends__: string; | ||
label: { | ||
@@ -36,0 +34,0 @@ enabled: boolean; |
@@ -32,3 +32,3 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
protected readonly NodeEvent: typeof RadialBarSeriesNodeEvent; | ||
private groupScale; | ||
private readonly groupScale; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
@@ -55,3 +55,3 @@ protected nodeFactory(): _Scene.Sector; | ||
}): Promise<void>; | ||
protected updateSectorSelection(selection: _Scene.Selection<_Scene.Sector, RadialBarNodeDatum>, highlight: boolean): void; | ||
protected updateSectorSelection(selection: _Scene.Selection<_Scene.Sector, RadialBarNodeDatum>, highlighted: boolean): void; | ||
protected updateLabels(): void; | ||
@@ -62,2 +62,3 @@ private getBarTransitionFunctions; | ||
getTooltipHtml(nodeDatum: RadialBarNodeDatum): _ModuleSupport.TooltipContent; | ||
protected pickNodeClosestDatum(point: _Scene.Point): _ModuleSupport.SeriesNodePickMatch | undefined; | ||
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[]; | ||
@@ -68,4 +69,3 @@ onLegendItemClick(event: _ModuleSupport.LegendItemClickChartEvent): void; | ||
protected getStackId(): string; | ||
protected computeFocusBounds(opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import type { AgRadialBarSeriesOptions, AgRadialSeriesFormat, AgRadialSeriesFormatterParams, AgRadialSeriesLabelFormatterParams, AgRadialSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
import type { AgRadialBarSeriesOptions, AgRadialSeriesItemStylerParams, AgRadialSeriesLabelFormatterParams, AgRadialSeriesStyle, AgRadialSeriesTooltipRendererParams, Styler } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
@@ -17,3 +17,3 @@ declare const SeriesProperties: typeof _ModuleSupport.SeriesProperties; | ||
cornerRadius: number; | ||
formatter?: (params: AgRadialSeriesFormatterParams<any>) => AgRadialSeriesFormat; | ||
itemStyler?: Styler<AgRadialSeriesItemStylerParams<unknown>, AgRadialSeriesStyle>; | ||
rotation: number; | ||
@@ -23,4 +23,4 @@ stackGroup?: string; | ||
readonly label: _Scene.Label<AgRadialSeriesLabelFormatterParams, any>; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgRadialSeriesTooltipRendererParams>; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgRadialSeriesTooltipRendererParams<any>>; | ||
} | ||
export {}; |
export declare const RADIAL_BAR_SERIES_THEME: { | ||
series: { | ||
__extends__: string; | ||
strokeWidth: number; | ||
@@ -5,0 +4,0 @@ label: { |
@@ -25,3 +25,3 @@ import { _Scene } from 'ag-charts-community'; | ||
clipSector: _Scene.SectorBox; | ||
phase: "end" | "initial" | "none" | "update" | "trailing" | "remove" | "add"; | ||
phase: "end" | "initial" | "update" | "none" | "trailing" | "remove" | "add"; | ||
}; | ||
@@ -28,0 +28,0 @@ }; |
@@ -30,3 +30,3 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
endAngle: number; | ||
phase: "end" | "initial" | "none" | "update" | "trailing" | "remove" | "add"; | ||
phase: "end" | "initial" | "update" | "none" | "trailing" | "remove" | "add"; | ||
}; | ||
@@ -33,0 +33,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
import type { AgRadialSeriesFormat } from 'ag-charts-community'; | ||
import type { AgRadialSeriesStyle } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
@@ -34,3 +34,3 @@ import type { RadialColumnSeriesBaseProperties } from './radialColumnSeriesBaseProperties'; | ||
protected readonly NodeEvent: typeof RadialColumnSeriesNodeEvent; | ||
private groupScale; | ||
private readonly groupScale; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext, { animationResetFns, }: { | ||
@@ -63,4 +63,4 @@ animationResetFns?: { | ||
}): Promise<void>; | ||
protected abstract updateItemPath(node: ItemPathType, datum: RadialColumnNodeDatum, highlight: boolean, format: AgRadialSeriesFormat | undefined): void; | ||
protected updateSectorSelection(selection: _Scene.Selection<ItemPathType, RadialColumnNodeDatum>, highlight: boolean): void; | ||
protected abstract updateItemPath(node: ItemPathType, datum: RadialColumnNodeDatum, highlight: boolean, format: AgRadialSeriesStyle | undefined): void; | ||
protected updateSectorSelection(selection: _Scene.Selection<ItemPathType, RadialColumnNodeDatum>, highlighted: boolean): void; | ||
protected updateLabels(): void; | ||
@@ -79,4 +79,3 @@ protected abstract getColumnTransitionFunctions(): { | ||
computeLabelsBBox(): null; | ||
protected computeFocusBounds(opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import type { AgBaseRadialColumnSeriesOptions, AgRadialSeriesFormat, AgRadialSeriesFormatterParams, AgRadialSeriesLabelFormatterParams, AgRadialSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
import type { AgBaseRadialColumnSeriesOptions, AgRadialSeriesItemStylerParams, AgRadialSeriesLabelFormatterParams, AgRadialSeriesStyle, AgRadialSeriesTooltipRendererParams, Styler } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
@@ -16,3 +16,4 @@ declare const SeriesProperties: typeof _ModuleSupport.SeriesProperties; | ||
lineDashOffset: number; | ||
formatter?: (params: AgRadialSeriesFormatterParams<any>) => AgRadialSeriesFormat; | ||
cornerRadius: number; | ||
itemStyler?: Styler<AgRadialSeriesItemStylerParams<unknown>, AgRadialSeriesStyle>; | ||
rotation: number; | ||
@@ -22,4 +23,4 @@ stackGroup?: string; | ||
readonly label: _Scene.Label<AgRadialSeriesLabelFormatterParams, any>; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgRadialSeriesTooltipRendererParams>; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgRadialSeriesTooltipRendererParams<any>>; | ||
} | ||
export {}; |
import { _Theme } from 'ag-charts-community'; | ||
export declare const RADIAL_COLUMN_SERIES_THEME: { | ||
series: { | ||
__extends__: string; | ||
columnWidthRatio: number; | ||
@@ -6,0 +5,0 @@ maxColumnWidthRatio: number; |
@@ -46,3 +46,3 @@ import { _Scene } from 'ag-charts-community'; | ||
endAngle: number; | ||
phase: "end" | "initial" | "none" | "update" | "trailing" | "remove" | "add"; | ||
phase: "end" | "initial" | "update" | "none" | "trailing" | "remove" | "add"; | ||
}; | ||
@@ -49,0 +49,0 @@ }; |
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { RangeAreaMarkerDatum, RangeAreaProperties } from './rangeAreaProperties'; | ||
import { type RangeAreaMarkerDatum, RangeAreaProperties } from './rangeAreaProperties'; | ||
type RangeAreaLabelDatum = Readonly<_Scene.Point> & { | ||
@@ -23,5 +23,7 @@ text: string; | ||
size: number; | ||
enabled: boolean; | ||
}; | ||
type RadarAreaPathDatum = { | ||
readonly points: RadarAreaPoint[]; | ||
readonly highPoints: RadarAreaPoint[]; | ||
readonly lowPoints: RadarAreaPoint[]; | ||
readonly itemId: string; | ||
@@ -28,0 +30,0 @@ }; |
@@ -10,2 +10,3 @@ import type { AgRangeAreaSeriesLabelFormatterParams, AgRangeAreaSeriesLabelPlacement, AgRangeAreaSeriesOptions, AgRangeAreaSeriesOptionsKeys, AgRangeAreaSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
readonly point: Readonly<_Scene.SizedPoint>; | ||
readonly enabled: boolean; | ||
} | ||
@@ -33,4 +34,5 @@ declare const Label: typeof _Scene.Label; | ||
lineDashOffset: number; | ||
interpolation: _ModuleSupport.InterpolationProperties; | ||
readonly shadow: _Scene.DropShadow; | ||
readonly marker: _ModuleSupport.SeriesMarker<AgRangeAreaSeriesOptionsKeys, RangeAreaMarkerDatum>; | ||
readonly marker: _ModuleSupport.SeriesMarker<AgRangeAreaSeriesOptionsKeys>; | ||
readonly label: RangeAreaSeriesLabel; | ||
@@ -37,0 +39,0 @@ readonly tooltip: _ModuleSupport.SeriesTooltip<AgRangeAreaSeriesTooltipRendererParams>; |
@@ -1,31 +0,5 @@ | ||
import { type InteractionRange } from 'ag-charts-community'; | ||
import { type AgRangeAreaSeriesThemeableOptions } from 'ag-charts-community'; | ||
export declare const RANGE_AREA_SERIES_THEME: { | ||
series: { | ||
__extends__: string; | ||
fillOpacity: number; | ||
nodeClickRange: InteractionRange; | ||
marker: { | ||
__extends__: string; | ||
enabled: boolean; | ||
fillOpacity: number; | ||
strokeWidth: number; | ||
size: number; | ||
}; | ||
label: { | ||
enabled: boolean; | ||
placement: string; | ||
padding: number; | ||
fontSize: number; | ||
fontFamily: string; | ||
color: string; | ||
}; | ||
}; | ||
axes: { | ||
number: { | ||
crosshair: { | ||
enabled: boolean; | ||
snap: boolean; | ||
}; | ||
}; | ||
}; | ||
series: AgRangeAreaSeriesThemeableOptions; | ||
axes: any; | ||
}; |
@@ -1,2 +0,2 @@ | ||
import type { AgRangeBarSeriesFormat, AgRangeBarSeriesFormatterParams, AgRangeBarSeriesLabelFormatterParams, AgRangeBarSeriesLabelPlacement, AgRangeBarSeriesOptions, AgRangeBarSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
import type { AgRangeBarSeriesItemStylerParams, AgRangeBarSeriesLabelFormatterParams, AgRangeBarSeriesLabelPlacement, AgRangeBarSeriesOptions, AgRangeBarSeriesStyle, AgRangeBarSeriesTooltipRendererParams, Styler } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
@@ -25,7 +25,7 @@ declare const Label: typeof _Scene.Label; | ||
cornerRadius: number; | ||
formatter?: (params: AgRangeBarSeriesFormatterParams<any>) => AgRangeBarSeriesFormat; | ||
itemStyler?: Styler<AgRangeBarSeriesItemStylerParams<unknown>, AgRangeBarSeriesStyle>; | ||
readonly shadow: _Scene.DropShadow; | ||
readonly label: RangeBarSeriesLabel; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgRangeBarSeriesTooltipRendererParams>; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgRangeBarSeriesTooltipRendererParams<unknown>>; | ||
} | ||
export {}; |
export declare const RANGE_BAR_SERIES_THEME: { | ||
series: { | ||
__extends__: string; | ||
direction: "vertical"; | ||
@@ -18,3 +17,2 @@ strokeWidth: number; | ||
enabled: boolean; | ||
snap: boolean; | ||
}; | ||
@@ -21,0 +19,0 @@ }; |
@@ -8,3 +8,3 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
groupSelection: _Scene.Selection<_Scene.Group, any>; | ||
private highlightSelection; | ||
private readonly highlightSelection; | ||
private angleData; | ||
@@ -20,2 +20,3 @@ private labelData?; | ||
protected animateEmptyUpdateReady({ datumSelections, }: _ModuleSupport.HierarchyAnimationData<_Scene.Group, _ModuleSupport.SeriesNodeDatum>): void; | ||
protected computeFocusBounds(nodeDatum: _ModuleSupport.HierarchyNode<_ModuleSupport.SeriesNodeDatum>): _Scene.Path | undefined; | ||
} |
@@ -1,2 +0,2 @@ | ||
import type { AgSunburstSeriesFormatterParams, AgSunburstSeriesLabelFormatterParams, AgSunburstSeriesOptions, AgSunburstSeriesStyle, AgSunburstSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
import type { AgSunburstSeriesItemStylerParams, AgSunburstSeriesLabelFormatterParams, AgSunburstSeriesOptions, AgSunburstSeriesStyle, AgSunburstSeriesTooltipRendererParams, Styler } from 'ag-charts-community'; | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
@@ -24,3 +24,3 @@ import { AutoSizeableSecondaryLabel, AutoSizedLabel } from '../util/labelFormatter'; | ||
padding?: number; | ||
formatter?: (params: AgSunburstSeriesFormatterParams) => AgSunburstSeriesStyle; | ||
itemStyler?: Styler<AgSunburstSeriesItemStylerParams<unknown>, AgSunburstSeriesStyle>; | ||
highlightStyle: SunburstSeriesTileHighlightStyle; | ||
@@ -27,0 +27,0 @@ readonly label: AutoSizedLabel<AgSunburstSeriesLabelFormatterParams<any>>; |
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { TreemapSeriesProperties } from './treemapSeriesProperties'; | ||
declare class DistantGroup extends _Scene.Group implements _Scene.DistantObject { | ||
declare class DistantGroup extends _Scene.Group implements _ModuleSupport.DistantObject { | ||
distanceSquared(x: number, y: number): number; | ||
@@ -11,3 +11,3 @@ } | ||
groupSelection: _Scene.Selection<DistantGroup, any>; | ||
private highlightSelection; | ||
private readonly highlightSelection; | ||
private labelData?; | ||
@@ -17,2 +17,3 @@ private groupTitleHeight; | ||
processData(): Promise<void>; | ||
private sortChildren; | ||
/** | ||
@@ -33,3 +34,6 @@ * Squarified Treemap algorithm | ||
getTooltipHtml(node: _ModuleSupport.HierarchyNode): _ModuleSupport.TooltipContent; | ||
private focusSorted?; | ||
pickFocus(opts: _ModuleSupport.PickFocusInputs): _ModuleSupport.PickFocusOutputs | undefined; | ||
protected computeFocusBounds(node: _ModuleSupport.HierarchyNode<_ModuleSupport.SeriesNodeDatum>): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import type { AgTreemapSeriesFormatterParams, AgTreemapSeriesLabelFormatterParams, AgTreemapSeriesOptions, AgTreemapSeriesStyle, AgTreemapSeriesTooltipRendererParams, TextAlign, VerticalAlign } from 'ag-charts-community'; | ||
import type { AgTreemapSeriesItemStylerParams, AgTreemapSeriesLabelFormatterParams, AgTreemapSeriesOptions, AgTreemapSeriesStyle, AgTreemapSeriesTooltipRendererParams, Styler, TextAlign, VerticalAlign } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
@@ -61,3 +61,3 @@ import { AutoSizeableSecondaryLabel, AutoSizedLabel } from '../util/labelFormatter'; | ||
secondaryLabelKey?: string; | ||
formatter?: (params: AgTreemapSeriesFormatterParams) => AgTreemapSeriesStyle; | ||
itemStyler?: Styler<AgTreemapSeriesItemStylerParams<unknown>, AgTreemapSeriesStyle>; | ||
readonly highlightStyle: TreemapSeriesHighlightStyle; | ||
@@ -64,0 +64,0 @@ readonly tooltip: _ModuleSupport.SeriesTooltip<AgTreemapSeriesTooltipRendererParams<any>>; |
@@ -35,3 +35,3 @@ import type { AgWaterfallSeriesItemType } from 'ag-charts-community'; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
private seriesItemTypes; | ||
private readonly seriesItemTypes; | ||
processData(dataController: _ModuleSupport.DataController): Promise<void>; | ||
@@ -38,0 +38,0 @@ getSeriesDomain(direction: _ModuleSupport.ChartAxisDirection): any[]; |
@@ -1,2 +0,2 @@ | ||
import type { AgTooltipRendererResult, AgWaterfallSeriesFormat, AgWaterfallSeriesFormatterParams, AgWaterfallSeriesLabelFormatterParams, AgWaterfallSeriesLabelPlacement, AgWaterfallSeriesOptions, AgWaterfallSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
import type { AgTooltipRendererResult, AgWaterfallSeriesItemStylerParams, AgWaterfallSeriesLabelFormatterParams, AgWaterfallSeriesLabelPlacement, AgWaterfallSeriesOptions, AgWaterfallSeriesStyle, AgWaterfallSeriesTooltipRendererParams, Styler } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
@@ -27,3 +27,3 @@ declare const Label: typeof _Scene.Label; | ||
cornerRadius: number; | ||
formatter?: (params: AgWaterfallSeriesFormatterParams<any>) => AgWaterfallSeriesFormat; | ||
itemStyler?: Styler<AgWaterfallSeriesItemStylerParams<unknown>, AgWaterfallSeriesStyle>; | ||
readonly shadow: _Scene.DropShadow; | ||
@@ -30,0 +30,0 @@ readonly label: WaterfallSeriesLabel; |
import { _Theme } from 'ag-charts-community'; | ||
export declare const WATERFALL_SERIES_THEME: { | ||
series: { | ||
__extends__: string; | ||
item: { | ||
@@ -56,6 +55,4 @@ positive: { | ||
enabled: boolean; | ||
item: { | ||
toggleSeriesVisible: boolean; | ||
}; | ||
toggleSeries: boolean; | ||
}; | ||
}; |
{ | ||
"name": "ag-charts-enterprise", | ||
"version": "9.3.1", | ||
"version": "10.0.0", | ||
"description": "Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue", | ||
@@ -59,3 +59,3 @@ "main": "./dist/package/main.cjs.js", | ||
"@typescript-eslint/parser": "^5.51.0", | ||
"ag-charts-community": "9.3.1", | ||
"ag-charts-community": "10.0.0", | ||
"canvas": "^2.10.2", | ||
@@ -70,2 +70,3 @@ "del": "^6.0.0", | ||
"jest-serial-runner": "^1.2.1", | ||
"jest-text-transformer": "^1.0.4", | ||
"madge": "6.0.0", | ||
@@ -77,6 +78,6 @@ "npm-run-all": "^4.1.5", | ||
"ts-jest": "^29.1.0", | ||
"typescript": "~4.3.5" | ||
"typescript": "^5.4.5" | ||
}, | ||
"dependencies": { | ||
"ag-charts-community": "9.3.1" | ||
"ag-charts-community": "10.0.0" | ||
}, | ||
@@ -83,0 +84,0 @@ "publishConfig": { |
@@ -63,2 +63,3 @@ <picture><source media="(prefers-color-scheme: dark)" srcset="./.github/banner-dark.png"><source media="(prefers-color-scheme: light)" srcset="./.github/banner-light.png"><img alt="AG Charts canvas-based charting trusted by the community, built for enterprise." src="./.github/banner-light.png"></picture> | ||
<a href="https://charts.ag-grid.com/javascript/animation/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Animation</a>*<br/> | ||
<a href="https://charts.ag-grid.com/javascript/accessibility/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Accessibility</a><br/> | ||
<a href="https://charts.ag-grid.com/javascript/sync/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Synchronized Charts</a>*<br/> | ||
@@ -65,0 +66,0 @@ <a href="https://charts.ag-grid.com/javascript/context-menu/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Context Menu</a>*<br/> |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6793248
243
131046
113
26
8
+ Addedag-charts-community@10.0.0(transitive)
+ Addedag-charts-locale@10.0.0(transitive)
+ Addedag-charts-types@10.0.0(transitive)
- Removedag-charts-community@9.3.1(transitive)
Updatedag-charts-community@10.0.0