@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
|
@@ -1408,20 +1408,32 @@ function reduceTicks(ticks, maxTicks) {
|
|
|
1408
1408
|
}
|
|
1409
1409
|
return ticks;
|
|
1410
1410
|
}
|
|
1411
|
-
function getTickLines(label,
|
|
1411
|
+
function getTickLines(label, maxLength, maxLines) {
|
|
1412
1412
|
let totalLines = (label || '')
|
|
1413
1413
|
.toString()
|
|
1414
1414
|
.split(/\s+/)
|
|
1415
1415
|
.reduce((lines, line) => {
|
|
1416
1416
|
const last = (lines.pop() || '') + ' ';
|
|
1417
|
-
return last.length + line.length >
|
|
1417
|
+
return last.length + line.length > maxLength ? [...lines, last.trim(), line.trim()] : [...lines, last + line];
|
|
1418
1418
|
}, []);
|
|
1419
|
-
if (totalLines.length >
|
|
1420
|
-
totalLines = totalLines.splice(0,
|
|
1419
|
+
if (totalLines.length > maxLines) {
|
|
1420
|
+
totalLines = totalLines.splice(0, maxLines);
|
|
1421
1421
|
totalLines[totalLines.length - 1] += '...';
|
|
1422
1422
|
}
|
|
1423
1423
|
return totalLines;
|
|
1424
1424
|
}
|
|
1425
|
+
function calculateMaxPossibleWidth(label, maxWidth) {
|
|
1426
|
+
let maxLength = label.length;
|
|
1427
|
+
const canvas = document.createElement('canvas');
|
|
1428
|
+
const context = canvas.getContext('2d');
|
|
1429
|
+
maxLength = label.length;
|
|
1430
|
+
let truncatedString = label;
|
|
1431
|
+
while (context.measureText(truncatedString).width > maxWidth && truncatedString.length > 0) {
|
|
1432
|
+
maxLength--;
|
|
1433
|
+
truncatedString = label.slice(0, maxLength);
|
|
1434
|
+
}
|
|
1435
|
+
return maxLength;
|
|
1436
|
+
}
|
|
1425
1437
|
|
|
1426
1438
|
var TextAnchor;
|
|
1427
1439
|
(function (TextAnchor) {
|
|
@@ -1451,7 +1463,10 @@ class XAxisTicksComponent {
|
|
|
1451
1463
|
this.maxAllowedLength = 16;
|
|
1452
1464
|
this.height = 0;
|
|
1453
1465
|
this.approxHeight = 10;
|
|
1454
|
-
this.
|
|
1466
|
+
this.maxPossibleLengthForTick = 16;
|
|
1467
|
+
}
|
|
1468
|
+
get isWrapTicksSupported() {
|
|
1469
|
+
return this.wrapTicks && this.scale.step;
|
|
1455
1470
|
}
|
|
1456
1471
|
ngOnChanges(changes) {
|
|
1457
1472
|
this.update();
|
|
@@ -1505,6 +1520,9 @@ class XAxisTicksComponent {
|
|
|
1505
1520
|
else {
|
|
1506
1521
|
this.textAnchor = TextAnchor.Middle;
|
|
1507
1522
|
}
|
|
1523
|
+
if (this.isWrapTicksSupported) {
|
|
1524
|
+
this.maxPossibleLengthForTick = this.getMaxPossibleLengthForTick(this.ticks);
|
|
1525
|
+
}
|
|
1508
1526
|
setTimeout(() => this.updateDims());
|
|
1509
1527
|
}
|
|
1510
1528
|
getRotationAngle(ticks) {
|
|
@@ -1561,10 +1579,28 @@ class XAxisTicksComponent {
|
|
|
1561
1579
|
tickTrim(label) {
|
|
1562
1580
|
return this.trimTicks ? trimLabel(label, this.maxTickLength) : label;
|
|
1563
1581
|
}
|
|
1582
|
+
getMaxPossibleLengthForTick(ticks) {
|
|
1583
|
+
if (this.scale.step) {
|
|
1584
|
+
let preferredWidth = this.scale.step() * 0.8;
|
|
1585
|
+
if (preferredWidth > 300) {
|
|
1586
|
+
preferredWidth = 300;
|
|
1587
|
+
}
|
|
1588
|
+
const label = ticks.reduce((savedText, text) => (text.length > savedText.length ? text : savedText), '');
|
|
1589
|
+
return Math.max(calculateMaxPossibleWidth(label, preferredWidth), this.maxTickLength);
|
|
1590
|
+
}
|
|
1591
|
+
return this.maxTickLength;
|
|
1592
|
+
}
|
|
1564
1593
|
tickChunks(label) {
|
|
1565
1594
|
if (label.toString().length > this.maxTickLength && this.scale.bandwidth) {
|
|
1566
|
-
const
|
|
1567
|
-
|
|
1595
|
+
const maxAllowedLines = 5;
|
|
1596
|
+
let maxLines = this.rotateTicks ? Math.floor(this.scale.step() / 14) : maxAllowedLines;
|
|
1597
|
+
if (maxLines <= 1) {
|
|
1598
|
+
return [label];
|
|
1599
|
+
}
|
|
1600
|
+
const possibleStringLength = Math.max(this.maxPossibleLengthForTick, this.maxTickLength);
|
|
1601
|
+
maxLines = Math.min(maxLines, maxAllowedLines);
|
|
1602
|
+
const lines = getTickLines(label, possibleStringLength, maxLines < 1 ? 1 : maxLines);
|
|
1603
|
+
return lines;
|
|
1568
1604
|
}
|
|
1569
1605
|
return [label];
|
|
1570
1606
|
}
|
|
@@ -1581,16 +1617,14 @@ XAxisTicksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
1581
1617
|
[attr.text-anchor]="textAnchor"
|
|
1582
1618
|
[attr.transform]="textTransform"
|
|
1583
1619
|
>
|
|
1584
|
-
<ng-container *ngIf="
|
|
1620
|
+
<ng-container *ngIf="isWrapTicksSupported; then tmplMultilineTick; else tmplSinglelineTick"></ng-container>
|
|
1585
1621
|
</svg:text>
|
|
1586
1622
|
|
|
1587
1623
|
<ng-template #tmplMultilineTick>
|
|
1588
1624
|
<ng-container *ngIf="tickChunks(tick) as tickLines">
|
|
1589
|
-
<
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
</svg:tspan>
|
|
1593
|
-
</ng-container>
|
|
1625
|
+
<svg:tspan *ngFor="let tickLine of tickLines; let i = index" x="0" [attr.y]="i * 12">
|
|
1626
|
+
{{ tickLine }}
|
|
1627
|
+
</svg:tspan>
|
|
1594
1628
|
</ng-container>
|
|
1595
1629
|
</ng-template>
|
|
1596
1630
|
|
|
@@ -1622,16 +1656,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
1622
1656
|
[attr.text-anchor]="textAnchor"
|
|
1623
1657
|
[attr.transform]="textTransform"
|
|
1624
1658
|
>
|
|
1625
|
-
<ng-container *ngIf="
|
|
1659
|
+
<ng-container *ngIf="isWrapTicksSupported; then tmplMultilineTick; else tmplSinglelineTick"></ng-container>
|
|
1626
1660
|
</svg:text>
|
|
1627
1661
|
|
|
1628
1662
|
<ng-template #tmplMultilineTick>
|
|
1629
1663
|
<ng-container *ngIf="tickChunks(tick) as tickLines">
|
|
1630
|
-
<
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
</svg:tspan>
|
|
1634
|
-
</ng-container>
|
|
1664
|
+
<svg:tspan *ngFor="let tickLine of tickLines; let i = index" x="0" [attr.y]="i * 12">
|
|
1665
|
+
{{ tickLine }}
|
|
1666
|
+
</svg:tspan>
|
|
1635
1667
|
</ng-container>
|
|
1636
1668
|
</ng-template>
|
|
1637
1669
|
|
|
@@ -1935,13 +1967,19 @@ class YAxisTicksComponent {
|
|
|
1935
1967
|
}
|
|
1936
1968
|
this.adjustedScale = scale.bandwidth
|
|
1937
1969
|
? d => {
|
|
1970
|
+
// position the tick to middle considering number of lines of the tick
|
|
1971
|
+
const positionMiddle = scale(d) + scale.bandwidth() * 0.5;
|
|
1938
1972
|
if (this.wrapTicks && d.toString().length > this.maxTickLength) {
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1973
|
+
const chunksLength = this.tickChunks(d).length;
|
|
1974
|
+
if (chunksLength === 1) {
|
|
1975
|
+
return positionMiddle;
|
|
1976
|
+
}
|
|
1977
|
+
const bandWidth = scale.bandwidth();
|
|
1978
|
+
const heightOfLines = chunksLength * 8;
|
|
1979
|
+
const availableFreeSpace = bandWidth * 0.5 - heightOfLines * 0.5;
|
|
1980
|
+
return scale(d) + availableFreeSpace;
|
|
1943
1981
|
}
|
|
1944
|
-
return
|
|
1982
|
+
return positionMiddle;
|
|
1945
1983
|
}
|
|
1946
1984
|
: scale;
|
|
1947
1985
|
if (this.showRefLines && this.referenceLines) {
|
|
@@ -2034,8 +2072,13 @@ class YAxisTicksComponent {
|
|
|
2034
2072
|
}
|
|
2035
2073
|
tickChunks(label) {
|
|
2036
2074
|
if (label.toString().length > this.maxTickLength && this.scale.bandwidth) {
|
|
2037
|
-
|
|
2038
|
-
|
|
2075
|
+
// for y-axis the width of the tick is fixed
|
|
2076
|
+
const preferredWidth = this.maxTickLength;
|
|
2077
|
+
const maxLines = Math.floor(this.scale.bandwidth() / 15);
|
|
2078
|
+
if (maxLines <= 1) {
|
|
2079
|
+
return [this.tickTrim(label)];
|
|
2080
|
+
}
|
|
2081
|
+
return getTickLines(label, preferredWidth, Math.min(maxLines, 5));
|
|
2039
2082
|
}
|
|
2040
2083
|
return [this.tickFormat(label)];
|
|
2041
2084
|
}
|
|
@@ -5069,6 +5112,7 @@ class AreaChartComponent extends BaseChartComponent {
|
|
|
5069
5112
|
this.maxYAxisTickLength = 16;
|
|
5070
5113
|
this.roundDomains = false;
|
|
5071
5114
|
this.tooltipDisabled = false;
|
|
5115
|
+
this.wrapTicks = false;
|
|
5072
5116
|
this.activate = new EventEmitter();
|
|
5073
5117
|
this.deactivate = new EventEmitter();
|
|
5074
5118
|
this.margin = [10, 20, 10, 20];
|
|
@@ -5302,7 +5346,7 @@ class AreaChartComponent extends BaseChartComponent {
|
|
|
5302
5346
|
}
|
|
5303
5347
|
}
|
|
5304
5348
|
AreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: AreaChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5305
|
-
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: `
|
|
5349
|
+
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: `
|
|
5306
5350
|
<ngx-charts-chart
|
|
5307
5351
|
[view]="[width, height]"
|
|
5308
5352
|
[showLegend]="legend"
|
|
@@ -5336,6 +5380,7 @@ AreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
5336
5380
|
[maxTickLength]="maxXAxisTickLength"
|
|
5337
5381
|
[tickFormatting]="xAxisTickFormatting"
|
|
5338
5382
|
[ticks]="xAxisTicks"
|
|
5383
|
+
[wrapTicks]="wrapTicks"
|
|
5339
5384
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
5340
5385
|
></svg:g>
|
|
5341
5386
|
<svg:g
|
|
@@ -5350,6 +5395,7 @@ AreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
5350
5395
|
[maxTickLength]="maxYAxisTickLength"
|
|
5351
5396
|
[tickFormatting]="yAxisTickFormatting"
|
|
5352
5397
|
[ticks]="yAxisTicks"
|
|
5398
|
+
[wrapTicks]="wrapTicks"
|
|
5353
5399
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
5354
5400
|
></svg:g>
|
|
5355
5401
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -5469,6 +5515,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
5469
5515
|
[maxTickLength]="maxXAxisTickLength"
|
|
5470
5516
|
[tickFormatting]="xAxisTickFormatting"
|
|
5471
5517
|
[ticks]="xAxisTicks"
|
|
5518
|
+
[wrapTicks]="wrapTicks"
|
|
5472
5519
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
5473
5520
|
></svg:g>
|
|
5474
5521
|
<svg:g
|
|
@@ -5483,6 +5530,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
5483
5530
|
[maxTickLength]="maxYAxisTickLength"
|
|
5484
5531
|
[tickFormatting]="yAxisTickFormatting"
|
|
5485
5532
|
[ticks]="yAxisTicks"
|
|
5533
|
+
[wrapTicks]="wrapTicks"
|
|
5486
5534
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
5487
5535
|
></svg:g>
|
|
5488
5536
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -5630,6 +5678,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
5630
5678
|
type: Input
|
|
5631
5679
|
}], yScaleMax: [{
|
|
5632
5680
|
type: Input
|
|
5681
|
+
}], wrapTicks: [{
|
|
5682
|
+
type: Input
|
|
5633
5683
|
}], activate: [{
|
|
5634
5684
|
type: Output
|
|
5635
5685
|
}], deactivate: [{
|
|
@@ -5663,6 +5713,7 @@ class AreaChartNormalizedComponent extends BaseChartComponent {
|
|
|
5663
5713
|
this.maxYAxisTickLength = 16;
|
|
5664
5714
|
this.roundDomains = false;
|
|
5665
5715
|
this.tooltipDisabled = false;
|
|
5716
|
+
this.wrapTicks = false;
|
|
5666
5717
|
this.activate = new EventEmitter();
|
|
5667
5718
|
this.deactivate = new EventEmitter();
|
|
5668
5719
|
this.yDomain = [0, 100];
|
|
@@ -5906,7 +5957,7 @@ class AreaChartNormalizedComponent extends BaseChartComponent {
|
|
|
5906
5957
|
}
|
|
5907
5958
|
}
|
|
5908
5959
|
AreaChartNormalizedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: AreaChartNormalizedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5909
|
-
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: `
|
|
5960
|
+
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: `
|
|
5910
5961
|
<ngx-charts-chart
|
|
5911
5962
|
[view]="[width, height]"
|
|
5912
5963
|
[showLegend]="legend"
|
|
@@ -5940,6 +5991,7 @@ AreaChartNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
5940
5991
|
[maxTickLength]="maxXAxisTickLength"
|
|
5941
5992
|
[tickFormatting]="xAxisTickFormatting"
|
|
5942
5993
|
[ticks]="xAxisTicks"
|
|
5994
|
+
[wrapTicks]="wrapTicks"
|
|
5943
5995
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
5944
5996
|
></svg:g>
|
|
5945
5997
|
<svg:g
|
|
@@ -5954,6 +6006,7 @@ AreaChartNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
5954
6006
|
[maxTickLength]="maxYAxisTickLength"
|
|
5955
6007
|
[tickFormatting]="yAxisTickFormatting"
|
|
5956
6008
|
[ticks]="yAxisTicks"
|
|
6009
|
+
[wrapTicks]="wrapTicks"
|
|
5957
6010
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
5958
6011
|
></svg:g>
|
|
5959
6012
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -6075,6 +6128,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6075
6128
|
[maxTickLength]="maxXAxisTickLength"
|
|
6076
6129
|
[tickFormatting]="xAxisTickFormatting"
|
|
6077
6130
|
[ticks]="xAxisTicks"
|
|
6131
|
+
[wrapTicks]="wrapTicks"
|
|
6078
6132
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
6079
6133
|
></svg:g>
|
|
6080
6134
|
<svg:g
|
|
@@ -6089,6 +6143,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6089
6143
|
[maxTickLength]="maxYAxisTickLength"
|
|
6090
6144
|
[tickFormatting]="yAxisTickFormatting"
|
|
6091
6145
|
[ticks]="yAxisTicks"
|
|
6146
|
+
[wrapTicks]="wrapTicks"
|
|
6092
6147
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
6093
6148
|
></svg:g>
|
|
6094
6149
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -6226,6 +6281,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6226
6281
|
type: Input
|
|
6227
6282
|
}], tooltipDisabled: [{
|
|
6228
6283
|
type: Input
|
|
6284
|
+
}], wrapTicks: [{
|
|
6285
|
+
type: Input
|
|
6229
6286
|
}], activate: [{
|
|
6230
6287
|
type: Output
|
|
6231
6288
|
}], deactivate: [{
|
|
@@ -6260,6 +6317,7 @@ class AreaChartStackedComponent extends BaseChartComponent {
|
|
|
6260
6317
|
this.maxYAxisTickLength = 16;
|
|
6261
6318
|
this.roundDomains = false;
|
|
6262
6319
|
this.tooltipDisabled = false;
|
|
6320
|
+
this.wrapTicks = false;
|
|
6263
6321
|
this.activate = new EventEmitter();
|
|
6264
6322
|
this.deactivate = new EventEmitter();
|
|
6265
6323
|
this.margin = [10, 20, 10, 20];
|
|
@@ -6509,7 +6567,7 @@ class AreaChartStackedComponent extends BaseChartComponent {
|
|
|
6509
6567
|
}
|
|
6510
6568
|
}
|
|
6511
6569
|
AreaChartStackedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: AreaChartStackedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6512
|
-
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: `
|
|
6570
|
+
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: `
|
|
6513
6571
|
<ngx-charts-chart
|
|
6514
6572
|
[view]="[width, height]"
|
|
6515
6573
|
[showLegend]="legend"
|
|
@@ -6543,6 +6601,7 @@ AreaChartStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
6543
6601
|
[maxTickLength]="maxXAxisTickLength"
|
|
6544
6602
|
[tickFormatting]="xAxisTickFormatting"
|
|
6545
6603
|
[ticks]="xAxisTicks"
|
|
6604
|
+
[wrapTicks]="wrapTicks"
|
|
6546
6605
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
6547
6606
|
></svg:g>
|
|
6548
6607
|
<svg:g
|
|
@@ -6557,6 +6616,7 @@ AreaChartStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
6557
6616
|
[maxTickLength]="maxYAxisTickLength"
|
|
6558
6617
|
[tickFormatting]="yAxisTickFormatting"
|
|
6559
6618
|
[ticks]="yAxisTicks"
|
|
6619
|
+
[wrapTicks]="wrapTicks"
|
|
6560
6620
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
6561
6621
|
></svg:g>
|
|
6562
6622
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -6677,6 +6737,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6677
6737
|
[maxTickLength]="maxXAxisTickLength"
|
|
6678
6738
|
[tickFormatting]="xAxisTickFormatting"
|
|
6679
6739
|
[ticks]="xAxisTicks"
|
|
6740
|
+
[wrapTicks]="wrapTicks"
|
|
6680
6741
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
6681
6742
|
></svg:g>
|
|
6682
6743
|
<svg:g
|
|
@@ -6691,6 +6752,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6691
6752
|
[maxTickLength]="maxYAxisTickLength"
|
|
6692
6753
|
[tickFormatting]="yAxisTickFormatting"
|
|
6693
6754
|
[ticks]="yAxisTicks"
|
|
6755
|
+
[wrapTicks]="wrapTicks"
|
|
6694
6756
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
6695
6757
|
></svg:g>
|
|
6696
6758
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -6835,6 +6897,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6835
6897
|
type: Input
|
|
6836
6898
|
}], yScaleMax: [{
|
|
6837
6899
|
type: Input
|
|
6900
|
+
}], wrapTicks: [{
|
|
6901
|
+
type: Input
|
|
6838
6902
|
}], activate: [{
|
|
6839
6903
|
type: Output
|
|
6840
6904
|
}], deactivate: [{
|
|
@@ -8474,6 +8538,7 @@ class BarHorizontalNormalizedComponent extends BaseChartComponent {
|
|
|
8474
8538
|
this.barPadding = 8;
|
|
8475
8539
|
this.roundDomains = false;
|
|
8476
8540
|
this.noBarWhenZero = true;
|
|
8541
|
+
this.wrapTicks = false;
|
|
8477
8542
|
this.activate = new EventEmitter();
|
|
8478
8543
|
this.deactivate = new EventEmitter();
|
|
8479
8544
|
this.valueDomain = [0, 100];
|
|
@@ -8626,7 +8691,7 @@ class BarHorizontalNormalizedComponent extends BaseChartComponent {
|
|
|
8626
8691
|
}
|
|
8627
8692
|
}
|
|
8628
8693
|
BarHorizontalNormalizedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BarHorizontalNormalizedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
8629
|
-
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: `
|
|
8694
|
+
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: `
|
|
8630
8695
|
<ngx-charts-chart
|
|
8631
8696
|
[view]="[width, height]"
|
|
8632
8697
|
[showLegend]="legend"
|
|
@@ -8651,6 +8716,7 @@ BarHorizontalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
8651
8716
|
[maxTickLength]="maxXAxisTickLength"
|
|
8652
8717
|
[tickFormatting]="xAxisTickFormatting"
|
|
8653
8718
|
[ticks]="xAxisTicks"
|
|
8719
|
+
[wrapTicks]="wrapTicks"
|
|
8654
8720
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
8655
8721
|
></svg:g>
|
|
8656
8722
|
<svg:g
|
|
@@ -8664,6 +8730,7 @@ BarHorizontalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
8664
8730
|
[maxTickLength]="maxYAxisTickLength"
|
|
8665
8731
|
[tickFormatting]="yAxisTickFormatting"
|
|
8666
8732
|
[ticks]="yAxisTicks"
|
|
8733
|
+
[wrapTicks]="wrapTicks"
|
|
8667
8734
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
8668
8735
|
></svg:g>
|
|
8669
8736
|
<svg:g *ngIf="!isSSR">
|
|
@@ -8756,6 +8823,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
8756
8823
|
[maxTickLength]="maxXAxisTickLength"
|
|
8757
8824
|
[tickFormatting]="xAxisTickFormatting"
|
|
8758
8825
|
[ticks]="xAxisTicks"
|
|
8826
|
+
[wrapTicks]="wrapTicks"
|
|
8759
8827
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
8760
8828
|
></svg:g>
|
|
8761
8829
|
<svg:g
|
|
@@ -8769,6 +8837,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
8769
8837
|
[maxTickLength]="maxYAxisTickLength"
|
|
8770
8838
|
[tickFormatting]="yAxisTickFormatting"
|
|
8771
8839
|
[ticks]="yAxisTicks"
|
|
8840
|
+
[wrapTicks]="wrapTicks"
|
|
8772
8841
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
8773
8842
|
></svg:g>
|
|
8774
8843
|
<svg:g *ngIf="!isSSR">
|
|
@@ -8886,6 +8955,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
8886
8955
|
type: Input
|
|
8887
8956
|
}], noBarWhenZero: [{
|
|
8888
8957
|
type: Input
|
|
8958
|
+
}], wrapTicks: [{
|
|
8959
|
+
type: Input
|
|
8889
8960
|
}], activate: [{
|
|
8890
8961
|
type: Output
|
|
8891
8962
|
}], deactivate: [{
|
|
@@ -8913,6 +8984,7 @@ class BarHorizontalStackedComponent extends BaseChartComponent {
|
|
|
8913
8984
|
this.roundDomains = false;
|
|
8914
8985
|
this.showDataLabel = false;
|
|
8915
8986
|
this.noBarWhenZero = true;
|
|
8987
|
+
this.wrapTicks = false;
|
|
8916
8988
|
this.activate = new EventEmitter();
|
|
8917
8989
|
this.deactivate = new EventEmitter();
|
|
8918
8990
|
this.margin = [10, 20, 10, 20];
|
|
@@ -9107,7 +9179,7 @@ class BarHorizontalStackedComponent extends BaseChartComponent {
|
|
|
9107
9179
|
}
|
|
9108
9180
|
}
|
|
9109
9181
|
BarHorizontalStackedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BarHorizontalStackedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
9110
|
-
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: `
|
|
9182
|
+
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: `
|
|
9111
9183
|
<ngx-charts-chart
|
|
9112
9184
|
[view]="[width, height]"
|
|
9113
9185
|
[showLegend]="legend"
|
|
@@ -9132,6 +9204,7 @@ BarHorizontalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
9132
9204
|
[maxTickLength]="maxXAxisTickLength"
|
|
9133
9205
|
[tickFormatting]="xAxisTickFormatting"
|
|
9134
9206
|
[ticks]="xAxisTicks"
|
|
9207
|
+
[wrapTicks]="wrapTicks"
|
|
9135
9208
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
9136
9209
|
></svg:g>
|
|
9137
9210
|
<svg:g
|
|
@@ -9146,6 +9219,7 @@ BarHorizontalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
9146
9219
|
[tickFormatting]="yAxisTickFormatting"
|
|
9147
9220
|
[ticks]="yAxisTicks"
|
|
9148
9221
|
[yAxisOffset]="dataLabelMaxWidth.negative"
|
|
9222
|
+
[wrapTicks]="wrapTicks"
|
|
9149
9223
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
9150
9224
|
></svg:g>
|
|
9151
9225
|
<svg:g *ngIf="!isSSR">
|
|
@@ -9247,6 +9321,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
9247
9321
|
[maxTickLength]="maxXAxisTickLength"
|
|
9248
9322
|
[tickFormatting]="xAxisTickFormatting"
|
|
9249
9323
|
[ticks]="xAxisTicks"
|
|
9324
|
+
[wrapTicks]="wrapTicks"
|
|
9250
9325
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
9251
9326
|
></svg:g>
|
|
9252
9327
|
<svg:g
|
|
@@ -9261,6 +9336,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
9261
9336
|
[tickFormatting]="yAxisTickFormatting"
|
|
9262
9337
|
[ticks]="yAxisTicks"
|
|
9263
9338
|
[yAxisOffset]="dataLabelMaxWidth.negative"
|
|
9339
|
+
[wrapTicks]="wrapTicks"
|
|
9264
9340
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
9265
9341
|
></svg:g>
|
|
9266
9342
|
<svg:g *ngIf="!isSSR">
|
|
@@ -9393,6 +9469,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
9393
9469
|
type: Input
|
|
9394
9470
|
}], noBarWhenZero: [{
|
|
9395
9471
|
type: Input
|
|
9472
|
+
}], wrapTicks: [{
|
|
9473
|
+
type: Input
|
|
9396
9474
|
}], activate: [{
|
|
9397
9475
|
type: Output
|
|
9398
9476
|
}], deactivate: [{
|
|
@@ -10217,6 +10295,7 @@ class BarVertical2DComponent extends BaseChartComponent {
|
|
|
10217
10295
|
this.roundEdges = true;
|
|
10218
10296
|
this.showDataLabel = false;
|
|
10219
10297
|
this.noBarWhenZero = true;
|
|
10298
|
+
this.wrapTicks = false;
|
|
10220
10299
|
this.activate = new EventEmitter();
|
|
10221
10300
|
this.deactivate = new EventEmitter();
|
|
10222
10301
|
this.margin = [10, 20, 10, 20];
|
|
@@ -10411,7 +10490,7 @@ class BarVertical2DComponent extends BaseChartComponent {
|
|
|
10411
10490
|
}
|
|
10412
10491
|
}
|
|
10413
10492
|
BarVertical2DComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BarVertical2DComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
10414
|
-
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: `
|
|
10493
|
+
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: `
|
|
10415
10494
|
<ngx-charts-chart
|
|
10416
10495
|
[view]="[width, height]"
|
|
10417
10496
|
[showLegend]="legend"
|
|
@@ -10444,6 +10523,7 @@ BarVertical2DComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
10444
10523
|
[tickFormatting]="xAxisTickFormatting"
|
|
10445
10524
|
[ticks]="xAxisTicks"
|
|
10446
10525
|
[xAxisOffset]="dataLabelMaxHeight.negative"
|
|
10526
|
+
[wrapTicks]="wrapTicks"
|
|
10447
10527
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
10448
10528
|
></svg:g>
|
|
10449
10529
|
<svg:g
|
|
@@ -10458,6 +10538,7 @@ BarVertical2DComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
10458
10538
|
[maxTickLength]="maxYAxisTickLength"
|
|
10459
10539
|
[tickFormatting]="yAxisTickFormatting"
|
|
10460
10540
|
[ticks]="yAxisTicks"
|
|
10541
|
+
[wrapTicks]="wrapTicks"
|
|
10461
10542
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
10462
10543
|
></svg:g>
|
|
10463
10544
|
<svg:g *ngIf="!isSSR">
|
|
@@ -10561,6 +10642,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
10561
10642
|
[tickFormatting]="xAxisTickFormatting"
|
|
10562
10643
|
[ticks]="xAxisTicks"
|
|
10563
10644
|
[xAxisOffset]="dataLabelMaxHeight.negative"
|
|
10645
|
+
[wrapTicks]="wrapTicks"
|
|
10564
10646
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
10565
10647
|
></svg:g>
|
|
10566
10648
|
<svg:g
|
|
@@ -10575,6 +10657,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
10575
10657
|
[maxTickLength]="maxYAxisTickLength"
|
|
10576
10658
|
[tickFormatting]="yAxisTickFormatting"
|
|
10577
10659
|
[ticks]="yAxisTicks"
|
|
10660
|
+
[wrapTicks]="wrapTicks"
|
|
10578
10661
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
10579
10662
|
></svg:g>
|
|
10580
10663
|
<svg:g *ngIf="!isSSR">
|
|
@@ -10707,6 +10790,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
10707
10790
|
type: Input
|
|
10708
10791
|
}], noBarWhenZero: [{
|
|
10709
10792
|
type: Input
|
|
10793
|
+
}], wrapTicks: [{
|
|
10794
|
+
type: Input
|
|
10710
10795
|
}], activate: [{
|
|
10711
10796
|
type: Output
|
|
10712
10797
|
}], deactivate: [{
|
|
@@ -10733,6 +10818,7 @@ class BarVerticalNormalizedComponent extends BaseChartComponent {
|
|
|
10733
10818
|
this.barPadding = 8;
|
|
10734
10819
|
this.roundDomains = false;
|
|
10735
10820
|
this.noBarWhenZero = true;
|
|
10821
|
+
this.wrapTicks = false;
|
|
10736
10822
|
this.activate = new EventEmitter();
|
|
10737
10823
|
this.deactivate = new EventEmitter();
|
|
10738
10824
|
this.valueDomain = [0, 100];
|
|
@@ -10885,7 +10971,7 @@ class BarVerticalNormalizedComponent extends BaseChartComponent {
|
|
|
10885
10971
|
}
|
|
10886
10972
|
}
|
|
10887
10973
|
BarVerticalNormalizedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BarVerticalNormalizedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
10888
|
-
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: `
|
|
10974
|
+
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: `
|
|
10889
10975
|
<ngx-charts-chart
|
|
10890
10976
|
[view]="[width, height]"
|
|
10891
10977
|
[showLegend]="legend"
|
|
@@ -10909,6 +10995,7 @@ BarVerticalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
10909
10995
|
[maxTickLength]="maxXAxisTickLength"
|
|
10910
10996
|
[tickFormatting]="xAxisTickFormatting"
|
|
10911
10997
|
[ticks]="xAxisTicks"
|
|
10998
|
+
[wrapTicks]="wrapTicks"
|
|
10912
10999
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
10913
11000
|
></svg:g>
|
|
10914
11001
|
<svg:g
|
|
@@ -10923,6 +11010,7 @@ BarVerticalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
10923
11010
|
[maxTickLength]="maxYAxisTickLength"
|
|
10924
11011
|
[tickFormatting]="yAxisTickFormatting"
|
|
10925
11012
|
[ticks]="yAxisTicks"
|
|
11013
|
+
[wrapTicks]="wrapTicks"
|
|
10926
11014
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
10927
11015
|
></svg:g>
|
|
10928
11016
|
<svg:g *ngIf="!isSSR">
|
|
@@ -11014,6 +11102,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11014
11102
|
[maxTickLength]="maxXAxisTickLength"
|
|
11015
11103
|
[tickFormatting]="xAxisTickFormatting"
|
|
11016
11104
|
[ticks]="xAxisTicks"
|
|
11105
|
+
[wrapTicks]="wrapTicks"
|
|
11017
11106
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
11018
11107
|
></svg:g>
|
|
11019
11108
|
<svg:g
|
|
@@ -11028,6 +11117,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11028
11117
|
[maxTickLength]="maxYAxisTickLength"
|
|
11029
11118
|
[tickFormatting]="yAxisTickFormatting"
|
|
11030
11119
|
[ticks]="yAxisTicks"
|
|
11120
|
+
[wrapTicks]="wrapTicks"
|
|
11031
11121
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
11032
11122
|
></svg:g>
|
|
11033
11123
|
<svg:g *ngIf="!isSSR">
|
|
@@ -11145,6 +11235,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11145
11235
|
type: Input
|
|
11146
11236
|
}], noBarWhenZero: [{
|
|
11147
11237
|
type: Input
|
|
11238
|
+
}], wrapTicks: [{
|
|
11239
|
+
type: Input
|
|
11148
11240
|
}], activate: [{
|
|
11149
11241
|
type: Output
|
|
11150
11242
|
}], deactivate: [{
|
|
@@ -11172,6 +11264,7 @@ class BarVerticalStackedComponent extends BaseChartComponent {
|
|
|
11172
11264
|
this.roundDomains = false;
|
|
11173
11265
|
this.showDataLabel = false;
|
|
11174
11266
|
this.noBarWhenZero = true;
|
|
11267
|
+
this.wrapTicks = false;
|
|
11175
11268
|
this.activate = new EventEmitter();
|
|
11176
11269
|
this.deactivate = new EventEmitter();
|
|
11177
11270
|
this.margin = [10, 20, 10, 20];
|
|
@@ -11369,7 +11462,7 @@ class BarVerticalStackedComponent extends BaseChartComponent {
|
|
|
11369
11462
|
}
|
|
11370
11463
|
}
|
|
11371
11464
|
BarVerticalStackedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BarVerticalStackedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
11372
|
-
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: `
|
|
11465
|
+
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: `
|
|
11373
11466
|
<ngx-charts-chart
|
|
11374
11467
|
[view]="[width, height]"
|
|
11375
11468
|
[showLegend]="legend"
|
|
@@ -11394,6 +11487,7 @@ BarVerticalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
11394
11487
|
[tickFormatting]="xAxisTickFormatting"
|
|
11395
11488
|
[ticks]="xAxisTicks"
|
|
11396
11489
|
[xAxisOffset]="dataLabelMaxHeight.negative"
|
|
11490
|
+
[wrapTicks]="wrapTicks"
|
|
11397
11491
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
11398
11492
|
></svg:g>
|
|
11399
11493
|
<svg:g
|
|
@@ -11408,6 +11502,7 @@ BarVerticalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
11408
11502
|
[maxTickLength]="maxYAxisTickLength"
|
|
11409
11503
|
[tickFormatting]="yAxisTickFormatting"
|
|
11410
11504
|
[ticks]="yAxisTicks"
|
|
11505
|
+
[wrapTicks]="wrapTicks"
|
|
11411
11506
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
11412
11507
|
></svg:g>
|
|
11413
11508
|
<svg:g *ngIf="!isSSR">
|
|
@@ -11509,6 +11604,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11509
11604
|
[tickFormatting]="xAxisTickFormatting"
|
|
11510
11605
|
[ticks]="xAxisTicks"
|
|
11511
11606
|
[xAxisOffset]="dataLabelMaxHeight.negative"
|
|
11607
|
+
[wrapTicks]="wrapTicks"
|
|
11512
11608
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
11513
11609
|
></svg:g>
|
|
11514
11610
|
<svg:g
|
|
@@ -11523,6 +11619,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11523
11619
|
[maxTickLength]="maxYAxisTickLength"
|
|
11524
11620
|
[tickFormatting]="yAxisTickFormatting"
|
|
11525
11621
|
[ticks]="yAxisTicks"
|
|
11622
|
+
[wrapTicks]="wrapTicks"
|
|
11526
11623
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
11527
11624
|
></svg:g>
|
|
11528
11625
|
<svg:g *ngIf="!isSSR">
|
|
@@ -11655,6 +11752,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11655
11752
|
type: Input
|
|
11656
11753
|
}], noBarWhenZero: [{
|
|
11657
11754
|
type: Input
|
|
11755
|
+
}], wrapTicks: [{
|
|
11756
|
+
type: Input
|
|
11658
11757
|
}], activate: [{
|
|
11659
11758
|
type: Output
|
|
11660
11759
|
}], deactivate: [{
|
|
@@ -12328,6 +12427,7 @@ class BoxChartComponent extends BaseChartComponent {
|
|
|
12328
12427
|
this.strokeColor = '#FFFFFF';
|
|
12329
12428
|
this.strokeWidth = 2;
|
|
12330
12429
|
this.tooltipDisabled = false;
|
|
12430
|
+
this.wrapTicks = false;
|
|
12331
12431
|
this.select = new EventEmitter();
|
|
12332
12432
|
this.activate = new EventEmitter();
|
|
12333
12433
|
this.deactivate = new EventEmitter();
|
|
@@ -12473,7 +12573,7 @@ class BoxChartComponent extends BaseChartComponent {
|
|
|
12473
12573
|
}
|
|
12474
12574
|
}
|
|
12475
12575
|
BoxChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BoxChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
12476
|
-
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: `
|
|
12576
|
+
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: `
|
|
12477
12577
|
<ngx-charts-chart
|
|
12478
12578
|
[view]="[width, height]"
|
|
12479
12579
|
[showLegend]="legend"
|
|
@@ -12491,6 +12591,7 @@ BoxChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
12491
12591
|
[xScale]="xScale"
|
|
12492
12592
|
[showLabel]="showXAxisLabel"
|
|
12493
12593
|
[labelText]="xAxisLabel"
|
|
12594
|
+
[wrapTicks]="wrapTicks"
|
|
12494
12595
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
12495
12596
|
/>
|
|
12496
12597
|
<svg:g
|
|
@@ -12500,6 +12601,7 @@ BoxChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
12500
12601
|
[yScale]="yScale"
|
|
12501
12602
|
[showLabel]="showYAxisLabel"
|
|
12502
12603
|
[labelText]="yAxisLabel"
|
|
12604
|
+
[wrapTicks]="wrapTicks"
|
|
12503
12605
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
12504
12606
|
/>
|
|
12505
12607
|
</svg:g>
|
|
@@ -12547,6 +12649,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
12547
12649
|
[xScale]="xScale"
|
|
12548
12650
|
[showLabel]="showXAxisLabel"
|
|
12549
12651
|
[labelText]="xAxisLabel"
|
|
12652
|
+
[wrapTicks]="wrapTicks"
|
|
12550
12653
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
12551
12654
|
/>
|
|
12552
12655
|
<svg:g
|
|
@@ -12556,6 +12659,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
12556
12659
|
[yScale]="yScale"
|
|
12557
12660
|
[showLabel]="showYAxisLabel"
|
|
12558
12661
|
[labelText]="yAxisLabel"
|
|
12662
|
+
[wrapTicks]="wrapTicks"
|
|
12559
12663
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
12560
12664
|
/>
|
|
12561
12665
|
</svg:g>
|
|
@@ -12617,6 +12721,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
12617
12721
|
type: Input
|
|
12618
12722
|
}], gradient: [{
|
|
12619
12723
|
type: Input
|
|
12724
|
+
}], wrapTicks: [{
|
|
12725
|
+
type: Input
|
|
12620
12726
|
}], select: [{
|
|
12621
12727
|
type: Output
|
|
12622
12728
|
}], activate: [{
|
|
@@ -12993,6 +13099,7 @@ class BubbleChartComponent extends BaseChartComponent {
|
|
|
12993
13099
|
this.minRadius = 3;
|
|
12994
13100
|
this.schemeType = ScaleType.Ordinal;
|
|
12995
13101
|
this.tooltipDisabled = false;
|
|
13102
|
+
this.wrapTicks = false;
|
|
12996
13103
|
this.activate = new EventEmitter();
|
|
12997
13104
|
this.deactivate = new EventEmitter();
|
|
12998
13105
|
this.scaleType = ScaleType.Linear;
|
|
@@ -13187,7 +13294,7 @@ class BubbleChartComponent extends BaseChartComponent {
|
|
|
13187
13294
|
}
|
|
13188
13295
|
}
|
|
13189
13296
|
BubbleChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BubbleChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
13190
|
-
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: `
|
|
13297
|
+
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: `
|
|
13191
13298
|
<ngx-charts-chart
|
|
13192
13299
|
[view]="[width, height]"
|
|
13193
13300
|
[showLegend]="legend"
|
|
@@ -13221,6 +13328,7 @@ BubbleChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
13221
13328
|
[maxTickLength]="maxXAxisTickLength"
|
|
13222
13329
|
[tickFormatting]="xAxisTickFormatting"
|
|
13223
13330
|
[ticks]="xAxisTicks"
|
|
13331
|
+
[wrapTicks]="wrapTicks"
|
|
13224
13332
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
13225
13333
|
/>
|
|
13226
13334
|
<svg:g
|
|
@@ -13235,6 +13343,7 @@ BubbleChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
13235
13343
|
[maxTickLength]="maxYAxisTickLength"
|
|
13236
13344
|
[tickFormatting]="yAxisTickFormatting"
|
|
13237
13345
|
[ticks]="yAxisTicks"
|
|
13346
|
+
[wrapTicks]="wrapTicks"
|
|
13238
13347
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
13239
13348
|
/>
|
|
13240
13349
|
<svg:rect
|
|
@@ -13340,6 +13449,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
13340
13449
|
[maxTickLength]="maxXAxisTickLength"
|
|
13341
13450
|
[tickFormatting]="xAxisTickFormatting"
|
|
13342
13451
|
[ticks]="xAxisTicks"
|
|
13452
|
+
[wrapTicks]="wrapTicks"
|
|
13343
13453
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
13344
13454
|
/>
|
|
13345
13455
|
<svg:g
|
|
@@ -13354,6 +13464,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
13354
13464
|
[maxTickLength]="maxYAxisTickLength"
|
|
13355
13465
|
[tickFormatting]="yAxisTickFormatting"
|
|
13356
13466
|
[ticks]="yAxisTicks"
|
|
13467
|
+
[wrapTicks]="wrapTicks"
|
|
13357
13468
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
13358
13469
|
/>
|
|
13359
13470
|
<svg:rect
|
|
@@ -13481,6 +13592,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
13481
13592
|
type: Input
|
|
13482
13593
|
}], yScaleMax: [{
|
|
13483
13594
|
type: Input
|
|
13595
|
+
}], wrapTicks: [{
|
|
13596
|
+
type: Input
|
|
13484
13597
|
}], activate: [{
|
|
13485
13598
|
type: Output
|
|
13486
13599
|
}], deactivate: [{
|
|
@@ -13787,6 +13900,7 @@ class HeatMapComponent extends BaseChartComponent {
|
|
|
13787
13900
|
this.maxYAxisTickLength = 16;
|
|
13788
13901
|
this.tooltipDisabled = false;
|
|
13789
13902
|
this.activeEntries = [];
|
|
13903
|
+
this.wrapTicks = false;
|
|
13790
13904
|
this.activate = new EventEmitter();
|
|
13791
13905
|
this.deactivate = new EventEmitter();
|
|
13792
13906
|
this.margin = [10, 20, 10, 20];
|
|
@@ -13977,7 +14091,7 @@ class HeatMapComponent extends BaseChartComponent {
|
|
|
13977
14091
|
}
|
|
13978
14092
|
}
|
|
13979
14093
|
HeatMapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: HeatMapComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
13980
|
-
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: `
|
|
14094
|
+
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: `
|
|
13981
14095
|
<ngx-charts-chart
|
|
13982
14096
|
[view]="[width, height]"
|
|
13983
14097
|
[showLegend]="legend"
|
|
@@ -13998,6 +14112,7 @@ HeatMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
13998
14112
|
[maxTickLength]="maxXAxisTickLength"
|
|
13999
14113
|
[tickFormatting]="xAxisTickFormatting"
|
|
14000
14114
|
[ticks]="xAxisTicks"
|
|
14115
|
+
[wrapTicks]="wrapTicks"
|
|
14001
14116
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
14002
14117
|
></svg:g>
|
|
14003
14118
|
<svg:g
|
|
@@ -14011,6 +14126,7 @@ HeatMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
14011
14126
|
[maxTickLength]="maxYAxisTickLength"
|
|
14012
14127
|
[tickFormatting]="yAxisTickFormatting"
|
|
14013
14128
|
[ticks]="yAxisTicks"
|
|
14129
|
+
[wrapTicks]="wrapTicks"
|
|
14014
14130
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
14015
14131
|
></svg:g>
|
|
14016
14132
|
<svg:rect
|
|
@@ -14063,6 +14179,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
14063
14179
|
[maxTickLength]="maxXAxisTickLength"
|
|
14064
14180
|
[tickFormatting]="xAxisTickFormatting"
|
|
14065
14181
|
[ticks]="xAxisTicks"
|
|
14182
|
+
[wrapTicks]="wrapTicks"
|
|
14066
14183
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
14067
14184
|
></svg:g>
|
|
14068
14185
|
<svg:g
|
|
@@ -14076,6 +14193,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
14076
14193
|
[maxTickLength]="maxYAxisTickLength"
|
|
14077
14194
|
[tickFormatting]="yAxisTickFormatting"
|
|
14078
14195
|
[ticks]="yAxisTicks"
|
|
14196
|
+
[wrapTicks]="wrapTicks"
|
|
14079
14197
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
14080
14198
|
></svg:g>
|
|
14081
14199
|
<svg:rect
|
|
@@ -14155,6 +14273,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
14155
14273
|
type: Input
|
|
14156
14274
|
}], activeEntries: [{
|
|
14157
14275
|
type: Input
|
|
14276
|
+
}], wrapTicks: [{
|
|
14277
|
+
type: Input
|
|
14158
14278
|
}], activate: [{
|
|
14159
14279
|
type: Output
|
|
14160
14280
|
}], deactivate: [{
|
|
@@ -14561,6 +14681,7 @@ class LineChartComponent extends BaseChartComponent {
|
|
|
14561
14681
|
this.tooltipDisabled = false;
|
|
14562
14682
|
this.showRefLines = false;
|
|
14563
14683
|
this.showRefLabels = true;
|
|
14684
|
+
this.wrapTicks = false;
|
|
14564
14685
|
this.activate = new EventEmitter();
|
|
14565
14686
|
this.deactivate = new EventEmitter();
|
|
14566
14687
|
this.margin = [10, 20, 10, 20];
|
|
@@ -14790,7 +14911,7 @@ class LineChartComponent extends BaseChartComponent {
|
|
|
14790
14911
|
}
|
|
14791
14912
|
}
|
|
14792
14913
|
LineChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: LineChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
14793
|
-
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: `
|
|
14914
|
+
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: `
|
|
14794
14915
|
<ngx-charts-chart
|
|
14795
14916
|
[view]="[width, height]"
|
|
14796
14917
|
[showLegend]="legend"
|
|
@@ -14824,6 +14945,7 @@ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
14824
14945
|
[maxTickLength]="maxXAxisTickLength"
|
|
14825
14946
|
[tickFormatting]="xAxisTickFormatting"
|
|
14826
14947
|
[ticks]="xAxisTicks"
|
|
14948
|
+
[wrapTicks]="wrapTicks"
|
|
14827
14949
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
14828
14950
|
></svg:g>
|
|
14829
14951
|
<svg:g
|
|
@@ -14841,6 +14963,7 @@ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
14841
14963
|
[referenceLines]="referenceLines"
|
|
14842
14964
|
[showRefLines]="showRefLines"
|
|
14843
14965
|
[showRefLabels]="showRefLabels"
|
|
14966
|
+
[wrapTicks]="wrapTicks"
|
|
14844
14967
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
14845
14968
|
></svg:g>
|
|
14846
14969
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -14989,6 +15112,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
14989
15112
|
[maxTickLength]="maxXAxisTickLength"
|
|
14990
15113
|
[tickFormatting]="xAxisTickFormatting"
|
|
14991
15114
|
[ticks]="xAxisTicks"
|
|
15115
|
+
[wrapTicks]="wrapTicks"
|
|
14992
15116
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
14993
15117
|
></svg:g>
|
|
14994
15118
|
<svg:g
|
|
@@ -15006,6 +15130,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
15006
15130
|
[referenceLines]="referenceLines"
|
|
15007
15131
|
[showRefLines]="showRefLines"
|
|
15008
15132
|
[showRefLabels]="showRefLabels"
|
|
15133
|
+
[wrapTicks]="wrapTicks"
|
|
15009
15134
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
15010
15135
|
></svg:g>
|
|
15011
15136
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -15188,6 +15313,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
15188
15313
|
type: Input
|
|
15189
15314
|
}], yScaleMax: [{
|
|
15190
15315
|
type: Input
|
|
15316
|
+
}], wrapTicks: [{
|
|
15317
|
+
type: Input
|
|
15191
15318
|
}], activate: [{
|
|
15192
15319
|
type: Output
|
|
15193
15320
|
}], deactivate: [{
|
|
@@ -15614,6 +15741,7 @@ class PolarChartComponent extends BaseChartComponent {
|
|
|
15614
15741
|
this.yAxisMinScale = 0;
|
|
15615
15742
|
this.labelTrim = true;
|
|
15616
15743
|
this.labelTrimSize = 10;
|
|
15744
|
+
this.wrapTicks = false;
|
|
15617
15745
|
this.activate = new EventEmitter();
|
|
15618
15746
|
this.deactivate = new EventEmitter();
|
|
15619
15747
|
// series: any; // ???
|
|
@@ -15871,7 +15999,7 @@ class PolarChartComponent extends BaseChartComponent {
|
|
|
15871
15999
|
}
|
|
15872
16000
|
}
|
|
15873
16001
|
PolarChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: PolarChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15874
|
-
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: `
|
|
16002
|
+
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: `
|
|
15875
16003
|
<ngx-charts-chart
|
|
15876
16004
|
[view]="[width, height]"
|
|
15877
16005
|
[showLegend]="legend"
|
|
@@ -15922,6 +16050,7 @@ PolarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
15922
16050
|
[trimTicks]="trimYAxisTicks"
|
|
15923
16051
|
[maxTickLength]="maxYAxisTickLength"
|
|
15924
16052
|
[tickFormatting]="yAxisTickFormatting"
|
|
16053
|
+
[wrapTicks]="wrapTicks"
|
|
15925
16054
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
15926
16055
|
></svg:g>
|
|
15927
16056
|
<svg:g
|
|
@@ -16044,6 +16173,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
16044
16173
|
[trimTicks]="trimYAxisTicks"
|
|
16045
16174
|
[maxTickLength]="maxYAxisTickLength"
|
|
16046
16175
|
[tickFormatting]="yAxisTickFormatting"
|
|
16176
|
+
[wrapTicks]="wrapTicks"
|
|
16047
16177
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
16048
16178
|
></svg:g>
|
|
16049
16179
|
<svg:g
|
|
@@ -16165,6 +16295,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
16165
16295
|
type: Input
|
|
16166
16296
|
}], labelTrimSize: [{
|
|
16167
16297
|
type: Input
|
|
16298
|
+
}], wrapTicks: [{
|
|
16299
|
+
type: Input
|
|
16168
16300
|
}], activate: [{
|
|
16169
16301
|
type: Output
|
|
16170
16302
|
}], deactivate: [{
|
|
@@ -19724,5 +19856,5 @@ function tickFormat(fieldType, groupByType) {
|
|
|
19724
19856
|
* Generated bundle index. Do not edit.
|
|
19725
19857
|
*/
|
|
19726
19858
|
|
|
19727
|
-
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 };
|
|
19859
|
+
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 };
|
|
19728
19860
|
//# sourceMappingURL=swimlane-ngx-charts.mjs.map
|