@swimlane/ngx-charts 20.2.2-beta.0 → 20.2.2-beta.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/esm2020/lib/area-chart/area-chart-normalized.component.mjs +9 -2
- package/esm2020/lib/area-chart/area-chart-stacked.component.mjs +9 -2
- package/esm2020/lib/area-chart/area-chart.component.mjs +9 -2
- package/esm2020/lib/bar-chart/bar-horizontal-normalized.component.mjs +9 -2
- package/esm2020/lib/bar-chart/bar-horizontal-stacked.component.mjs +9 -2
- package/esm2020/lib/bar-chart/bar-vertical-2d.component.mjs +9 -2
- package/esm2020/lib/bar-chart/bar-vertical-normalized.component.mjs +9 -2
- package/esm2020/lib/bar-chart/bar-vertical-stacked.component.mjs +9 -2
- package/esm2020/lib/box-chart/box-chart.component.mjs +9 -2
- package/esm2020/lib/bubble-chart/bubble-chart.component.mjs +9 -2
- package/esm2020/lib/common/axes/ticks.helper.mjs +17 -5
- package/esm2020/lib/common/axes/x-axis-ticks.component.mjs +37 -17
- package/esm2020/lib/common/axes/y-axis-ticks.component.mjs +19 -8
- package/esm2020/lib/heat-map/heat-map.component.mjs +9 -2
- package/esm2020/lib/line-chart/line-chart.component.mjs +9 -2
- package/esm2020/lib/polar-chart/polar-chart.component.mjs +7 -2
- package/fesm2015/swimlane-ngx-charts.mjs +172 -40
- package/fesm2015/swimlane-ngx-charts.mjs.map +1 -1
- package/fesm2020/swimlane-ngx-charts.mjs +172 -40
- package/fesm2020/swimlane-ngx-charts.mjs.map +1 -1
- package/lib/area-chart/area-chart-normalized.component.d.ts +2 -1
- package/lib/area-chart/area-chart-stacked.component.d.ts +2 -1
- package/lib/area-chart/area-chart.component.d.ts +2 -1
- package/lib/bar-chart/bar-horizontal-normalized.component.d.ts +2 -1
- package/lib/bar-chart/bar-horizontal-stacked.component.d.ts +2 -1
- package/lib/bar-chart/bar-vertical-2d.component.d.ts +2 -1
- package/lib/bar-chart/bar-vertical-normalized.component.d.ts +2 -1
- package/lib/bar-chart/bar-vertical-stacked.component.d.ts +2 -1
- package/lib/box-chart/box-chart.component.d.ts +2 -1
- package/lib/bubble-chart/bubble-chart.component.d.ts +2 -1
- package/lib/common/axes/ticks.helper.d.ts +2 -1
- package/lib/common/axes/x-axis-ticks.component.d.ts +3 -1
- package/lib/heat-map/heat-map.component.d.ts +2 -1
- package/lib/line-chart/line-chart.component.d.ts +2 -1
- package/lib/polar-chart/polar-chart.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1412,20 +1412,32 @@ function reduceTicks(ticks, maxTicks) {
|
|
|
1412
1412
|
}
|
|
1413
1413
|
return ticks;
|
|
1414
1414
|
}
|
|
1415
|
-
function getTickLines(label,
|
|
1415
|
+
function getTickLines(label, maxLength, maxLines) {
|
|
1416
1416
|
let totalLines = (label || '')
|
|
1417
1417
|
.toString()
|
|
1418
1418
|
.split(/\s+/)
|
|
1419
1419
|
.reduce((lines, line) => {
|
|
1420
1420
|
const last = (lines.pop() || '') + ' ';
|
|
1421
|
-
return last.length + line.length >
|
|
1421
|
+
return last.length + line.length > maxLength ? [...lines, last.trim(), line.trim()] : [...lines, last + line];
|
|
1422
1422
|
}, []);
|
|
1423
|
-
if (totalLines.length >
|
|
1424
|
-
totalLines = totalLines.splice(0,
|
|
1423
|
+
if (totalLines.length > maxLines) {
|
|
1424
|
+
totalLines = totalLines.splice(0, maxLines);
|
|
1425
1425
|
totalLines[totalLines.length - 1] += '...';
|
|
1426
1426
|
}
|
|
1427
1427
|
return totalLines;
|
|
1428
1428
|
}
|
|
1429
|
+
function calculateMaxPossibleWidth(label, maxWidth) {
|
|
1430
|
+
let maxLength = label.length;
|
|
1431
|
+
const canvas = document.createElement('canvas');
|
|
1432
|
+
const context = canvas.getContext('2d');
|
|
1433
|
+
maxLength = label.length;
|
|
1434
|
+
let truncatedString = label;
|
|
1435
|
+
while (context.measureText(truncatedString).width > maxWidth && truncatedString.length > 0) {
|
|
1436
|
+
maxLength--;
|
|
1437
|
+
truncatedString = label.slice(0, maxLength);
|
|
1438
|
+
}
|
|
1439
|
+
return maxLength;
|
|
1440
|
+
}
|
|
1429
1441
|
|
|
1430
1442
|
var TextAnchor;
|
|
1431
1443
|
(function (TextAnchor) {
|
|
@@ -1455,7 +1467,10 @@ class XAxisTicksComponent {
|
|
|
1455
1467
|
this.maxAllowedLength = 16;
|
|
1456
1468
|
this.height = 0;
|
|
1457
1469
|
this.approxHeight = 10;
|
|
1458
|
-
this.
|
|
1470
|
+
this.maxPossibleLengthForTick = 16;
|
|
1471
|
+
}
|
|
1472
|
+
get isWrapTicksSupported() {
|
|
1473
|
+
return this.wrapTicks && this.scale.step;
|
|
1459
1474
|
}
|
|
1460
1475
|
ngOnChanges(changes) {
|
|
1461
1476
|
this.update();
|
|
@@ -1509,6 +1524,9 @@ class XAxisTicksComponent {
|
|
|
1509
1524
|
else {
|
|
1510
1525
|
this.textAnchor = TextAnchor.Middle;
|
|
1511
1526
|
}
|
|
1527
|
+
if (this.isWrapTicksSupported) {
|
|
1528
|
+
this.maxPossibleLengthForTick = this.getMaxPossibleLengthForTick(this.ticks);
|
|
1529
|
+
}
|
|
1512
1530
|
setTimeout(() => this.updateDims());
|
|
1513
1531
|
}
|
|
1514
1532
|
getRotationAngle(ticks) {
|
|
@@ -1565,10 +1583,28 @@ class XAxisTicksComponent {
|
|
|
1565
1583
|
tickTrim(label) {
|
|
1566
1584
|
return this.trimTicks ? trimLabel(label, this.maxTickLength) : label;
|
|
1567
1585
|
}
|
|
1586
|
+
getMaxPossibleLengthForTick(ticks) {
|
|
1587
|
+
if (this.scale.step) {
|
|
1588
|
+
let preferredWidth = this.scale.step() * 0.8;
|
|
1589
|
+
if (preferredWidth > 300) {
|
|
1590
|
+
preferredWidth = 300;
|
|
1591
|
+
}
|
|
1592
|
+
const label = ticks.reduce((savedText, text) => (text.length > savedText.length ? text : savedText), '');
|
|
1593
|
+
return Math.max(calculateMaxPossibleWidth(label, preferredWidth), this.maxTickLength);
|
|
1594
|
+
}
|
|
1595
|
+
return this.maxTickLength;
|
|
1596
|
+
}
|
|
1568
1597
|
tickChunks(label) {
|
|
1569
1598
|
if (label.toString().length > this.maxTickLength && this.scale.bandwidth) {
|
|
1570
|
-
const
|
|
1571
|
-
|
|
1599
|
+
const maxAllowedLines = 5;
|
|
1600
|
+
let maxLines = this.rotateTicks ? Math.floor(this.scale.step() / 14) : maxAllowedLines;
|
|
1601
|
+
if (maxLines <= 1) {
|
|
1602
|
+
return [label];
|
|
1603
|
+
}
|
|
1604
|
+
const possibleStringLength = Math.max(this.maxPossibleLengthForTick, this.maxTickLength);
|
|
1605
|
+
maxLines = Math.min(maxLines, maxAllowedLines);
|
|
1606
|
+
const lines = getTickLines(label, possibleStringLength, maxLines < 1 ? 1 : maxLines);
|
|
1607
|
+
return lines;
|
|
1572
1608
|
}
|
|
1573
1609
|
return [label];
|
|
1574
1610
|
}
|
|
@@ -1585,16 +1621,14 @@ XAxisTicksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
1585
1621
|
[attr.text-anchor]="textAnchor"
|
|
1586
1622
|
[attr.transform]="textTransform"
|
|
1587
1623
|
>
|
|
1588
|
-
<ng-container *ngIf="
|
|
1624
|
+
<ng-container *ngIf="isWrapTicksSupported; then tmplMultilineTick; else tmplSinglelineTick"></ng-container>
|
|
1589
1625
|
</svg:text>
|
|
1590
1626
|
|
|
1591
1627
|
<ng-template #tmplMultilineTick>
|
|
1592
1628
|
<ng-container *ngIf="tickChunks(tick) as tickLines">
|
|
1593
|
-
<
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
</svg:tspan>
|
|
1597
|
-
</ng-container>
|
|
1629
|
+
<svg:tspan *ngFor="let tickLine of tickLines; let i = index" x="0" [attr.y]="i * 12">
|
|
1630
|
+
{{ tickLine }}
|
|
1631
|
+
</svg:tspan>
|
|
1598
1632
|
</ng-container>
|
|
1599
1633
|
</ng-template>
|
|
1600
1634
|
|
|
@@ -1626,16 +1660,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
1626
1660
|
[attr.text-anchor]="textAnchor"
|
|
1627
1661
|
[attr.transform]="textTransform"
|
|
1628
1662
|
>
|
|
1629
|
-
<ng-container *ngIf="
|
|
1663
|
+
<ng-container *ngIf="isWrapTicksSupported; then tmplMultilineTick; else tmplSinglelineTick"></ng-container>
|
|
1630
1664
|
</svg:text>
|
|
1631
1665
|
|
|
1632
1666
|
<ng-template #tmplMultilineTick>
|
|
1633
1667
|
<ng-container *ngIf="tickChunks(tick) as tickLines">
|
|
1634
|
-
<
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
</svg:tspan>
|
|
1638
|
-
</ng-container>
|
|
1668
|
+
<svg:tspan *ngFor="let tickLine of tickLines; let i = index" x="0" [attr.y]="i * 12">
|
|
1669
|
+
{{ tickLine }}
|
|
1670
|
+
</svg:tspan>
|
|
1639
1671
|
</ng-container>
|
|
1640
1672
|
</ng-template>
|
|
1641
1673
|
|
|
@@ -1941,13 +1973,19 @@ class YAxisTicksComponent {
|
|
|
1941
1973
|
}
|
|
1942
1974
|
this.adjustedScale = scale.bandwidth
|
|
1943
1975
|
? d => {
|
|
1976
|
+
// position the tick to middle considering number of lines of the tick
|
|
1977
|
+
const positionMiddle = scale(d) + scale.bandwidth() * 0.5;
|
|
1944
1978
|
if (this.wrapTicks && d.toString().length > this.maxTickLength) {
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1979
|
+
const chunksLength = this.tickChunks(d).length;
|
|
1980
|
+
if (chunksLength === 1) {
|
|
1981
|
+
return positionMiddle;
|
|
1982
|
+
}
|
|
1983
|
+
const bandWidth = scale.bandwidth();
|
|
1984
|
+
const heightOfLines = chunksLength * 8;
|
|
1985
|
+
const availableFreeSpace = bandWidth * 0.5 - heightOfLines * 0.5;
|
|
1986
|
+
return scale(d) + availableFreeSpace;
|
|
1949
1987
|
}
|
|
1950
|
-
return
|
|
1988
|
+
return positionMiddle;
|
|
1951
1989
|
}
|
|
1952
1990
|
: scale;
|
|
1953
1991
|
if (this.showRefLines && this.referenceLines) {
|
|
@@ -2040,8 +2078,13 @@ class YAxisTicksComponent {
|
|
|
2040
2078
|
}
|
|
2041
2079
|
tickChunks(label) {
|
|
2042
2080
|
if (label.toString().length > this.maxTickLength && this.scale.bandwidth) {
|
|
2043
|
-
|
|
2044
|
-
|
|
2081
|
+
// for y-axis the width of the tick is fixed
|
|
2082
|
+
const preferredWidth = this.maxTickLength;
|
|
2083
|
+
const maxLines = Math.floor(this.scale.bandwidth() / 15);
|
|
2084
|
+
if (maxLines <= 1) {
|
|
2085
|
+
return [this.tickTrim(label)];
|
|
2086
|
+
}
|
|
2087
|
+
return getTickLines(label, preferredWidth, Math.min(maxLines, 5));
|
|
2045
2088
|
}
|
|
2046
2089
|
return [this.tickFormat(label)];
|
|
2047
2090
|
}
|
|
@@ -5081,6 +5124,7 @@ class AreaChartComponent extends BaseChartComponent {
|
|
|
5081
5124
|
this.maxYAxisTickLength = 16;
|
|
5082
5125
|
this.roundDomains = false;
|
|
5083
5126
|
this.tooltipDisabled = false;
|
|
5127
|
+
this.wrapTicks = false;
|
|
5084
5128
|
this.activate = new EventEmitter();
|
|
5085
5129
|
this.deactivate = new EventEmitter();
|
|
5086
5130
|
this.margin = [10, 20, 10, 20];
|
|
@@ -5314,7 +5358,7 @@ class AreaChartComponent extends BaseChartComponent {
|
|
|
5314
5358
|
}
|
|
5315
5359
|
}
|
|
5316
5360
|
AreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: AreaChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5317
|
-
AreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: AreaChartComponent, selector: "ngx-charts-area-chart", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", baseValue: "baseValue", autoScale: "autoScale", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", timeline: "timeline", gradient: "gradient", showGridLines: "showGridLines", curve: "curve", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", roundDomains: "roundDomains", tooltipDisabled: "tooltipDisabled", xScaleMin: "xScaleMin", xScaleMax: "xScaleMax", yScaleMin: "yScaleMin", yScaleMax: "yScaleMax" }, outputs: { activate: "activate", deactivate: "deactivate" }, host: { listeners: { "mouseleave": "hideCircles()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }, { propertyName: "seriesTooltipTemplate", first: true, predicate: ["seriesTooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5361
|
+
AreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: AreaChartComponent, selector: "ngx-charts-area-chart", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", baseValue: "baseValue", autoScale: "autoScale", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", timeline: "timeline", gradient: "gradient", showGridLines: "showGridLines", curve: "curve", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", roundDomains: "roundDomains", tooltipDisabled: "tooltipDisabled", xScaleMin: "xScaleMin", xScaleMax: "xScaleMax", yScaleMin: "yScaleMin", yScaleMax: "yScaleMax", wrapTicks: "wrapTicks" }, outputs: { activate: "activate", deactivate: "deactivate" }, host: { listeners: { "mouseleave": "hideCircles()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }, { propertyName: "seriesTooltipTemplate", first: true, predicate: ["seriesTooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5318
5362
|
<ngx-charts-chart
|
|
5319
5363
|
[view]="[width, height]"
|
|
5320
5364
|
[showLegend]="legend"
|
|
@@ -5348,6 +5392,7 @@ AreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
5348
5392
|
[maxTickLength]="maxXAxisTickLength"
|
|
5349
5393
|
[tickFormatting]="xAxisTickFormatting"
|
|
5350
5394
|
[ticks]="xAxisTicks"
|
|
5395
|
+
[wrapTicks]="wrapTicks"
|
|
5351
5396
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
5352
5397
|
></svg:g>
|
|
5353
5398
|
<svg:g
|
|
@@ -5362,6 +5407,7 @@ AreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
5362
5407
|
[maxTickLength]="maxYAxisTickLength"
|
|
5363
5408
|
[tickFormatting]="yAxisTickFormatting"
|
|
5364
5409
|
[ticks]="yAxisTicks"
|
|
5410
|
+
[wrapTicks]="wrapTicks"
|
|
5365
5411
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
5366
5412
|
></svg:g>
|
|
5367
5413
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -5481,6 +5527,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
5481
5527
|
[maxTickLength]="maxXAxisTickLength"
|
|
5482
5528
|
[tickFormatting]="xAxisTickFormatting"
|
|
5483
5529
|
[ticks]="xAxisTicks"
|
|
5530
|
+
[wrapTicks]="wrapTicks"
|
|
5484
5531
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
5485
5532
|
></svg:g>
|
|
5486
5533
|
<svg:g
|
|
@@ -5495,6 +5542,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
5495
5542
|
[maxTickLength]="maxYAxisTickLength"
|
|
5496
5543
|
[tickFormatting]="yAxisTickFormatting"
|
|
5497
5544
|
[ticks]="yAxisTicks"
|
|
5545
|
+
[wrapTicks]="wrapTicks"
|
|
5498
5546
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
5499
5547
|
></svg:g>
|
|
5500
5548
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -5642,6 +5690,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
5642
5690
|
type: Input
|
|
5643
5691
|
}], yScaleMax: [{
|
|
5644
5692
|
type: Input
|
|
5693
|
+
}], wrapTicks: [{
|
|
5694
|
+
type: Input
|
|
5645
5695
|
}], activate: [{
|
|
5646
5696
|
type: Output
|
|
5647
5697
|
}], deactivate: [{
|
|
@@ -5675,6 +5725,7 @@ class AreaChartNormalizedComponent extends BaseChartComponent {
|
|
|
5675
5725
|
this.maxYAxisTickLength = 16;
|
|
5676
5726
|
this.roundDomains = false;
|
|
5677
5727
|
this.tooltipDisabled = false;
|
|
5728
|
+
this.wrapTicks = false;
|
|
5678
5729
|
this.activate = new EventEmitter();
|
|
5679
5730
|
this.deactivate = new EventEmitter();
|
|
5680
5731
|
this.yDomain = [0, 100];
|
|
@@ -5918,7 +5969,7 @@ class AreaChartNormalizedComponent extends BaseChartComponent {
|
|
|
5918
5969
|
}
|
|
5919
5970
|
}
|
|
5920
5971
|
AreaChartNormalizedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: AreaChartNormalizedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5921
|
-
AreaChartNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: AreaChartNormalizedComponent, selector: "ngx-charts-area-chart-normalized", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", timeline: "timeline", gradient: "gradient", showGridLines: "showGridLines", curve: "curve", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", roundDomains: "roundDomains", tooltipDisabled: "tooltipDisabled" }, outputs: { activate: "activate", deactivate: "deactivate" }, host: { listeners: { "mouseleave": "hideCircles()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }, { propertyName: "seriesTooltipTemplate", first: true, predicate: ["seriesTooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5972
|
+
AreaChartNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: AreaChartNormalizedComponent, selector: "ngx-charts-area-chart-normalized", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", timeline: "timeline", gradient: "gradient", showGridLines: "showGridLines", curve: "curve", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", roundDomains: "roundDomains", tooltipDisabled: "tooltipDisabled", wrapTicks: "wrapTicks" }, outputs: { activate: "activate", deactivate: "deactivate" }, host: { listeners: { "mouseleave": "hideCircles()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }, { propertyName: "seriesTooltipTemplate", first: true, predicate: ["seriesTooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5922
5973
|
<ngx-charts-chart
|
|
5923
5974
|
[view]="[width, height]"
|
|
5924
5975
|
[showLegend]="legend"
|
|
@@ -5952,6 +6003,7 @@ AreaChartNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
5952
6003
|
[maxTickLength]="maxXAxisTickLength"
|
|
5953
6004
|
[tickFormatting]="xAxisTickFormatting"
|
|
5954
6005
|
[ticks]="xAxisTicks"
|
|
6006
|
+
[wrapTicks]="wrapTicks"
|
|
5955
6007
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
5956
6008
|
></svg:g>
|
|
5957
6009
|
<svg:g
|
|
@@ -5966,6 +6018,7 @@ AreaChartNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
5966
6018
|
[maxTickLength]="maxYAxisTickLength"
|
|
5967
6019
|
[tickFormatting]="yAxisTickFormatting"
|
|
5968
6020
|
[ticks]="yAxisTicks"
|
|
6021
|
+
[wrapTicks]="wrapTicks"
|
|
5969
6022
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
5970
6023
|
></svg:g>
|
|
5971
6024
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -6087,6 +6140,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6087
6140
|
[maxTickLength]="maxXAxisTickLength"
|
|
6088
6141
|
[tickFormatting]="xAxisTickFormatting"
|
|
6089
6142
|
[ticks]="xAxisTicks"
|
|
6143
|
+
[wrapTicks]="wrapTicks"
|
|
6090
6144
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
6091
6145
|
></svg:g>
|
|
6092
6146
|
<svg:g
|
|
@@ -6101,6 +6155,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6101
6155
|
[maxTickLength]="maxYAxisTickLength"
|
|
6102
6156
|
[tickFormatting]="yAxisTickFormatting"
|
|
6103
6157
|
[ticks]="yAxisTicks"
|
|
6158
|
+
[wrapTicks]="wrapTicks"
|
|
6104
6159
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
6105
6160
|
></svg:g>
|
|
6106
6161
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -6238,6 +6293,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6238
6293
|
type: Input
|
|
6239
6294
|
}], tooltipDisabled: [{
|
|
6240
6295
|
type: Input
|
|
6296
|
+
}], wrapTicks: [{
|
|
6297
|
+
type: Input
|
|
6241
6298
|
}], activate: [{
|
|
6242
6299
|
type: Output
|
|
6243
6300
|
}], deactivate: [{
|
|
@@ -6272,6 +6329,7 @@ class AreaChartStackedComponent extends BaseChartComponent {
|
|
|
6272
6329
|
this.maxYAxisTickLength = 16;
|
|
6273
6330
|
this.roundDomains = false;
|
|
6274
6331
|
this.tooltipDisabled = false;
|
|
6332
|
+
this.wrapTicks = false;
|
|
6275
6333
|
this.activate = new EventEmitter();
|
|
6276
6334
|
this.deactivate = new EventEmitter();
|
|
6277
6335
|
this.margin = [10, 20, 10, 20];
|
|
@@ -6521,7 +6579,7 @@ class AreaChartStackedComponent extends BaseChartComponent {
|
|
|
6521
6579
|
}
|
|
6522
6580
|
}
|
|
6523
6581
|
AreaChartStackedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: AreaChartStackedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6524
|
-
AreaChartStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: AreaChartStackedComponent, selector: "ngx-charts-area-chart-stacked", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", timeline: "timeline", gradient: "gradient", showGridLines: "showGridLines", curve: "curve", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", roundDomains: "roundDomains", tooltipDisabled: "tooltipDisabled", xScaleMin: "xScaleMin", xScaleMax: "xScaleMax", yScaleMin: "yScaleMin", yScaleMax: "yScaleMax" }, outputs: { activate: "activate", deactivate: "deactivate" }, host: { listeners: { "mouseleave": "hideCircles()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }, { propertyName: "seriesTooltipTemplate", first: true, predicate: ["seriesTooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
6582
|
+
AreaChartStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: AreaChartStackedComponent, selector: "ngx-charts-area-chart-stacked", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", timeline: "timeline", gradient: "gradient", showGridLines: "showGridLines", curve: "curve", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", roundDomains: "roundDomains", tooltipDisabled: "tooltipDisabled", xScaleMin: "xScaleMin", xScaleMax: "xScaleMax", yScaleMin: "yScaleMin", yScaleMax: "yScaleMax", wrapTicks: "wrapTicks" }, outputs: { activate: "activate", deactivate: "deactivate" }, host: { listeners: { "mouseleave": "hideCircles()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }, { propertyName: "seriesTooltipTemplate", first: true, predicate: ["seriesTooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
6525
6583
|
<ngx-charts-chart
|
|
6526
6584
|
[view]="[width, height]"
|
|
6527
6585
|
[showLegend]="legend"
|
|
@@ -6555,6 +6613,7 @@ AreaChartStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
6555
6613
|
[maxTickLength]="maxXAxisTickLength"
|
|
6556
6614
|
[tickFormatting]="xAxisTickFormatting"
|
|
6557
6615
|
[ticks]="xAxisTicks"
|
|
6616
|
+
[wrapTicks]="wrapTicks"
|
|
6558
6617
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
6559
6618
|
></svg:g>
|
|
6560
6619
|
<svg:g
|
|
@@ -6569,6 +6628,7 @@ AreaChartStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
6569
6628
|
[maxTickLength]="maxYAxisTickLength"
|
|
6570
6629
|
[tickFormatting]="yAxisTickFormatting"
|
|
6571
6630
|
[ticks]="yAxisTicks"
|
|
6631
|
+
[wrapTicks]="wrapTicks"
|
|
6572
6632
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
6573
6633
|
></svg:g>
|
|
6574
6634
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -6689,6 +6749,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6689
6749
|
[maxTickLength]="maxXAxisTickLength"
|
|
6690
6750
|
[tickFormatting]="xAxisTickFormatting"
|
|
6691
6751
|
[ticks]="xAxisTicks"
|
|
6752
|
+
[wrapTicks]="wrapTicks"
|
|
6692
6753
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
6693
6754
|
></svg:g>
|
|
6694
6755
|
<svg:g
|
|
@@ -6703,6 +6764,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6703
6764
|
[maxTickLength]="maxYAxisTickLength"
|
|
6704
6765
|
[tickFormatting]="yAxisTickFormatting"
|
|
6705
6766
|
[ticks]="yAxisTicks"
|
|
6767
|
+
[wrapTicks]="wrapTicks"
|
|
6706
6768
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
6707
6769
|
></svg:g>
|
|
6708
6770
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -6847,6 +6909,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6847
6909
|
type: Input
|
|
6848
6910
|
}], yScaleMax: [{
|
|
6849
6911
|
type: Input
|
|
6912
|
+
}], wrapTicks: [{
|
|
6913
|
+
type: Input
|
|
6850
6914
|
}], activate: [{
|
|
6851
6915
|
type: Output
|
|
6852
6916
|
}], deactivate: [{
|
|
@@ -8487,6 +8551,7 @@ class BarHorizontalNormalizedComponent extends BaseChartComponent {
|
|
|
8487
8551
|
this.barPadding = 8;
|
|
8488
8552
|
this.roundDomains = false;
|
|
8489
8553
|
this.noBarWhenZero = true;
|
|
8554
|
+
this.wrapTicks = false;
|
|
8490
8555
|
this.activate = new EventEmitter();
|
|
8491
8556
|
this.deactivate = new EventEmitter();
|
|
8492
8557
|
this.valueDomain = [0, 100];
|
|
@@ -8639,7 +8704,7 @@ class BarHorizontalNormalizedComponent extends BaseChartComponent {
|
|
|
8639
8704
|
}
|
|
8640
8705
|
}
|
|
8641
8706
|
BarHorizontalNormalizedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BarHorizontalNormalizedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
8642
|
-
BarHorizontalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BarHorizontalNormalizedComponent, selector: "ngx-charts-bar-horizontal-normalized", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", tooltipDisabled: "tooltipDisabled", gradient: "gradient", showGridLines: "showGridLines", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", barPadding: "barPadding", roundDomains: "roundDomains", noBarWhenZero: "noBarWhenZero" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
8707
|
+
BarHorizontalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BarHorizontalNormalizedComponent, selector: "ngx-charts-bar-horizontal-normalized", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", tooltipDisabled: "tooltipDisabled", gradient: "gradient", showGridLines: "showGridLines", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", barPadding: "barPadding", roundDomains: "roundDomains", noBarWhenZero: "noBarWhenZero", wrapTicks: "wrapTicks" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
8643
8708
|
<ngx-charts-chart
|
|
8644
8709
|
[view]="[width, height]"
|
|
8645
8710
|
[showLegend]="legend"
|
|
@@ -8664,6 +8729,7 @@ BarHorizontalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
8664
8729
|
[maxTickLength]="maxXAxisTickLength"
|
|
8665
8730
|
[tickFormatting]="xAxisTickFormatting"
|
|
8666
8731
|
[ticks]="xAxisTicks"
|
|
8732
|
+
[wrapTicks]="wrapTicks"
|
|
8667
8733
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
8668
8734
|
></svg:g>
|
|
8669
8735
|
<svg:g
|
|
@@ -8677,6 +8743,7 @@ BarHorizontalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
8677
8743
|
[maxTickLength]="maxYAxisTickLength"
|
|
8678
8744
|
[tickFormatting]="yAxisTickFormatting"
|
|
8679
8745
|
[ticks]="yAxisTicks"
|
|
8746
|
+
[wrapTicks]="wrapTicks"
|
|
8680
8747
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
8681
8748
|
></svg:g>
|
|
8682
8749
|
<svg:g *ngIf="!isSSR">
|
|
@@ -8769,6 +8836,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
8769
8836
|
[maxTickLength]="maxXAxisTickLength"
|
|
8770
8837
|
[tickFormatting]="xAxisTickFormatting"
|
|
8771
8838
|
[ticks]="xAxisTicks"
|
|
8839
|
+
[wrapTicks]="wrapTicks"
|
|
8772
8840
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
8773
8841
|
></svg:g>
|
|
8774
8842
|
<svg:g
|
|
@@ -8782,6 +8850,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
8782
8850
|
[maxTickLength]="maxYAxisTickLength"
|
|
8783
8851
|
[tickFormatting]="yAxisTickFormatting"
|
|
8784
8852
|
[ticks]="yAxisTicks"
|
|
8853
|
+
[wrapTicks]="wrapTicks"
|
|
8785
8854
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
8786
8855
|
></svg:g>
|
|
8787
8856
|
<svg:g *ngIf="!isSSR">
|
|
@@ -8899,6 +8968,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
8899
8968
|
type: Input
|
|
8900
8969
|
}], noBarWhenZero: [{
|
|
8901
8970
|
type: Input
|
|
8971
|
+
}], wrapTicks: [{
|
|
8972
|
+
type: Input
|
|
8902
8973
|
}], activate: [{
|
|
8903
8974
|
type: Output
|
|
8904
8975
|
}], deactivate: [{
|
|
@@ -8926,6 +8997,7 @@ class BarHorizontalStackedComponent extends BaseChartComponent {
|
|
|
8926
8997
|
this.roundDomains = false;
|
|
8927
8998
|
this.showDataLabel = false;
|
|
8928
8999
|
this.noBarWhenZero = true;
|
|
9000
|
+
this.wrapTicks = false;
|
|
8929
9001
|
this.activate = new EventEmitter();
|
|
8930
9002
|
this.deactivate = new EventEmitter();
|
|
8931
9003
|
this.margin = [10, 20, 10, 20];
|
|
@@ -9120,7 +9192,7 @@ class BarHorizontalStackedComponent extends BaseChartComponent {
|
|
|
9120
9192
|
}
|
|
9121
9193
|
}
|
|
9122
9194
|
BarHorizontalStackedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BarHorizontalStackedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
9123
|
-
BarHorizontalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BarHorizontalStackedComponent, selector: "ngx-charts-bar-horizontal-stacked", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", tooltipDisabled: "tooltipDisabled", gradient: "gradient", showGridLines: "showGridLines", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", barPadding: "barPadding", roundDomains: "roundDomains", xScaleMax: "xScaleMax", showDataLabel: "showDataLabel", dataLabelFormatting: "dataLabelFormatting", noBarWhenZero: "noBarWhenZero" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
9195
|
+
BarHorizontalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BarHorizontalStackedComponent, selector: "ngx-charts-bar-horizontal-stacked", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", tooltipDisabled: "tooltipDisabled", gradient: "gradient", showGridLines: "showGridLines", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", barPadding: "barPadding", roundDomains: "roundDomains", xScaleMax: "xScaleMax", showDataLabel: "showDataLabel", dataLabelFormatting: "dataLabelFormatting", noBarWhenZero: "noBarWhenZero", wrapTicks: "wrapTicks" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
9124
9196
|
<ngx-charts-chart
|
|
9125
9197
|
[view]="[width, height]"
|
|
9126
9198
|
[showLegend]="legend"
|
|
@@ -9145,6 +9217,7 @@ BarHorizontalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
9145
9217
|
[maxTickLength]="maxXAxisTickLength"
|
|
9146
9218
|
[tickFormatting]="xAxisTickFormatting"
|
|
9147
9219
|
[ticks]="xAxisTicks"
|
|
9220
|
+
[wrapTicks]="wrapTicks"
|
|
9148
9221
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
9149
9222
|
></svg:g>
|
|
9150
9223
|
<svg:g
|
|
@@ -9159,6 +9232,7 @@ BarHorizontalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
9159
9232
|
[tickFormatting]="yAxisTickFormatting"
|
|
9160
9233
|
[ticks]="yAxisTicks"
|
|
9161
9234
|
[yAxisOffset]="dataLabelMaxWidth.negative"
|
|
9235
|
+
[wrapTicks]="wrapTicks"
|
|
9162
9236
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
9163
9237
|
></svg:g>
|
|
9164
9238
|
<svg:g *ngIf="!isSSR">
|
|
@@ -9260,6 +9334,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
9260
9334
|
[maxTickLength]="maxXAxisTickLength"
|
|
9261
9335
|
[tickFormatting]="xAxisTickFormatting"
|
|
9262
9336
|
[ticks]="xAxisTicks"
|
|
9337
|
+
[wrapTicks]="wrapTicks"
|
|
9263
9338
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
9264
9339
|
></svg:g>
|
|
9265
9340
|
<svg:g
|
|
@@ -9274,6 +9349,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
9274
9349
|
[tickFormatting]="yAxisTickFormatting"
|
|
9275
9350
|
[ticks]="yAxisTicks"
|
|
9276
9351
|
[yAxisOffset]="dataLabelMaxWidth.negative"
|
|
9352
|
+
[wrapTicks]="wrapTicks"
|
|
9277
9353
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
9278
9354
|
></svg:g>
|
|
9279
9355
|
<svg:g *ngIf="!isSSR">
|
|
@@ -9406,6 +9482,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
9406
9482
|
type: Input
|
|
9407
9483
|
}], noBarWhenZero: [{
|
|
9408
9484
|
type: Input
|
|
9485
|
+
}], wrapTicks: [{
|
|
9486
|
+
type: Input
|
|
9409
9487
|
}], activate: [{
|
|
9410
9488
|
type: Output
|
|
9411
9489
|
}], deactivate: [{
|
|
@@ -10233,6 +10311,7 @@ class BarVertical2DComponent extends BaseChartComponent {
|
|
|
10233
10311
|
this.roundEdges = true;
|
|
10234
10312
|
this.showDataLabel = false;
|
|
10235
10313
|
this.noBarWhenZero = true;
|
|
10314
|
+
this.wrapTicks = false;
|
|
10236
10315
|
this.activate = new EventEmitter();
|
|
10237
10316
|
this.deactivate = new EventEmitter();
|
|
10238
10317
|
this.margin = [10, 20, 10, 20];
|
|
@@ -10427,7 +10506,7 @@ class BarVertical2DComponent extends BaseChartComponent {
|
|
|
10427
10506
|
}
|
|
10428
10507
|
}
|
|
10429
10508
|
BarVertical2DComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BarVertical2DComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
10430
|
-
BarVertical2DComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BarVertical2DComponent, selector: "ngx-charts-bar-vertical-2d", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", tooltipDisabled: "tooltipDisabled", scaleType: "scaleType", gradient: "gradient", showGridLines: "showGridLines", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", groupPadding: "groupPadding", barPadding: "barPadding", roundDomains: "roundDomains", roundEdges: "roundEdges", yScaleMax: "yScaleMax", showDataLabel: "showDataLabel", dataLabelFormatting: "dataLabelFormatting", noBarWhenZero: "noBarWhenZero" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
10509
|
+
BarVertical2DComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BarVertical2DComponent, selector: "ngx-charts-bar-vertical-2d", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", tooltipDisabled: "tooltipDisabled", scaleType: "scaleType", gradient: "gradient", showGridLines: "showGridLines", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", groupPadding: "groupPadding", barPadding: "barPadding", roundDomains: "roundDomains", roundEdges: "roundEdges", yScaleMax: "yScaleMax", showDataLabel: "showDataLabel", dataLabelFormatting: "dataLabelFormatting", noBarWhenZero: "noBarWhenZero", wrapTicks: "wrapTicks" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
10431
10510
|
<ngx-charts-chart
|
|
10432
10511
|
[view]="[width, height]"
|
|
10433
10512
|
[showLegend]="legend"
|
|
@@ -10460,6 +10539,7 @@ BarVertical2DComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
10460
10539
|
[tickFormatting]="xAxisTickFormatting"
|
|
10461
10540
|
[ticks]="xAxisTicks"
|
|
10462
10541
|
[xAxisOffset]="dataLabelMaxHeight.negative"
|
|
10542
|
+
[wrapTicks]="wrapTicks"
|
|
10463
10543
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
10464
10544
|
></svg:g>
|
|
10465
10545
|
<svg:g
|
|
@@ -10474,6 +10554,7 @@ BarVertical2DComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
10474
10554
|
[maxTickLength]="maxYAxisTickLength"
|
|
10475
10555
|
[tickFormatting]="yAxisTickFormatting"
|
|
10476
10556
|
[ticks]="yAxisTicks"
|
|
10557
|
+
[wrapTicks]="wrapTicks"
|
|
10477
10558
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
10478
10559
|
></svg:g>
|
|
10479
10560
|
<svg:g *ngIf="!isSSR">
|
|
@@ -10577,6 +10658,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
10577
10658
|
[tickFormatting]="xAxisTickFormatting"
|
|
10578
10659
|
[ticks]="xAxisTicks"
|
|
10579
10660
|
[xAxisOffset]="dataLabelMaxHeight.negative"
|
|
10661
|
+
[wrapTicks]="wrapTicks"
|
|
10580
10662
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
10581
10663
|
></svg:g>
|
|
10582
10664
|
<svg:g
|
|
@@ -10591,6 +10673,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
10591
10673
|
[maxTickLength]="maxYAxisTickLength"
|
|
10592
10674
|
[tickFormatting]="yAxisTickFormatting"
|
|
10593
10675
|
[ticks]="yAxisTicks"
|
|
10676
|
+
[wrapTicks]="wrapTicks"
|
|
10594
10677
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
10595
10678
|
></svg:g>
|
|
10596
10679
|
<svg:g *ngIf="!isSSR">
|
|
@@ -10723,6 +10806,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
10723
10806
|
type: Input
|
|
10724
10807
|
}], noBarWhenZero: [{
|
|
10725
10808
|
type: Input
|
|
10809
|
+
}], wrapTicks: [{
|
|
10810
|
+
type: Input
|
|
10726
10811
|
}], activate: [{
|
|
10727
10812
|
type: Output
|
|
10728
10813
|
}], deactivate: [{
|
|
@@ -10749,6 +10834,7 @@ class BarVerticalNormalizedComponent extends BaseChartComponent {
|
|
|
10749
10834
|
this.barPadding = 8;
|
|
10750
10835
|
this.roundDomains = false;
|
|
10751
10836
|
this.noBarWhenZero = true;
|
|
10837
|
+
this.wrapTicks = false;
|
|
10752
10838
|
this.activate = new EventEmitter();
|
|
10753
10839
|
this.deactivate = new EventEmitter();
|
|
10754
10840
|
this.valueDomain = [0, 100];
|
|
@@ -10901,7 +10987,7 @@ class BarVerticalNormalizedComponent extends BaseChartComponent {
|
|
|
10901
10987
|
}
|
|
10902
10988
|
}
|
|
10903
10989
|
BarVerticalNormalizedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BarVerticalNormalizedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
10904
|
-
BarVerticalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BarVerticalNormalizedComponent, selector: "ngx-charts-bar-vertical-normalized", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", tooltipDisabled: "tooltipDisabled", gradient: "gradient", showGridLines: "showGridLines", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", barPadding: "barPadding", roundDomains: "roundDomains", noBarWhenZero: "noBarWhenZero" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
10990
|
+
BarVerticalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BarVerticalNormalizedComponent, selector: "ngx-charts-bar-vertical-normalized", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", tooltipDisabled: "tooltipDisabled", gradient: "gradient", showGridLines: "showGridLines", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", barPadding: "barPadding", roundDomains: "roundDomains", noBarWhenZero: "noBarWhenZero", wrapTicks: "wrapTicks" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
10905
10991
|
<ngx-charts-chart
|
|
10906
10992
|
[view]="[width, height]"
|
|
10907
10993
|
[showLegend]="legend"
|
|
@@ -10925,6 +11011,7 @@ BarVerticalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
10925
11011
|
[maxTickLength]="maxXAxisTickLength"
|
|
10926
11012
|
[tickFormatting]="xAxisTickFormatting"
|
|
10927
11013
|
[ticks]="xAxisTicks"
|
|
11014
|
+
[wrapTicks]="wrapTicks"
|
|
10928
11015
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
10929
11016
|
></svg:g>
|
|
10930
11017
|
<svg:g
|
|
@@ -10939,6 +11026,7 @@ BarVerticalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
10939
11026
|
[maxTickLength]="maxYAxisTickLength"
|
|
10940
11027
|
[tickFormatting]="yAxisTickFormatting"
|
|
10941
11028
|
[ticks]="yAxisTicks"
|
|
11029
|
+
[wrapTicks]="wrapTicks"
|
|
10942
11030
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
10943
11031
|
></svg:g>
|
|
10944
11032
|
<svg:g *ngIf="!isSSR">
|
|
@@ -11030,6 +11118,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11030
11118
|
[maxTickLength]="maxXAxisTickLength"
|
|
11031
11119
|
[tickFormatting]="xAxisTickFormatting"
|
|
11032
11120
|
[ticks]="xAxisTicks"
|
|
11121
|
+
[wrapTicks]="wrapTicks"
|
|
11033
11122
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
11034
11123
|
></svg:g>
|
|
11035
11124
|
<svg:g
|
|
@@ -11044,6 +11133,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11044
11133
|
[maxTickLength]="maxYAxisTickLength"
|
|
11045
11134
|
[tickFormatting]="yAxisTickFormatting"
|
|
11046
11135
|
[ticks]="yAxisTicks"
|
|
11136
|
+
[wrapTicks]="wrapTicks"
|
|
11047
11137
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
11048
11138
|
></svg:g>
|
|
11049
11139
|
<svg:g *ngIf="!isSSR">
|
|
@@ -11161,6 +11251,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11161
11251
|
type: Input
|
|
11162
11252
|
}], noBarWhenZero: [{
|
|
11163
11253
|
type: Input
|
|
11254
|
+
}], wrapTicks: [{
|
|
11255
|
+
type: Input
|
|
11164
11256
|
}], activate: [{
|
|
11165
11257
|
type: Output
|
|
11166
11258
|
}], deactivate: [{
|
|
@@ -11188,6 +11280,7 @@ class BarVerticalStackedComponent extends BaseChartComponent {
|
|
|
11188
11280
|
this.roundDomains = false;
|
|
11189
11281
|
this.showDataLabel = false;
|
|
11190
11282
|
this.noBarWhenZero = true;
|
|
11283
|
+
this.wrapTicks = false;
|
|
11191
11284
|
this.activate = new EventEmitter();
|
|
11192
11285
|
this.deactivate = new EventEmitter();
|
|
11193
11286
|
this.margin = [10, 20, 10, 20];
|
|
@@ -11385,7 +11478,7 @@ class BarVerticalStackedComponent extends BaseChartComponent {
|
|
|
11385
11478
|
}
|
|
11386
11479
|
}
|
|
11387
11480
|
BarVerticalStackedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BarVerticalStackedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
11388
|
-
BarVerticalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BarVerticalStackedComponent, selector: "ngx-charts-bar-vertical-stacked", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", tooltipDisabled: "tooltipDisabled", gradient: "gradient", showGridLines: "showGridLines", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", barPadding: "barPadding", roundDomains: "roundDomains", yScaleMax: "yScaleMax", showDataLabel: "showDataLabel", dataLabelFormatting: "dataLabelFormatting", noBarWhenZero: "noBarWhenZero" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
11481
|
+
BarVerticalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BarVerticalStackedComponent, selector: "ngx-charts-bar-vertical-stacked", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", tooltipDisabled: "tooltipDisabled", gradient: "gradient", showGridLines: "showGridLines", activeEntries: "activeEntries", schemeType: "schemeType", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", barPadding: "barPadding", roundDomains: "roundDomains", yScaleMax: "yScaleMax", showDataLabel: "showDataLabel", dataLabelFormatting: "dataLabelFormatting", noBarWhenZero: "noBarWhenZero", wrapTicks: "wrapTicks" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
11389
11482
|
<ngx-charts-chart
|
|
11390
11483
|
[view]="[width, height]"
|
|
11391
11484
|
[showLegend]="legend"
|
|
@@ -11410,6 +11503,7 @@ BarVerticalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
11410
11503
|
[tickFormatting]="xAxisTickFormatting"
|
|
11411
11504
|
[ticks]="xAxisTicks"
|
|
11412
11505
|
[xAxisOffset]="dataLabelMaxHeight.negative"
|
|
11506
|
+
[wrapTicks]="wrapTicks"
|
|
11413
11507
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
11414
11508
|
></svg:g>
|
|
11415
11509
|
<svg:g
|
|
@@ -11424,6 +11518,7 @@ BarVerticalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
11424
11518
|
[maxTickLength]="maxYAxisTickLength"
|
|
11425
11519
|
[tickFormatting]="yAxisTickFormatting"
|
|
11426
11520
|
[ticks]="yAxisTicks"
|
|
11521
|
+
[wrapTicks]="wrapTicks"
|
|
11427
11522
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
11428
11523
|
></svg:g>
|
|
11429
11524
|
<svg:g *ngIf="!isSSR">
|
|
@@ -11525,6 +11620,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11525
11620
|
[tickFormatting]="xAxisTickFormatting"
|
|
11526
11621
|
[ticks]="xAxisTicks"
|
|
11527
11622
|
[xAxisOffset]="dataLabelMaxHeight.negative"
|
|
11623
|
+
[wrapTicks]="wrapTicks"
|
|
11528
11624
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
11529
11625
|
></svg:g>
|
|
11530
11626
|
<svg:g
|
|
@@ -11539,6 +11635,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11539
11635
|
[maxTickLength]="maxYAxisTickLength"
|
|
11540
11636
|
[tickFormatting]="yAxisTickFormatting"
|
|
11541
11637
|
[ticks]="yAxisTicks"
|
|
11638
|
+
[wrapTicks]="wrapTicks"
|
|
11542
11639
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
11543
11640
|
></svg:g>
|
|
11544
11641
|
<svg:g *ngIf="!isSSR">
|
|
@@ -11671,6 +11768,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11671
11768
|
type: Input
|
|
11672
11769
|
}], noBarWhenZero: [{
|
|
11673
11770
|
type: Input
|
|
11771
|
+
}], wrapTicks: [{
|
|
11772
|
+
type: Input
|
|
11674
11773
|
}], activate: [{
|
|
11675
11774
|
type: Output
|
|
11676
11775
|
}], deactivate: [{
|
|
@@ -12344,6 +12443,7 @@ class BoxChartComponent extends BaseChartComponent {
|
|
|
12344
12443
|
this.strokeColor = '#FFFFFF';
|
|
12345
12444
|
this.strokeWidth = 2;
|
|
12346
12445
|
this.tooltipDisabled = false;
|
|
12446
|
+
this.wrapTicks = false;
|
|
12347
12447
|
this.select = new EventEmitter();
|
|
12348
12448
|
this.activate = new EventEmitter();
|
|
12349
12449
|
this.deactivate = new EventEmitter();
|
|
@@ -12489,7 +12589,7 @@ class BoxChartComponent extends BaseChartComponent {
|
|
|
12489
12589
|
}
|
|
12490
12590
|
}
|
|
12491
12591
|
BoxChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BoxChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
12492
|
-
BoxChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BoxChartComponent, selector: "ngx-charts-box-chart", inputs: { legend: "legend", legendPosition: "legendPosition", legendTitle: "legendTitle", legendOptionsConfig: "legendOptionsConfig", showGridLines: "showGridLines", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", roundDomains: "roundDomains", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", roundEdges: "roundEdges", strokeColor: "strokeColor", strokeWidth: "strokeWidth", tooltipDisabled: "tooltipDisabled", gradient: "gradient" }, outputs: { select: "select", activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
12592
|
+
BoxChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BoxChartComponent, selector: "ngx-charts-box-chart", inputs: { legend: "legend", legendPosition: "legendPosition", legendTitle: "legendTitle", legendOptionsConfig: "legendOptionsConfig", showGridLines: "showGridLines", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", roundDomains: "roundDomains", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", roundEdges: "roundEdges", strokeColor: "strokeColor", strokeWidth: "strokeWidth", tooltipDisabled: "tooltipDisabled", gradient: "gradient", wrapTicks: "wrapTicks" }, outputs: { select: "select", activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
12493
12593
|
<ngx-charts-chart
|
|
12494
12594
|
[view]="[width, height]"
|
|
12495
12595
|
[showLegend]="legend"
|
|
@@ -12507,6 +12607,7 @@ BoxChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
12507
12607
|
[xScale]="xScale"
|
|
12508
12608
|
[showLabel]="showXAxisLabel"
|
|
12509
12609
|
[labelText]="xAxisLabel"
|
|
12610
|
+
[wrapTicks]="wrapTicks"
|
|
12510
12611
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
12511
12612
|
/>
|
|
12512
12613
|
<svg:g
|
|
@@ -12516,6 +12617,7 @@ BoxChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
12516
12617
|
[yScale]="yScale"
|
|
12517
12618
|
[showLabel]="showYAxisLabel"
|
|
12518
12619
|
[labelText]="yAxisLabel"
|
|
12620
|
+
[wrapTicks]="wrapTicks"
|
|
12519
12621
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
12520
12622
|
/>
|
|
12521
12623
|
</svg:g>
|
|
@@ -12563,6 +12665,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
12563
12665
|
[xScale]="xScale"
|
|
12564
12666
|
[showLabel]="showXAxisLabel"
|
|
12565
12667
|
[labelText]="xAxisLabel"
|
|
12668
|
+
[wrapTicks]="wrapTicks"
|
|
12566
12669
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
12567
12670
|
/>
|
|
12568
12671
|
<svg:g
|
|
@@ -12572,6 +12675,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
12572
12675
|
[yScale]="yScale"
|
|
12573
12676
|
[showLabel]="showYAxisLabel"
|
|
12574
12677
|
[labelText]="yAxisLabel"
|
|
12678
|
+
[wrapTicks]="wrapTicks"
|
|
12575
12679
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
12576
12680
|
/>
|
|
12577
12681
|
</svg:g>
|
|
@@ -12633,6 +12737,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
12633
12737
|
type: Input
|
|
12634
12738
|
}], gradient: [{
|
|
12635
12739
|
type: Input
|
|
12740
|
+
}], wrapTicks: [{
|
|
12741
|
+
type: Input
|
|
12636
12742
|
}], select: [{
|
|
12637
12743
|
type: Output
|
|
12638
12744
|
}], activate: [{
|
|
@@ -13011,6 +13117,7 @@ class BubbleChartComponent extends BaseChartComponent {
|
|
|
13011
13117
|
this.minRadius = 3;
|
|
13012
13118
|
this.schemeType = ScaleType.Ordinal;
|
|
13013
13119
|
this.tooltipDisabled = false;
|
|
13120
|
+
this.wrapTicks = false;
|
|
13014
13121
|
this.activate = new EventEmitter();
|
|
13015
13122
|
this.deactivate = new EventEmitter();
|
|
13016
13123
|
this.scaleType = ScaleType.Linear;
|
|
@@ -13205,7 +13312,7 @@ class BubbleChartComponent extends BaseChartComponent {
|
|
|
13205
13312
|
}
|
|
13206
13313
|
}
|
|
13207
13314
|
BubbleChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BubbleChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
13208
|
-
BubbleChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BubbleChartComponent, selector: "ngx-charts-bubble-chart", inputs: { showGridLines: "showGridLines", legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", roundDomains: "roundDomains", maxRadius: "maxRadius", minRadius: "minRadius", autoScale: "autoScale", schemeType: "schemeType", tooltipDisabled: "tooltipDisabled", xScaleMin: "xScaleMin", xScaleMax: "xScaleMax", yScaleMin: "yScaleMin", yScaleMax: "yScaleMax" }, outputs: { activate: "activate", deactivate: "deactivate" }, host: { listeners: { "mouseleave": "hideCircles()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
13315
|
+
BubbleChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BubbleChartComponent, selector: "ngx-charts-bubble-chart", inputs: { showGridLines: "showGridLines", legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", roundDomains: "roundDomains", maxRadius: "maxRadius", minRadius: "minRadius", autoScale: "autoScale", schemeType: "schemeType", tooltipDisabled: "tooltipDisabled", xScaleMin: "xScaleMin", xScaleMax: "xScaleMax", yScaleMin: "yScaleMin", yScaleMax: "yScaleMax", wrapTicks: "wrapTicks" }, outputs: { activate: "activate", deactivate: "deactivate" }, host: { listeners: { "mouseleave": "hideCircles()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
13209
13316
|
<ngx-charts-chart
|
|
13210
13317
|
[view]="[width, height]"
|
|
13211
13318
|
[showLegend]="legend"
|
|
@@ -13239,6 +13346,7 @@ BubbleChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
13239
13346
|
[maxTickLength]="maxXAxisTickLength"
|
|
13240
13347
|
[tickFormatting]="xAxisTickFormatting"
|
|
13241
13348
|
[ticks]="xAxisTicks"
|
|
13349
|
+
[wrapTicks]="wrapTicks"
|
|
13242
13350
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
13243
13351
|
/>
|
|
13244
13352
|
<svg:g
|
|
@@ -13253,6 +13361,7 @@ BubbleChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
13253
13361
|
[maxTickLength]="maxYAxisTickLength"
|
|
13254
13362
|
[tickFormatting]="yAxisTickFormatting"
|
|
13255
13363
|
[ticks]="yAxisTicks"
|
|
13364
|
+
[wrapTicks]="wrapTicks"
|
|
13256
13365
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
13257
13366
|
/>
|
|
13258
13367
|
<svg:rect
|
|
@@ -13358,6 +13467,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
13358
13467
|
[maxTickLength]="maxXAxisTickLength"
|
|
13359
13468
|
[tickFormatting]="xAxisTickFormatting"
|
|
13360
13469
|
[ticks]="xAxisTicks"
|
|
13470
|
+
[wrapTicks]="wrapTicks"
|
|
13361
13471
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
13362
13472
|
/>
|
|
13363
13473
|
<svg:g
|
|
@@ -13372,6 +13482,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
13372
13482
|
[maxTickLength]="maxYAxisTickLength"
|
|
13373
13483
|
[tickFormatting]="yAxisTickFormatting"
|
|
13374
13484
|
[ticks]="yAxisTicks"
|
|
13485
|
+
[wrapTicks]="wrapTicks"
|
|
13375
13486
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
13376
13487
|
/>
|
|
13377
13488
|
<svg:rect
|
|
@@ -13499,6 +13610,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
13499
13610
|
type: Input
|
|
13500
13611
|
}], yScaleMax: [{
|
|
13501
13612
|
type: Input
|
|
13613
|
+
}], wrapTicks: [{
|
|
13614
|
+
type: Input
|
|
13502
13615
|
}], activate: [{
|
|
13503
13616
|
type: Output
|
|
13504
13617
|
}], deactivate: [{
|
|
@@ -13805,6 +13918,7 @@ class HeatMapComponent extends BaseChartComponent {
|
|
|
13805
13918
|
this.maxYAxisTickLength = 16;
|
|
13806
13919
|
this.tooltipDisabled = false;
|
|
13807
13920
|
this.activeEntries = [];
|
|
13921
|
+
this.wrapTicks = false;
|
|
13808
13922
|
this.activate = new EventEmitter();
|
|
13809
13923
|
this.deactivate = new EventEmitter();
|
|
13810
13924
|
this.margin = [10, 20, 10, 20];
|
|
@@ -13995,7 +14109,7 @@ class HeatMapComponent extends BaseChartComponent {
|
|
|
13995
14109
|
}
|
|
13996
14110
|
}
|
|
13997
14111
|
HeatMapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: HeatMapComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
13998
|
-
HeatMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: HeatMapComponent, selector: "ngx-charts-heat-map", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", gradient: "gradient", innerPadding: "innerPadding", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", tooltipDisabled: "tooltipDisabled", tooltipText: "tooltipText", min: "min", max: "max", activeEntries: "activeEntries" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
14112
|
+
HeatMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: HeatMapComponent, selector: "ngx-charts-heat-map", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", gradient: "gradient", innerPadding: "innerPadding", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", tooltipDisabled: "tooltipDisabled", tooltipText: "tooltipText", min: "min", max: "max", activeEntries: "activeEntries", wrapTicks: "wrapTicks" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
13999
14113
|
<ngx-charts-chart
|
|
14000
14114
|
[view]="[width, height]"
|
|
14001
14115
|
[showLegend]="legend"
|
|
@@ -14016,6 +14130,7 @@ HeatMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
14016
14130
|
[maxTickLength]="maxXAxisTickLength"
|
|
14017
14131
|
[tickFormatting]="xAxisTickFormatting"
|
|
14018
14132
|
[ticks]="xAxisTicks"
|
|
14133
|
+
[wrapTicks]="wrapTicks"
|
|
14019
14134
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
14020
14135
|
></svg:g>
|
|
14021
14136
|
<svg:g
|
|
@@ -14029,6 +14144,7 @@ HeatMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
14029
14144
|
[maxTickLength]="maxYAxisTickLength"
|
|
14030
14145
|
[tickFormatting]="yAxisTickFormatting"
|
|
14031
14146
|
[ticks]="yAxisTicks"
|
|
14147
|
+
[wrapTicks]="wrapTicks"
|
|
14032
14148
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
14033
14149
|
></svg:g>
|
|
14034
14150
|
<svg:rect
|
|
@@ -14081,6 +14197,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
14081
14197
|
[maxTickLength]="maxXAxisTickLength"
|
|
14082
14198
|
[tickFormatting]="xAxisTickFormatting"
|
|
14083
14199
|
[ticks]="xAxisTicks"
|
|
14200
|
+
[wrapTicks]="wrapTicks"
|
|
14084
14201
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
14085
14202
|
></svg:g>
|
|
14086
14203
|
<svg:g
|
|
@@ -14094,6 +14211,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
14094
14211
|
[maxTickLength]="maxYAxisTickLength"
|
|
14095
14212
|
[tickFormatting]="yAxisTickFormatting"
|
|
14096
14213
|
[ticks]="yAxisTicks"
|
|
14214
|
+
[wrapTicks]="wrapTicks"
|
|
14097
14215
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
14098
14216
|
></svg:g>
|
|
14099
14217
|
<svg:rect
|
|
@@ -14173,6 +14291,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
14173
14291
|
type: Input
|
|
14174
14292
|
}], activeEntries: [{
|
|
14175
14293
|
type: Input
|
|
14294
|
+
}], wrapTicks: [{
|
|
14295
|
+
type: Input
|
|
14176
14296
|
}], activate: [{
|
|
14177
14297
|
type: Output
|
|
14178
14298
|
}], deactivate: [{
|
|
@@ -14581,6 +14701,7 @@ class LineChartComponent extends BaseChartComponent {
|
|
|
14581
14701
|
this.tooltipDisabled = false;
|
|
14582
14702
|
this.showRefLines = false;
|
|
14583
14703
|
this.showRefLabels = true;
|
|
14704
|
+
this.wrapTicks = false;
|
|
14584
14705
|
this.activate = new EventEmitter();
|
|
14585
14706
|
this.deactivate = new EventEmitter();
|
|
14586
14707
|
this.margin = [10, 20, 10, 20];
|
|
@@ -14810,7 +14931,7 @@ class LineChartComponent extends BaseChartComponent {
|
|
|
14810
14931
|
}
|
|
14811
14932
|
}
|
|
14812
14933
|
LineChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: LineChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
14813
|
-
LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: LineChartComponent, selector: "ngx-charts-line-chart", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", autoScale: "autoScale", timeline: "timeline", gradient: "gradient", showGridLines: "showGridLines", curve: "curve", activeEntries: "activeEntries", schemeType: "schemeType", rangeFillOpacity: "rangeFillOpacity", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", roundDomains: "roundDomains", tooltipDisabled: "tooltipDisabled", showRefLines: "showRefLines", referenceLines: "referenceLines", showRefLabels: "showRefLabels", xScaleMin: "xScaleMin", xScaleMax: "xScaleMax", yScaleMin: "yScaleMin", yScaleMax: "yScaleMax" }, outputs: { activate: "activate", deactivate: "deactivate" }, host: { listeners: { "mouseleave": "hideCircles()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }, { propertyName: "seriesTooltipTemplate", first: true, predicate: ["seriesTooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
14934
|
+
LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: LineChartComponent, selector: "ngx-charts-line-chart", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", autoScale: "autoScale", timeline: "timeline", gradient: "gradient", showGridLines: "showGridLines", curve: "curve", activeEntries: "activeEntries", schemeType: "schemeType", rangeFillOpacity: "rangeFillOpacity", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", xAxisTicks: "xAxisTicks", yAxisTicks: "yAxisTicks", roundDomains: "roundDomains", tooltipDisabled: "tooltipDisabled", showRefLines: "showRefLines", referenceLines: "referenceLines", showRefLabels: "showRefLabels", xScaleMin: "xScaleMin", xScaleMax: "xScaleMax", yScaleMin: "yScaleMin", yScaleMax: "yScaleMax", wrapTicks: "wrapTicks" }, outputs: { activate: "activate", deactivate: "deactivate" }, host: { listeners: { "mouseleave": "hideCircles()" } }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }, { propertyName: "seriesTooltipTemplate", first: true, predicate: ["seriesTooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
14814
14935
|
<ngx-charts-chart
|
|
14815
14936
|
[view]="[width, height]"
|
|
14816
14937
|
[showLegend]="legend"
|
|
@@ -14844,6 +14965,7 @@ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
14844
14965
|
[maxTickLength]="maxXAxisTickLength"
|
|
14845
14966
|
[tickFormatting]="xAxisTickFormatting"
|
|
14846
14967
|
[ticks]="xAxisTicks"
|
|
14968
|
+
[wrapTicks]="wrapTicks"
|
|
14847
14969
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
14848
14970
|
></svg:g>
|
|
14849
14971
|
<svg:g
|
|
@@ -14861,6 +14983,7 @@ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
14861
14983
|
[referenceLines]="referenceLines"
|
|
14862
14984
|
[showRefLines]="showRefLines"
|
|
14863
14985
|
[showRefLabels]="showRefLabels"
|
|
14986
|
+
[wrapTicks]="wrapTicks"
|
|
14864
14987
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
14865
14988
|
></svg:g>
|
|
14866
14989
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -15009,6 +15132,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
15009
15132
|
[maxTickLength]="maxXAxisTickLength"
|
|
15010
15133
|
[tickFormatting]="xAxisTickFormatting"
|
|
15011
15134
|
[ticks]="xAxisTicks"
|
|
15135
|
+
[wrapTicks]="wrapTicks"
|
|
15012
15136
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
15013
15137
|
></svg:g>
|
|
15014
15138
|
<svg:g
|
|
@@ -15026,6 +15150,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
15026
15150
|
[referenceLines]="referenceLines"
|
|
15027
15151
|
[showRefLines]="showRefLines"
|
|
15028
15152
|
[showRefLabels]="showRefLabels"
|
|
15153
|
+
[wrapTicks]="wrapTicks"
|
|
15029
15154
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
15030
15155
|
></svg:g>
|
|
15031
15156
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -15208,6 +15333,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
15208
15333
|
type: Input
|
|
15209
15334
|
}], yScaleMax: [{
|
|
15210
15335
|
type: Input
|
|
15336
|
+
}], wrapTicks: [{
|
|
15337
|
+
type: Input
|
|
15211
15338
|
}], activate: [{
|
|
15212
15339
|
type: Output
|
|
15213
15340
|
}], deactivate: [{
|
|
@@ -15636,6 +15763,7 @@ class PolarChartComponent extends BaseChartComponent {
|
|
|
15636
15763
|
this.yAxisMinScale = 0;
|
|
15637
15764
|
this.labelTrim = true;
|
|
15638
15765
|
this.labelTrimSize = 10;
|
|
15766
|
+
this.wrapTicks = false;
|
|
15639
15767
|
this.activate = new EventEmitter();
|
|
15640
15768
|
this.deactivate = new EventEmitter();
|
|
15641
15769
|
// series: any; // ???
|
|
@@ -15890,7 +16018,7 @@ class PolarChartComponent extends BaseChartComponent {
|
|
|
15890
16018
|
}
|
|
15891
16019
|
}
|
|
15892
16020
|
PolarChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: PolarChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15893
|
-
PolarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: PolarChartComponent, selector: "ngx-charts-polar-chart", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", autoScale: "autoScale", showGridLines: "showGridLines", curve: "curve", activeEntries: "activeEntries", schemeType: "schemeType", rangeFillOpacity: "rangeFillOpacity", trimYAxisTicks: "trimYAxisTicks", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", roundDomains: "roundDomains", tooltipDisabled: "tooltipDisabled", showSeriesOnHover: "showSeriesOnHover", gradient: "gradient", yAxisMinScale: "yAxisMinScale", labelTrim: "labelTrim", labelTrimSize: "labelTrimSize" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
16021
|
+
PolarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: PolarChartComponent, selector: "ngx-charts-polar-chart", inputs: { legend: "legend", legendTitle: "legendTitle", legendPosition: "legendPosition", xAxis: "xAxis", yAxis: "yAxis", showXAxisLabel: "showXAxisLabel", showYAxisLabel: "showYAxisLabel", xAxisLabel: "xAxisLabel", yAxisLabel: "yAxisLabel", autoScale: "autoScale", showGridLines: "showGridLines", curve: "curve", activeEntries: "activeEntries", schemeType: "schemeType", rangeFillOpacity: "rangeFillOpacity", trimYAxisTicks: "trimYAxisTicks", maxYAxisTickLength: "maxYAxisTickLength", xAxisTickFormatting: "xAxisTickFormatting", yAxisTickFormatting: "yAxisTickFormatting", roundDomains: "roundDomains", tooltipDisabled: "tooltipDisabled", showSeriesOnHover: "showSeriesOnHover", gradient: "gradient", yAxisMinScale: "yAxisMinScale", labelTrim: "labelTrim", labelTrimSize: "labelTrimSize", wrapTicks: "wrapTicks" }, outputs: { activate: "activate", deactivate: "deactivate" }, queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
15894
16022
|
<ngx-charts-chart
|
|
15895
16023
|
[view]="[width, height]"
|
|
15896
16024
|
[showLegend]="legend"
|
|
@@ -15941,6 +16069,7 @@ PolarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
15941
16069
|
[trimTicks]="trimYAxisTicks"
|
|
15942
16070
|
[maxTickLength]="maxYAxisTickLength"
|
|
15943
16071
|
[tickFormatting]="yAxisTickFormatting"
|
|
16072
|
+
[wrapTicks]="wrapTicks"
|
|
15944
16073
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
15945
16074
|
></svg:g>
|
|
15946
16075
|
<svg:g
|
|
@@ -16063,6 +16192,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
16063
16192
|
[trimTicks]="trimYAxisTicks"
|
|
16064
16193
|
[maxTickLength]="maxYAxisTickLength"
|
|
16065
16194
|
[tickFormatting]="yAxisTickFormatting"
|
|
16195
|
+
[wrapTicks]="wrapTicks"
|
|
16066
16196
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
16067
16197
|
></svg:g>
|
|
16068
16198
|
<svg:g
|
|
@@ -16184,6 +16314,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
16184
16314
|
type: Input
|
|
16185
16315
|
}], labelTrimSize: [{
|
|
16186
16316
|
type: Input
|
|
16317
|
+
}], wrapTicks: [{
|
|
16318
|
+
type: Input
|
|
16187
16319
|
}], activate: [{
|
|
16188
16320
|
type: Output
|
|
16189
16321
|
}], deactivate: [{
|
|
@@ -19743,5 +19875,5 @@ function tickFormat(fieldType, groupByType) {
|
|
|
19743
19875
|
* Generated bundle index. Do not edit.
|
|
19744
19876
|
*/
|
|
19745
19877
|
|
|
19746
|
-
export { AdvancedLegendComponent, AdvancedPieChartComponent, AreaChartComponent, AreaChartModule, AreaChartNormalizedComponent, AreaChartStackedComponent, AreaComponent, AreaSeriesComponent, AxesModule, AxisLabelComponent, BarChartModule, BarChartType, BarComponent, BarHorizontal2DComponent, BarHorizontalComponent, BarHorizontalNormalizedComponent, BarHorizontalStackedComponent, BarLabelComponent, BarOrientation, BarVertical2DComponent, BarVerticalComponent, BarVerticalNormalizedComponent, BarVerticalStackedComponent, BaseChartComponent, BoxChartComponent, BoxChartModule, BoxComponent, BoxSeriesComponent, BubbleChartComponent, BubbleChartModule, BubbleSeriesComponent, CardComponent, CardSeriesComponent, ChartCommonModule, ChartComponent, CircleComponent, CircleSeriesComponent, ColorHelper, CountUpDirective, D0Types, GaugeArcComponent, GaugeAxisComponent, GaugeComponent, GaugeModule, GridPanelComponent, GridPanelSeriesComponent, HeatCellSeriesComponent, HeatMapCellComponent, HeatMapComponent, HeatMapModule, LegendComponent, LegendEntryComponent, LegendPosition, LegendType, LineChartComponent, LineChartModule, LineComponent, LineSeriesComponent, LinearGaugeComponent, NgxChartsModule, NumberCardComponent, NumberCardModule, Orientation, PieArcComponent, PieChartComponent, PieChartModule, PieGridComponent, PieGridSeriesComponent, PieLabelComponent, PieSeriesComponent, PlacementTypes, PolarChartComponent, PolarChartModule, PolarSeriesComponent, ScaleLegendComponent, ScaleType, SeriesHorizontal, SeriesType, SeriesVerticalComponent, ShowTypes, StyleTypes, SvgLinearGradientComponent, SvgRadialGradientComponent, TextAnchor, Timeline, TooltipArea, TooltipContentComponent, TooltipDirective, TooltipModule, TooltipService, TreeMapCellComponent, TreeMapCellSeriesComponent, TreeMapComponent, TreeMapModule, VisibilityObserver, XAxisComponent, XAxisTicksComponent, YAxisComponent, YAxisTicksComponent, calculateViewDimensions, colorSets, count, decimalChecker, escapeLabel, formatLabel, getDomain, getScale, getScaleType, getTickLines, getUniqueXDomainValues, getXDomainArray, gridLayout, gridSize, hexToRgb, id, invertColor, reduceTicks, shadeRGBColor, sortByDomain, sortByTime, sortLinear, throttle, throttleable, tickFormat, trimLabel };
|
|
19878
|
+
export { AdvancedLegendComponent, AdvancedPieChartComponent, AreaChartComponent, AreaChartModule, AreaChartNormalizedComponent, AreaChartStackedComponent, AreaComponent, AreaSeriesComponent, AxesModule, AxisLabelComponent, BarChartModule, BarChartType, BarComponent, BarHorizontal2DComponent, BarHorizontalComponent, BarHorizontalNormalizedComponent, BarHorizontalStackedComponent, BarLabelComponent, BarOrientation, BarVertical2DComponent, BarVerticalComponent, BarVerticalNormalizedComponent, BarVerticalStackedComponent, BaseChartComponent, BoxChartComponent, BoxChartModule, BoxComponent, BoxSeriesComponent, BubbleChartComponent, BubbleChartModule, BubbleSeriesComponent, CardComponent, CardSeriesComponent, ChartCommonModule, ChartComponent, CircleComponent, CircleSeriesComponent, ColorHelper, CountUpDirective, D0Types, GaugeArcComponent, GaugeAxisComponent, GaugeComponent, GaugeModule, GridPanelComponent, GridPanelSeriesComponent, HeatCellSeriesComponent, HeatMapCellComponent, HeatMapComponent, HeatMapModule, LegendComponent, LegendEntryComponent, LegendPosition, LegendType, LineChartComponent, LineChartModule, LineComponent, LineSeriesComponent, LinearGaugeComponent, NgxChartsModule, NumberCardComponent, NumberCardModule, Orientation, PieArcComponent, PieChartComponent, PieChartModule, PieGridComponent, PieGridSeriesComponent, PieLabelComponent, PieSeriesComponent, PlacementTypes, PolarChartComponent, PolarChartModule, PolarSeriesComponent, ScaleLegendComponent, ScaleType, SeriesHorizontal, SeriesType, SeriesVerticalComponent, ShowTypes, StyleTypes, SvgLinearGradientComponent, SvgRadialGradientComponent, TextAnchor, Timeline, TooltipArea, TooltipContentComponent, TooltipDirective, TooltipModule, TooltipService, TreeMapCellComponent, TreeMapCellSeriesComponent, TreeMapComponent, TreeMapModule, VisibilityObserver, XAxisComponent, XAxisTicksComponent, YAxisComponent, YAxisTicksComponent, calculateMaxPossibleWidth, calculateViewDimensions, colorSets, count, decimalChecker, escapeLabel, formatLabel, getDomain, getScale, getScaleType, getTickLines, getUniqueXDomainValues, getXDomainArray, gridLayout, gridSize, hexToRgb, id, invertColor, reduceTicks, shadeRGBColor, sortByDomain, sortByTime, sortLinear, throttle, throttleable, tickFormat, trimLabel };
|
|
19747
19879
|
//# sourceMappingURL=swimlane-ngx-charts.mjs.map
|