@tectra-ng/charts 0.3.2 → 0.4.1
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/fesm2022/tectra-ng-charts-bar-list.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-boxplot.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-bullet.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-candlestick.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-column.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-combo.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-core.mjs +3 -16
- package/fesm2022/tectra-ng-charts-core.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-funnel.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-gantt.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-gauge.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-heatmap.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-org-chart.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-pie.mjs +1 -1
- package/fesm2022/tectra-ng-charts-pie.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-radar.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-radial-bar.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-rank-line.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-sankey.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-scatter.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-segmented-bar.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-sunburst.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-treemap.mjs +5 -5
- package/fesm2022/tectra-ng-charts-treemap.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-waterfall.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts.mjs +1 -1
- package/fesm2022/tectra-ng-charts.mjs.map +1 -1
- package/package.json +5 -5
- package/pie/README.md +1 -1
- package/treemap/README.md +1 -1
- package/types/tectra-ng-charts-bar-list.d.ts +32 -634
- package/types/tectra-ng-charts-bar-list.d.ts.map +1 -1
- package/types/tectra-ng-charts-boxplot.d.ts +77 -634
- package/types/tectra-ng-charts-boxplot.d.ts.map +1 -1
- package/types/tectra-ng-charts-bullet.d.ts +66 -634
- package/types/tectra-ng-charts-bullet.d.ts.map +1 -1
- package/types/tectra-ng-charts-candlestick.d.ts +62 -634
- package/types/tectra-ng-charts-candlestick.d.ts.map +1 -1
- package/types/tectra-ng-charts-column.d.ts +81 -634
- package/types/tectra-ng-charts-column.d.ts.map +1 -1
- package/types/tectra-ng-charts-combo.d.ts +98 -634
- package/types/tectra-ng-charts-combo.d.ts.map +1 -1
- package/types/tectra-ng-charts-core.d.ts +451 -6
- package/types/tectra-ng-charts-core.d.ts.map +1 -1
- package/types/tectra-ng-charts-funnel.d.ts +73 -634
- package/types/tectra-ng-charts-funnel.d.ts.map +1 -1
- package/types/tectra-ng-charts-gantt.d.ts +97 -634
- package/types/tectra-ng-charts-gantt.d.ts.map +1 -1
- package/types/tectra-ng-charts-gauge.d.ts +56 -634
- package/types/tectra-ng-charts-gauge.d.ts.map +1 -1
- package/types/tectra-ng-charts-heatmap.d.ts +102 -634
- package/types/tectra-ng-charts-heatmap.d.ts.map +1 -1
- package/types/tectra-ng-charts-line.d.ts +74 -634
- package/types/tectra-ng-charts-line.d.ts.map +1 -1
- package/types/tectra-ng-charts-org-chart.d.ts +161 -634
- package/types/tectra-ng-charts-org-chart.d.ts.map +1 -1
- package/types/tectra-ng-charts-pie.d.ts +91 -634
- package/types/tectra-ng-charts-pie.d.ts.map +1 -1
- package/types/tectra-ng-charts-radar.d.ts +82 -634
- package/types/tectra-ng-charts-radar.d.ts.map +1 -1
- package/types/tectra-ng-charts-radial-bar.d.ts +69 -634
- package/types/tectra-ng-charts-radial-bar.d.ts.map +1 -1
- package/types/tectra-ng-charts-range-area.d.ts +61 -634
- package/types/tectra-ng-charts-range-area.d.ts.map +1 -1
- package/types/tectra-ng-charts-rank-line.d.ts +55 -634
- package/types/tectra-ng-charts-rank-line.d.ts.map +1 -1
- package/types/tectra-ng-charts-sankey.d.ts +85 -634
- package/types/tectra-ng-charts-sankey.d.ts.map +1 -1
- package/types/tectra-ng-charts-scatter.d.ts +98 -634
- package/types/tectra-ng-charts-scatter.d.ts.map +1 -1
- package/types/tectra-ng-charts-segmented-bar.d.ts +39 -634
- package/types/tectra-ng-charts-segmented-bar.d.ts.map +1 -1
- package/types/tectra-ng-charts-sunburst.d.ts +57 -634
- package/types/tectra-ng-charts-sunburst.d.ts.map +1 -1
- package/types/tectra-ng-charts-treemap.d.ts +77 -634
- package/types/tectra-ng-charts-treemap.d.ts.map +1 -1
- package/types/tectra-ng-charts-waterfall.d.ts +69 -634
- package/types/tectra-ng-charts-waterfall.d.ts.map +1 -1
- package/types/tectra-ng-charts.d.ts +2 -1
- package/types/tectra-ng-charts.d.ts.map +1 -1
|
@@ -401,11 +401,7 @@ function timeTickFormatter(intl, interval, span) {
|
|
|
401
401
|
return (time) => formatter.format(time);
|
|
402
402
|
}
|
|
403
403
|
function timeTooltipFormatter(intl, interval) {
|
|
404
|
-
const formatter = dateFormat(intl, interval.unit === "year" || interval.unit === "month" ? {
|
|
405
|
-
day: "numeric",
|
|
406
|
-
month: "short",
|
|
407
|
-
year: "numeric"
|
|
408
|
-
} : interval.unit === "week" || interval.unit === "day" ? {
|
|
404
|
+
const formatter = dateFormat(intl, interval.unit === "year" || interval.unit === "month" || interval.unit === "week" || interval.unit === "day" ? {
|
|
409
405
|
day: "numeric",
|
|
410
406
|
month: "short",
|
|
411
407
|
year: "numeric"
|
|
@@ -996,7 +992,6 @@ function cartesianLayout(options) {
|
|
|
996
992
|
if (showValueAxis) axes.push({
|
|
997
993
|
position: horizontal ? xTop ? "top" : "bottom" : yRight ? "right" : "left",
|
|
998
994
|
labels: valueAxisLabels,
|
|
999
|
-
line: null,
|
|
1000
995
|
title: options.value.title ? horizontal ? xTitle(options.value.title) : yTitle(options.value.title) : void 0
|
|
1001
996
|
});
|
|
1002
997
|
if (second && secondaryValue) {
|
|
@@ -1011,7 +1006,6 @@ function cartesianLayout(options) {
|
|
|
1011
1006
|
baseline: "middle",
|
|
1012
1007
|
rotate: 0
|
|
1013
1008
|
})),
|
|
1014
|
-
line: null,
|
|
1015
1009
|
title: second.title ? yTitle(second.title, onRight) : void 0
|
|
1016
1010
|
});
|
|
1017
1011
|
}
|
|
@@ -1056,7 +1050,6 @@ function cartesianLayout(options) {
|
|
|
1056
1050
|
axes.push({
|
|
1057
1051
|
position: horizontal ? yRight ? "right" : "left" : xTop ? "top" : "bottom",
|
|
1058
1052
|
labels,
|
|
1059
|
-
line: null,
|
|
1060
1053
|
title: cat.title ? horizontal ? yTitle(cat.title) : xTitle(cat.title) : void 0
|
|
1061
1054
|
});
|
|
1062
1055
|
}
|
|
@@ -1636,9 +1629,6 @@ var TxChartAxes = class TxChartAxes {
|
|
|
1636
1629
|
}
|
|
1637
1630
|
@for (axis of model().axes; track axis.position) {
|
|
1638
1631
|
<svg:g class="tx-chart-axes__axis" [attr.data-position]="axis.position" [class]="axisPart()?.class" [style]="axisPart()?.style">
|
|
1639
|
-
@if (axis.line; as line) {
|
|
1640
|
-
<svg:line class="tx-chart-axes__line" [attr.x1]="line.x1" [attr.y1]="line.y1" [attr.x2]="line.x2" [attr.y2]="line.y2" />
|
|
1641
|
-
}
|
|
1642
1632
|
@for (label of axis.labels; track $index) {
|
|
1643
1633
|
<svg:text
|
|
1644
1634
|
class="tx-chart-axes__label"
|
|
@@ -1669,7 +1659,7 @@ var TxChartAxes = class TxChartAxes {
|
|
|
1669
1659
|
}
|
|
1670
1660
|
`,
|
|
1671
1661
|
isInline: true,
|
|
1672
|
-
styles: [".tx-chart-axes__grid-line,.tx-chart-axes__zero
|
|
1662
|
+
styles: [".tx-chart-axes__grid-line,.tx-chart-axes__zero{fill:none;shape-rendering:crispEdges}.tx-chart-axes__label,.tx-chart-axes__title{-webkit-user-select:none;user-select:none}:host-context([data-styled]) .tx-chart-axes__grid-line{stroke:var(--tx-chart-grid-color);stroke-width:var(--tx-chart-grid-width);stroke-dasharray:var(--tx-chart-grid-dash)}:host-context([data-styled]) .tx-chart-axes__zero{stroke:var(--tx-chart-zero-line-color);stroke-width:var(--tx-chart-zero-line-width)}:host-context([data-styled]) .tx-chart-axes__label{fill:var(--tx-chart-axis-label-color);font-size:var(--tx-chart-axis-label-font-size);font-weight:var(--tx-chart-axis-label-font-weight);font-variant-numeric:tabular-nums}:host-context([data-styled]) .tx-chart-axes__title{fill:var(--tx-chart-axis-title-color);font-size:var(--tx-chart-axis-title-font-size);font-weight:var(--tx-chart-axis-title-font-weight)}\n"],
|
|
1673
1663
|
viewProviders: [provideTxIconDefaults(CORE_ICON_DEFAULTS)],
|
|
1674
1664
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1675
1665
|
});
|
|
@@ -1694,9 +1684,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1694
1684
|
}
|
|
1695
1685
|
@for (axis of model().axes; track axis.position) {
|
|
1696
1686
|
<svg:g class="tx-chart-axes__axis" [attr.data-position]="axis.position" [class]="axisPart()?.class" [style]="axisPart()?.style">
|
|
1697
|
-
@if (axis.line; as line) {
|
|
1698
|
-
<svg:line class="tx-chart-axes__line" [attr.x1]="line.x1" [attr.y1]="line.y1" [attr.x2]="line.x2" [attr.y2]="line.y2" />
|
|
1699
|
-
}
|
|
1700
1687
|
@for (label of axis.labels; track $index) {
|
|
1701
1688
|
<svg:text
|
|
1702
1689
|
class="tx-chart-axes__label"
|
|
@@ -1732,7 +1719,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1732
1719
|
"aria-hidden": "true"
|
|
1733
1720
|
},
|
|
1734
1721
|
viewProviders: [provideTxIconDefaults(CORE_ICON_DEFAULTS)],
|
|
1735
|
-
styles: [".tx-chart-axes__grid-line,.tx-chart-axes__zero
|
|
1722
|
+
styles: [".tx-chart-axes__grid-line,.tx-chart-axes__zero{fill:none;shape-rendering:crispEdges}.tx-chart-axes__label,.tx-chart-axes__title{-webkit-user-select:none;user-select:none}:host-context([data-styled]) .tx-chart-axes__grid-line{stroke:var(--tx-chart-grid-color);stroke-width:var(--tx-chart-grid-width);stroke-dasharray:var(--tx-chart-grid-dash)}:host-context([data-styled]) .tx-chart-axes__zero{stroke:var(--tx-chart-zero-line-color);stroke-width:var(--tx-chart-zero-line-width)}:host-context([data-styled]) .tx-chart-axes__label{fill:var(--tx-chart-axis-label-color);font-size:var(--tx-chart-axis-label-font-size);font-weight:var(--tx-chart-axis-label-font-weight);font-variant-numeric:tabular-nums}:host-context([data-styled]) .tx-chart-axes__title{fill:var(--tx-chart-axis-title-color);font-size:var(--tx-chart-axis-title-font-size);font-weight:var(--tx-chart-axis-title-font-weight)}\n"]
|
|
1736
1723
|
}]
|
|
1737
1724
|
}],
|
|
1738
1725
|
propDecorators: {
|