diff --git a/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-after-load-1-x-datum-highlight-1-snap.png b/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-after-load-1-x-datum-highlight-1-snap.png index d276d3d7a6..ae1adab33f 100644 Binary files a/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-after-load-1-x-datum-highlight-1-snap.png and b/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-after-load-1-x-datum-highlight-1-snap.png differ diff --git a/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-after-load-1-x-legend-toggle-1-snap.png b/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-after-load-1-x-legend-toggle-1-snap.png index 7d8bb58545..7f71b3290c 100644 Binary files a/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-after-load-1-x-legend-toggle-1-snap.png and b/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-after-load-1-x-legend-toggle-1-snap.png differ diff --git a/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-after-load-4-x-datum-highlight-1-snap.png b/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-after-load-4-x-datum-highlight-1-snap.png index 167c6b5869..488a92c76f 100644 Binary files a/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-after-load-4-x-datum-highlight-1-snap.png and b/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-after-load-4-x-datum-highlight-1-snap.png differ diff --git a/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-initial-load-1-snap.png b/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-initial-load-1-snap.png index 7d8bb58545..7f71b3290c 100644 Binary files a/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-initial-load-1-snap.png and b/packages/ag-charts-community/benchmarks/__image_snapshots__/large-dataset-test-ts-large-dataset-benchmark-initial-load-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-correctly-change-highlighting-state-and-reset-1-snap.png b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-correctly-change-highlighting-state-and-reset-1-snap.png index 7c5b37ec0a..79a2251b75 100644 Binary files a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-correctly-change-highlighting-state-and-reset-1-snap.png and b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-correctly-change-highlighting-state-and-reset-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-correctly-change-highlighting-state-and-reset-2-snap.png b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-correctly-change-highlighting-state-and-reset-2-snap.png index e11d0d4d4a..4f496ecadb 100644 Binary files a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-correctly-change-highlighting-state-and-reset-2-snap.png and b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-correctly-change-highlighting-state-and-reset-2-snap.png differ diff --git a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-correctly-change-highlighting-state-and-reset-3-snap.png b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-correctly-change-highlighting-state-and-reset-3-snap.png index b73d36c1d6..154a3f6740 100644 Binary files a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-correctly-change-highlighting-state-and-reset-3-snap.png and b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-correctly-change-highlighting-state-and-reset-3-snap.png differ diff --git a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-render-series-with-y-key-diesel-appropriately-1-snap.png b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-render-series-with-y-key-diesel-appropriately-1-snap.png index b089fbebaf..4b04409303 100644 Binary files a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-render-series-with-y-key-diesel-appropriately-1-snap.png and b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-render-series-with-y-key-diesel-appropriately-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-render-series-with-y-key-petrol-appropriately-1-snap.png b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-render-series-with-y-key-petrol-appropriately-1-snap.png index e11d0d4d4a..4f496ecadb 100644 Binary files a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-render-series-with-y-key-petrol-appropriately-1-snap.png and b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-line-series-highlighting-should-render-series-with-y-key-petrol-appropriately-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-160-1-snap.png b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-160-1-snap.png index 34475082d9..287332286a 100644 Binary files a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-160-1-snap.png and b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-160-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-240-1-snap.png b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-240-1-snap.png index cc8494f015..763d439dcd 100644 Binary files a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-240-1-snap.png and b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-240-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-320-1-snap.png b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-320-1-snap.png index 9896d1307e..cb914621fc 100644 Binary files a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-320-1-snap.png and b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-320-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-400-1-snap.png b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-400-1-snap.png index 3ec3dcf7b3..9fbf3e9e08 100644 Binary files a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-400-1-snap.png and b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-400-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-80-1-snap.png b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-80-1-snap.png index 6b95a4782c..2d29414c21 100644 Binary files a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-80-1-snap.png and b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-height-should-render-chart-correctly-at-height-80-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-width-should-render-chart-correctly-at-width-400-1-snap.png b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-width-should-render-chart-correctly-at-width-400-1-snap.png index ea68ea1ce7..a8d6f272f3 100644 Binary files a/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-width-should-render-chart-correctly-at-width-400-1-snap.png and b/packages/ag-charts-community/src/chart/__image_snapshots__/cartesian-chart-test-ts-cartesian-chart-small-chart-width-should-render-chart-correctly-at-width-400-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/__image_snapshots__/gallery-examples-test-ts-gallery-examples-ag-chart-v-2-create-for-simple-line-chart-example-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/__image_snapshots__/gallery-examples-test-ts-gallery-examples-ag-chart-v-2-create-for-simple-line-chart-example-it-should-render-to-canvas-as-expected-1-snap.png index b73d36c1d6..154a3f6740 100644 Binary files a/packages/ag-charts-community/src/chart/__image_snapshots__/gallery-examples-test-ts-gallery-examples-ag-chart-v-2-create-for-simple-line-chart-example-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/__image_snapshots__/gallery-examples-test-ts-gallery-examples-ag-chart-v-2-create-for-simple-line-chart-example-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-configured-tick-spacing-cases-for-axis-tick-min-spacing-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-configured-tick-spacing-cases-for-axis-tick-min-spacing-it-should-render-to-canvas-as-expected-1-snap.png index 2e419b9e84..eed8eb19f6 100644 Binary files a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-configured-tick-spacing-cases-for-axis-tick-min-spacing-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-configured-tick-spacing-cases-for-axis-tick-min-spacing-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-flip-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-flip-it-should-render-to-canvas-as-expected-1-snap.png index 8bdc1f74ea..359b72e566 100644 Binary files a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-flip-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-flip-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-it-should-render-to-canvas-as-expected-1-snap.png index bcb7cabdbf..ba67af2c1f 100644 Binary files a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-manual-rotation-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-manual-rotation-it-should-render-to-canvas-as-expected-1-snap.png index 91424a6e2b..6894d0974c 100644 Binary files a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-manual-rotation-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-manual-rotation-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png index 80824dfe5b..50b0d610bf 100644 Binary files a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-category-uniform-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-axis-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-axis-it-should-render-to-canvas-as-expected-1-snap.png index 83549f9a56..ccae431a5b 100644 Binary files a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-axis-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-axis-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-date-axis-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-date-axis-it-should-render-to-canvas-as-expected-1-snap.png index 6f4f5d2a54..f2b2618efc 100644 Binary files a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-date-axis-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-date-axis-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-date-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-date-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png index 5660d88e55..970f54802a 100644 Binary files a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-date-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-date-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-number-axis-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-number-axis-it-should-render-to-canvas-as-expected-1-snap.png index 6f4f5d2a54..f2b2618efc 100644 Binary files a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-number-axis-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-number-axis-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-number-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-number-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png index 5660d88e55..970f54802a 100644 Binary files a/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-number-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/axis/__image_snapshots__/axis-examples-test-ts-axis-examples-for-basic-time-min-max-number-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/axis/axis.ts b/packages/ag-charts-community/src/chart/axis/axis.ts index a0e2f3cf50..d99d671c08 100644 --- a/packages/ag-charts-community/src/chart/axis/axis.ts +++ b/packages/ag-charts-community/src/chart/axis/axis.ts @@ -183,6 +183,10 @@ export abstract class Axis< false ); + get labelNodes() { + return this.tickLabelGroupSelection.nodes(); + } + private _crossLines: CrossLine[] = []; set crossLines(value: CrossLine[]) { const { CrossLineConstructor } = this.constructor as typeof Axis; @@ -221,8 +225,8 @@ export abstract class Axis< protected axisContext: AxisContext | undefined = undefined; - private labelFormatter: ((datum: any) => string) | undefined = undefined; - private datumFormatter: ((datum: any) => string) | undefined = undefined; + private labelFormatter: ((datum: unknown) => string) | undefined = undefined; + private datumFormatter: ((datum: unknown) => string) | undefined = undefined; private scaleFormatterParams: CrosslineFormatterParams | undefined = undefined; protected readonly destroyFns: Array<() => void> = []; @@ -256,7 +260,7 @@ export abstract class Axis< this.destroyFns.forEach((f) => f()); } - protected updateRange() { + protected updateScale() { const { range: rr, visibleRange: vr, scale } = this; const span = (rr[1] - rr[0]) / (vr[1] - vr[0]); const shift = span * vr[0]; @@ -309,11 +313,11 @@ export abstract class Axis< return value >= min - tolerance && value <= max + tolerance; } - protected defaultDatumFormatter(datum: any, fractionDigits: number): string { + protected defaultDatumFormatter(datum: unknown, fractionDigits: number): string { return formatValue(datum, fractionDigits + 1); } - protected defaultLabelFormatter(datum: any, fractionDigits: number): string { + protected defaultLabelFormatter(datum: unknown, fractionDigits: number): string { return formatValue(datum, fractionDigits); } @@ -403,7 +407,7 @@ export abstract class Axis< fontWeight, spacing, } = mergeDefaults(stylerOutput, additionalStyles, defaultStyle); - return { fill, fontFamily, fontSize, fontStyle, fontWeight, spacing: spacing }; + return { fill, fontFamily, fontSize, fontStyle, fontWeight, spacing }; } protected getTickSize() { @@ -419,12 +423,12 @@ export abstract class Axis< return; } + caption.enabled = true; caption.color = title.color; caption.fontFamily = title.fontFamily; caption.fontSize = title.fontSize; caption.fontStyle = title.fontStyle; caption.fontWeight = title.fontWeight; - caption.enabled = title.enabled; caption.wrapping = title.wrapping; const titleNode = caption.node; @@ -456,20 +460,16 @@ export abstract class Axis< this.setDomains(...domains); } - private _lastDomain: D[] | undefined = undefined; protected animatable = true; setDomains(...domains: D[][]) { const { domain, animatable } = this.scale.normalizeDomains(...domains); - if (this._lastDomain !== domain) { - this.dataDomain = this.normaliseDataDomain(domain); + this.dataDomain = this.normaliseDataDomain(domain); - if (this.reverse) { - this.dataDomain.domain = this.dataDomain.domain.slice().reverse(); - } + if (this.reverse) { + this.dataDomain.domain.reverse(); } - this._lastDomain = domain; this.animatable = animatable; } @@ -477,9 +477,6 @@ export abstract class Axis< calculateLayout(initialPrimaryTickCount?: number) { const { scale, label, visibleRange, nice } = this; - const { rotation, parallelFlipRotation, regularFlipRotation } = this.calculateRotations(); - const sideFlag = this.label.getSideFlag(); - this.updateScale(); const rangeExtent = findRangeExtent(this.range); @@ -518,10 +515,10 @@ export abstract class Axis< const specifier = label.format; this.labelFormatter = scale.tickFormatter({ domain: tickDomain, specifier, ticks, fractionDigits }) ?? - ((x: any) => this.defaultLabelFormatter(x, fractionDigits)); + ((value: unknown) => this.defaultLabelFormatter(value, fractionDigits)); this.datumFormatter = scale.datumFormatter({ domain: tickDomain, specifier, ticks, fractionDigits }) ?? - ((x: any) => this.defaultDatumFormatter(x, fractionDigits)); + ((value: unknown) => this.defaultDatumFormatter(value, fractionDigits)); this.scaleFormatterParams = { domain: tickDomain, ticks, fractionDigits }; this.layout.label = { @@ -530,13 +527,15 @@ export abstract class Axis< format: this.label.format, }; + const sideFlag = label.getSideFlag(); const anySeriesActive = this.isAnySeriesActive(); + const { rotation, parallelFlipRotation, regularFlipRotation } = this.calculateRotations(); this.crossLines.forEach((crossLine) => { crossLine.sideFlag = -sideFlag as ChartAxisLabelFlipFlag; crossLine.direction = rotation === -Math.PI / 2 ? ChartAxisDirection.X : ChartAxisDirection.Y; if (crossLine instanceof CartesianCrossLine) { - crossLine.label.parallel ??= this.label.parallel; + crossLine.label.parallel ??= label.parallel; } crossLine.parallelFlipRotation = parallelFlipRotation; crossLine.regularFlipRotation = regularFlipRotation; @@ -567,10 +566,6 @@ export abstract class Axis< return matrix.transformBBox(bbox); } - updateScale() { - this.updateRange(); - } - protected calculateRotations() { const rotation = toRadians(this.rotation); // When labels are parallel to the axis line, the `parallelFlipFlag` is used to @@ -653,7 +648,12 @@ export abstract class Axis< protected abstract updateLabels(): void; // For formatting (nice rounded) tick values. - formatTick(value: any, index: number, fractionDigits?: number, defaultFormatter?: (datum: any) => string): string { + formatTick( + value: unknown, + index: number, + fractionDigits?: number, + defaultFormatter?: (datum: unknown) => string + ): string { const { labelFormatter, label: { formatter }, @@ -672,7 +672,7 @@ export abstract class Axis< } // For formatting arbitrary values between the ticks. - formatDatum(value: any): string { + formatDatum(value: unknown): string { const { label: { formatter }, moduleCtx: { callbackCache }, @@ -691,10 +691,10 @@ export abstract class Axis< return String(result ?? value); } - private getScaleValueFormatter(format?: string): (value: any) => string { + private getScaleValueFormatter(format?: string): (value: unknown) => string { const { scaleFormatterParams } = this; - let formatter: ((value: any) => string) | undefined; + let formatter: ((value: unknown) => string) | undefined; try { if (format != null && scaleFormatterParams != null) { formatter = this.scale.tickFormatter({ ...scaleFormatterParams, specifier: format }); @@ -703,7 +703,7 @@ export abstract class Axis< Logger.warnOnce(`the format string ${format} is invalid, ignoring.`); } - formatter ??= (value: any) => this.formatDatum(value); + formatter ??= (value: unknown) => this.formatDatum(value); return formatter; } @@ -784,15 +784,9 @@ export abstract class Axis< seriesKeyProperties: () => this.boundSeries.reduce((keys, series) => { const seriesKeys = series.getKeyProperties(this.direction); - - seriesKeys.forEach((key) => { - if (keys.indexOf(key) < 0) { - keys.push(key); - } - }); - + seriesKeys.forEach((key) => keys.add(key)); return keys; - }, [] as string[]), + }, new Set()), seriesIds: () => this.boundSeries.map((series) => series.id), scaleValueFormatter: (specifier?: string) => this.getScaleValueFormatter(specifier), scaleInvert: (val) => scale.invert(val, true), diff --git a/packages/ag-charts-community/src/chart/axis/axisTickGenerator.ts b/packages/ag-charts-community/src/chart/axis/axisTickGenerator.ts index 5ae97d0ef8..c65e76752c 100644 --- a/packages/ag-charts-community/src/chart/axis/axisTickGenerator.ts +++ b/packages/ag-charts-community/src/chart/axis/axisTickGenerator.ts @@ -24,7 +24,7 @@ export interface TickData { rawTicks: D[]; fractionDigits: number; ticks: TickDatum[]; - niceDomain: D[]; + niceDomain?: D[]; } export interface TickGenerationParams { @@ -96,7 +96,8 @@ export class AxisTickGenerator>, D> { const { minSpacing, maxSpacing } = this.axis.interval; const tickSpacing = !isNaN(minSpacing) || !isNaN(maxSpacing); const keepEvery = tickSpacing ? Math.ceil(ticks.length / tickCount) : 2; - return ticks.filter((_: any, i: number) => i % keepEvery === 0); + const offset = ticks.length % keepEvery ? -1 : 0; + return ticks.filter((_: any, i: number) => (i + offset) % keepEvery === 0); } generateTicks({ @@ -111,8 +112,8 @@ export class AxisTickGenerator>, D> { }: TickGenerationParams): TickGenerationResult { const { scale, - interval: { minSpacing, maxSpacing }, label, + interval: { minSpacing, maxSpacing }, } = this.axis; const { parallel, rotation, fontFamily, fontSize, fontStyle, fontWeight } = label; @@ -167,7 +168,7 @@ export class AxisTickGenerator>, D> { ticks: [], rawTicks: [], fractionDigits: 0, - niceDomain: null!, + niceDomain: undefined, }; let index = 0; @@ -378,7 +379,6 @@ export class AxisTickGenerator>, D> { }; let niceDomain = niceMode === NiceMode.TickAndDomain ? scale.niceDomain(domainParams, domain) : domain; - let tickDomain: D[] = niceDomain; let rawTicks: any[]; @@ -393,6 +393,7 @@ export class AxisTickGenerator>, D> { .sort((a, b) => Number(a) - Number(b)); } break; + case TickGenerationType.CREATE_SECONDARY: if (ContinuousScale.is(scale)) { const secondaryAxisTicks = calculateNiceSecondaryAxis( @@ -408,12 +409,13 @@ export class AxisTickGenerator>, D> { rawTicks = scale.ticks(tickParams, niceDomain, visibleRange) ?? []; } break; + case TickGenerationType.FILTER: rawTicks = this.filterTicks(previousTicks, tickCount); break; + default: rawTicks = scale.ticks(tickParams, niceDomain, visibleRange) ?? []; - break; } const fractionDigits = rawTicks.reduce( diff --git a/packages/ag-charts-community/src/chart/axis/cartesianAxis.ts b/packages/ag-charts-community/src/chart/axis/cartesianAxis.ts index 35dd3fb62d..53aad072e5 100644 --- a/packages/ag-charts-community/src/chart/axis/cartesianAxis.ts +++ b/packages/ag-charts-community/src/chart/axis/cartesianAxis.ts @@ -171,9 +171,8 @@ export abstract class CartesianAxis = Scale = Scale this.getTickLabelProps(d, tickGenerationResult)) ?? []; + const labels = ticks.map((d) => this.getTickLabelProps(d, tickGenerationResult)); + const bbox = this.tickBBox(ticks, labels); this.generatedTicks = { ticks, labels }; - const niceDomain = tickData?.niceDomain ?? domain; - const fractionDigits = tickData?.fractionDigits ?? 0; - - const bbox = this.tickBBox(ticks, labels); - - return { - niceDomain, - primaryTickCount, - tickDomain: tickData?.tickDomain ?? niceDomain, - ticks: tickData?.rawTicks ?? [], - fractionDigits, - bbox, - }; + return { ticks: rawTicks, tickDomain, niceDomain, primaryTickCount, fractionDigits, bbox }; } override update() { @@ -258,19 +247,17 @@ export abstract class CartesianAxis = Scale { + for (const datum of ticks) { const { x1, x2, y } = this.getTickLineCoordinates(datum); const tickLineBox = new BBox(x1, y, x2 - x1, 0); boxes.push(tickLineBox); - }); + } } const { tempText } = this; if (this.label.enabled) { - labels.forEach((datum) => { - if (!datum.visible) { - return; - } + for (const datum of labels) { + if (!datum.visible) continue; tempText.setProperties({ ...datum, @@ -281,7 +268,7 @@ export abstract class CartesianAxis = Scale = Scale = Scale(); return array.filter((item) => { diff --git a/packages/ag-charts-community/src/chart/cartesianChart.ts b/packages/ag-charts-community/src/chart/cartesianChart.ts index 5208f99456..652d6c90ad 100644 --- a/packages/ag-charts-community/src/chart/cartesianChart.ts +++ b/packages/ag-charts-community/src/chart/cartesianChart.ts @@ -239,7 +239,7 @@ export class CartesianChart extends Chart { primaryTickCounts[direction] ??= primaryTickCount; clipSeries ||= axis.dataDomain.clipped || axis.visibleRange[0] > 0 || axis.visibleRange[1] < 1; - axisWidths.set(axis.id, Math.ceil(axis.thickness ?? (isVertical ? bbox?.width ?? 0 : bbox?.height ?? 0))); + axisWidths.set(axis.id, Math.ceil(axis.thickness ?? (isVertical ? bbox?.width : bbox?.height) ?? 0)); } const axisGroups = Object.entries(groupBy(this.axes, (axis) => axis.position ?? 'left')) as [ @@ -490,6 +490,27 @@ export class CartesianChart extends Chart { seriesRect.width + gridLinePadding * 2, layoutBBox.height + gridLinePadding ); + + // Detect last label clipping, only on continuous axis when label.avoidCollisions is enabled. + const { label, labelNodes, scale } = axis; + if (ContinuousScale.is(scale) && label.enabled && label.avoidCollisions && labelNodes.length > 1) { + const sortedLabels = labelNodes.toSorted((a, b) => a.translationY - b.translationY); + const lastLabel = sortedLabels.at(-1)!; + const lastLabelBBox = lastLabel.getBBox(); + const lastLabelInBounds = + seriesRect.x + lastLabelBBox.y + lastLabelBBox.height <= + layoutBBox.x + layoutBBox.width + this.padding.right; + lastLabel.visible = lastLabelInBounds; + + // When hiding the last label due to clipping we also hide the first label for the sack of balance. + // First label is hidden only if also out of bounds and visible range doesn't reach the domain end. + if (lastLabelInBounds || axis.visibleRange[0] > 0 || axis.visibleRange[1] < 1) { + sortedLabels[0].visible = true; + } else { + const firstLabelBBox = sortedLabels[0].getBBox(); + sortedLabels[0].visible = firstLabelBBox.y >= 0; + } + } break; } } diff --git a/packages/ag-charts-community/src/chart/chartAxis.ts b/packages/ag-charts-community/src/chart/chartAxis.ts index 7d5ec53840..e78a8327e4 100644 --- a/packages/ag-charts-community/src/chart/chartAxis.ts +++ b/packages/ag-charts-community/src/chart/chartAxis.ts @@ -14,6 +14,7 @@ import type { ModuleMap } from '../module/moduleMap'; import type { Scale } from '../scale/scale'; import type { BBox } from '../scene/bbox'; import type { Node } from '../scene/node'; +import type { TransformableText } from '../scene/shape/text'; import type { AxisGridLine } from './axis/axisGridLine'; import type { AxisLine } from './axis/axisLine'; import type { AxisTick, TickInterval } from './axis/axisTick'; @@ -93,6 +94,7 @@ export interface ChartAxis { translation: { x: number; y: number }; type: string; visibleRange: [number, number]; + labelNodes: TransformableText[]; } export interface ChartAxisLabel extends FontOptions { diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-bottom-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-bottom-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 091b6993e3..40f7b2e80c 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-bottom-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-bottom-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-bottom-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-bottom-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index ea5dd74bc7..654da9297e 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-bottom-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-bottom-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-bottom-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-bottom-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index fe5a2f5c0a..cd57f962f8 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-bottom-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-bottom-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-default-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-default-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 63a6190b8e..c9a0238c88 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-default-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-default-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-bottom-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-bottom-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 163b70ce23..c1a35a9163 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-bottom-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-bottom-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-bottom-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-bottom-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index a56002dea1..5e987028ef 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-bottom-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-bottom-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-bottom-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-bottom-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index c983a1c9c1..7b0900786e 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-bottom-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-bottom-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 6640c5b20a..06fde6b237 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index e36944c74c..d448abee8a 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 32ce56e7c1..731db70a2f 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-top-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-top-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 4885ee5a4c..20470088d5 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-top-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-top-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-top-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-top-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 3231ba3988..13a4546760 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-top-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-top-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-top-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-top-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 36f25b5c2d..1208d730f5 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-top-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-inside-top-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 224d49819e..ea35807025 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-flipped-outside-domain-max-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-flipped-outside-domain-max-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 015b45935d..73a320c0a0 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-flipped-outside-domain-max-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-flipped-outside-domain-max-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-flipped-outside-domain-min-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-flipped-outside-domain-min-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 5d26954c9a..6dabdbf3df 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-flipped-outside-domain-min-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-flipped-outside-domain-min-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 1fd133e7a2..e50a203b5c 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-max-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-max-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 015b45935d..73a320c0a0 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-max-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-max-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-min-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-min-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 5d26954c9a..6dabdbf3df 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-min-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-min-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-min-max-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-min-max-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index d8f7b3dcb9..03ece1a7cb 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-min-max-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-range-outside-domain-min-max-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-top-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-top-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 63a6190b8e..c9a0238c88 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-top-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-top-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-top-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-top-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 145eccbd26..3cbee83a7a 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-top-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-top-left-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-top-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-top-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index f188e1aee6..d6b38254ec 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-top-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-top-right-label-position-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-valid-flipped-range-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-valid-flipped-range-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 63a6190b8e..c9a0238c88 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-valid-flipped-range-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-valid-flipped-range-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-valid-range-crosslines-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-valid-range-crosslines-it-should-render-to-canvas-as-expected-1-snap.png index 63a6190b8e..c9a0238c88 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-valid-range-crosslines-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-create-for-valid-range-crosslines-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-line-value-crosslines-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-line-value-crosslines-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png index 1fd133e7a2..e50a203b5c 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-line-value-crosslines-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-line-value-crosslines-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-line-with-range-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-line-with-range-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png index 1fd133e7a2..e50a203b5c 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-line-with-range-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-line-with-range-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-line-without-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-line-without-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png index 1fd133e7a2..e50a203b5c 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-line-without-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-line-without-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-crosslines-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-crosslines-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png index 1fd133e7a2..e50a203b5c 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-crosslines-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-crosslines-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-length-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-length-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png index 1fd133e7a2..e50a203b5c 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-length-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-length-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-with-line-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-with-line-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png index 1fd133e7a2..e50a203b5c 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-with-line-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-with-line-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-without-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-without-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png index 1fd133e7a2..e50a203b5c 100644 Binary files a/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-without-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png and b/packages/ag-charts-community/src/chart/crossline/__image_snapshots__/cross-line-test-ts-cross-line-invalid-options-for-invalid-range-without-type-crossline-it-should-render-to-canvas-without-cross-lines-and-show-warning-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/legend/__image_snapshots__/legend-test-ts-legend-large-series-count-chart-legend-pagination-should-render-legend-correctly-at-position-right-1-snap.png b/packages/ag-charts-community/src/chart/legend/__image_snapshots__/legend-test-ts-legend-large-series-count-chart-legend-pagination-should-render-legend-correctly-at-position-right-1-snap.png index 9628da3edb..4b5fbcf4c5 100644 Binary files a/packages/ag-charts-community/src/chart/legend/__image_snapshots__/legend-test-ts-legend-large-series-count-chart-legend-pagination-should-render-legend-correctly-at-position-right-1-snap.png and b/packages/ag-charts-community/src/chart/legend/__image_snapshots__/legend-test-ts-legend-large-series-count-chart-legend-pagination-should-render-legend-correctly-at-position-right-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-area-time-x-axis-missing-x-data-example-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-area-time-x-axis-missing-x-data-example-it-should-render-to-canvas-as-expected-1-snap.png index a49e63829a..086b20feca 100644 Binary files a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-area-time-x-axis-missing-x-data-example-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-area-time-x-axis-missing-x-data-example-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-area-time-x-axis-missing-x-data-example-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-area-time-x-axis-missing-x-data-example-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png index 9101af8122..955237f643 100644 Binary files a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-area-time-x-axis-missing-x-data-example-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-area-time-x-axis-missing-x-data-example-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-stacked-area-time-x-axis-missing-x-data-example-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-stacked-area-time-x-axis-missing-x-data-example-it-should-render-to-canvas-as-expected-1-snap.png index 44e045547c..1f87f5170c 100644 Binary files a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-stacked-area-time-x-axis-missing-x-data-example-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-stacked-area-time-x-axis-missing-x-data-example-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-stacked-area-time-x-axis-missing-x-data-example-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-stacked-area-time-x-axis-missing-x-data-example-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png index fd05f1aa19..15f7ccff0e 100644 Binary files a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-stacked-area-time-x-axis-missing-x-data-example-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/area-series-test-ts-area-series-create-for-stacked-area-time-x-axis-missing-x-data-example-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-missing-x-data-example-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-missing-x-data-example-it-should-render-to-canvas-as-expected-1-snap.png index 8272ef026f..338defbcff 100644 Binary files a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-missing-x-data-example-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-missing-x-data-example-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-missing-x-data-example-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-missing-x-data-example-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png index 4e219e5501..2facc49fcf 100644 Binary files a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-missing-x-data-example-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-missing-x-data-example-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-number-y-axis-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-number-y-axis-it-should-render-to-canvas-as-expected-1-snap.png index 7e5ac16556..2f668573ac 100644 Binary files a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-number-y-axis-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-number-y-axis-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-number-y-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-number-y-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png index a1d6ce9f17..7620cd277e 100644 Binary files a/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-number-y-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-community/src/chart/series/cartesian/__image_snapshots__/line-series-test-ts-line-series-create-for-line-time-x-axis-number-y-axis-reversed-axes-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-community/src/module/axisContext.ts b/packages/ag-charts-community/src/module/axisContext.ts index b2f086f82b..7354f56d98 100644 --- a/packages/ag-charts-community/src/module/axisContext.ts +++ b/packages/ag-charts-community/src/module/axisContext.ts @@ -12,7 +12,7 @@ export interface AxisContext { position?: AgCartesianAxisPosition; scale: Scale; getCanvasBounds(): BBoxValues | undefined; - seriesKeyProperties(): string[]; + seriesKeyProperties(): Set; seriesIds(): string[]; scaleInvert(position: number): any; scaleInvertNearest(position: number): any; diff --git a/packages/ag-charts-community/src/scene/matrix.ts b/packages/ag-charts-community/src/scene/matrix.ts index da95cabea0..b4a57b6b67 100644 --- a/packages/ag-charts-community/src/scene/matrix.ts +++ b/packages/ag-charts-community/src/scene/matrix.ts @@ -1,11 +1,8 @@ +import { isNumberEqual } from '../util/number'; import { BBox } from './bbox'; export const IDENTITY_MATRIX_ELEMENTS: readonly number[] = [1, 0, 0, 1, 0, 0]; -function closeValue(val: number, ref: number, errorMargin = 1e-8) { - return val === ref || Math.abs(ref - val) < errorMargin; -} - /** * As of Jan 8, 2019, Firefox still doesn't implement * `getTransform(): DOMMatrix;` @@ -31,8 +28,8 @@ export class Matrix { return [...this.elements]; } - constructor(elements: number[] = [...IDENTITY_MATRIX_ELEMENTS]) { - this.elements = elements; + constructor(elements: readonly number[] = IDENTITY_MATRIX_ELEMENTS) { + this.elements = [...elements]; } setElements(elements: readonly number[]): this { @@ -63,12 +60,12 @@ export class Matrix { get identity(): boolean { const e = this.elements; return ( - closeValue(e[0], 1) && - closeValue(e[1], 0) && - closeValue(e[2], 0) && - closeValue(e[3], 1) && - closeValue(e[4], 0) && - closeValue(e[5], 0) + isNumberEqual(e[0], 1) && + isNumberEqual(e[1], 0) && + isNumberEqual(e[2], 0) && + isNumberEqual(e[3], 1) && + isNumberEqual(e[4], 0) && + isNumberEqual(e[5], 0) ); } diff --git a/packages/ag-charts-community/src/util/number.ts b/packages/ag-charts-community/src/util/number.ts index 58456fa49e..0889fa1e86 100644 --- a/packages/ag-charts-community/src/util/number.ts +++ b/packages/ag-charts-community/src/util/number.ts @@ -29,7 +29,7 @@ export function inRange(value: number, range: [number, number], epsilon: number } export function isNumberEqual(a: number, b: number, epsilon: number = 1e-10) { - return Math.abs(a - b) < epsilon; + return a === b || Math.abs(a - b) < epsilon; } export function isNegative(value: number) { diff --git a/packages/ag-charts-enterprise/src/axes/radius/radiusAxis.ts b/packages/ag-charts-enterprise/src/axes/radius/radiusAxis.ts index b311eec48c..425ed4155e 100644 --- a/packages/ag-charts-enterprise/src/axes/radius/radiusAxis.ts +++ b/packages/ag-charts-enterprise/src/axes/radius/radiusAxis.ts @@ -116,25 +116,15 @@ export abstract class RadiusAxis< labelX, sideFlag, }); + const { tickData, primaryTickCount = initialPrimaryTickCount } = tickGenerationResult; + const { ticks, rawTicks, tickDomain, fractionDigits, niceDomain = domain } = tickData; - const ticks = tickData?.ticks ?? []; - const labels = - tickGenerationResult?.tickData.ticks?.map((d) => this.getTickLabelProps(d, tickGenerationResult)) ?? []; + const labels = ticks.map((d) => this.getTickLabelProps(d, tickGenerationResult)); this.generatedTicks = { ticks, labels }; - const niceDomain = tickData?.niceDomain ?? domain; - const fractionDigits = tickData?.fractionDigits ?? 0; - - return { - niceDomain, - primaryTickCount, - tickDomain: tickData?.tickDomain ?? niceDomain, - ticks: tickData?.rawTicks ?? [], - fractionDigits, - bbox: undefined, - }; + return { ticks: rawTicks, tickDomain, niceDomain, primaryTickCount, fractionDigits, bbox: undefined }; } protected abstract prepareGridPathTickData(tickData: _ModuleSupport.TickDatum[]): _ModuleSupport.TickDatum[]; diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-extending-lines-should-render-an-extended-parallel-channel-annotation-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-extending-lines-should-render-an-extended-parallel-channel-annotation-1-snap.png index 27e6fae663..08b8efe140 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-extending-lines-should-render-an-extended-parallel-channel-annotation-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-extending-lines-should-render-an-extended-parallel-channel-annotation-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-callout-annotation-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-callout-annotation-1-snap.png index 4fb26993b5..35e4fc2660 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-callout-annotation-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-callout-annotation-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-comment-annotation-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-comment-annotation-1-snap.png index a4cc6357a5..b31611e585 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-comment-annotation-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-comment-annotation-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-date-price-range-annotation-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-date-price-range-annotation-1-snap.png index 2b0547ebf7..baadaa5cde 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-date-price-range-annotation-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-date-price-range-annotation-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-date-range-annotation-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-date-range-annotation-1-snap.png index 33dcb19512..26ac39175c 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-date-range-annotation-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-date-range-annotation-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-disjoint-channel-annotation-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-disjoint-channel-annotation-1-snap.png index 2b2d75e79c..b0884f4ff8 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-disjoint-channel-annotation-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-disjoint-channel-annotation-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-negative-gradient-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-negative-gradient-1-snap.png index b4b67c5fc2..047f497a9c 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-negative-gradient-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-negative-gradient-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-negative-gradient-2-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-negative-gradient-2-snap.png index 1b17e397ac..1b030452d5 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-negative-gradient-2-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-negative-gradient-2-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-positive-gradient-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-positive-gradient-1-snap.png index a0eaf04029..6481d43517 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-positive-gradient-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-positive-gradient-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-positive-gradient-2-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-positive-gradient-2-snap.png index f6fe21e713..8986eef514 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-positive-gradient-2-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-fibonacci-retracement-annotation-with-positive-gradient-2-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-horizontal-cross-line-annotation-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-horizontal-cross-line-annotation-1-snap.png index 8552c818d4..ae50eed4f8 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-horizontal-cross-line-annotation-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-horizontal-cross-line-annotation-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-line-annotation-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-line-annotation-1-snap.png index b18344d7e2..2761bd462e 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-line-annotation-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-line-annotation-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-note-annotation-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-note-annotation-1-snap.png index c5aeb395c2..4fc5dcb047 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-note-annotation-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-note-annotation-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-parallel-channel-annotation-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-parallel-channel-annotation-1-snap.png index c7a9f48dac..352f16f22e 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-parallel-channel-annotation-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-parallel-channel-annotation-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-price-range-annotation-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-price-range-annotation-1-snap.png index 1130d60d01..600844115f 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-price-range-annotation-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-price-range-annotation-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-revered-fibonacci-retracement-annotation-with-negative-gradient-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-revered-fibonacci-retracement-annotation-with-negative-gradient-1-snap.png index 43cd073db4..2816268f03 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-revered-fibonacci-retracement-annotation-with-negative-gradient-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-revered-fibonacci-retracement-annotation-with-negative-gradient-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-revered-fibonacci-retracement-annotation-with-negative-gradient-2-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-revered-fibonacci-retracement-annotation-with-negative-gradient-2-snap.png index 86aa578cb8..9da282b4e9 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-revered-fibonacci-retracement-annotation-with-negative-gradient-2-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-revered-fibonacci-retracement-annotation-with-negative-gradient-2-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-reversed-fibonacci-retracement-annotation-with-positive-gradient-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-reversed-fibonacci-retracement-annotation-with-positive-gradient-1-snap.png index da58bdbace..7d40385162 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-reversed-fibonacci-retracement-annotation-with-positive-gradient-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-reversed-fibonacci-retracement-annotation-with-positive-gradient-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-reversed-fibonacci-retracement-annotation-with-positive-gradient-2-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-reversed-fibonacci-retracement-annotation-with-positive-gradient-2-snap.png index a890ed6bbc..e50f7fc8dd 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-reversed-fibonacci-retracement-annotation-with-positive-gradient-2-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-reversed-fibonacci-retracement-annotation-with-positive-gradient-2-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-text-annotation-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-text-annotation-1-snap.png index 44a7d2434c..2d687f5b64 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-text-annotation-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-text-annotation-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-vertical-cross-line-annotation-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-vertical-cross-line-annotation-1-snap.png index 7689555161..00eb703582 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-vertical-cross-line-annotation-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-initial-should-render-a-vertical-cross-line-annotation-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-date-price-range-annotations-with-text-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-date-price-range-annotations-with-text-1-snap.png index 7fd638dadc..51c53d3fed 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-date-price-range-annotations-with-text-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-date-price-range-annotations-with-text-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-disjoint-channel-annotations-with-text-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-disjoint-channel-annotations-with-text-1-snap.png index d4d56b0d2f..c22d44971e 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-disjoint-channel-annotations-with-text-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-disjoint-channel-annotations-with-text-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-horizontal-line-annotations-with-text-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-horizontal-line-annotations-with-text-1-snap.png index 22c7683e17..d7fefa3b73 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-horizontal-line-annotations-with-text-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-horizontal-line-annotations-with-text-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-line-annotations-with-text-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-line-annotations-with-text-1-snap.png index 79bf9472de..5709c64c22 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-line-annotations-with-text-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-line-annotations-with-text-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-parallel-channel-annotations-with-text-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-parallel-channel-annotations-with-text-1-snap.png index d68a4af46b..f9a51ec7f8 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-parallel-channel-annotations-with-text-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-parallel-channel-annotations-with-text-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-stacked-annotations-with-text-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-stacked-annotations-with-text-1-snap.png index d311ba4278..92e72c1410 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-stacked-annotations-with-text-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-stacked-annotations-with-text-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-vertical-line-annotations-with-text-1-snap.png b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-vertical-line-annotations-with-text-1-snap.png index 9a166c9c18..b08053b6c0 100644 Binary files a/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-vertical-line-annotations-with-text-1-snap.png and b/packages/ag-charts-enterprise/src/features/annotations/__image_snapshots__/annotations-test-ts-annotations-lines-with-text-should-render-vertical-line-annotations-with-text-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/data-source/__image_snapshots__/data-source-test-ts-data-source-with-window-should-change-the-window-after-a-change-in-zoom-2-snap.png b/packages/ag-charts-enterprise/src/features/data-source/__image_snapshots__/data-source-test-ts-data-source-with-window-should-change-the-window-after-a-change-in-zoom-2-snap.png index e6cf0f5c7d..3a690b0c46 100644 Binary files a/packages/ag-charts-enterprise/src/features/data-source/__image_snapshots__/data-source-test-ts-data-source-with-window-should-change-the-window-after-a-change-in-zoom-2-snap.png and b/packages/ag-charts-enterprise/src/features/data-source/__image_snapshots__/data-source-test-ts-data-source-with-window-should-change-the-window-after-a-change-in-zoom-2-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/data-source/__image_snapshots__/data-source-test-ts-data-source-with-window-should-load-a-window-at-the-end-1-snap.png b/packages/ag-charts-enterprise/src/features/data-source/__image_snapshots__/data-source-test-ts-data-source-with-window-should-load-a-window-at-the-end-1-snap.png index e6cf0f5c7d..3a690b0c46 100644 Binary files a/packages/ag-charts-enterprise/src/features/data-source/__image_snapshots__/data-source-test-ts-data-source-with-window-should-load-a-window-at-the-end-1-snap.png and b/packages/ag-charts-enterprise/src/features/data-source/__image_snapshots__/data-source-test-ts-data-source-with-window-should-load-a-window-at-the-end-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/data-source/__image_snapshots__/data-source-test-ts-data-source-with-window-should-load-a-window-in-the-middle-1-snap.png b/packages/ag-charts-enterprise/src/features/data-source/__image_snapshots__/data-source-test-ts-data-source-with-window-should-load-a-window-in-the-middle-1-snap.png index 25a7bfa875..1e2f029e53 100644 Binary files a/packages/ag-charts-enterprise/src/features/data-source/__image_snapshots__/data-source-test-ts-data-source-with-window-should-load-a-window-in-the-middle-1-snap.png and b/packages/ag-charts-enterprise/src/features/data-source/__image_snapshots__/data-source-test-ts-data-source-with-window-should-load-a-window-in-the-middle-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/navigator/__image_snapshots__/navigator-test-ts-navigator-create-for-nav-zoomed-clipped-crosslines-1-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-enterprise/src/features/navigator/__image_snapshots__/navigator-test-ts-navigator-create-for-nav-zoomed-clipped-crosslines-1-it-should-render-to-canvas-as-expected-1-snap.png index 934895278f..91f2929714 100644 Binary files a/packages/ag-charts-enterprise/src/features/navigator/__image_snapshots__/navigator-test-ts-navigator-create-for-nav-zoomed-clipped-crosslines-1-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-enterprise/src/features/navigator/__image_snapshots__/navigator-test-ts-navigator-create-for-nav-zoomed-clipped-crosslines-1-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/features/navigator/__image_snapshots__/navigator-test-ts-navigator-create-for-nav-zoomed-clipped-crosslines-2-it-should-render-to-canvas-as-expected-1-snap.png b/packages/ag-charts-enterprise/src/features/navigator/__image_snapshots__/navigator-test-ts-navigator-create-for-nav-zoomed-clipped-crosslines-2-it-should-render-to-canvas-as-expected-1-snap.png index 5277567299..7b07e7d696 100644 Binary files a/packages/ag-charts-enterprise/src/features/navigator/__image_snapshots__/navigator-test-ts-navigator-create-for-nav-zoomed-clipped-crosslines-2-it-should-render-to-canvas-as-expected-1-snap.png and b/packages/ag-charts-enterprise/src/features/navigator/__image_snapshots__/navigator-test-ts-navigator-create-for-nav-zoomed-clipped-crosslines-2-it-should-render-to-canvas-as-expected-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-a-number-x-axis-1-snap.png b/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-a-number-x-axis-1-snap.png index 37deb6f858..60c7eaabb8 100644 Binary files a/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-a-number-x-axis-1-snap.png and b/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-a-number-x-axis-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-a-time-x-axis-1-snap.png b/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-a-time-x-axis-1-snap.png index 9b1c492a4b..54125fbb89 100644 Binary files a/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-a-time-x-axis-1-snap.png and b/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-a-time-x-axis-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-missing-and-invalid-x-values-1-snap.png b/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-missing-and-invalid-x-values-1-snap.png index 9b1c492a4b..54125fbb89 100644 Binary files a/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-missing-and-invalid-x-values-1-snap.png and b/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-missing-and-invalid-x-values-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-reversed-number-x-axis-1-snap.png b/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-reversed-number-x-axis-1-snap.png index 1c99d12fa6..a149a04c50 100644 Binary files a/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-reversed-number-x-axis-1-snap.png and b/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-reversed-number-x-axis-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-reversed-time-x-axis-1-snap.png b/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-reversed-time-x-axis-1-snap.png index f73999adbf..1b69f05ad4 100644 Binary files a/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-reversed-time-x-axis-1-snap.png and b/packages/ag-charts-enterprise/src/series/range-area/__image_snapshots__/range-area-test-ts-range-area-series-should-render-a-range-area-chart-with-reversed-time-x-axis-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-horizontal-range-bar-chart-with-date-y-values-as-expected-1-snap.png b/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-horizontal-range-bar-chart-with-date-y-values-as-expected-1-snap.png index 59b9e05e6b..40327c8644 100644 Binary files a/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-horizontal-range-bar-chart-with-date-y-values-as-expected-1-snap.png and b/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-horizontal-range-bar-chart-with-date-y-values-as-expected-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-number-x-axis-1-snap.png b/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-number-x-axis-1-snap.png index be02638fa5..ac7185bbb0 100644 Binary files a/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-number-x-axis-1-snap.png and b/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-number-x-axis-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-reversed-number-x-axis-1-snap.png b/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-reversed-number-x-axis-1-snap.png index 73373b8783..e3dec83e4d 100644 Binary files a/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-reversed-number-x-axis-1-snap.png and b/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-reversed-number-x-axis-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-reversed-time-x-axis-1-snap.png b/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-reversed-time-x-axis-1-snap.png index fd69cef41f..13c98b1b93 100644 Binary files a/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-reversed-time-x-axis-1-snap.png and b/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-reversed-time-x-axis-1-snap.png differ diff --git a/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-time-x-axis-1-snap.png b/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-time-x-axis-1-snap.png index f207287635..12a8818a0e 100644 Binary files a/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-time-x-axis-1-snap.png and b/packages/ag-charts-enterprise/src/series/range-bar/__image_snapshots__/range-bar-test-ts-range-bar-series-should-render-a-range-bar-chart-with-a-time-x-axis-1-snap.png differ