@swimlane/ngx-charts 20.2.2-beta.0 → 20.2.2-beta.3
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 +5 -5
- package/esm2020/lib/common/axes/x-axis-ticks.component.mjs +35 -16
- 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 +158 -39
- package/fesm2015/swimlane-ngx-charts.mjs.map +1 -1
- package/fesm2020/swimlane-ngx-charts.mjs +158 -39
- 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 +1 -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,16 +1408,16 @@ 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;
|
|
@@ -1451,7 +1451,10 @@ class XAxisTicksComponent {
|
|
|
1451
1451
|
this.maxAllowedLength = 16;
|
|
1452
1452
|
this.height = 0;
|
|
1453
1453
|
this.approxHeight = 10;
|
|
1454
|
-
this.
|
|
1454
|
+
this.maxPossibleLengthForTick = 16;
|
|
1455
|
+
}
|
|
1456
|
+
get isWrapTicksSupported() {
|
|
1457
|
+
return this.wrapTicks && this.scale.step;
|
|
1455
1458
|
}
|
|
1456
1459
|
ngOnChanges(changes) {
|
|
1457
1460
|
this.update();
|
|
@@ -1505,6 +1508,9 @@ class XAxisTicksComponent {
|
|
|
1505
1508
|
else {
|
|
1506
1509
|
this.textAnchor = TextAnchor.Middle;
|
|
1507
1510
|
}
|
|
1511
|
+
if (this.isWrapTicksSupported) {
|
|
1512
|
+
this.maxPossibleLengthForTick = this.getMaxPossibleLengthForTick(this.ticks);
|
|
1513
|
+
}
|
|
1508
1514
|
setTimeout(() => this.updateDims());
|
|
1509
1515
|
}
|
|
1510
1516
|
getRotationAngle(ticks) {
|
|
@@ -1561,10 +1567,27 @@ class XAxisTicksComponent {
|
|
|
1561
1567
|
tickTrim(label) {
|
|
1562
1568
|
return this.trimTicks ? trimLabel(label, this.maxTickLength) : label;
|
|
1563
1569
|
}
|
|
1570
|
+
getMaxPossibleLengthForTick(ticks) {
|
|
1571
|
+
if (this.scale.bandwidth) {
|
|
1572
|
+
const averageCharacterWidth = 7; // approximate char width
|
|
1573
|
+
const maxCharacters = Math.floor(this.scale.bandwidth() / averageCharacterWidth);
|
|
1574
|
+
const label = ticks.reduce((savedText, text) => (text.length > savedText.length ? text : savedText), '');
|
|
1575
|
+
const truncatedText = label.slice(0, maxCharacters);
|
|
1576
|
+
return Math.max(truncatedText.length, this.maxTickLength);
|
|
1577
|
+
}
|
|
1578
|
+
return this.maxTickLength;
|
|
1579
|
+
}
|
|
1564
1580
|
tickChunks(label) {
|
|
1565
1581
|
if (label.toString().length > this.maxTickLength && this.scale.bandwidth) {
|
|
1566
|
-
const
|
|
1567
|
-
|
|
1582
|
+
const maxAllowedLines = 5;
|
|
1583
|
+
let maxLines = this.rotateTicks ? Math.floor(this.scale.step() / 14) : maxAllowedLines;
|
|
1584
|
+
if (maxLines <= 1) {
|
|
1585
|
+
return [label];
|
|
1586
|
+
}
|
|
1587
|
+
const possibleStringLength = Math.max(this.maxPossibleLengthForTick, this.maxTickLength);
|
|
1588
|
+
maxLines = Math.min(maxLines, maxAllowedLines);
|
|
1589
|
+
const lines = getTickLines(label, possibleStringLength, maxLines < 1 ? 1 : maxLines);
|
|
1590
|
+
return lines;
|
|
1568
1591
|
}
|
|
1569
1592
|
return [label];
|
|
1570
1593
|
}
|
|
@@ -1581,16 +1604,14 @@ XAxisTicksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
1581
1604
|
[attr.text-anchor]="textAnchor"
|
|
1582
1605
|
[attr.transform]="textTransform"
|
|
1583
1606
|
>
|
|
1584
|
-
<ng-container *ngIf="
|
|
1607
|
+
<ng-container *ngIf="isWrapTicksSupported; then tmplMultilineTick; else tmplSinglelineTick"></ng-container>
|
|
1585
1608
|
</svg:text>
|
|
1586
1609
|
|
|
1587
1610
|
<ng-template #tmplMultilineTick>
|
|
1588
1611
|
<ng-container *ngIf="tickChunks(tick) as tickLines">
|
|
1589
|
-
<
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
</svg:tspan>
|
|
1593
|
-
</ng-container>
|
|
1612
|
+
<svg:tspan *ngFor="let tickLine of tickLines; let i = index" x="0" [attr.y]="i * 12">
|
|
1613
|
+
{{ tickLine }}
|
|
1614
|
+
</svg:tspan>
|
|
1594
1615
|
</ng-container>
|
|
1595
1616
|
</ng-template>
|
|
1596
1617
|
|
|
@@ -1622,16 +1643,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
1622
1643
|
[attr.text-anchor]="textAnchor"
|
|
1623
1644
|
[attr.transform]="textTransform"
|
|
1624
1645
|
>
|
|
1625
|
-
<ng-container *ngIf="
|
|
1646
|
+
<ng-container *ngIf="isWrapTicksSupported; then tmplMultilineTick; else tmplSinglelineTick"></ng-container>
|
|
1626
1647
|
</svg:text>
|
|
1627
1648
|
|
|
1628
1649
|
<ng-template #tmplMultilineTick>
|
|
1629
1650
|
<ng-container *ngIf="tickChunks(tick) as tickLines">
|
|
1630
|
-
<
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
</svg:tspan>
|
|
1634
|
-
</ng-container>
|
|
1651
|
+
<svg:tspan *ngFor="let tickLine of tickLines; let i = index" x="0" [attr.y]="i * 12">
|
|
1652
|
+
{{ tickLine }}
|
|
1653
|
+
</svg:tspan>
|
|
1635
1654
|
</ng-container>
|
|
1636
1655
|
</ng-template>
|
|
1637
1656
|
|
|
@@ -1935,13 +1954,19 @@ class YAxisTicksComponent {
|
|
|
1935
1954
|
}
|
|
1936
1955
|
this.adjustedScale = scale.bandwidth
|
|
1937
1956
|
? d => {
|
|
1957
|
+
// position the tick to middle considering number of lines of the tick
|
|
1958
|
+
const positionMiddle = scale(d) + scale.bandwidth() * 0.5;
|
|
1938
1959
|
if (this.wrapTicks && d.toString().length > this.maxTickLength) {
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1960
|
+
const chunksLength = this.tickChunks(d).length;
|
|
1961
|
+
if (chunksLength === 1) {
|
|
1962
|
+
return positionMiddle;
|
|
1963
|
+
}
|
|
1964
|
+
const bandWidth = scale.bandwidth();
|
|
1965
|
+
const heightOfLines = chunksLength * 8;
|
|
1966
|
+
const availableFreeSpace = bandWidth * 0.5 - heightOfLines * 0.5;
|
|
1967
|
+
return scale(d) + availableFreeSpace;
|
|
1943
1968
|
}
|
|
1944
|
-
return
|
|
1969
|
+
return positionMiddle;
|
|
1945
1970
|
}
|
|
1946
1971
|
: scale;
|
|
1947
1972
|
if (this.showRefLines && this.referenceLines) {
|
|
@@ -2034,8 +2059,13 @@ class YAxisTicksComponent {
|
|
|
2034
2059
|
}
|
|
2035
2060
|
tickChunks(label) {
|
|
2036
2061
|
if (label.toString().length > this.maxTickLength && this.scale.bandwidth) {
|
|
2037
|
-
|
|
2038
|
-
|
|
2062
|
+
// for y-axis the width of the tick is fixed
|
|
2063
|
+
const preferredWidth = this.maxTickLength;
|
|
2064
|
+
const maxLines = Math.floor(this.scale.bandwidth() / 15);
|
|
2065
|
+
if (maxLines <= 1) {
|
|
2066
|
+
return [this.tickTrim(label)];
|
|
2067
|
+
}
|
|
2068
|
+
return getTickLines(label, preferredWidth, Math.min(maxLines, 5));
|
|
2039
2069
|
}
|
|
2040
2070
|
return [this.tickFormat(label)];
|
|
2041
2071
|
}
|
|
@@ -5069,6 +5099,7 @@ class AreaChartComponent extends BaseChartComponent {
|
|
|
5069
5099
|
this.maxYAxisTickLength = 16;
|
|
5070
5100
|
this.roundDomains = false;
|
|
5071
5101
|
this.tooltipDisabled = false;
|
|
5102
|
+
this.wrapTicks = false;
|
|
5072
5103
|
this.activate = new EventEmitter();
|
|
5073
5104
|
this.deactivate = new EventEmitter();
|
|
5074
5105
|
this.margin = [10, 20, 10, 20];
|
|
@@ -5302,7 +5333,7 @@ class AreaChartComponent extends BaseChartComponent {
|
|
|
5302
5333
|
}
|
|
5303
5334
|
}
|
|
5304
5335
|
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: `
|
|
5336
|
+
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
5337
|
<ngx-charts-chart
|
|
5307
5338
|
[view]="[width, height]"
|
|
5308
5339
|
[showLegend]="legend"
|
|
@@ -5336,6 +5367,7 @@ AreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
5336
5367
|
[maxTickLength]="maxXAxisTickLength"
|
|
5337
5368
|
[tickFormatting]="xAxisTickFormatting"
|
|
5338
5369
|
[ticks]="xAxisTicks"
|
|
5370
|
+
[wrapTicks]="wrapTicks"
|
|
5339
5371
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
5340
5372
|
></svg:g>
|
|
5341
5373
|
<svg:g
|
|
@@ -5350,6 +5382,7 @@ AreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
5350
5382
|
[maxTickLength]="maxYAxisTickLength"
|
|
5351
5383
|
[tickFormatting]="yAxisTickFormatting"
|
|
5352
5384
|
[ticks]="yAxisTicks"
|
|
5385
|
+
[wrapTicks]="wrapTicks"
|
|
5353
5386
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
5354
5387
|
></svg:g>
|
|
5355
5388
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -5469,6 +5502,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
5469
5502
|
[maxTickLength]="maxXAxisTickLength"
|
|
5470
5503
|
[tickFormatting]="xAxisTickFormatting"
|
|
5471
5504
|
[ticks]="xAxisTicks"
|
|
5505
|
+
[wrapTicks]="wrapTicks"
|
|
5472
5506
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
5473
5507
|
></svg:g>
|
|
5474
5508
|
<svg:g
|
|
@@ -5483,6 +5517,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
5483
5517
|
[maxTickLength]="maxYAxisTickLength"
|
|
5484
5518
|
[tickFormatting]="yAxisTickFormatting"
|
|
5485
5519
|
[ticks]="yAxisTicks"
|
|
5520
|
+
[wrapTicks]="wrapTicks"
|
|
5486
5521
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
5487
5522
|
></svg:g>
|
|
5488
5523
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -5630,6 +5665,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
5630
5665
|
type: Input
|
|
5631
5666
|
}], yScaleMax: [{
|
|
5632
5667
|
type: Input
|
|
5668
|
+
}], wrapTicks: [{
|
|
5669
|
+
type: Input
|
|
5633
5670
|
}], activate: [{
|
|
5634
5671
|
type: Output
|
|
5635
5672
|
}], deactivate: [{
|
|
@@ -5663,6 +5700,7 @@ class AreaChartNormalizedComponent extends BaseChartComponent {
|
|
|
5663
5700
|
this.maxYAxisTickLength = 16;
|
|
5664
5701
|
this.roundDomains = false;
|
|
5665
5702
|
this.tooltipDisabled = false;
|
|
5703
|
+
this.wrapTicks = false;
|
|
5666
5704
|
this.activate = new EventEmitter();
|
|
5667
5705
|
this.deactivate = new EventEmitter();
|
|
5668
5706
|
this.yDomain = [0, 100];
|
|
@@ -5906,7 +5944,7 @@ class AreaChartNormalizedComponent extends BaseChartComponent {
|
|
|
5906
5944
|
}
|
|
5907
5945
|
}
|
|
5908
5946
|
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: `
|
|
5947
|
+
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
5948
|
<ngx-charts-chart
|
|
5911
5949
|
[view]="[width, height]"
|
|
5912
5950
|
[showLegend]="legend"
|
|
@@ -5940,6 +5978,7 @@ AreaChartNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
5940
5978
|
[maxTickLength]="maxXAxisTickLength"
|
|
5941
5979
|
[tickFormatting]="xAxisTickFormatting"
|
|
5942
5980
|
[ticks]="xAxisTicks"
|
|
5981
|
+
[wrapTicks]="wrapTicks"
|
|
5943
5982
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
5944
5983
|
></svg:g>
|
|
5945
5984
|
<svg:g
|
|
@@ -5954,6 +5993,7 @@ AreaChartNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
5954
5993
|
[maxTickLength]="maxYAxisTickLength"
|
|
5955
5994
|
[tickFormatting]="yAxisTickFormatting"
|
|
5956
5995
|
[ticks]="yAxisTicks"
|
|
5996
|
+
[wrapTicks]="wrapTicks"
|
|
5957
5997
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
5958
5998
|
></svg:g>
|
|
5959
5999
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -6075,6 +6115,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6075
6115
|
[maxTickLength]="maxXAxisTickLength"
|
|
6076
6116
|
[tickFormatting]="xAxisTickFormatting"
|
|
6077
6117
|
[ticks]="xAxisTicks"
|
|
6118
|
+
[wrapTicks]="wrapTicks"
|
|
6078
6119
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
6079
6120
|
></svg:g>
|
|
6080
6121
|
<svg:g
|
|
@@ -6089,6 +6130,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6089
6130
|
[maxTickLength]="maxYAxisTickLength"
|
|
6090
6131
|
[tickFormatting]="yAxisTickFormatting"
|
|
6091
6132
|
[ticks]="yAxisTicks"
|
|
6133
|
+
[wrapTicks]="wrapTicks"
|
|
6092
6134
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
6093
6135
|
></svg:g>
|
|
6094
6136
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -6226,6 +6268,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6226
6268
|
type: Input
|
|
6227
6269
|
}], tooltipDisabled: [{
|
|
6228
6270
|
type: Input
|
|
6271
|
+
}], wrapTicks: [{
|
|
6272
|
+
type: Input
|
|
6229
6273
|
}], activate: [{
|
|
6230
6274
|
type: Output
|
|
6231
6275
|
}], deactivate: [{
|
|
@@ -6260,6 +6304,7 @@ class AreaChartStackedComponent extends BaseChartComponent {
|
|
|
6260
6304
|
this.maxYAxisTickLength = 16;
|
|
6261
6305
|
this.roundDomains = false;
|
|
6262
6306
|
this.tooltipDisabled = false;
|
|
6307
|
+
this.wrapTicks = false;
|
|
6263
6308
|
this.activate = new EventEmitter();
|
|
6264
6309
|
this.deactivate = new EventEmitter();
|
|
6265
6310
|
this.margin = [10, 20, 10, 20];
|
|
@@ -6509,7 +6554,7 @@ class AreaChartStackedComponent extends BaseChartComponent {
|
|
|
6509
6554
|
}
|
|
6510
6555
|
}
|
|
6511
6556
|
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: `
|
|
6557
|
+
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
6558
|
<ngx-charts-chart
|
|
6514
6559
|
[view]="[width, height]"
|
|
6515
6560
|
[showLegend]="legend"
|
|
@@ -6543,6 +6588,7 @@ AreaChartStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
6543
6588
|
[maxTickLength]="maxXAxisTickLength"
|
|
6544
6589
|
[tickFormatting]="xAxisTickFormatting"
|
|
6545
6590
|
[ticks]="xAxisTicks"
|
|
6591
|
+
[wrapTicks]="wrapTicks"
|
|
6546
6592
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
6547
6593
|
></svg:g>
|
|
6548
6594
|
<svg:g
|
|
@@ -6557,6 +6603,7 @@ AreaChartStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
6557
6603
|
[maxTickLength]="maxYAxisTickLength"
|
|
6558
6604
|
[tickFormatting]="yAxisTickFormatting"
|
|
6559
6605
|
[ticks]="yAxisTicks"
|
|
6606
|
+
[wrapTicks]="wrapTicks"
|
|
6560
6607
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
6561
6608
|
></svg:g>
|
|
6562
6609
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -6677,6 +6724,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6677
6724
|
[maxTickLength]="maxXAxisTickLength"
|
|
6678
6725
|
[tickFormatting]="xAxisTickFormatting"
|
|
6679
6726
|
[ticks]="xAxisTicks"
|
|
6727
|
+
[wrapTicks]="wrapTicks"
|
|
6680
6728
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
6681
6729
|
></svg:g>
|
|
6682
6730
|
<svg:g
|
|
@@ -6691,6 +6739,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6691
6739
|
[maxTickLength]="maxYAxisTickLength"
|
|
6692
6740
|
[tickFormatting]="yAxisTickFormatting"
|
|
6693
6741
|
[ticks]="yAxisTicks"
|
|
6742
|
+
[wrapTicks]="wrapTicks"
|
|
6694
6743
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
6695
6744
|
></svg:g>
|
|
6696
6745
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -6835,6 +6884,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
6835
6884
|
type: Input
|
|
6836
6885
|
}], yScaleMax: [{
|
|
6837
6886
|
type: Input
|
|
6887
|
+
}], wrapTicks: [{
|
|
6888
|
+
type: Input
|
|
6838
6889
|
}], activate: [{
|
|
6839
6890
|
type: Output
|
|
6840
6891
|
}], deactivate: [{
|
|
@@ -8474,6 +8525,7 @@ class BarHorizontalNormalizedComponent extends BaseChartComponent {
|
|
|
8474
8525
|
this.barPadding = 8;
|
|
8475
8526
|
this.roundDomains = false;
|
|
8476
8527
|
this.noBarWhenZero = true;
|
|
8528
|
+
this.wrapTicks = false;
|
|
8477
8529
|
this.activate = new EventEmitter();
|
|
8478
8530
|
this.deactivate = new EventEmitter();
|
|
8479
8531
|
this.valueDomain = [0, 100];
|
|
@@ -8626,7 +8678,7 @@ class BarHorizontalNormalizedComponent extends BaseChartComponent {
|
|
|
8626
8678
|
}
|
|
8627
8679
|
}
|
|
8628
8680
|
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: `
|
|
8681
|
+
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
8682
|
<ngx-charts-chart
|
|
8631
8683
|
[view]="[width, height]"
|
|
8632
8684
|
[showLegend]="legend"
|
|
@@ -8651,6 +8703,7 @@ BarHorizontalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
8651
8703
|
[maxTickLength]="maxXAxisTickLength"
|
|
8652
8704
|
[tickFormatting]="xAxisTickFormatting"
|
|
8653
8705
|
[ticks]="xAxisTicks"
|
|
8706
|
+
[wrapTicks]="wrapTicks"
|
|
8654
8707
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
8655
8708
|
></svg:g>
|
|
8656
8709
|
<svg:g
|
|
@@ -8664,6 +8717,7 @@ BarHorizontalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
8664
8717
|
[maxTickLength]="maxYAxisTickLength"
|
|
8665
8718
|
[tickFormatting]="yAxisTickFormatting"
|
|
8666
8719
|
[ticks]="yAxisTicks"
|
|
8720
|
+
[wrapTicks]="wrapTicks"
|
|
8667
8721
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
8668
8722
|
></svg:g>
|
|
8669
8723
|
<svg:g *ngIf="!isSSR">
|
|
@@ -8756,6 +8810,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
8756
8810
|
[maxTickLength]="maxXAxisTickLength"
|
|
8757
8811
|
[tickFormatting]="xAxisTickFormatting"
|
|
8758
8812
|
[ticks]="xAxisTicks"
|
|
8813
|
+
[wrapTicks]="wrapTicks"
|
|
8759
8814
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
8760
8815
|
></svg:g>
|
|
8761
8816
|
<svg:g
|
|
@@ -8769,6 +8824,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
8769
8824
|
[maxTickLength]="maxYAxisTickLength"
|
|
8770
8825
|
[tickFormatting]="yAxisTickFormatting"
|
|
8771
8826
|
[ticks]="yAxisTicks"
|
|
8827
|
+
[wrapTicks]="wrapTicks"
|
|
8772
8828
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
8773
8829
|
></svg:g>
|
|
8774
8830
|
<svg:g *ngIf="!isSSR">
|
|
@@ -8886,6 +8942,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
8886
8942
|
type: Input
|
|
8887
8943
|
}], noBarWhenZero: [{
|
|
8888
8944
|
type: Input
|
|
8945
|
+
}], wrapTicks: [{
|
|
8946
|
+
type: Input
|
|
8889
8947
|
}], activate: [{
|
|
8890
8948
|
type: Output
|
|
8891
8949
|
}], deactivate: [{
|
|
@@ -8913,6 +8971,7 @@ class BarHorizontalStackedComponent extends BaseChartComponent {
|
|
|
8913
8971
|
this.roundDomains = false;
|
|
8914
8972
|
this.showDataLabel = false;
|
|
8915
8973
|
this.noBarWhenZero = true;
|
|
8974
|
+
this.wrapTicks = false;
|
|
8916
8975
|
this.activate = new EventEmitter();
|
|
8917
8976
|
this.deactivate = new EventEmitter();
|
|
8918
8977
|
this.margin = [10, 20, 10, 20];
|
|
@@ -9107,7 +9166,7 @@ class BarHorizontalStackedComponent extends BaseChartComponent {
|
|
|
9107
9166
|
}
|
|
9108
9167
|
}
|
|
9109
9168
|
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: `
|
|
9169
|
+
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
9170
|
<ngx-charts-chart
|
|
9112
9171
|
[view]="[width, height]"
|
|
9113
9172
|
[showLegend]="legend"
|
|
@@ -9132,6 +9191,7 @@ BarHorizontalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
9132
9191
|
[maxTickLength]="maxXAxisTickLength"
|
|
9133
9192
|
[tickFormatting]="xAxisTickFormatting"
|
|
9134
9193
|
[ticks]="xAxisTicks"
|
|
9194
|
+
[wrapTicks]="wrapTicks"
|
|
9135
9195
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
9136
9196
|
></svg:g>
|
|
9137
9197
|
<svg:g
|
|
@@ -9146,6 +9206,7 @@ BarHorizontalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
9146
9206
|
[tickFormatting]="yAxisTickFormatting"
|
|
9147
9207
|
[ticks]="yAxisTicks"
|
|
9148
9208
|
[yAxisOffset]="dataLabelMaxWidth.negative"
|
|
9209
|
+
[wrapTicks]="wrapTicks"
|
|
9149
9210
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
9150
9211
|
></svg:g>
|
|
9151
9212
|
<svg:g *ngIf="!isSSR">
|
|
@@ -9247,6 +9308,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
9247
9308
|
[maxTickLength]="maxXAxisTickLength"
|
|
9248
9309
|
[tickFormatting]="xAxisTickFormatting"
|
|
9249
9310
|
[ticks]="xAxisTicks"
|
|
9311
|
+
[wrapTicks]="wrapTicks"
|
|
9250
9312
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
9251
9313
|
></svg:g>
|
|
9252
9314
|
<svg:g
|
|
@@ -9261,6 +9323,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
9261
9323
|
[tickFormatting]="yAxisTickFormatting"
|
|
9262
9324
|
[ticks]="yAxisTicks"
|
|
9263
9325
|
[yAxisOffset]="dataLabelMaxWidth.negative"
|
|
9326
|
+
[wrapTicks]="wrapTicks"
|
|
9264
9327
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
9265
9328
|
></svg:g>
|
|
9266
9329
|
<svg:g *ngIf="!isSSR">
|
|
@@ -9393,6 +9456,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
9393
9456
|
type: Input
|
|
9394
9457
|
}], noBarWhenZero: [{
|
|
9395
9458
|
type: Input
|
|
9459
|
+
}], wrapTicks: [{
|
|
9460
|
+
type: Input
|
|
9396
9461
|
}], activate: [{
|
|
9397
9462
|
type: Output
|
|
9398
9463
|
}], deactivate: [{
|
|
@@ -10217,6 +10282,7 @@ class BarVertical2DComponent extends BaseChartComponent {
|
|
|
10217
10282
|
this.roundEdges = true;
|
|
10218
10283
|
this.showDataLabel = false;
|
|
10219
10284
|
this.noBarWhenZero = true;
|
|
10285
|
+
this.wrapTicks = false;
|
|
10220
10286
|
this.activate = new EventEmitter();
|
|
10221
10287
|
this.deactivate = new EventEmitter();
|
|
10222
10288
|
this.margin = [10, 20, 10, 20];
|
|
@@ -10411,7 +10477,7 @@ class BarVertical2DComponent extends BaseChartComponent {
|
|
|
10411
10477
|
}
|
|
10412
10478
|
}
|
|
10413
10479
|
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: `
|
|
10480
|
+
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
10481
|
<ngx-charts-chart
|
|
10416
10482
|
[view]="[width, height]"
|
|
10417
10483
|
[showLegend]="legend"
|
|
@@ -10444,6 +10510,7 @@ BarVertical2DComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
10444
10510
|
[tickFormatting]="xAxisTickFormatting"
|
|
10445
10511
|
[ticks]="xAxisTicks"
|
|
10446
10512
|
[xAxisOffset]="dataLabelMaxHeight.negative"
|
|
10513
|
+
[wrapTicks]="wrapTicks"
|
|
10447
10514
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
10448
10515
|
></svg:g>
|
|
10449
10516
|
<svg:g
|
|
@@ -10458,6 +10525,7 @@ BarVertical2DComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
10458
10525
|
[maxTickLength]="maxYAxisTickLength"
|
|
10459
10526
|
[tickFormatting]="yAxisTickFormatting"
|
|
10460
10527
|
[ticks]="yAxisTicks"
|
|
10528
|
+
[wrapTicks]="wrapTicks"
|
|
10461
10529
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
10462
10530
|
></svg:g>
|
|
10463
10531
|
<svg:g *ngIf="!isSSR">
|
|
@@ -10561,6 +10629,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
10561
10629
|
[tickFormatting]="xAxisTickFormatting"
|
|
10562
10630
|
[ticks]="xAxisTicks"
|
|
10563
10631
|
[xAxisOffset]="dataLabelMaxHeight.negative"
|
|
10632
|
+
[wrapTicks]="wrapTicks"
|
|
10564
10633
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
10565
10634
|
></svg:g>
|
|
10566
10635
|
<svg:g
|
|
@@ -10575,6 +10644,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
10575
10644
|
[maxTickLength]="maxYAxisTickLength"
|
|
10576
10645
|
[tickFormatting]="yAxisTickFormatting"
|
|
10577
10646
|
[ticks]="yAxisTicks"
|
|
10647
|
+
[wrapTicks]="wrapTicks"
|
|
10578
10648
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
10579
10649
|
></svg:g>
|
|
10580
10650
|
<svg:g *ngIf="!isSSR">
|
|
@@ -10707,6 +10777,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
10707
10777
|
type: Input
|
|
10708
10778
|
}], noBarWhenZero: [{
|
|
10709
10779
|
type: Input
|
|
10780
|
+
}], wrapTicks: [{
|
|
10781
|
+
type: Input
|
|
10710
10782
|
}], activate: [{
|
|
10711
10783
|
type: Output
|
|
10712
10784
|
}], deactivate: [{
|
|
@@ -10733,6 +10805,7 @@ class BarVerticalNormalizedComponent extends BaseChartComponent {
|
|
|
10733
10805
|
this.barPadding = 8;
|
|
10734
10806
|
this.roundDomains = false;
|
|
10735
10807
|
this.noBarWhenZero = true;
|
|
10808
|
+
this.wrapTicks = false;
|
|
10736
10809
|
this.activate = new EventEmitter();
|
|
10737
10810
|
this.deactivate = new EventEmitter();
|
|
10738
10811
|
this.valueDomain = [0, 100];
|
|
@@ -10885,7 +10958,7 @@ class BarVerticalNormalizedComponent extends BaseChartComponent {
|
|
|
10885
10958
|
}
|
|
10886
10959
|
}
|
|
10887
10960
|
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: `
|
|
10961
|
+
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
10962
|
<ngx-charts-chart
|
|
10890
10963
|
[view]="[width, height]"
|
|
10891
10964
|
[showLegend]="legend"
|
|
@@ -10909,6 +10982,7 @@ BarVerticalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
10909
10982
|
[maxTickLength]="maxXAxisTickLength"
|
|
10910
10983
|
[tickFormatting]="xAxisTickFormatting"
|
|
10911
10984
|
[ticks]="xAxisTicks"
|
|
10985
|
+
[wrapTicks]="wrapTicks"
|
|
10912
10986
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
10913
10987
|
></svg:g>
|
|
10914
10988
|
<svg:g
|
|
@@ -10923,6 +10997,7 @@ BarVerticalNormalizedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
|
10923
10997
|
[maxTickLength]="maxYAxisTickLength"
|
|
10924
10998
|
[tickFormatting]="yAxisTickFormatting"
|
|
10925
10999
|
[ticks]="yAxisTicks"
|
|
11000
|
+
[wrapTicks]="wrapTicks"
|
|
10926
11001
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
10927
11002
|
></svg:g>
|
|
10928
11003
|
<svg:g *ngIf="!isSSR">
|
|
@@ -11014,6 +11089,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11014
11089
|
[maxTickLength]="maxXAxisTickLength"
|
|
11015
11090
|
[tickFormatting]="xAxisTickFormatting"
|
|
11016
11091
|
[ticks]="xAxisTicks"
|
|
11092
|
+
[wrapTicks]="wrapTicks"
|
|
11017
11093
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
11018
11094
|
></svg:g>
|
|
11019
11095
|
<svg:g
|
|
@@ -11028,6 +11104,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11028
11104
|
[maxTickLength]="maxYAxisTickLength"
|
|
11029
11105
|
[tickFormatting]="yAxisTickFormatting"
|
|
11030
11106
|
[ticks]="yAxisTicks"
|
|
11107
|
+
[wrapTicks]="wrapTicks"
|
|
11031
11108
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
11032
11109
|
></svg:g>
|
|
11033
11110
|
<svg:g *ngIf="!isSSR">
|
|
@@ -11145,6 +11222,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11145
11222
|
type: Input
|
|
11146
11223
|
}], noBarWhenZero: [{
|
|
11147
11224
|
type: Input
|
|
11225
|
+
}], wrapTicks: [{
|
|
11226
|
+
type: Input
|
|
11148
11227
|
}], activate: [{
|
|
11149
11228
|
type: Output
|
|
11150
11229
|
}], deactivate: [{
|
|
@@ -11172,6 +11251,7 @@ class BarVerticalStackedComponent extends BaseChartComponent {
|
|
|
11172
11251
|
this.roundDomains = false;
|
|
11173
11252
|
this.showDataLabel = false;
|
|
11174
11253
|
this.noBarWhenZero = true;
|
|
11254
|
+
this.wrapTicks = false;
|
|
11175
11255
|
this.activate = new EventEmitter();
|
|
11176
11256
|
this.deactivate = new EventEmitter();
|
|
11177
11257
|
this.margin = [10, 20, 10, 20];
|
|
@@ -11369,7 +11449,7 @@ class BarVerticalStackedComponent extends BaseChartComponent {
|
|
|
11369
11449
|
}
|
|
11370
11450
|
}
|
|
11371
11451
|
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: `
|
|
11452
|
+
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
11453
|
<ngx-charts-chart
|
|
11374
11454
|
[view]="[width, height]"
|
|
11375
11455
|
[showLegend]="legend"
|
|
@@ -11394,6 +11474,7 @@ BarVerticalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
11394
11474
|
[tickFormatting]="xAxisTickFormatting"
|
|
11395
11475
|
[ticks]="xAxisTicks"
|
|
11396
11476
|
[xAxisOffset]="dataLabelMaxHeight.negative"
|
|
11477
|
+
[wrapTicks]="wrapTicks"
|
|
11397
11478
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
11398
11479
|
></svg:g>
|
|
11399
11480
|
<svg:g
|
|
@@ -11408,6 +11489,7 @@ BarVerticalStackedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
11408
11489
|
[maxTickLength]="maxYAxisTickLength"
|
|
11409
11490
|
[tickFormatting]="yAxisTickFormatting"
|
|
11410
11491
|
[ticks]="yAxisTicks"
|
|
11492
|
+
[wrapTicks]="wrapTicks"
|
|
11411
11493
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
11412
11494
|
></svg:g>
|
|
11413
11495
|
<svg:g *ngIf="!isSSR">
|
|
@@ -11509,6 +11591,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11509
11591
|
[tickFormatting]="xAxisTickFormatting"
|
|
11510
11592
|
[ticks]="xAxisTicks"
|
|
11511
11593
|
[xAxisOffset]="dataLabelMaxHeight.negative"
|
|
11594
|
+
[wrapTicks]="wrapTicks"
|
|
11512
11595
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
11513
11596
|
></svg:g>
|
|
11514
11597
|
<svg:g
|
|
@@ -11523,6 +11606,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11523
11606
|
[maxTickLength]="maxYAxisTickLength"
|
|
11524
11607
|
[tickFormatting]="yAxisTickFormatting"
|
|
11525
11608
|
[ticks]="yAxisTicks"
|
|
11609
|
+
[wrapTicks]="wrapTicks"
|
|
11526
11610
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
11527
11611
|
></svg:g>
|
|
11528
11612
|
<svg:g *ngIf="!isSSR">
|
|
@@ -11655,6 +11739,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
11655
11739
|
type: Input
|
|
11656
11740
|
}], noBarWhenZero: [{
|
|
11657
11741
|
type: Input
|
|
11742
|
+
}], wrapTicks: [{
|
|
11743
|
+
type: Input
|
|
11658
11744
|
}], activate: [{
|
|
11659
11745
|
type: Output
|
|
11660
11746
|
}], deactivate: [{
|
|
@@ -12328,6 +12414,7 @@ class BoxChartComponent extends BaseChartComponent {
|
|
|
12328
12414
|
this.strokeColor = '#FFFFFF';
|
|
12329
12415
|
this.strokeWidth = 2;
|
|
12330
12416
|
this.tooltipDisabled = false;
|
|
12417
|
+
this.wrapTicks = false;
|
|
12331
12418
|
this.select = new EventEmitter();
|
|
12332
12419
|
this.activate = new EventEmitter();
|
|
12333
12420
|
this.deactivate = new EventEmitter();
|
|
@@ -12473,7 +12560,7 @@ class BoxChartComponent extends BaseChartComponent {
|
|
|
12473
12560
|
}
|
|
12474
12561
|
}
|
|
12475
12562
|
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: `
|
|
12563
|
+
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
12564
|
<ngx-charts-chart
|
|
12478
12565
|
[view]="[width, height]"
|
|
12479
12566
|
[showLegend]="legend"
|
|
@@ -12491,6 +12578,7 @@ BoxChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
12491
12578
|
[xScale]="xScale"
|
|
12492
12579
|
[showLabel]="showXAxisLabel"
|
|
12493
12580
|
[labelText]="xAxisLabel"
|
|
12581
|
+
[wrapTicks]="wrapTicks"
|
|
12494
12582
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
12495
12583
|
/>
|
|
12496
12584
|
<svg:g
|
|
@@ -12500,6 +12588,7 @@ BoxChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
12500
12588
|
[yScale]="yScale"
|
|
12501
12589
|
[showLabel]="showYAxisLabel"
|
|
12502
12590
|
[labelText]="yAxisLabel"
|
|
12591
|
+
[wrapTicks]="wrapTicks"
|
|
12503
12592
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
12504
12593
|
/>
|
|
12505
12594
|
</svg:g>
|
|
@@ -12547,6 +12636,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
12547
12636
|
[xScale]="xScale"
|
|
12548
12637
|
[showLabel]="showXAxisLabel"
|
|
12549
12638
|
[labelText]="xAxisLabel"
|
|
12639
|
+
[wrapTicks]="wrapTicks"
|
|
12550
12640
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
12551
12641
|
/>
|
|
12552
12642
|
<svg:g
|
|
@@ -12556,6 +12646,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
12556
12646
|
[yScale]="yScale"
|
|
12557
12647
|
[showLabel]="showYAxisLabel"
|
|
12558
12648
|
[labelText]="yAxisLabel"
|
|
12649
|
+
[wrapTicks]="wrapTicks"
|
|
12559
12650
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
12560
12651
|
/>
|
|
12561
12652
|
</svg:g>
|
|
@@ -12617,6 +12708,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
12617
12708
|
type: Input
|
|
12618
12709
|
}], gradient: [{
|
|
12619
12710
|
type: Input
|
|
12711
|
+
}], wrapTicks: [{
|
|
12712
|
+
type: Input
|
|
12620
12713
|
}], select: [{
|
|
12621
12714
|
type: Output
|
|
12622
12715
|
}], activate: [{
|
|
@@ -12993,6 +13086,7 @@ class BubbleChartComponent extends BaseChartComponent {
|
|
|
12993
13086
|
this.minRadius = 3;
|
|
12994
13087
|
this.schemeType = ScaleType.Ordinal;
|
|
12995
13088
|
this.tooltipDisabled = false;
|
|
13089
|
+
this.wrapTicks = false;
|
|
12996
13090
|
this.activate = new EventEmitter();
|
|
12997
13091
|
this.deactivate = new EventEmitter();
|
|
12998
13092
|
this.scaleType = ScaleType.Linear;
|
|
@@ -13187,7 +13281,7 @@ class BubbleChartComponent extends BaseChartComponent {
|
|
|
13187
13281
|
}
|
|
13188
13282
|
}
|
|
13189
13283
|
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: `
|
|
13284
|
+
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
13285
|
<ngx-charts-chart
|
|
13192
13286
|
[view]="[width, height]"
|
|
13193
13287
|
[showLegend]="legend"
|
|
@@ -13221,6 +13315,7 @@ BubbleChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
13221
13315
|
[maxTickLength]="maxXAxisTickLength"
|
|
13222
13316
|
[tickFormatting]="xAxisTickFormatting"
|
|
13223
13317
|
[ticks]="xAxisTicks"
|
|
13318
|
+
[wrapTicks]="wrapTicks"
|
|
13224
13319
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
13225
13320
|
/>
|
|
13226
13321
|
<svg:g
|
|
@@ -13235,6 +13330,7 @@ BubbleChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
13235
13330
|
[maxTickLength]="maxYAxisTickLength"
|
|
13236
13331
|
[tickFormatting]="yAxisTickFormatting"
|
|
13237
13332
|
[ticks]="yAxisTicks"
|
|
13333
|
+
[wrapTicks]="wrapTicks"
|
|
13238
13334
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
13239
13335
|
/>
|
|
13240
13336
|
<svg:rect
|
|
@@ -13340,6 +13436,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
13340
13436
|
[maxTickLength]="maxXAxisTickLength"
|
|
13341
13437
|
[tickFormatting]="xAxisTickFormatting"
|
|
13342
13438
|
[ticks]="xAxisTicks"
|
|
13439
|
+
[wrapTicks]="wrapTicks"
|
|
13343
13440
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
13344
13441
|
/>
|
|
13345
13442
|
<svg:g
|
|
@@ -13354,6 +13451,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
13354
13451
|
[maxTickLength]="maxYAxisTickLength"
|
|
13355
13452
|
[tickFormatting]="yAxisTickFormatting"
|
|
13356
13453
|
[ticks]="yAxisTicks"
|
|
13454
|
+
[wrapTicks]="wrapTicks"
|
|
13357
13455
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
13358
13456
|
/>
|
|
13359
13457
|
<svg:rect
|
|
@@ -13481,6 +13579,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
13481
13579
|
type: Input
|
|
13482
13580
|
}], yScaleMax: [{
|
|
13483
13581
|
type: Input
|
|
13582
|
+
}], wrapTicks: [{
|
|
13583
|
+
type: Input
|
|
13484
13584
|
}], activate: [{
|
|
13485
13585
|
type: Output
|
|
13486
13586
|
}], deactivate: [{
|
|
@@ -13787,6 +13887,7 @@ class HeatMapComponent extends BaseChartComponent {
|
|
|
13787
13887
|
this.maxYAxisTickLength = 16;
|
|
13788
13888
|
this.tooltipDisabled = false;
|
|
13789
13889
|
this.activeEntries = [];
|
|
13890
|
+
this.wrapTicks = false;
|
|
13790
13891
|
this.activate = new EventEmitter();
|
|
13791
13892
|
this.deactivate = new EventEmitter();
|
|
13792
13893
|
this.margin = [10, 20, 10, 20];
|
|
@@ -13977,7 +14078,7 @@ class HeatMapComponent extends BaseChartComponent {
|
|
|
13977
14078
|
}
|
|
13978
14079
|
}
|
|
13979
14080
|
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: `
|
|
14081
|
+
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
14082
|
<ngx-charts-chart
|
|
13982
14083
|
[view]="[width, height]"
|
|
13983
14084
|
[showLegend]="legend"
|
|
@@ -13998,6 +14099,7 @@ HeatMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
13998
14099
|
[maxTickLength]="maxXAxisTickLength"
|
|
13999
14100
|
[tickFormatting]="xAxisTickFormatting"
|
|
14000
14101
|
[ticks]="xAxisTicks"
|
|
14102
|
+
[wrapTicks]="wrapTicks"
|
|
14001
14103
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
14002
14104
|
></svg:g>
|
|
14003
14105
|
<svg:g
|
|
@@ -14011,6 +14113,7 @@ HeatMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
14011
14113
|
[maxTickLength]="maxYAxisTickLength"
|
|
14012
14114
|
[tickFormatting]="yAxisTickFormatting"
|
|
14013
14115
|
[ticks]="yAxisTicks"
|
|
14116
|
+
[wrapTicks]="wrapTicks"
|
|
14014
14117
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
14015
14118
|
></svg:g>
|
|
14016
14119
|
<svg:rect
|
|
@@ -14063,6 +14166,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
14063
14166
|
[maxTickLength]="maxXAxisTickLength"
|
|
14064
14167
|
[tickFormatting]="xAxisTickFormatting"
|
|
14065
14168
|
[ticks]="xAxisTicks"
|
|
14169
|
+
[wrapTicks]="wrapTicks"
|
|
14066
14170
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
14067
14171
|
></svg:g>
|
|
14068
14172
|
<svg:g
|
|
@@ -14076,6 +14180,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
14076
14180
|
[maxTickLength]="maxYAxisTickLength"
|
|
14077
14181
|
[tickFormatting]="yAxisTickFormatting"
|
|
14078
14182
|
[ticks]="yAxisTicks"
|
|
14183
|
+
[wrapTicks]="wrapTicks"
|
|
14079
14184
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
14080
14185
|
></svg:g>
|
|
14081
14186
|
<svg:rect
|
|
@@ -14155,6 +14260,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
14155
14260
|
type: Input
|
|
14156
14261
|
}], activeEntries: [{
|
|
14157
14262
|
type: Input
|
|
14263
|
+
}], wrapTicks: [{
|
|
14264
|
+
type: Input
|
|
14158
14265
|
}], activate: [{
|
|
14159
14266
|
type: Output
|
|
14160
14267
|
}], deactivate: [{
|
|
@@ -14561,6 +14668,7 @@ class LineChartComponent extends BaseChartComponent {
|
|
|
14561
14668
|
this.tooltipDisabled = false;
|
|
14562
14669
|
this.showRefLines = false;
|
|
14563
14670
|
this.showRefLabels = true;
|
|
14671
|
+
this.wrapTicks = false;
|
|
14564
14672
|
this.activate = new EventEmitter();
|
|
14565
14673
|
this.deactivate = new EventEmitter();
|
|
14566
14674
|
this.margin = [10, 20, 10, 20];
|
|
@@ -14790,7 +14898,7 @@ class LineChartComponent extends BaseChartComponent {
|
|
|
14790
14898
|
}
|
|
14791
14899
|
}
|
|
14792
14900
|
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: `
|
|
14901
|
+
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
14902
|
<ngx-charts-chart
|
|
14795
14903
|
[view]="[width, height]"
|
|
14796
14904
|
[showLegend]="legend"
|
|
@@ -14824,6 +14932,7 @@ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
14824
14932
|
[maxTickLength]="maxXAxisTickLength"
|
|
14825
14933
|
[tickFormatting]="xAxisTickFormatting"
|
|
14826
14934
|
[ticks]="xAxisTicks"
|
|
14935
|
+
[wrapTicks]="wrapTicks"
|
|
14827
14936
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
14828
14937
|
></svg:g>
|
|
14829
14938
|
<svg:g
|
|
@@ -14841,6 +14950,7 @@ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
14841
14950
|
[referenceLines]="referenceLines"
|
|
14842
14951
|
[showRefLines]="showRefLines"
|
|
14843
14952
|
[showRefLabels]="showRefLabels"
|
|
14953
|
+
[wrapTicks]="wrapTicks"
|
|
14844
14954
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
14845
14955
|
></svg:g>
|
|
14846
14956
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -14989,6 +15099,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
14989
15099
|
[maxTickLength]="maxXAxisTickLength"
|
|
14990
15100
|
[tickFormatting]="xAxisTickFormatting"
|
|
14991
15101
|
[ticks]="xAxisTicks"
|
|
15102
|
+
[wrapTicks]="wrapTicks"
|
|
14992
15103
|
(dimensionsChanged)="updateXAxisHeight($event)"
|
|
14993
15104
|
></svg:g>
|
|
14994
15105
|
<svg:g
|
|
@@ -15006,6 +15117,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
15006
15117
|
[referenceLines]="referenceLines"
|
|
15007
15118
|
[showRefLines]="showRefLines"
|
|
15008
15119
|
[showRefLabels]="showRefLabels"
|
|
15120
|
+
[wrapTicks]="wrapTicks"
|
|
15009
15121
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
15010
15122
|
></svg:g>
|
|
15011
15123
|
<svg:g [attr.clip-path]="clipPath">
|
|
@@ -15188,6 +15300,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
15188
15300
|
type: Input
|
|
15189
15301
|
}], yScaleMax: [{
|
|
15190
15302
|
type: Input
|
|
15303
|
+
}], wrapTicks: [{
|
|
15304
|
+
type: Input
|
|
15191
15305
|
}], activate: [{
|
|
15192
15306
|
type: Output
|
|
15193
15307
|
}], deactivate: [{
|
|
@@ -15614,6 +15728,7 @@ class PolarChartComponent extends BaseChartComponent {
|
|
|
15614
15728
|
this.yAxisMinScale = 0;
|
|
15615
15729
|
this.labelTrim = true;
|
|
15616
15730
|
this.labelTrimSize = 10;
|
|
15731
|
+
this.wrapTicks = false;
|
|
15617
15732
|
this.activate = new EventEmitter();
|
|
15618
15733
|
this.deactivate = new EventEmitter();
|
|
15619
15734
|
// series: any; // ???
|
|
@@ -15871,7 +15986,7 @@ class PolarChartComponent extends BaseChartComponent {
|
|
|
15871
15986
|
}
|
|
15872
15987
|
}
|
|
15873
15988
|
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: `
|
|
15989
|
+
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
15990
|
<ngx-charts-chart
|
|
15876
15991
|
[view]="[width, height]"
|
|
15877
15992
|
[showLegend]="legend"
|
|
@@ -15922,6 +16037,7 @@ PolarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
15922
16037
|
[trimTicks]="trimYAxisTicks"
|
|
15923
16038
|
[maxTickLength]="maxYAxisTickLength"
|
|
15924
16039
|
[tickFormatting]="yAxisTickFormatting"
|
|
16040
|
+
[wrapTicks]="wrapTicks"
|
|
15925
16041
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
15926
16042
|
></svg:g>
|
|
15927
16043
|
<svg:g
|
|
@@ -16044,6 +16160,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
16044
16160
|
[trimTicks]="trimYAxisTicks"
|
|
16045
16161
|
[maxTickLength]="maxYAxisTickLength"
|
|
16046
16162
|
[tickFormatting]="yAxisTickFormatting"
|
|
16163
|
+
[wrapTicks]="wrapTicks"
|
|
16047
16164
|
(dimensionsChanged)="updateYAxisWidth($event)"
|
|
16048
16165
|
></svg:g>
|
|
16049
16166
|
<svg:g
|
|
@@ -16165,6 +16282,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImpor
|
|
|
16165
16282
|
type: Input
|
|
16166
16283
|
}], labelTrimSize: [{
|
|
16167
16284
|
type: Input
|
|
16285
|
+
}], wrapTicks: [{
|
|
16286
|
+
type: Input
|
|
16168
16287
|
}], activate: [{
|
|
16169
16288
|
type: Output
|
|
16170
16289
|
}], deactivate: [{
|