ag-charts-enterprise
Advanced tools
Comparing version 9.2.0 to 9.3.0
@@ -7,2 +7,6 @@ import { beforeEach, describe } from '@jest/globals'; | ||
const EXPECTATIONS = { | ||
expectedMaxMemoryMB: 270, | ||
}; | ||
/** Placeholder tests until we have real tests for Enterprise. */ | ||
@@ -12,3 +16,3 @@ describe('multi-series benchmark', () => { | ||
benchmark('initial load', ctx, async () => { | ||
benchmark('initial load', ctx, EXPECTATIONS, async () => { | ||
await ctx.create(); | ||
@@ -22,3 +26,3 @@ }); | ||
benchmark('1x legend toggle', ctx, async () => { | ||
benchmark('1x legend toggle', ctx, EXPECTATIONS, async () => { | ||
ctx.options.series![0].visible = false; | ||
@@ -31,3 +35,3 @@ await ctx.update(); | ||
benchmark('10x legend toggle', ctx, async () => { | ||
benchmark('10x legend toggle', ctx, EXPECTATIONS, async () => { | ||
for (let i = 0; i < 5; i++) { | ||
@@ -34,0 +38,0 @@ for (const visible of [false, true]) { |
@@ -10,2 +10,3 @@ import { _ModuleSupport, _Scale } from 'ag-charts-community'; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
protected createTick(): _ModuleSupport.AxisTick<_Scale.BandScale<string, number>, any, any>; | ||
protected generateAngleTicks(): { | ||
@@ -12,0 +13,0 @@ value: any; |
@@ -6,2 +6,3 @@ import { _ModuleSupport } from 'ag-charts-community'; | ||
declare class AngleNumberAxisTick extends _ModuleSupport.AxisTick<LinearAngleScale, number> { | ||
minSpacing: number; | ||
maxSpacing: number; | ||
@@ -8,0 +9,0 @@ } |
@@ -1,6 +0,11 @@ | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
export declare class OrdinalTimeAxis extends _ModuleSupport.CategoryAxis<_Scene.OrdinalTimeScale> { | ||
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> { | ||
static readonly className: "OrdinalTimeAxis"; | ||
static readonly type: "ordinal-time"; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
protected createTick(): OrdinalTimeAxisTick; | ||
normaliseDataDomain(d: Date[]): { | ||
@@ -10,3 +15,4 @@ domain: Date[]; | ||
}; | ||
protected onLabelFormatChange(ticks: any[], format?: string): void; | ||
protected onLabelFormatChange(ticks: any[], domain: any[], format?: string): void; | ||
} | ||
export {}; |
@@ -11,2 +11,14 @@ export declare const ORDINAL_TIME_AXIS_THEME: { | ||
}; | ||
crosshair: { | ||
enabled: boolean; | ||
snap: boolean; | ||
stroke: string; | ||
strokeWidth: number; | ||
strokeOpacity: number; | ||
lineDash: number[]; | ||
lineDashOffset: number; | ||
label: { | ||
enabled: boolean; | ||
}; | ||
}; | ||
}; |
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; | ||
@@ -5,0 +6,0 @@ } |
@@ -1,9 +0,18 @@ | ||
import type { AgZoomAnchorPoint } from 'ag-charts-community'; | ||
import type { AgToolbarGroupAlignment, AgToolbarGroupPosition, AgToolbarZoomButton, AgZoomAnchorPoint, AgZoomButtons } from 'ag-charts-community'; | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
import { ZoomRange } from './zoomRange'; | ||
import { ZoomRatio } from './zoomRatio'; | ||
declare class ZoomButtonsProperties extends _ModuleSupport.BaseProperties<AgZoomButtons> { | ||
private readonly onChange; | ||
enabled?: boolean; | ||
buttons?: Array<AgToolbarZoomButton>; | ||
position?: AgToolbarGroupPosition; | ||
align?: AgToolbarGroupAlignment; | ||
constructor(onChange: () => void); | ||
} | ||
export declare class Zoom extends _ModuleSupport.BaseModuleInstance implements _ModuleSupport.ModuleInstance { | ||
readonly ctx: _ModuleSupport.ModuleContext; | ||
private readonly ctx; | ||
enabled: boolean; | ||
enableAxisDragging: boolean; | ||
buttons: ZoomButtonsProperties; | ||
enableDoubleClickToReset: boolean; | ||
@@ -24,13 +33,6 @@ enablePanning: boolean; | ||
ratioY: ZoomRatio; | ||
private readonly scene; | ||
private seriesRect?; | ||
private paddedRect?; | ||
private readonly cursorManager; | ||
private readonly highlightManager; | ||
private readonly tooltipManager; | ||
private readonly updateService; | ||
private readonly zoomManager; | ||
private readonly contextMenuRegistry; | ||
private readonly toolbarManager; | ||
private readonly axisDragger; | ||
private readonly contextMenu; | ||
private readonly panner; | ||
@@ -40,2 +42,4 @@ private readonly selector; | ||
private readonly scrollPanner; | ||
private readonly toolbar; | ||
deceleration: number; | ||
private dragState; | ||
@@ -46,8 +50,5 @@ private hoveredAxis?; | ||
private minRatioY; | ||
private enableSecondaryAxis; | ||
constructor(ctx: _ModuleSupport.ModuleContext); | ||
private registerContextMenuActions; | ||
private addToolbarButtons; | ||
private removeToolbarButtons; | ||
private toggleContextMenuActions; | ||
private onEnabledChange; | ||
private onZoomButtonsChange; | ||
private onRangeChange; | ||
@@ -63,8 +64,7 @@ private onRatioChange; | ||
private onPinchMove; | ||
private onToolbarButtonPress; | ||
private onLayoutComplete; | ||
private onUpdateComplete; | ||
private onContextMenuZoomToHere; | ||
private onContextMenuPanToHere; | ||
private onZoomChange; | ||
private onZoomPanStart; | ||
private onPanUpdate; | ||
private isPanningKeyPressed; | ||
@@ -76,5 +76,8 @@ private isScalingX; | ||
private isMinZoom; | ||
private isMaxZoom; | ||
private updateZoom; | ||
private updateAxisZoom; | ||
private getZoom; | ||
private getResetZoom; | ||
private getModuleProperties; | ||
} | ||
export {}; |
@@ -6,3 +6,3 @@ import type { AgZoomAnchorPoint, _Scene } from 'ag-charts-community'; | ||
private oldZoom?; | ||
update(event: _ModuleSupport.InteractionEvent<'drag'>, direction: _ModuleSupport.ChartAxisDirection, anchor: AgZoomAnchorPoint, bbox: _Scene.BBox, zoom?: _ModuleSupport.AxisZoomState, axisZoom?: _ModuleSupport.ZoomState): _ModuleSupport.ZoomState; | ||
update(event: _ModuleSupport.PointerInteractionEvent<'drag'>, direction: _ModuleSupport.ChartAxisDirection, anchor: AgZoomAnchorPoint, bbox: _Scene.BBox, zoom?: _ModuleSupport.AxisZoomState, axisZoom?: _ModuleSupport.ZoomState): _ModuleSupport.ZoomState; | ||
stop(): void; | ||
@@ -9,0 +9,0 @@ private updateCoords; |
import type { _Scene } from 'ag-charts-community'; | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
import type { AxisZoomStates } from './zoomTypes'; | ||
export interface ZoomPanUpdate { | ||
type: 'update'; | ||
deltaX: number; | ||
deltaY: number; | ||
} | ||
export declare class ZoomPanner { | ||
deceleration: number; | ||
private onUpdate; | ||
private coords?; | ||
update(event: _ModuleSupport.InteractionEvent<'drag'>, bbox: _Scene.BBox, zooms: AxisZoomStates): AxisZoomStates; | ||
private coordsMonitorTimeout; | ||
private zoomCoordsHistoryIndex; | ||
private coordsHistory; | ||
private inertiaHandle; | ||
addListener(_type: 'update', fn: (e: ZoomPanUpdate) => void): () => void; | ||
stopInteractions(): void; | ||
update(event: _ModuleSupport.PointerInteractionEvent<'drag'>): void; | ||
start(): void; | ||
stop(): void; | ||
private recordCurrentZoomCoords; | ||
private animateInertia; | ||
private updateCoords; | ||
private translateZooms; | ||
translateZooms(bbox: _Scene.BBox, currentZooms: AxisZoomStates, deltaX: number, deltaY: number): AxisZoomStates; | ||
} |
@@ -23,2 +23,3 @@ import { _ModuleSupport } from 'ag-charts-community'; | ||
extendWith(fn: (end: Date | number) => Date | number): void; | ||
updateWith(fn: (start: Date | number, end: Date | number) => [Date | number, Date | number]): void; | ||
extendAll(): void; | ||
@@ -25,0 +26,0 @@ updateAxis(axes: Array<_ModuleSupport.AxisLayout>): boolean; |
@@ -1,6 +0,6 @@ | ||
import type { AgZoomAnchorPoint, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import type { DefinedZoomState } from './zoomTypes'; | ||
import type { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import type { DefinedZoomState, ZoomProperties } from './zoomTypes'; | ||
export declare class ZoomScroller { | ||
update(event: _ModuleSupport.InteractionEvent<'wheel'>, step: number, anchorPointX: AgZoomAnchorPoint, anchorPointY: AgZoomAnchorPoint, isScalingX: boolean, isScalingY: boolean, bbox: _Scene.BBox, currentZoom?: _ModuleSupport.AxisZoomState): DefinedZoomState; | ||
update(event: _ModuleSupport.PointerInteractionEvent<'wheel'>, props: ZoomProperties, bbox: _Scene.BBox, oldZoom: DefinedZoomState): DefinedZoomState; | ||
private scaleZoomToPointer; | ||
} |
@@ -5,4 +5,4 @@ import type { _Scene } from 'ag-charts-community'; | ||
export declare class ZoomScrollPanner { | ||
update(event: _ModuleSupport.InteractionEvent<'wheel'>, step: number, bbox: _Scene.BBox, zooms: AxisZoomStates): AxisZoomStates; | ||
update(event: _ModuleSupport.PointerInteractionEvent<'wheel'>, step: number, bbox: _Scene.BBox, zooms: AxisZoomStates): AxisZoomStates; | ||
private translateZooms; | ||
} |
import type { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import type { ZoomRect } from './scenes/zoomRect'; | ||
import type { DefinedZoomState } from './zoomTypes'; | ||
import type { DefinedZoomState, ZoomProperties } from './zoomTypes'; | ||
export declare class ZoomSelector { | ||
@@ -8,3 +8,3 @@ private rect; | ||
constructor(rect: ZoomRect); | ||
update(event: _ModuleSupport.InteractionEvent<'drag' | 'hover'>, minRatioX: number, minRatioY: number, isScalingX: boolean, isScalingY: boolean, bbox?: _Scene.BBox, currentZoom?: _ModuleSupport.AxisZoomState): void; | ||
update(event: _ModuleSupport.PointerInteractionEvent<'drag' | 'hover'>, props: ZoomProperties, bbox?: _Scene.BBox, currentZoom?: _ModuleSupport.AxisZoomState): void; | ||
stop(innerBBox?: _Scene.BBox, bbox?: _Scene.BBox, currentZoom?: _ModuleSupport.AxisZoomState): DefinedZoomState; | ||
@@ -11,0 +11,0 @@ reset(): void; |
@@ -1,2 +0,3 @@ | ||
import type { _ModuleSupport } from 'ag-charts-community'; | ||
import type { AgZoomAnchorPoint, _ModuleSupport } from 'ag-charts-community'; | ||
import type { ZoomRange } from './zoomRange'; | ||
export interface DefinedZoomState extends _ModuleSupport.AxisZoomState { | ||
@@ -16,1 +17,12 @@ x: _ModuleSupport.ZoomState; | ||
}>; | ||
export interface ZoomProperties { | ||
anchorPointX: AgZoomAnchorPoint; | ||
anchorPointY: AgZoomAnchorPoint; | ||
enabled: boolean; | ||
isScalingX: boolean; | ||
isScalingY: boolean; | ||
minRatioX: number; | ||
minRatioY: number; | ||
rangeX: ZoomRange; | ||
scrollingStep: number; | ||
} |
@@ -7,5 +7,9 @@ import { AgZoomAnchorPoint, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
}; | ||
export declare const DEFAULT_ANCHOR_POINT_X: AgZoomAnchorPoint; | ||
export declare const DEFAULT_ANCHOR_POINT_Y: AgZoomAnchorPoint; | ||
export declare function unitZoomState(): DefinedZoomState; | ||
export declare function dx(zoom: DefinedZoomState): number; | ||
export declare function dy(zoom: DefinedZoomState): number; | ||
export declare function isZoomEqual(left: DefinedZoomState, right: DefinedZoomState, epsilon?: number): boolean; | ||
export declare function isZoomLess(zoom: DefinedZoomState, minRatioX: number, minRatioY: number): boolean; | ||
export declare function definedZoomState(zoom?: _ModuleSupport.AxisZoomState): DefinedZoomState; | ||
@@ -12,0 +16,0 @@ /** |
@@ -5,2 +5,3 @@ import { type AgChartLegendPosition, type AgGradientLegendIntervalOptions, type AgGradientLegendLabelOptions, type AgGradientLegendScaleOptions, _ModuleSupport, _Scale, _Scene } from 'ag-charts-community'; | ||
size: number; | ||
minSpacing: number; | ||
maxSpacing: number; | ||
@@ -12,3 +13,2 @@ } | ||
calculateDomain(): void; | ||
formatDatum(datum: number): string; | ||
protected createTick(): GradientLegendAxisTick; | ||
@@ -15,0 +15,0 @@ } |
@@ -5,6 +5,11 @@ import type { AgBoxPlotSeriesStyles } from 'ag-charts-community'; | ||
declare const Group: typeof _Scene.Group; | ||
export declare class BoxPlotGroup extends Group { | ||
export declare class BoxPlotGroup extends Group implements _Scene.DistantObject { | ||
constructor(); | ||
updateDatumStyles(datum: BoxPlotNodeDatum, activeStyles: _ModuleSupport.DeepRequired<AgBoxPlotSeriesStyles>, isVertical: boolean, isReversedValueAxis: boolean | undefined, cornerRadius: number): void; | ||
distanceSquared(x: number, y: number): number; | ||
get midPoint(): { | ||
x: number; | ||
y: number; | ||
}; | ||
} | ||
export {}; |
@@ -12,3 +12,3 @@ import { type AgBoxPlotSeriesStyles, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
readonly maxKey?: string; | ||
constructor(type: TEvent, nativeEvent: MouseEvent, datum: BoxPlotNodeDatum, series: BoxPlotSeries); | ||
constructor(type: TEvent, nativeEvent: Event, datum: BoxPlotNodeDatum, series: BoxPlotSeries); | ||
} | ||
@@ -32,6 +32,6 @@ export declare class BoxPlotSeries extends _ModuleSupport.AbstractBarSeries<BoxPlotGroup, BoxPlotSeriesProperties, BoxPlotNodeDatum> { | ||
visible: boolean; | ||
}[]>; | ||
} | undefined>; | ||
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[]; | ||
getTooltipHtml(nodeDatum: BoxPlotNodeDatum): string; | ||
protected animateEmptyUpdateReady({ datumSelections, }: _ModuleSupport.CartesianAnimationData<BoxPlotGroup, BoxPlotNodeDatum>): void; | ||
getTooltipHtml(nodeDatum: BoxPlotNodeDatum): _ModuleSupport.TooltipContent; | ||
protected animateEmptyUpdateReady({ datumSelection, }: _ModuleSupport.CartesianAnimationData<BoxPlotGroup, BoxPlotNodeDatum>): void; | ||
protected isLabelEnabled(): boolean; | ||
@@ -58,3 +58,4 @@ protected updateDatumSelection(opts: { | ||
getFormattedStyles(nodeDatum: BoxPlotNodeDatum, highlighted?: boolean): AgBoxPlotSeriesStyles; | ||
protected computeFocusBounds({ datumIndex, seriesRect }: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -40,4 +40,4 @@ import type { AgBoxPlotSeriesFormatterParams, AgBoxPlotSeriesOptions, AgBoxPlotSeriesStyles, AgBoxPlotSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgBoxPlotSeriesTooltipRendererParams>; | ||
toJson(): Record<string, any>; | ||
toJson(): AgBoxPlotSeriesOptions<any>; | ||
} | ||
export {}; |
@@ -16,2 +16,8 @@ import type { FillOptions, LineDashOptions, Ratio, StrokeOptions, _ModuleSupport } from 'ag-charts-community'; | ||
readonly whisker: Readonly<StrokeOptions & LineDashOptions>; | ||
readonly focusRect: { | ||
x: number; | ||
y: number; | ||
width: number; | ||
height: number; | ||
}; | ||
} |
@@ -10,3 +10,3 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
readonly opacity: number; | ||
readonly cornerRadiusBbox?: _Scene.BBox; | ||
readonly clipBBox?: _Scene.BBox; | ||
readonly target?: { | ||
@@ -37,6 +37,6 @@ readonly value: number; | ||
getKeys(direction: _ModuleSupport.ChartAxisDirection): string[]; | ||
createNodeData(): Promise<_ModuleSupport.CartesianSeriesNodeDataContext<BulletNodeDatum, BulletNodeDatum>[]>; | ||
createNodeData(): Promise<_ModuleSupport.CartesianSeriesNodeDataContext<BulletNodeDatum, BulletNodeDatum> | undefined>; | ||
private getColorRanges; | ||
getLegendData(_legendType: _ModuleSupport.ChartLegendType): never[]; | ||
getTooltipHtml(nodeDatum: BulletNodeDatum): string; | ||
getTooltipHtml(nodeDatum: BulletNodeDatum): _ModuleSupport.TooltipContent; | ||
protected isLabelEnabled(): boolean; | ||
@@ -63,3 +63,4 @@ protected nodeFactory(): _Scene.Rect; | ||
animateWaitingUpdateReady(data: BulletAnimationData): void; | ||
protected computeFocusBounds({ datumIndex, seriesRect }: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -0,13 +1,30 @@ | ||
import type { AgCandlestickSeriesItemOptions } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import type { AgCandlestickSeriesItemOptions } from 'ag-charts-community/src/options/next'; | ||
import type { CandlestickNodeDatum } from './candlestickTypes'; | ||
export declare enum GroupTags { | ||
Rect = 0, | ||
Outline = 1, | ||
Wick = 2 | ||
Body = 0, | ||
LowWick = 1, | ||
HighWick = 2 | ||
} | ||
export type ActiveCandlestickGroupStyles = AgCandlestickSeriesItemOptions; | ||
export declare class CandlestickGroup extends _Scene.Group { | ||
export declare abstract class CandlestickBaseGroup<TNodeDatum, TStyles> extends _Scene.Group implements _ModuleSupport.QuadtreeCompatibleNode { | ||
abstract updateDatumStyles(datum: TNodeDatum, activeStyles: TStyles): void; | ||
abstract updateCoordinates(): void; | ||
x: number; | ||
y: number; | ||
yBottom: number; | ||
yHigh: number; | ||
yLow: number; | ||
width: number; | ||
height: number; | ||
distanceSquared(x: number, y: number): number; | ||
get midPoint(): { | ||
x: number; | ||
y: number; | ||
}; | ||
render(renderCtx: _Scene.RenderContext): void; | ||
} | ||
export declare class CandlestickGroup extends CandlestickBaseGroup<CandlestickNodeDatum, AgCandlestickSeriesItemOptions> { | ||
constructor(); | ||
updateDatumStyles(datum: CandlestickNodeDatum, activeStyles: _ModuleSupport.DeepRequired<ActiveCandlestickGroupStyles>): void; | ||
updateCoordinates(): void; | ||
updateDatumStyles(datum: CandlestickNodeDatum, activeStyles: AgCandlestickSeriesItemOptions): void; | ||
} |
@@ -1,24 +0,49 @@ | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { ActiveCandlestickGroupStyles, CandlestickGroup } from './candlestickGroup'; | ||
import { AgCandlestickSeriesBaseFormatterParams, AgCandlestickSeriesFormatterParams, AgCandlestickSeriesItemOptions, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { CandlestickGroup } from './candlestickGroup'; | ||
import { CandlestickSeriesBase } from './candlestickSeriesBase'; | ||
import { CandlestickSeriesProperties } from './candlestickSeriesProperties'; | ||
import type { CandlestickNodeDatum } from './candlestickTypes'; | ||
declare class CandlestickSeriesNodeEvent<TEvent extends string = _ModuleSupport.SeriesNodeEventTypes> extends _ModuleSupport.SeriesNodeEvent<CandlestickNodeDatum, TEvent> { | ||
readonly xKey?: string; | ||
readonly openKey?: string; | ||
readonly closeKey?: string; | ||
readonly highKey?: string; | ||
readonly lowKey?: string; | ||
constructor(type: TEvent, nativeEvent: MouseEvent, datum: CandlestickNodeDatum, series: CandlestickSeries); | ||
} | ||
export declare class CandlestickSeries extends _ModuleSupport.AbstractBarSeries<CandlestickGroup, CandlestickSeriesProperties, CandlestickNodeDatum> { | ||
export declare class CandlestickSeries extends CandlestickSeriesBase<CandlestickGroup, AgCandlestickSeriesItemOptions, CandlestickSeriesProperties, CandlestickNodeDatum, AgCandlestickSeriesFormatterParams<CandlestickNodeDatum>> { | ||
static readonly className = "CandleStickSeries"; | ||
static readonly type: "candlestick"; | ||
properties: CandlestickSeriesProperties; | ||
protected readonly NodeEvent: typeof CandlestickSeriesNodeEvent; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
processData(dataController: _ModuleSupport.DataController): Promise<void>; | ||
getSeriesDomain(direction: _ModuleSupport.ChartAxisDirection): any[]; | ||
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; | ||
bandwidth: number; | ||
openKey?: string | undefined; | ||
closeKey?: string | undefined; | ||
highKey?: string | undefined; | ||
lowKey?: string | undefined; | ||
openValue: number; | ||
closeValue: number; | ||
highValue?: number | undefined; | ||
lowValue?: number | undefined; | ||
aggregatedValue: number; | ||
scaledValues: { | ||
readonly xValue: number; | ||
readonly openValue: number; | ||
readonly closeValue: number; | ||
readonly highValue: number; | ||
readonly lowValue: number; | ||
}; | ||
series: _ModuleSupport.ISeries<any, any>; | ||
xKey: string; | ||
midPoint?: Readonly<_Scene.Point> | undefined; | ||
datum: any; | ||
missing?: boolean | undefined; | ||
xValue?: any; | ||
point?: Readonly<_Scene.SizedPoint> | undefined; | ||
}[]; | ||
itemId: string; | ||
nodeData: CandlestickNodeDatum[]; | ||
labelData: never[]; | ||
@@ -30,31 +55,8 @@ scales: { | ||
visible: boolean; | ||
}[]>; | ||
private getSeriesItemType; | ||
private getItemConfig; | ||
getLegendData(_legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[]; | ||
getTooltipHtml(nodeDatum: CandlestickNodeDatum): string; | ||
protected animateEmptyUpdateReady({ datumSelections, }: _ModuleSupport.CartesianAnimationData<CandlestickGroup, CandlestickNodeDatum>): void; | ||
protected isVertical(): boolean; | ||
protected isLabelEnabled(): boolean; | ||
protected updateDatumSelection(opts: { | ||
nodeData: CandlestickNodeDatum[]; | ||
datumSelection: _Scene.Selection<CandlestickGroup, CandlestickNodeDatum>; | ||
seriesIdx: number; | ||
}): Promise<_Scene.Selection<CandlestickGroup, CandlestickNodeDatum>>; | ||
protected updateDatumNodes({ datumSelection, isHighlight: highlighted, }: { | ||
datumSelection: _Scene.Selection<CandlestickGroup, CandlestickNodeDatum>; | ||
isHighlight: boolean; | ||
}): Promise<void>; | ||
protected updateLabelNodes(_opts: { | ||
labelSelection: _Scene.Selection<_Scene.Text, CandlestickNodeDatum>; | ||
seriesIdx: number; | ||
}): Promise<void>; | ||
protected updateLabelSelection(opts: { | ||
labelData: CandlestickNodeDatum[]; | ||
labelSelection: _Scene.Selection<_Scene.Text, CandlestickNodeDatum>; | ||
seriesIdx: number; | ||
}): Promise<_Scene.Selection<_Scene.Text, CandlestickNodeDatum>>; | ||
} | undefined>; | ||
protected nodeFactory(): CandlestickGroup; | ||
getFormattedStyles(nodeDatum: CandlestickNodeDatum, highlighted?: boolean): ActiveCandlestickGroupStyles; | ||
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; | ||
} | ||
export {}; |
@@ -0,3 +1,4 @@ | ||
import type { AgCandlestickSeriesBaseFormatterParams, AgCandlestickSeriesBaseOptions, AgCandlestickSeriesFormatterParams, AgCandlestickSeriesItemOptions, AgCandlestickSeriesOptions, AgCandlestickSeriesStyles, AgCandlestickSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
import { _ModuleSupport } from 'ag-charts-community'; | ||
import type { AgCandlestickSeriesFormatterParams, AgCandlestickSeriesOptions, AgCandlestickSeriesStyles, AgCandlestickSeriesTooltipRendererParams } from 'ag-charts-community/src/options/next'; | ||
import type { CandlestickNodeDatum } from './candlestickTypes'; | ||
declare const BaseProperties: typeof _ModuleSupport.BaseProperties, AbstractBarSeriesProperties: typeof _ModuleSupport.AbstractBarSeriesProperties; | ||
@@ -23,7 +24,11 @@ declare class CandlestickSeriesWick extends BaseProperties { | ||
} | ||
declare class CandlestickSeriesItems extends BaseProperties { | ||
declare class CandlestickSeriesItems extends BaseProperties implements CandlestickSeriesBaseItems<CandlestickSeriesItem> { | ||
readonly up: CandlestickSeriesItem; | ||
readonly down: CandlestickSeriesItem; | ||
} | ||
export declare class CandlestickSeriesProperties extends AbstractBarSeriesProperties<AgCandlestickSeriesOptions> { | ||
export interface CandlestickSeriesBaseItems<T> { | ||
readonly up: T; | ||
readonly down: T; | ||
} | ||
export declare class CandlestickSeriesBaseProperties<T extends Omit<AgCandlestickSeriesBaseOptions, 'openKey'>, TItem extends AgCandlestickSeriesItemOptions, TItems extends CandlestickSeriesBaseItems<TItem>, TFormatterParams extends AgCandlestickSeriesBaseFormatterParams<unknown>> extends AbstractBarSeriesProperties<T> { | ||
xKey: string; | ||
@@ -40,6 +45,11 @@ openKey: string; | ||
lowName?: string; | ||
formatter?: (params: AgCandlestickSeriesFormatterParams<unknown>) => AgCandlestickSeriesStyles; | ||
readonly item: CandlestickSeriesItems; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgCandlestickSeriesTooltipRendererParams>; | ||
readonly item: TItems; | ||
formatter?: ((params: TFormatterParams) => AgCandlestickSeriesItemOptions) | undefined; | ||
constructor(item: TItems, formatter?: (params: TFormatterParams) => 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: { | ||
item: { | ||
strokeWidth: number; | ||
}; | ||
}; | ||
direction: string; | ||
}; | ||
animation: { | ||
enabled: boolean; | ||
}; | ||
axes: { | ||
@@ -6,0 +15,0 @@ number: { |
@@ -1,3 +0,7 @@ | ||
import type { AgBarSeriesStyle, LineDashOptions, StrokeOptions, _ModuleSupport } from 'ag-charts-community'; | ||
export interface CandlestickNodeDatum extends Readonly<Required<AgBarSeriesStyle>>, Omit<_ModuleSupport.CartesianSeriesNodeDatum, 'yKey' | 'yValue'> { | ||
import type { AgBarSeriesStyle, AgCandlestickSeriesItemType, LineDashOptions, StrokeOptions, _ModuleSupport } from 'ag-charts-community'; | ||
export interface CandlestickNodeDatum extends CandlestickNodeBaseDatum, Readonly<AgBarSeriesStyle> { | ||
readonly wick?: StrokeOptions & LineDashOptions; | ||
} | ||
export interface CandlestickNodeBaseDatum extends Omit<_ModuleSupport.CartesianSeriesNodeDatum, 'yKey' | 'yValue'> { | ||
readonly itemId: AgCandlestickSeriesItemType; | ||
readonly bandwidth: number; | ||
@@ -20,3 +24,2 @@ readonly openKey?: string; | ||
}; | ||
readonly wick: Readonly<StrokeOptions & LineDashOptions>; | ||
} |
@@ -1,17 +0,31 @@ | ||
import type { CandlestickGroup } from './candlestickGroup'; | ||
import type { CandlestickNodeDatum } from './candlestickTypes'; | ||
export declare function prepareCandlestickFromTo(isVertical: boolean): { | ||
from: { | ||
scalingX: number; | ||
scalingY: number; | ||
}; | ||
to: { | ||
scalingX: number; | ||
scalingY: number; | ||
}; | ||
import { _ModuleSupport, type _Scene } from 'ag-charts-community'; | ||
import type { CandlestickBaseGroup } from './candlestickGroup'; | ||
import type { CandlestickNodeBaseDatum } from './candlestickTypes'; | ||
export type AnimatableCandlestickGroupDatum = { | ||
x?: number; | ||
y?: number; | ||
yBottom?: number; | ||
yHigh?: number; | ||
yLow?: number; | ||
width?: number; | ||
height?: number; | ||
}; | ||
export declare function resetCandlestickSelectionsScalingStartFn(isVertical: boolean): (node: CandlestickGroup, datum: CandlestickNodeDatum) => { | ||
scalingCenterY: number; | ||
} | { | ||
scalingCenterX: number; | ||
export declare function resetCandlestickSelectionsFn(_node: CandlestickBaseGroup<CandlestickNodeBaseDatum, any>, datum: CandlestickNodeBaseDatum): { | ||
x: number; | ||
y: number; | ||
yBottom: number; | ||
yHigh: number; | ||
yLow: number; | ||
width: number; | ||
height: number; | ||
}; | ||
export declare function prepareCandlestickAnimationFunctions(initial: boolean): { | ||
toFn: _ModuleSupport.FromToMotionPropFn<CandlestickBaseGroup<CandlestickNodeBaseDatum, any>, AnimatableCandlestickGroupDatum, CandlestickNodeBaseDatum>; | ||
fromFn: _ModuleSupport.FromToMotionPropFn<CandlestickBaseGroup<CandlestickNodeBaseDatum, any>, AnimatableCandlestickGroupDatum, CandlestickNodeBaseDatum>; | ||
}; | ||
type AbstractCandlestickSeries = { | ||
getNodeData(): CandlestickNodeBaseDatum[] | undefined; | ||
contentGroup: _Scene.Group; | ||
}; | ||
export declare function computeCandleFocusBounds(series: AbstractCandlestickSeries, opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
export {}; |
import type { FontStyle, FontWeight, TextAlign, VerticalAlign } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scale, _Scene } from 'ag-charts-community'; | ||
import { HeatmapSeriesProperties } from './heatmapSeriesProperties'; | ||
interface HeatmapNodeDatum extends Required<_ModuleSupport.CartesianSeriesNodeDatum> { | ||
interface HeatmapNodeDatum extends _ModuleSupport.CartesianSeriesNodeDatum { | ||
readonly point: Readonly<_Scene.SizedPoint>; | ||
midPoint: Readonly<_Scene.Point>; | ||
readonly width: number; | ||
@@ -26,3 +28,3 @@ readonly height: number; | ||
readonly colorKey?: string; | ||
constructor(type: TEvent, nativeEvent: MouseEvent, datum: HeatmapNodeDatum, series: HeatmapSeries); | ||
constructor(type: TEvent, nativeEvent: Event, datum: HeatmapNodeDatum, series: HeatmapSeries); | ||
} | ||
@@ -35,2 +37,3 @@ export declare class HeatmapSeries extends _ModuleSupport.CartesianSeries<_Scene.Rect, HeatmapSeriesProperties, HeatmapNodeDatum, HeatmapLabelDatum> { | ||
readonly colorScale: _Scale.ColorScale; | ||
private seriesItemEnabled; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
@@ -49,3 +52,3 @@ processData(dataController: _ModuleSupport.DataController): Promise<void>; | ||
visible: boolean; | ||
}[]>; | ||
} | undefined>; | ||
protected nodeFactory(): _Scene.Rect; | ||
@@ -67,3 +70,3 @@ protected updateDatumSelection(opts: { | ||
}): Promise<void>; | ||
getTooltipHtml(nodeDatum: HeatmapNodeDatum): string; | ||
getTooltipHtml(nodeDatum: HeatmapNodeDatum): _ModuleSupport.TooltipContent; | ||
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.GradientLegendDatum[]; | ||
@@ -75,3 +78,4 @@ protected isLabelEnabled(): boolean; | ||
}; | ||
protected computeFocusBounds({ datumIndex, seriesRect }: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -6,3 +6,2 @@ import { _Theme } from 'ag-charts-community'; | ||
label: { | ||
__overrides__: string; | ||
enabled: boolean; | ||
@@ -9,0 +8,0 @@ color: string; |
@@ -1,2 +0,2 @@ | ||
import { _ModuleSupport, _Util } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene, _Util } from 'ag-charts-community'; | ||
import { MapLineBackgroundNodeDatum, MapLineBackgroundSeriesProperties } from './mapLineBackgroundSeriesProperties'; | ||
@@ -13,2 +13,3 @@ declare const DataModelSeries: typeof _ModuleSupport.DataModelSeries; | ||
private _chartTopology?; | ||
getNodeData(): MapLineBackgroundNodeDatum[] | undefined; | ||
private get topology(); | ||
@@ -20,3 +21,3 @@ setOptionsData(): void; | ||
private datumSelection; | ||
private contextNodeData; | ||
private contextNodeData?; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
@@ -26,3 +27,7 @@ setChartTopology(topology: any): void; | ||
processData(): Promise<void>; | ||
createNodeData(): Promise<MapLineNodeDataContext[]>; | ||
createNodeData(): Promise<{ | ||
itemId: string; | ||
nodeData: MapLineBackgroundNodeDatum[]; | ||
labelData: never[]; | ||
} | undefined>; | ||
updateSelections(): Promise<void>; | ||
@@ -36,4 +41,5 @@ update(): Promise<void>; | ||
getLegendData<T extends _ModuleSupport.ChartLegendType>(): _ModuleSupport.ChartLegendDatum<T>[]; | ||
getTooltipHtml(): string; | ||
getTooltipHtml(): _ModuleSupport.TooltipContent; | ||
protected computeFocusBounds(_opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
import { _ModuleSupport, _Scene, _Util } from 'ag-charts-community'; | ||
import { GeoGeometry } from '../map-util/geoGeometry'; | ||
import { MapLineNodeDatum, MapLineNodeLabelDatum, MapLineSeriesProperties } from './mapLineSeriesProperties'; | ||
@@ -13,2 +14,3 @@ declare const DataModelSeries: typeof _ModuleSupport.DataModelSeries; | ||
private _chartTopology?; | ||
getNodeData(): MapLineNodeDatum[] | undefined; | ||
private get topology(); | ||
@@ -18,7 +20,6 @@ get hasData(): boolean; | ||
private readonly sizeScale; | ||
private itemGroup; | ||
private datumSelection; | ||
datumSelection: _Scene.Selection<GeoGeometry, MapLineNodeDatum>; | ||
private labelSelection; | ||
private highlightDatumSelection; | ||
private contextNodeData; | ||
contextNodeData?: MapLineNodeDataContext; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
@@ -32,3 +33,7 @@ setChartTopology(topology: any): void; | ||
private getLabelDatum; | ||
createNodeData(): Promise<MapLineNodeDataContext[]>; | ||
createNodeData(): Promise<{ | ||
itemId: string; | ||
nodeData: MapLineNodeDatum[]; | ||
labelData: MapLineNodeLabelDatum[]; | ||
} | undefined>; | ||
updateSelections(): Promise<void>; | ||
@@ -49,4 +54,5 @@ update(): Promise<void>; | ||
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[] | _ModuleSupport.GradientLegendDatum[]; | ||
getTooltipHtml(nodeDatum: MapLineNodeDatum): string; | ||
getTooltipHtml(nodeDatum: MapLineNodeDatum): _ModuleSupport.TooltipContent; | ||
protected computeFocusBounds(opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -13,2 +13,3 @@ import { _ModuleSupport, _Scene, _Util } from 'ag-charts-community'; | ||
private _chartTopology?; | ||
getNodeData(): MapMarkerNodeDatum[] | undefined; | ||
private get topology(); | ||
@@ -22,3 +23,3 @@ get hasData(): boolean; | ||
private highlightMarkerSelection; | ||
private contextNodeData; | ||
private contextNodeData?; | ||
private animationState; | ||
@@ -33,3 +34,7 @@ constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
private getLabelDatum; | ||
createNodeData(): Promise<MapMarkerNodeDataContext[]>; | ||
createNodeData(): Promise<{ | ||
itemId: string; | ||
nodeData: MapMarkerNodeDatum[]; | ||
labelData: MapMarkerNodeLabelDatum[]; | ||
} | undefined>; | ||
updateSelections(): Promise<void>; | ||
@@ -53,4 +58,9 @@ update({ seriesRect }: { | ||
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[] | _ModuleSupport.GradientLegendDatum[]; | ||
getTooltipHtml(nodeDatum: MapMarkerNodeDatum): string; | ||
getTooltipHtml(nodeDatum: MapMarkerNodeDatum): _ModuleSupport.TooltipContent; | ||
getMapMarkerStyle(markerDatum: MapMarkerNodeDatum, highlighted: boolean): import("ag-charts-community").AgMapMarkerSeriesStyle | undefined; | ||
getFormattedMarkerStyle(markerDatum: MapMarkerNodeDatum): { | ||
size: number; | ||
}; | ||
protected computeFocusBounds(opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -19,3 +19,3 @@ import { _ModuleSupport, _Util } from 'ag-charts-community'; | ||
private datumSelection; | ||
private contextNodeData; | ||
private contextNodeData?; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
@@ -25,3 +25,7 @@ setChartTopology(topology: any): void; | ||
processData(): Promise<void>; | ||
createNodeData(): Promise<MapShapeBackgroundNodeDataContext[]>; | ||
createNodeData(): Promise<{ | ||
itemId: string; | ||
nodeData: MapShapeBackgroundNodeDatum[]; | ||
labelData: never[]; | ||
} | undefined>; | ||
updateSelections(): Promise<void>; | ||
@@ -35,4 +39,5 @@ update(): Promise<void>; | ||
getLegendData<T extends _ModuleSupport.ChartLegendType>(): _ModuleSupport.ChartLegendDatum<T>[]; | ||
getTooltipHtml(): string; | ||
getTooltipHtml(): _ModuleSupport.TooltipContent; | ||
pickFocus(_opts: _ModuleSupport.PickFocusInputs): undefined; | ||
} | ||
export {}; |
import { _ModuleSupport, _Scene, _Util } from 'ag-charts-community'; | ||
import { GeoGeometry } from '../map-util/geoGeometry'; | ||
import { MapShapeNodeDatum, MapShapeNodeLabelDatum, MapShapeSeriesProperties } from './mapShapeSeriesProperties'; | ||
@@ -13,2 +14,3 @@ declare const DataModelSeries: typeof _ModuleSupport.DataModelSeries; | ||
private _chartTopology?; | ||
getNodeData(): MapShapeNodeDatum[] | undefined; | ||
private get topology(); | ||
@@ -19,6 +21,6 @@ get hasData(): boolean; | ||
private itemLabelGroup; | ||
private datumSelection; | ||
datumSelection: _Scene.Selection<GeoGeometry, MapShapeNodeDatum>; | ||
private labelSelection; | ||
private highlightDatumSelection; | ||
private contextNodeData; | ||
contextNodeData?: MapShapeNodeDataContext; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
@@ -34,3 +36,7 @@ setChartTopology(topology: any): void; | ||
private previousLabelLayouts; | ||
createNodeData(): Promise<MapShapeNodeDataContext[]>; | ||
createNodeData(): Promise<{ | ||
itemId: string; | ||
nodeData: MapShapeNodeDatum[]; | ||
labelData: MapShapeNodeLabelDatum[]; | ||
} | undefined>; | ||
updateSelections(): Promise<void>; | ||
@@ -51,4 +57,5 @@ update(): Promise<void>; | ||
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[] | _ModuleSupport.GradientLegendDatum[]; | ||
getTooltipHtml(nodeDatum: MapShapeNodeDatum): string; | ||
getTooltipHtml(nodeDatum: MapShapeNodeDatum): _ModuleSupport.TooltipContent; | ||
protected computeFocusBounds(opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
import type { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import type { GeoGeometry } from './geoGeometry'; | ||
type AnimatableMapMarkerDatum = { | ||
@@ -10,2 +11,9 @@ scalingX: number; | ||
}; | ||
type SomeMapSeries<TDatum> = { | ||
contextNodeData?: { | ||
nodeData: TDatum[]; | ||
}; | ||
datumSelection: _Scene.Selection<GeoGeometry, TDatum>; | ||
}; | ||
export declare function computeGeoFocusBounds<TDatum>(series: SomeMapSeries<TDatum>, opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
export {}; |
@@ -1,9 +0,9 @@ | ||
import { type AgNightingaleSeriesOptions, type AgRadialSeriesFormat, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { type AgRadialSeriesFormat, _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import type { RadialColumnNodeDatum } from '../radial-column/radialColumnSeriesBase'; | ||
import { RadialColumnSeriesBase } from '../radial-column/radialColumnSeriesBase'; | ||
import { RadialColumnSeriesBaseProperties } from '../radial-column/radialColumnSeriesBaseProperties'; | ||
import { NightingaleSeriesProperties } from './nightingaleSeriesProperties'; | ||
export declare class NightingaleSeries extends RadialColumnSeriesBase<_Scene.Sector> { | ||
static readonly className = "NightingaleSeries"; | ||
static readonly type: "nightingale"; | ||
properties: RadialColumnSeriesBaseProperties<AgNightingaleSeriesOptions<any>>; | ||
properties: NightingaleSeriesProperties; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
@@ -14,3 +14,3 @@ protected getStackId(): string; | ||
protected getColumnTransitionFunctions(): { | ||
toFn: (_sect: _Scene.Sector, datum: import("./nightingaleUtil").AnimatableNightingaleDatum, status: _ModuleSupport.NodeUpdateState) => { | ||
toFn: (_sect: _Scene.Sector, datum: RadialColumnNodeDatum, status: _ModuleSupport.NodeUpdateState) => { | ||
innerRadius: number; | ||
@@ -20,4 +20,5 @@ outerRadius: number; | ||
endAngle: number; | ||
clipSector: _Scene.SectorBox; | ||
}; | ||
fromFn: (sect: _Scene.Sector, datum: import("./nightingaleUtil").AnimatableNightingaleDatum, status: _ModuleSupport.NodeUpdateState) => { | ||
fromFn: (sect: _Scene.Sector, datum: RadialColumnNodeDatum, status: _ModuleSupport.NodeUpdateState) => { | ||
innerRadius: number; | ||
@@ -27,2 +28,3 @@ outerRadius: number; | ||
endAngle: number; | ||
clipSector: _Scene.SectorBox; | ||
phase: "end" | "initial" | "none" | "update" | "trailing" | "remove" | "add"; | ||
@@ -29,0 +31,0 @@ }; |
@@ -11,3 +11,2 @@ import { _Theme } from 'ag-charts-community'; | ||
color: string; | ||
__overrides__: string; | ||
}; | ||
@@ -14,0 +13,0 @@ }; |
import { _Scene } from 'ag-charts-community'; | ||
import type { RadialColumnNodeDatum } from '../radial-column/radialColumnSeriesBase'; | ||
export type AnimatableNightingaleDatum = { | ||
@@ -7,5 +8,12 @@ innerRadius: number; | ||
endAngle: number; | ||
clipSector: _Scene.SectorBox; | ||
}; | ||
export declare function getRadii(datum: RadialColumnNodeDatum): { | ||
innerRadius: number; | ||
outerRadius: number; | ||
clipInnerRadius: number; | ||
clipOuterRadius: number; | ||
}; | ||
export declare function prepareNightingaleAnimationFunctions(axisZeroRadius: number): { | ||
toFn: (_sect: _Scene.Sector, datum: AnimatableNightingaleDatum, status: _Scene.NodeUpdateState) => { | ||
toFn: (_sect: _Scene.Sector, datum: RadialColumnNodeDatum, status: _Scene.NodeUpdateState) => { | ||
innerRadius: number; | ||
@@ -15,4 +23,5 @@ outerRadius: number; | ||
endAngle: number; | ||
clipSector: _Scene.SectorBox; | ||
}; | ||
fromFn: (sect: _Scene.Sector, datum: AnimatableNightingaleDatum, status: _Scene.NodeUpdateState) => { | ||
fromFn: (sect: _Scene.Sector, datum: RadialColumnNodeDatum, status: _Scene.NodeUpdateState) => { | ||
innerRadius: number; | ||
@@ -22,6 +31,7 @@ outerRadius: number; | ||
endAngle: number; | ||
clipSector: _Scene.SectorBox; | ||
phase: "end" | "initial" | "none" | "update" | "trailing" | "remove" | "add"; | ||
}; | ||
}; | ||
export declare function resetNightingaleSelectionFn(_sect: _Scene.Sector, { innerRadius, outerRadius, startAngle, endAngle }: AnimatableNightingaleDatum): { | ||
export declare function resetNightingaleSelectionFn(_sect: _Scene.Sector, datum: RadialColumnNodeDatum): { | ||
innerRadius: number; | ||
@@ -31,2 +41,3 @@ outerRadius: number; | ||
endAngle: number; | ||
clipSector: _Scene.SectorBox; | ||
}; |
@@ -15,3 +15,3 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
readonly radiusKey?: string; | ||
constructor(type: TEvent, nativeEvent: MouseEvent, datum: RadarNodeDatum, series: RadarSeries); | ||
constructor(type: TEvent, nativeEvent: Event, datum: RadarNodeDatum, series: RadarSeries); | ||
} | ||
@@ -23,4 +23,4 @@ export declare abstract class RadarSeries extends _ModuleSupport.PolarSeries<RadarNodeDatum, RadarSeriesProperties<any>, _Scene.Marker> { | ||
protected lineSelection: _Scene.Selection<_Scene.Path, boolean>; | ||
protected nodeData: RadarNodeDatum[]; | ||
protected resetInvalidToZero: boolean; | ||
private seriesItemEnabled; | ||
constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
@@ -43,3 +43,3 @@ protected nodeFactory(): _Scene.Marker; | ||
labelData: RadarNodeDatum[]; | ||
}[]>; | ||
} | undefined>; | ||
update({ seriesRect }: { | ||
@@ -53,3 +53,3 @@ seriesRect?: _Scene.BBox; | ||
protected updateLabels(): void; | ||
getTooltipHtml(nodeDatum: RadarNodeDatum): string; | ||
getTooltipHtml(nodeDatum: RadarNodeDatum): _ModuleSupport.TooltipContent; | ||
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[]; | ||
@@ -69,3 +69,7 @@ onLegendItemClick(event: _ModuleSupport.LegendItemClickChartEvent): void; | ||
protected resetPaths(): void; | ||
getFormattedMarkerStyle(datum: RadarNodeDatum): import("ag-charts-community").AgSeriesMarkerStyle & { | ||
size: number; | ||
}; | ||
protected computeFocusBounds(opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import type { AgBaseRadarSeriesOptions, AgPieSeriesFormat, AgPieSeriesFormatterParams, AgPieSeriesTooltipRendererParams, AgRadarSeriesLabelFormatterParams, AgRadialSeriesOptionsKeys } from 'ag-charts-community'; | ||
import type { AgBaseRadarSeriesOptions, AgRadarSeriesLabelFormatterParams, AgRadarSeriesTooltipRendererParams, AgRadialSeriesOptionsKeys, FillOptions, StrokeOptions } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
@@ -11,2 +11,3 @@ export interface RadarNodeDatum extends _ModuleSupport.SeriesNodeDatum { | ||
}; | ||
readonly point: Readonly<_Scene.SizedPoint>; | ||
readonly angleValue: any; | ||
@@ -16,2 +17,3 @@ readonly radiusValue: any; | ||
declare const SeriesProperties: typeof _ModuleSupport.SeriesProperties; | ||
export type AgRadarSeriesFormat = FillOptions & StrokeOptions; | ||
export declare class RadarSeriesProperties<T extends AgBaseRadarSeriesOptions> extends SeriesProperties<T> { | ||
@@ -27,9 +29,9 @@ angleKey: string; | ||
lineDashOffset: number; | ||
formatter?: (params: AgPieSeriesFormatterParams<any>) => AgPieSeriesFormat; | ||
formatter?: (params: AgRadarSeriesTooltipRendererParams) => AgRadarSeriesFormat; | ||
rotation: number; | ||
readonly marker: _ModuleSupport.SeriesMarker<AgRadialSeriesOptionsKeys, RadarNodeDatum>; | ||
readonly label: _Scene.Label<AgRadarSeriesLabelFormatterParams, any>; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgPieSeriesTooltipRendererParams>; | ||
readonly tooltip: _ModuleSupport.SeriesTooltip<AgRadarSeriesTooltipRendererParams>; | ||
connectMissingData: boolean; | ||
} | ||
export {}; |
@@ -9,3 +9,2 @@ export declare const RADAR_LINE_SERIES_THEME: { | ||
color: string; | ||
__overrides__: string; | ||
}; | ||
@@ -41,3 +40,2 @@ marker: { | ||
color: string; | ||
__overrides__: string; | ||
}; | ||
@@ -44,0 +42,0 @@ marker: { |
@@ -6,3 +6,3 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
readonly radiusKey?: string; | ||
constructor(type: TEvent, nativeEvent: MouseEvent, datum: RadialBarNodeDatum, series: RadialBarSeries); | ||
constructor(type: TEvent, nativeEvent: Event, datum: RadialBarNodeDatum, series: RadialBarSeries); | ||
} | ||
@@ -24,2 +24,4 @@ interface RadialBarLabelNodeDatum { | ||
readonly endAngle: number; | ||
readonly clipSector: _Scene.SectorBox; | ||
readonly reversed: boolean; | ||
readonly index: number; | ||
@@ -32,3 +34,2 @@ } | ||
protected readonly NodeEvent: typeof RadialBarSeriesNodeEvent; | ||
protected nodeData: RadialBarNodeDatum[]; | ||
private groupScale; | ||
@@ -52,3 +53,3 @@ constructor(moduleCtx: _ModuleSupport.ModuleContext); | ||
labelData: RadialBarNodeDatum[]; | ||
}[]>; | ||
} | undefined>; | ||
update({ seriesRect }: { | ||
@@ -62,3 +63,3 @@ seriesRect?: _Scene.BBox; | ||
animateClearingUpdateEmpty(): void; | ||
getTooltipHtml(nodeDatum: RadialBarNodeDatum): string; | ||
getTooltipHtml(nodeDatum: RadialBarNodeDatum): _ModuleSupport.TooltipContent; | ||
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[]; | ||
@@ -69,3 +70,4 @@ onLegendItemClick(event: _ModuleSupport.LegendItemClickChartEvent): void; | ||
protected getStackId(): string; | ||
protected computeFocusBounds(opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -16,2 +16,3 @@ import type { AgRadialBarSeriesOptions, AgRadialSeriesFormat, AgRadialSeriesFormatterParams, AgRadialSeriesLabelFormatterParams, AgRadialSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
lineDashOffset: number; | ||
cornerRadius: number; | ||
formatter?: (params: AgRadialSeriesFormatterParams<any>) => AgRadialSeriesFormat; | ||
@@ -18,0 +19,0 @@ rotation: number; |
@@ -10,3 +10,2 @@ export declare const RADIAL_BAR_SERIES_THEME: { | ||
color: string; | ||
__overrides__: string; | ||
}; | ||
@@ -13,0 +12,0 @@ }; |
@@ -9,2 +9,3 @@ import { _Scene } from 'ag-charts-community'; | ||
endAngle: number; | ||
clipSector: _Scene.SectorBox; | ||
}; | ||
@@ -17,2 +18,3 @@ export declare function prepareRadialBarSeriesAnimationFunctions(axisZeroAngle: number): { | ||
outerRadius: number; | ||
clipSector: _Scene.SectorBox; | ||
}; | ||
@@ -24,2 +26,3 @@ fromFn: (sect: _Scene.Sector, datum: AnimatableSectorDatum, status: _Scene.NodeUpdateState) => { | ||
outerRadius: number; | ||
clipSector: _Scene.SectorBox; | ||
phase: "end" | "initial" | "none" | "update" | "trailing" | "remove" | "add"; | ||
@@ -35,3 +38,4 @@ }; | ||
endAngle: number; | ||
clipSector: _Scene.SectorBox; | ||
}; | ||
export {}; |
@@ -7,3 +7,3 @@ import type { AgRadialSeriesFormat } from 'ag-charts-community'; | ||
readonly radiusKey?: string; | ||
constructor(type: TEvent, nativeEvent: MouseEvent, datum: RadialColumnNodeDatum, series: RadialColumnSeriesBase<any>); | ||
constructor(type: TEvent, nativeEvent: Event, datum: RadialColumnNodeDatum, series: RadialColumnSeriesBase<any>); | ||
} | ||
@@ -21,4 +21,7 @@ interface RadialColumnLabelNodeDatum { | ||
readonly radiusValue: any; | ||
readonly negative: boolean; | ||
readonly innerRadius: number; | ||
readonly outerRadius: number; | ||
readonly stackInnerRadius: number; | ||
readonly stackOuterRadius: number; | ||
readonly startAngle: number; | ||
@@ -33,3 +36,2 @@ readonly endAngle: number; | ||
protected readonly NodeEvent: typeof RadialColumnSeriesNodeEvent; | ||
protected nodeData: RadialColumnNodeDatum[]; | ||
private groupScale; | ||
@@ -58,3 +60,3 @@ constructor(moduleCtx: _ModuleSupport.ModuleContext, { animationResetFns, }: { | ||
labelData: RadialColumnNodeDatum[]; | ||
}[]>; | ||
} | undefined>; | ||
protected getColumnWidth(_startAngle: number, _endAngle: number): number; | ||
@@ -73,3 +75,4 @@ update({ seriesRect }: { | ||
animateClearingUpdateEmpty(): void; | ||
getTooltipHtml(nodeDatum: RadialColumnNodeDatum): string; | ||
getTooltipHtml(nodeDatum: RadialColumnNodeDatum): _ModuleSupport.TooltipContent; | ||
protected pickNodeClosestDatum(point: _Scene.Point): _ModuleSupport.SeriesNodePickMatch | undefined; | ||
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[]; | ||
@@ -79,3 +82,4 @@ onLegendItemClick(event: _ModuleSupport.LegendItemClickChartEvent): void; | ||
computeLabelsBBox(): null; | ||
protected computeFocusBounds(opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -13,3 +13,2 @@ import { _Theme } from 'ag-charts-community'; | ||
color: string; | ||
__overrides__: string; | ||
}; | ||
@@ -16,0 +15,0 @@ }; |
@@ -19,3 +19,3 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
readonly yHighKey?: string; | ||
constructor(type: TEvent, nativeEvent: MouseEvent, datum: RangeAreaMarkerDatum, series: RangeAreaSeries); | ||
constructor(type: TEvent, nativeEvent: Event, datum: RangeAreaMarkerDatum, series: RangeAreaSeries); | ||
} | ||
@@ -37,3 +37,3 @@ type RadarAreaPoint = _ModuleSupport.AreaPathPoint & { | ||
getSeriesDomain(direction: _ModuleSupport.ChartAxisDirection): any[]; | ||
createNodeData(): Promise<RangeAreaContext[]>; | ||
createNodeData(): Promise<RangeAreaContext | undefined>; | ||
private createLabelData; | ||
@@ -71,3 +71,3 @@ protected isPathOrSelectionDirty(): boolean; | ||
protected getHighlightData(nodeData: RangeAreaMarkerDatum[], highlightedItem: RangeAreaMarkerDatum): RangeAreaMarkerDatum[] | undefined; | ||
getTooltipHtml(nodeDatum: RangeAreaMarkerDatum): string; | ||
getTooltipHtml(nodeDatum: RangeAreaMarkerDatum): _ModuleSupport.TooltipContent; | ||
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[]; | ||
@@ -80,3 +80,7 @@ protected isLabelEnabled(): boolean; | ||
animateWaitingUpdateReady(animationData: _ModuleSupport.CartesianAnimationData<_Scene.Group, RangeAreaMarkerDatum, RangeAreaLabelDatum, RangeAreaContext>): void; | ||
getFormattedMarkerStyle(datum: RangeAreaMarkerDatum): import("ag-charts-community").AgSeriesMarkerStyle & { | ||
size: number; | ||
}; | ||
protected computeFocusBounds(opts: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
import type { AgRangeAreaSeriesLabelFormatterParams, AgRangeAreaSeriesLabelPlacement, AgRangeAreaSeriesOptions, AgRangeAreaSeriesOptionsKeys, AgRangeAreaSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
export interface RangeAreaMarkerDatum extends Required<Omit<_ModuleSupport.CartesianSeriesNodeDatum, 'yKey' | 'yValue'>> { | ||
export interface RangeAreaMarkerDatum extends Omit<_ModuleSupport.CartesianSeriesNodeDatum, 'yKey' | 'yValue'> { | ||
readonly index: number; | ||
@@ -9,2 +9,3 @@ readonly yLowKey: string; | ||
readonly yHighValue: number; | ||
readonly point: Readonly<_Scene.SizedPoint>; | ||
} | ||
@@ -11,0 +12,0 @@ declare const Label: typeof _Scene.Label; |
@@ -21,3 +21,2 @@ import { type InteractionRange } from 'ag-charts-community'; | ||
color: string; | ||
__overrides__: string; | ||
}; | ||
@@ -24,0 +23,0 @@ }; |
@@ -13,2 +13,3 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
readonly index: number; | ||
readonly valueIndex: number; | ||
readonly itemId: string; | ||
@@ -26,3 +27,3 @@ readonly yLowKey: string; | ||
readonly opacity: number; | ||
readonly cornerRadiusBbox?: _Scene.BBox; | ||
readonly clipBBox?: _Scene.BBox; | ||
} | ||
@@ -35,3 +36,3 @@ type RangeBarContext = _ModuleSupport.CartesianSeriesNodeDataContext<RangeBarNodeDatum, RangeBarNodeLabelDatum>; | ||
readonly yHighKey?: string; | ||
constructor(type: TEvent, nativeEvent: MouseEvent, datum: RangeBarNodeDatum, series: RangeBarSeries); | ||
constructor(type: TEvent, nativeEvent: Event, datum: RangeBarNodeDatum, series: RangeBarSeries); | ||
} | ||
@@ -46,3 +47,3 @@ export declare class RangeBarSeries extends _ModuleSupport.AbstractBarSeries<_Scene.Rect, RangeBarProperties, RangeBarNodeDatum, RangeBarNodeLabelDatum> { | ||
getSeriesDomain(direction: _ModuleSupport.ChartAxisDirection): any[]; | ||
createNodeData(): Promise<RangeBarContext[]>; | ||
createNodeData(): Promise<RangeBarContext | undefined>; | ||
private createLabelData; | ||
@@ -61,3 +62,3 @@ protected nodeFactory(): _Scene.Rect; | ||
labelData: RangeBarNodeLabelDatum[]; | ||
labelSelection: RangeBarAnimationData['labelSelections'][number]; | ||
labelSelection: RangeBarAnimationData['labelSelection']; | ||
}): Promise<_Scene.Selection<_Scene.Text, RangeBarNodeLabelDatum>>; | ||
@@ -67,5 +68,5 @@ protected updateLabelNodes(opts: { | ||
}): Promise<void>; | ||
getTooltipHtml(nodeDatum: RangeBarNodeDatum): string; | ||
getTooltipHtml(nodeDatum: RangeBarNodeDatum): _ModuleSupport.TooltipContent; | ||
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[]; | ||
animateEmptyUpdateReady({ datumSelections, labelSelections }: RangeBarAnimationData): void; | ||
animateEmptyUpdateReady({ datumSelection, labelSelection }: RangeBarAnimationData): void; | ||
animateWaitingUpdateReady(data: RangeBarAnimationData): void; | ||
@@ -75,3 +76,4 @@ private getDatumId; | ||
protected onDataChange(): void; | ||
protected computeFocusBounds({ datumIndex, seriesRect }: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -12,3 +12,2 @@ export declare const RANGE_BAR_SERIES_THEME: { | ||
placement: "inside"; | ||
__overrides__: string; | ||
}; | ||
@@ -15,0 +14,0 @@ }; |
@@ -15,5 +15,6 @@ import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
private getSectorFormat; | ||
getTooltipHtml(node: _ModuleSupport.HierarchyNode): string; | ||
createNodeData(): Promise<never[]>; | ||
getTooltipHtml(node: _ModuleSupport.HierarchyNode): _ModuleSupport.TooltipContent; | ||
createNodeData(): Promise<undefined>; | ||
protected pickNodeClosestDatum(point: _Scene.Point): _ModuleSupport.SeriesNodePickMatch | undefined; | ||
protected animateEmptyUpdateReady({ datumSelections, }: _ModuleSupport.HierarchyAnimationData<_Scene.Group, _ModuleSupport.SeriesNodeDatum>): void; | ||
} |
@@ -21,2 +21,3 @@ import type { AgSunburstSeriesFormatterParams, AgSunburstSeriesLabelFormatterParams, AgSunburstSeriesOptions, AgSunburstSeriesStyle, AgSunburstSeriesTooltipRendererParams } from 'ag-charts-community'; | ||
strokeOpacity: number; | ||
cornerRadius: number; | ||
sectorSpacing?: number; | ||
@@ -23,0 +24,0 @@ padding?: number; |
import { _ModuleSupport, _Scene } from 'ag-charts-community'; | ||
import { TreemapSeriesProperties } from './treemapSeriesProperties'; | ||
export declare class TreemapSeries<TDatum extends _ModuleSupport.SeriesNodeDatum = _ModuleSupport.SeriesNodeDatum> extends _ModuleSupport.HierarchySeries<_Scene.Group, TreemapSeriesProperties, TDatum> { | ||
declare class DistantGroup extends _Scene.Group implements _Scene.DistantObject { | ||
distanceSquared(x: number, y: number): number; | ||
} | ||
export declare class TreemapSeries<TDatum extends _ModuleSupport.SeriesNodeDatum = _ModuleSupport.SeriesNodeDatum> extends _ModuleSupport.HierarchySeries<DistantGroup, TreemapSeriesProperties, TDatum> { | ||
static readonly className = "TreemapSeries"; | ||
static readonly type: "treemap"; | ||
properties: TreemapSeriesProperties; | ||
groupSelection: _Scene.Selection<_Scene.Group, any>; | ||
groupSelection: _Scene.Selection<DistantGroup, any>; | ||
private highlightSelection; | ||
@@ -19,3 +22,3 @@ private labelData?; | ||
private applyGap; | ||
createNodeData(): Promise<never[]>; | ||
createNodeData(): Promise<undefined>; | ||
updateSelections(): Promise<void>; | ||
@@ -27,3 +30,5 @@ private getTileFormat; | ||
private updateNodeMidPoint; | ||
getTooltipHtml(node: _ModuleSupport.HierarchyNode): string; | ||
protected pickNodeClosestDatum(point: _Scene.Point): _ModuleSupport.SeriesNodePickMatch | undefined; | ||
getTooltipHtml(node: _ModuleSupport.HierarchyNode): _ModuleSupport.TooltipContent; | ||
} | ||
export {}; |
@@ -15,2 +15,3 @@ import type { AgTreemapSeriesFormatterParams, AgTreemapSeriesLabelFormatterParams, AgTreemapSeriesOptions, AgTreemapSeriesStyle, AgTreemapSeriesTooltipRendererParams, TextAlign, VerticalAlign } from 'ag-charts-community'; | ||
strokeOpacity: number; | ||
cornerRadius: number; | ||
textAlign: TextAlign; | ||
@@ -28,2 +29,3 @@ gap: number; | ||
strokeOpacity: number; | ||
cornerRadius: number; | ||
textAlign: TextAlign; | ||
@@ -30,0 +32,0 @@ verticalAlign: VerticalAlign; |
@@ -24,3 +24,3 @@ import type { AgWaterfallSeriesItemType } from 'ag-charts-community'; | ||
readonly opacity: number; | ||
readonly cornerRadiusBbox?: _Scene.BBox; | ||
readonly clipBBox?: _Scene.BBox; | ||
} | ||
@@ -39,3 +39,3 @@ interface WaterfallContext extends _ModuleSupport.CartesianSeriesNodeDataContext<WaterfallNodeDatum> { | ||
getSeriesDomain(direction: _ModuleSupport.ChartAxisDirection): any[]; | ||
createNodeData(): Promise<WaterfallContext[]>; | ||
createNodeData(): Promise<WaterfallContext | undefined>; | ||
private updateSeriesItemTypes; | ||
@@ -62,6 +62,6 @@ private isSubtotal; | ||
}): Promise<void>; | ||
getTooltipHtml(nodeDatum: WaterfallNodeDatum): string; | ||
getTooltipHtml(nodeDatum: WaterfallNodeDatum): _ModuleSupport.TooltipContent; | ||
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[]; | ||
protected toggleSeriesItem(): void; | ||
animateEmptyUpdateReady({ datumSelections, labelSelections, contextData, paths }: WaterfallAnimationData): void; | ||
animateEmptyUpdateReady({ datumSelection, labelSelection, contextData, paths }: WaterfallAnimationData): void; | ||
protected animateConnectorLinesHorizontal(lineNode: _Scene.Path, pointData: WaterfallNodePointDatum[]): void; | ||
@@ -77,5 +77,5 @@ protected animateConnectorLinesVertical(lineNode: _Scene.Path, pointData: WaterfallNodePointDatum[]): void; | ||
}): Promise<void>; | ||
resetConnectorLinesPath({ contextData, paths, }: { | ||
contextData: Array<WaterfallContext>; | ||
paths: Array<Array<_Scene.Path>>; | ||
resetConnectorLinesPath({ contextData, paths }: { | ||
contextData: WaterfallContext; | ||
paths: Array<_Scene.Path>; | ||
}): void; | ||
@@ -85,3 +85,4 @@ protected updateLineNode(lineNode: _Scene.Path): void; | ||
protected onDataChange(): void; | ||
protected computeFocusBounds({ datumIndex, seriesRect }: _ModuleSupport.PickFocusInputs): _Scene.BBox | undefined; | ||
} | ||
export {}; |
@@ -16,3 +16,3 @@ import { _Theme } from 'ag-charts-community'; | ||
formatter: undefined; | ||
placement: "inside"; | ||
placement: "end"; | ||
}; | ||
@@ -30,3 +30,3 @@ }; | ||
formatter: undefined; | ||
placement: "inside"; | ||
placement: "end"; | ||
}; | ||
@@ -44,3 +44,3 @@ }; | ||
formatter: undefined; | ||
placement: "inside"; | ||
placement: "end"; | ||
}; | ||
@@ -47,0 +47,0 @@ }; |
{ | ||
"name": "ag-charts-enterprise", | ||
"version": "9.2.0", | ||
"version": "9.3.0", | ||
"description": "Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue", | ||
@@ -52,2 +52,3 @@ "main": "./dist/package/main.cjs.js", | ||
"@babel/types": "7.12.7", | ||
"@jest/globals": "29.6.1", | ||
"@types/jest": "^27.4.1", | ||
@@ -59,8 +60,8 @@ "@types/jest-image-snapshot": "^5.1.0", | ||
"@typescript-eslint/parser": "^5.51.0", | ||
"ag-charts-community": "9.2.0", | ||
"ag-charts-community": "9.3.0", | ||
"canvas": "^2.10.2", | ||
"del": "^6.0.0", | ||
"eslint": "^8.56.0", | ||
"glob": "8.0.3", | ||
"jest": "^29.5.0", | ||
"jest-canvas-mock": "^2.4.0", | ||
"jest-environment-jsdom": "^29.5.0", | ||
@@ -72,11 +73,10 @@ "jest-image-snapshot": "^6.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"path2d": "^0.2.0", | ||
"pixelmatch": "^5.2.1", | ||
"rimraf": "3.0.2", | ||
"ts-jest": "^29.1.0", | ||
"typescript": "~4.3.5", | ||
"del": "^6.0.0", | ||
"@jest/globals": "29.6.1" | ||
"typescript": "~4.3.5" | ||
}, | ||
"dependencies": { | ||
"ag-charts-community": "9.2.0" | ||
"ag-charts-community": "9.3.0" | ||
}, | ||
@@ -83,0 +83,0 @@ "publishConfig": { |
118
README.md
@@ -10,14 +10,12 @@ <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> | ||
# AG Charts | ||
AG Charts Enterprise | ||
AG Charts is a fully-featured and highly customizable JavaScript charting library. The professional choice for developers building enterprise applications | ||
AG Charts is a fully-featured and highly customizable JavaScript charting library. The professional choice for developers building enterprise applications. | ||
It delivers [outstanding performance](https://charts.ag-grid.com/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github), has no third-party dependencies and [integrates smoothly with all major JavaScript frameworks](https://charts.ag-grid.com/javascript/quick-start?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github). | ||
It delivers outstanding performance, has no third-party dependencies and [integrates smoothly with all major JavaScript frameworks](https://charts.ag-grid.com/javascript/quick-start?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github). | ||
## Examples | ||
<picture><source media="(prefers-color-scheme: dark)" srcset="./.github/example-1-dark.png"><source media="(prefers-color-scheme: light)" srcset="./.github/example-1-light.png"><img alt="Image of AG Charts showing stacked horizontal bar." src="./.github/example-1-light.png"></picture> | ||
<a href="https://charts.ag-grid.com/gallery/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github"><picture><source media="(prefers-color-scheme: dark)" srcset="./.github/example-1-dark.png"><source media="(prefers-color-scheme: light)" srcset="./.github/example-1-light.png"><img alt="Images from our gallery" src="./.github/example-1-light.png"></picture></a> | ||
<picture><source media="(prefers-color-scheme: dark)" srcset="./.github/example-2-dark.png"><source media="(prefers-color-scheme: light)" srcset="./.github/example-2-light.png"><img alt="Image of AG Charts showing vertical range bar." src="./.github/example-2-light.png"></picture> | ||
## Features | ||
@@ -27,50 +25,74 @@ | ||
- Modern, lightweight and performant | ||
- Thin, easy-to-use wrappers for all popular frameworks: React, Angular, Vue | ||
- Framework agnostic, easy to use from plain JavaScript or TypeScript | ||
- Zero dependencies | ||
- Support for many chart types: | ||
- Line | ||
- Bar | ||
- Area | ||
- Scatter | ||
- Bubble | ||
- Pie | ||
- Donut | ||
- Histogram | ||
- Box Plot \* | ||
- Heatmap \* | ||
- Nightingale \* | ||
- Range | ||
- Bar \* | ||
- Area \* | ||
- Radar | ||
- Area \* | ||
- Line \* | ||
- Bar \* | ||
- Column \* | ||
- Bullet \* | ||
- Reactive - property changes are automatically batched to take effect on next frame | ||
- Simple, clean API | ||
- Interactive documentation | ||
- Modern, lightweight and performant. | ||
- Framework agnostic: | ||
- thin reactive wrappers for your chosen framework: React, Angular, Vue; | ||
- or use our plain Javascript API with 1st-class Typescript support. | ||
- Zero dependencies. | ||
- Simple & clean declarative configuration. | ||
- Comprehensive interactive documentation. | ||
\* The features marked with an asterisk are available in the [Enterprise version](https://charts.ag-grid.com/license-pricing/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github) only. | ||
<table> | ||
<thead> | ||
<th colspan="2"> | ||
Supported Chart Types | ||
</th> | ||
<th colspan="2"> | ||
Advanced Features | ||
</th> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<a href="https://charts.ag-grid.com/javascript/line-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Line</a>, <a href="https://charts.ag-grid.com/javascript/bar-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Bar</a> & <a href="https://charts.ag-grid.com/javascript/area-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Area</a><br/> | ||
<a href="https://charts.ag-grid.com/javascript/scatter-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Scatter</a> & <a href="https://charts.ag-grid.com/javascript/bubble-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Bubble</a><br/> | ||
<a href="https://charts.ag-grid.com/javascript/pie-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Pie</a> & <a href="https://charts.ag-grid.com/javascript/donut-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Donut</a><br/> | ||
<a href="https://charts.ag-grid.com/javascript/histogram-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Histogram</a>*<br/> | ||
<a href="https://charts.ag-grid.com/javascript/maps/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Map</a>*<br/> | ||
<a href="https://charts.ag-grid.com/javascript/candlestick-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Candlestick</a> & <a href="https://charts.ag-grid.com/javascript/ohlc-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">OHLC</a>*<br/> | ||
<a href="https://charts.ag-grid.com/javascript/box-plot-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Box Plot</a>*<br/> | ||
</td> | ||
<td> | ||
<a href="https://charts.ag-grid.com/javascript/heatmap-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Heatmap</a>*<br/> | ||
<a href="https://charts.ag-grid.com/javascript/nightingale-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Nightingale</a>*<br/> | ||
<a href="https://charts.ag-grid.com/javascript/range-bar-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Range Bar</a>* & <a href="https://charts.ag-grid.com/javascript/range-area-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Range Area</a>*<br/> | ||
<a href="https://charts.ag-grid.com/javascript/radar-area-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Radar Area</a>* & <a href="https://charts.ag-grid.com/javascript/radar-line-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Radar Line</a>*<br/> | ||
<a href="https://charts.ag-grid.com/javascript/radial-bar-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Radial Bar</a>* & <a href="https://charts.ag-grid.com/javascript/radial-column-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Radial Column</a>*<br/> | ||
<a href="https://charts.ag-grid.com/javascript/sunburst-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Sunburst*</a> & <a href="https://charts.ag-grid.com/javascript/treemap-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Treemap</a>*<br/> | ||
<a href="https://charts.ag-grid.com/javascript/bullet-series/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Bullet</a>*<br/> | ||
</td> | ||
<td> | ||
<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/sync/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Synchronized Charts</a>*<br/> | ||
<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/> | ||
<a href="https://charts.ag-grid.com/javascript/axes-crosshairs/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Crosshairs</a>*<br/> | ||
<a href="https://charts.ag-grid.com/javascript/axes-cross-lines/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Cross Lines </a><br/> | ||
<a href="https://charts.ag-grid.com/javascript/error-bars/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Error Bars</a>*<br/> | ||
</td> | ||
<td> | ||
<a href="https://charts.ag-grid.com/javascript/themes/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Theming</a><br/> | ||
<a href="https://charts.ag-grid.com/javascript/zoom/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github">Zoom</a>*<br/> | ||
<br/> | ||
<br/> | ||
<br/> | ||
<br/> | ||
<br/> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<br/> | ||
Check out the [developer documentation](https://charts.ag-grid.com/javascript/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github) for a complete list of features or visit [our official docs](https://charts.ag-grid.com/gallery/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github) for tutorials and feature demos. | ||
\* These are available in the [Enterprise version](https://charts.ag-grid.com/license-pricing/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github) only. | ||
Check out the [developer documentation](https://charts.ag-grid.com/javascript/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github) for a complete list of features or visit [our official docs](https://charts.ag-grid.com/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github) for tutorials and feature demos. | ||
## Getting started | ||
### Looking for a framework specific solution? | ||
<!-- START Getting started --> | ||
- [Get Started with React](https://charts.ag-grid.com/react/quick-start/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github) | ||
- [Get Started with Angular](https://charts.ag-grid.com/angular/quick-start/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github) | ||
- [Get Started with Vue](https://charts.ag-grid.com/vue/quick-start/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github) | ||
- [Get Started without a framework](https://charts.ag-grid.com/javascript/quick-start/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github) | ||
Get started with [React](https://charts.ag-grid.com/react/quick-start/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github) / [Angular](https://charts.ag-grid.com/angular/quick-start/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github) / [Vue](https://charts.ag-grid.com/vue/quick-start/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github) / [Javascript](https://charts.ag-grid.com/javascript/quick-start/?utm_source=ag-charts-readme&utm_medium=repository&utm_campaign=github). | ||
### Installation | ||
Installation for [React](https://charts.ag-grid.com/react/installation/) / [Angular](https://charts.ag-grid.com/angular/installation/) / [Vue](https://charts.ag-grid.com/vue/installation/) / [Javascript](https://charts.ag-grid.com/javascript/installation/). | ||
- [Installation for React](https://charts.ag-grid.com/react/installation/). | ||
- [Installation for Angular](https://charts.ag-grid.com/angular/installation/). | ||
- [Installation for Vue](https://charts.ag-grid.com/vue/installation/). | ||
- [Installation without a framework](https://charts.ag-grid.com/javascript/installation/). | ||
<!-- END Getting started --> | ||
@@ -83,3 +105,3 @@ ## Issue Reporting | ||
Look for similar problems on [StackOverflow](https://stackoverflow.com/questions/tagged/ag-charts) using the `ag-charts` tag. If nothing seems related, post a new message there. Please do not use GitHub issues to ask questions. | ||
Look for similar problems on [StackOverflow](https://stackoverflow.com/questions/tagged/ag-charts) using the `ag-charts` tag. If nothing seems related, post a new message there. Please do not use GitHub issues to ask questions. If you're using the Enterprise version, please use the [private ticketing](https://ag-grid.zendesk.com/) system to do that. | ||
@@ -92,2 +114,2 @@ ## Contributing | ||
This project is commercially licensed. See the [LICENSE file](./LICENSE.html) for more info. | ||
This project is licensed under the MIT license. See the [LICENSE file](./LICENSE.txt) for more info. |
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
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
6248449
215
113844
112
+ Addedag-charts-community@9.3.0(transitive)
- Removedag-charts-community@9.2.0(transitive)
Updatedag-charts-community@9.3.0