@swimlane/ngx-charts 24.0.0 → 24.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -868,6 +868,9 @@ declare class YAxisTicksComponent implements OnChanges, AfterViewInit {
|
|
|
868
868
|
tickTransform(tick: number): string;
|
|
869
869
|
gridLineTransform(): string;
|
|
870
870
|
tickTrim(label: string): string;
|
|
871
|
+
/** Approx px width for SSR / pre-measure seeding. */
|
|
872
|
+
static readonly APPROX_CHAR_WIDTH = 7;
|
|
873
|
+
static approximateTickLabelsWidth(labels: string[], trimTicks?: boolean, maxTickLength?: number): number;
|
|
871
874
|
getApproximateAxisWidth(): number;
|
|
872
875
|
tickChunks(label: string): string[];
|
|
873
876
|
static ɵfac: i0.ɵɵFactoryDeclaration<YAxisTicksComponent, never>;
|
|
@@ -902,6 +905,8 @@ declare class YAxisComponent implements OnChanges {
|
|
|
902
905
|
tickStroke: string;
|
|
903
906
|
strokeWidth: number;
|
|
904
907
|
padding: number;
|
|
908
|
+
/** Last tick-label width emitted to the parent chart (not conflated with labelOffset). */
|
|
909
|
+
private emittedTickWidth;
|
|
905
910
|
ticksComponent: YAxisTicksComponent;
|
|
906
911
|
ngOnChanges(changes: SimpleChanges): void;
|
|
907
912
|
update(): void;
|
|
@@ -1508,6 +1513,8 @@ declare class BarHorizontalComponent extends BaseChartComponent {
|
|
|
1508
1513
|
dataLabelMaxWidth: any;
|
|
1509
1514
|
ngOnChanges(): void;
|
|
1510
1515
|
update(): void;
|
|
1516
|
+
/** Approx Y-axis width from category labels when not yet measured (SSR-safe). */
|
|
1517
|
+
seedYAxisWidthFromResults(): void;
|
|
1511
1518
|
getXScale(): any;
|
|
1512
1519
|
getYScale(): any;
|
|
1513
1520
|
getXDomain(): [number, number];
|