@swimlane/ngx-charts 9.0.0 → 10.1.0
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/README.md +2 -1
- package/package.json +57 -29
- package/release/area-chart/area-chart-normalized.component.d.ts +8 -4
- package/release/area-chart/area-chart-normalized.component.js +38 -34
- package/release/area-chart/area-chart-normalized.component.js.map +1 -1
- package/release/area-chart/area-chart-normalized.component.metadata.json +1 -1
- package/release/area-chart/area-chart-stacked.component.d.ts +8 -4
- package/release/area-chart/area-chart-stacked.component.js +38 -34
- package/release/area-chart/area-chart-stacked.component.js.map +1 -1
- package/release/area-chart/area-chart-stacked.component.metadata.json +1 -1
- package/release/area-chart/area-chart.component.d.ts +8 -2
- package/release/area-chart/area-chart.component.js +38 -8
- package/release/area-chart/area-chart.component.js.map +1 -1
- package/release/area-chart/area-chart.component.metadata.json +1 -1
- package/release/area-chart/area-series.component.js.map +1 -1
- package/release/bar-chart/bar-horizontal-2d.component.d.ts +8 -2
- package/release/bar-chart/bar-horizontal-2d.component.js +37 -7
- package/release/bar-chart/bar-horizontal-2d.component.js.map +1 -1
- package/release/bar-chart/bar-horizontal-2d.component.metadata.json +1 -1
- package/release/bar-chart/bar-horizontal-normalized.component.d.ts +8 -2
- package/release/bar-chart/bar-horizontal-normalized.component.js +36 -6
- package/release/bar-chart/bar-horizontal-normalized.component.js.map +1 -1
- package/release/bar-chart/bar-horizontal-normalized.component.metadata.json +1 -1
- package/release/bar-chart/bar-horizontal-stacked.component.d.ts +8 -2
- package/release/bar-chart/bar-horizontal-stacked.component.js +36 -6
- package/release/bar-chart/bar-horizontal-stacked.component.js.map +1 -1
- package/release/bar-chart/bar-horizontal-stacked.component.metadata.json +1 -1
- package/release/bar-chart/bar-horizontal.component.d.ts +8 -2
- package/release/bar-chart/bar-horizontal.component.js +37 -7
- package/release/bar-chart/bar-horizontal.component.js.map +1 -1
- package/release/bar-chart/bar-horizontal.component.metadata.json +1 -1
- package/release/bar-chart/bar-label.component.js +1 -1
- package/release/bar-chart/bar-label.component.js.map +1 -1
- package/release/bar-chart/bar-vertical-2d.component.d.ts +8 -2
- package/release/bar-chart/bar-vertical-2d.component.js +37 -7
- package/release/bar-chart/bar-vertical-2d.component.js.map +1 -1
- package/release/bar-chart/bar-vertical-2d.component.metadata.json +1 -1
- package/release/bar-chart/bar-vertical-normalized.component.d.ts +8 -2
- package/release/bar-chart/bar-vertical-normalized.component.js +36 -6
- package/release/bar-chart/bar-vertical-normalized.component.js.map +1 -1
- package/release/bar-chart/bar-vertical-normalized.component.metadata.json +1 -1
- package/release/bar-chart/bar-vertical-stacked.component.d.ts +8 -2
- package/release/bar-chart/bar-vertical-stacked.component.js +36 -6
- package/release/bar-chart/bar-vertical-stacked.component.js.map +1 -1
- package/release/bar-chart/bar-vertical-stacked.component.metadata.json +1 -1
- package/release/bar-chart/bar-vertical.component.d.ts +8 -2
- package/release/bar-chart/bar-vertical.component.js +37 -7
- package/release/bar-chart/bar-vertical.component.js.map +1 -1
- package/release/bar-chart/bar-vertical.component.metadata.json +1 -1
- package/release/bar-chart/bar.component.d.ts +1 -0
- package/release/bar-chart/bar.component.js +5 -1
- package/release/bar-chart/bar.component.js.map +1 -1
- package/release/bar-chart/bar.component.metadata.json +1 -1
- package/release/bar-chart/index.d.ts +1 -0
- package/release/bar-chart/index.js +1 -0
- package/release/bar-chart/index.js.map +1 -1
- package/release/bar-chart/index.metadata.json +1 -1
- package/release/bar-chart/series-horizontal.component.js +4 -2
- package/release/bar-chart/series-horizontal.component.js.map +1 -1
- package/release/bar-chart/series-horizontal.component.metadata.json +1 -1
- package/release/bar-chart/series-vertical.component.d.ts +1 -1
- package/release/bar-chart/series-vertical.component.js +4 -2
- package/release/bar-chart/series-vertical.component.js.map +1 -1
- package/release/bar-chart/series-vertical.component.metadata.json +1 -1
- package/release/bubble-chart/bubble-chart.component.d.ts +7 -3
- package/release/bubble-chart/bubble-chart.component.js +36 -11
- package/release/bubble-chart/bubble-chart.component.js.map +1 -1
- package/release/bubble-chart/bubble-chart.component.metadata.json +1 -1
- package/release/bubble-chart/bubble-chart.utils.d.ts +0 -1
- package/release/bubble-chart/bubble-chart.utils.js +0 -24
- package/release/bubble-chart/bubble-chart.utils.js.map +1 -1
- package/release/bubble-chart/bubble-chart.utils.metadata.json +1 -1
- package/release/bubble-chart/bubble-series.component.js.map +1 -1
- package/release/bubble-chart/index.d.ts +1 -0
- package/release/bubble-chart/index.js +1 -0
- package/release/bubble-chart/index.js.map +1 -1
- package/release/bubble-chart/index.metadata.json +1 -1
- package/release/common/area.component.js.map +1 -1
- package/release/common/axes/axis-label.component.js.map +1 -1
- package/release/common/axes/ticks.helper.js.map +1 -1
- package/release/common/axes/x-axis-ticks.component.d.ts +3 -2
- package/release/common/axes/x-axis-ticks.component.js +27 -9
- package/release/common/axes/x-axis-ticks.component.js.map +1 -1
- package/release/common/axes/x-axis-ticks.component.metadata.json +1 -1
- package/release/common/axes/x-axis.component.d.ts +3 -1
- package/release/common/axes/x-axis.component.js +9 -1
- package/release/common/axes/x-axis.component.js.map +1 -1
- package/release/common/axes/x-axis.component.metadata.json +1 -1
- package/release/common/axes/y-axis-ticks.component.d.ts +3 -2
- package/release/common/axes/y-axis-ticks.component.js +15 -4
- package/release/common/axes/y-axis-ticks.component.js.map +1 -1
- package/release/common/axes/y-axis-ticks.component.metadata.json +1 -1
- package/release/common/axes/y-axis.component.d.ts +3 -1
- package/release/common/axes/y-axis.component.js +9 -1
- package/release/common/axes/y-axis.component.js.map +1 -1
- package/release/common/axes/y-axis.component.metadata.json +1 -1
- package/release/common/base-chart.component.d.ts +2 -2
- package/release/common/base-chart.component.js.map +1 -1
- package/release/common/charts/chart.component.js +11 -7
- package/release/common/charts/chart.component.js.map +1 -1
- package/release/common/charts/chart.component.metadata.json +1 -1
- package/release/common/circle-series.component.d.ts +1 -1
- package/release/common/circle-series.component.js.map +1 -1
- package/release/common/color.helper.js.map +1 -1
- package/release/common/count/count.directive.js.map +1 -1
- package/release/common/count/count.helper.js.map +1 -1
- package/release/common/domain.helper.d.ts +6 -0
- package/release/common/domain.helper.js +19 -0
- package/release/common/domain.helper.js.map +1 -1
- package/release/common/domain.helper.metadata.json +1 -1
- package/release/common/grid-layout.helper.js.map +1 -1
- package/release/common/grid-panel-series.component.js +3 -3
- package/release/common/grid-panel-series.component.js.map +1 -1
- package/release/common/grid-panel-series.component.metadata.json +1 -1
- package/release/common/label.helper.js.map +1 -1
- package/release/common/legend/advanced-legend.component.js +6 -4
- package/release/common/legend/advanced-legend.component.js.map +1 -1
- package/release/common/legend/advanced-legend.component.metadata.json +1 -1
- package/release/common/legend/legend-entry.component.js.map +1 -1
- package/release/common/legend/legend.component.css +2 -0
- package/release/common/legend/legend.component.d.ts +1 -0
- package/release/common/legend/legend.component.js +6 -1
- package/release/common/legend/legend.component.js.map +1 -1
- package/release/common/legend/legend.component.metadata.json +1 -1
- package/release/common/legend/scale-legend.component.css +6 -0
- package/release/common/legend/scale-legend.component.d.ts +1 -0
- package/release/common/legend/scale-legend.component.js +8 -2
- package/release/common/legend/scale-legend.component.js.map +1 -1
- package/release/common/legend/scale-legend.component.metadata.json +1 -1
- package/release/common/shape.helper.js.map +1 -1
- package/release/common/svg-linear-gradient.component.js.map +1 -1
- package/release/common/svg-radial-gradient.component.js.map +1 -1
- package/release/common/tick-format.helper.js.map +1 -1
- package/release/common/timeline/timeline.component.js.map +1 -1
- package/release/common/tooltip/alignment.type.d.ts +1 -1
- package/release/common/tooltip/injection-registery.service.js.map +1 -1
- package/release/common/tooltip/injection.service.js +2 -2
- package/release/common/tooltip/injection.service.js.map +1 -1
- package/release/common/tooltip/injection.service.metadata.json +1 -1
- package/release/common/tooltip/position/placement.type.d.ts +1 -1
- package/release/common/tooltip/position/position.js.map +1 -1
- package/release/common/tooltip/show.type.d.ts +1 -1
- package/release/common/tooltip/style.type.d.ts +1 -1
- package/release/common/tooltip/tooltip.component.d.ts +2 -2
- package/release/common/tooltip/tooltip.component.js +7 -7
- package/release/common/tooltip/tooltip.component.js.map +1 -1
- package/release/common/tooltip/tooltip.component.metadata.json +1 -1
- package/release/common/tooltip/tooltip.directive.d.ts +3 -3
- package/release/common/tooltip/tooltip.directive.js +2 -2
- package/release/common/tooltip/tooltip.directive.js.map +1 -1
- package/release/common/tooltip/tooltip.directive.metadata.json +1 -1
- package/release/common/tooltip/tooltip.service.js +6 -3
- package/release/common/tooltip/tooltip.service.js.map +1 -1
- package/release/common/tooltip-area.component.d.ts +1 -3
- package/release/common/tooltip-area.component.js +6 -8
- package/release/common/tooltip-area.component.js.map +1 -1
- package/release/common/tooltip-area.component.metadata.json +1 -1
- package/release/common/trim-label.helper.js.map +1 -1
- package/release/common/view-dimensions.helper.d.ts +2 -1
- package/release/common/view-dimensions.helper.js +2 -2
- package/release/common/view-dimensions.helper.js.map +1 -1
- package/release/esm.js +14654 -0
- package/release/events.d.ts +4 -1
- package/release/events.js +3 -3
- package/release/events.js.map +1 -1
- package/release/force-directed-graph/force-directed-graph.component.d.ts +2 -0
- package/release/force-directed-graph/force-directed-graph.component.js +15 -5
- package/release/force-directed-graph/force-directed-graph.component.js.map +1 -1
- package/release/force-directed-graph/force-directed-graph.component.metadata.json +1 -1
- package/release/gauge/gauge-arc.component.js.map +1 -1
- package/release/gauge/gauge-axis.component.js.map +1 -1
- package/release/gauge/gauge.component.d.ts +1 -0
- package/release/gauge/gauge.component.js +15 -5
- package/release/gauge/gauge.component.js.map +1 -1
- package/release/gauge/gauge.component.metadata.json +1 -1
- package/release/gauge/index.d.ts +3 -0
- package/release/gauge/index.js +3 -0
- package/release/gauge/index.js.map +1 -1
- package/release/gauge/index.metadata.json +1 -1
- package/release/gauge/linear-gauge.component.js +6 -3
- package/release/gauge/linear-gauge.component.js.map +1 -1
- package/release/heat-map/heat-map-cell-series.component.d.ts +1 -1
- package/release/heat-map/heat-map-cell-series.component.js.map +1 -1
- package/release/heat-map/heat-map-cell.component.js.map +1 -1
- package/release/heat-map/heat-map.component.d.ts +8 -3
- package/release/heat-map/heat-map.component.js +38 -19
- package/release/heat-map/heat-map.component.js.map +1 -1
- package/release/heat-map/heat-map.component.metadata.json +1 -1
- package/release/index.css +1 -1
- package/release/index.js +892 -413
- package/release/index.min.js +1 -1
- package/release/index.min.js.map +1 -1
- package/release/line-chart/line-chart.component.d.ts +8 -4
- package/release/line-chart/line-chart.component.js +37 -31
- package/release/line-chart/line-chart.component.js.map +1 -1
- package/release/line-chart/line-chart.component.metadata.json +1 -1
- package/release/line-chart/line-series.component.js +2 -2
- package/release/line-chart/line-series.component.js.map +1 -1
- package/release/line-chart/line.component.js.map +1 -1
- package/release/number-card/card-series.component.js.map +1 -1
- package/release/number-card/card.component.js.map +1 -1
- package/release/number-card/number-card.component.js +6 -3
- package/release/number-card/number-card.component.js.map +1 -1
- package/release/pie-chart/advanced-pie-chart.component.js +6 -3
- package/release/pie-chart/advanced-pie-chart.component.js.map +1 -1
- package/release/pie-chart/index.d.ts +1 -0
- package/release/pie-chart/index.js +1 -0
- package/release/pie-chart/index.js.map +1 -1
- package/release/pie-chart/index.metadata.json +1 -1
- package/release/pie-chart/pie-arc.component.js +3 -1
- package/release/pie-chart/pie-arc.component.js.map +1 -1
- package/release/pie-chart/pie-chart.component.d.ts +2 -0
- package/release/pie-chart/pie-chart.component.js +14 -4
- package/release/pie-chart/pie-chart.component.js.map +1 -1
- package/release/pie-chart/pie-chart.component.metadata.json +1 -1
- package/release/pie-chart/pie-grid-series.component.js.map +1 -1
- package/release/pie-chart/pie-grid.component.d.ts +1 -1
- package/release/pie-chart/pie-grid.component.js +6 -3
- package/release/pie-chart/pie-grid.component.js.map +1 -1
- package/release/pie-chart/pie-label.component.js.map +1 -1
- package/release/pie-chart/pie-series.component.js.map +1 -1
- package/release/polar-chart/polar-chart.component.d.ts +7 -3
- package/release/polar-chart/polar-chart.component.js +41 -34
- package/release/polar-chart/polar-chart.component.js.map +1 -1
- package/release/polar-chart/polar-chart.component.metadata.json +1 -1
- package/release/polar-chart/polar-series.component.d.ts +1 -1
- package/release/polar-chart/polar-series.component.js +2 -2
- package/release/polar-chart/polar-series.component.js.map +1 -1
- package/release/polar-chart/polar-series.component.metadata.json +1 -1
- package/release/polyfills.js.map +1 -1
- package/release/tree-map/tree-map-cell-series.component.d.ts +1 -1
- package/release/tree-map/tree-map-cell-series.component.js.map +1 -1
- package/release/tree-map/tree-map-cell.component.js.map +1 -1
- package/release/tree-map/tree-map.component.js +6 -3
- package/release/tree-map/tree-map.component.js.map +1 -1
- package/release/utils/color-utils.d.ts +1 -1
- package/release/utils/color-utils.js.map +1 -1
- package/release/utils/id.js.map +1 -1
- package/release/utils/sort.js.map +1 -1
- package/release/utils/throttle.js.map +1 -1
- package/release/utils/types.js.map +1 -1
- package/release/utils/visibility-observer.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"AreaChartComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../common/base-chart.component","name":"BaseChartComponent","line":142,"character":40},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":20,"character":1},"arguments":[{"selector":"ngx-charts-area-chart","template":"\n <ngx-charts-chart\n [view]=\"[width, height]\"\n [showLegend]=\"legend\"\n [legendOptions]=\"legendOptions\"\n [activeEntries]=\"activeEntries\"\n [animations]=\"animations\"\n (legendLabelClick)=\"onClick($event)\"\n (legendLabelActivate)=\"onActivate($event)\"\n (legendLabelDeactivate)=\"onDeactivate($event)\">\n <svg:defs>\n <svg:clipPath [attr.id]=\"clipPathId\">\n <svg:rect\n [attr.width]=\"dims.width + 10\"\n [attr.height]=\"dims.height + 10\"\n [attr.transform]=\"'translate(-5, -5)'\"/>\n </svg:clipPath>\n </svg:defs>\n <svg:g [attr.transform]=\"transform\" class=\"area-chart chart\">\n <svg:g ngx-charts-x-axis\n *ngIf=\"xAxis\"\n [xScale]=\"xScale\"\n [dims]=\"dims\"\n [showGridLines]=\"showGridLines\"\n [showLabel]=\"showXAxisLabel\"\n [labelText]=\"xAxisLabel\"\n [tickFormatting]=\"xAxisTickFormatting\"\n [ticks]=\"xAxisTicks\"\n (dimensionsChanged)=\"updateXAxisHeight($event)\">\n </svg:g>\n <svg:g ngx-charts-y-axis\n *ngIf=\"yAxis\"\n [yScale]=\"yScale\"\n [dims]=\"dims\"\n [showGridLines]=\"showGridLines\"\n [showLabel]=\"showYAxisLabel\"\n [labelText]=\"yAxisLabel\"\n [tickFormatting]=\"yAxisTickFormatting\"\n [ticks]=\"yAxisTicks\"\n (dimensionsChanged)=\"updateYAxisWidth($event)\">\n </svg:g>\n <svg:g [attr.clip-path]=\"clipPath\">\n <svg:g *ngFor=\"let series of results; trackBy:trackBy\">\n <svg:g ngx-charts-area-series\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [baseValue]=\"baseValue\"\n [colors]=\"colors\"\n [data]=\"series\"\n [activeEntries]=\"activeEntries\"\n [scaleType]=\"scaleType\"\n [gradient]=\"gradient\"\n [curve]=\"curve\"\n [animations]=\"animations\"\n />\n </svg:g>\n\n <svg:g *ngIf=\"!tooltipDisabled\" (mouseleave)=\"hideCircles()\">\n <svg:g ngx-charts-tooltip-area\n [dims]=\"dims\"\n [xSet]=\"xSet\"\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [results]=\"results\"\n [colors]=\"colors\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"seriesTooltipTemplate\"\n (hover)=\"updateHoveredVertical($event)\"\n />\n\n <svg:g *ngFor=\"let series of results\">\n <svg:g ngx-charts-circle-series\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [colors]=\"colors\"\n [activeEntries]=\"activeEntries\"\n [data]=\"series\"\n [scaleType]=\"scaleType\"\n [visibleValue]=\"hoveredVertical\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n (select)=\"onClick($event, series)\"\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\"\n />\n </svg:g>\n </svg:g>\n </svg:g>\n </svg:g>\n <svg:g ngx-charts-timeline\n *ngIf=\"timeline && scaleType != 'ordinal'\"\n [attr.transform]=\"timelineTransform\"\n [results]=\"results\"\n [view]=\"[timelineWidth, height]\"\n [height]=\"timelineHeight\"\n [scheme]=\"scheme\"\n [customColors]=\"customColors\"\n [legend]=\"legend\"\n [scaleType]=\"scaleType\"\n (onDomainChange)=\"updateDomain($event)\">\n <svg:g *ngFor=\"let series of results; trackBy:trackBy\">\n <svg:g ngx-charts-area-series\n [xScale]=\"timelineXScale\"\n [yScale]=\"timelineYScale\"\n [baseValue]=\"baseValue\"\n [colors]=\"colors\"\n [data]=\"series\"\n [scaleType]=\"scaleType\"\n [gradient]=\"gradient\"\n [curve]=\"curve\"\n [animations]=\"animations\"\n />\n </svg:g>\n </svg:g>\n </ngx-charts-chart>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":138,"character":19},"member":"OnPush"},"styleUrls":["../common/base-chart.component.css"],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":140,"character":17},"member":"None"}}]}],"members":{"legend":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":144,"character":3}}]}],"legendTitle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":145,"character":3}}]}],"state":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":146,"character":3}}]}],"xAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":147,"character":3}}]}],"yAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":148,"character":3}}]}],"baseValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":149,"character":3}}]}],"autoScale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":150,"character":3}}]}],"showXAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":151,"character":3}}]}],"showYAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":152,"character":3}}]}],"xAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":153,"character":3}}]}],"yAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":154,"character":3}}]}],"timeline":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":155,"character":3}}]}],"gradient":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":156,"character":3}}]}],"showGridLines":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":157,"character":3}}]}],"curve":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":158,"character":3}}]}],"activeEntries":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":159,"character":3}}]}],"schemeType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":160,"character":3}}]}],"xAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":161,"character":3}}]}],"yAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":162,"character":3}}]}],"xAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":163,"character":3}}]}],"yAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":164,"character":3}}]}],"roundDomains":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":165,"character":3}}]}],"tooltipDisabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":166,"character":3}}]}],"xScaleMin":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":167,"character":3}}]}],"xScaleMax":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":168,"character":3}}]}],"yScaleMin":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":169,"character":3}}]}],"yScaleMax":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":170,"character":3}}]}],"activate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":172,"character":3}}]}],"deactivate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":173,"character":3}}]}],"tooltipTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":175,"character":3},"arguments":["tooltipTemplate"]}]}],"seriesTooltipTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":176,"character":3},"arguments":["seriesTooltipTemplate"]}]}],"update":[{"__symbolic":"method"}],"updateTimeline":[{"__symbolic":"method"}],"getXDomain":[{"__symbolic":"method"}],"getYDomain":[{"__symbolic":"method"}],"getSeriesDomain":[{"__symbolic":"method"}],"getXScale":[{"__symbolic":"method"}],"getYScale":[{"__symbolic":"method"}],"getScaleType":[{"__symbolic":"method"}],"isDate":[{"__symbolic":"method"}],"updateDomain":[{"__symbolic":"method"}],"updateHoveredVertical":[{"__symbolic":"method"}],"hideCircles":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":403,"character":3},"arguments":["mouseleave"]}]}],"onClick":[{"__symbolic":"method"}],"trackBy":[{"__symbolic":"method"}],"setColors":[{"__symbolic":"method"}],"getLegendOptions":[{"__symbolic":"method"}],"updateYAxisWidth":[{"__symbolic":"method"}],"updateXAxisHeight":[{"__symbolic":"method"}],"onActivate":[{"__symbolic":"method"}],"onDeactivate":[{"__symbolic":"method"}],"deactivateAll":[{"__symbolic":"method"}]}}}}]
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"AreaChartComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../common/base-chart.component","name":"BaseChartComponent","line":146,"character":40},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":20,"character":1},"arguments":[{"selector":"ngx-charts-area-chart","template":"\n <ngx-charts-chart\n [view]=\"[width, height]\"\n [showLegend]=\"legend\"\n [legendOptions]=\"legendOptions\"\n [activeEntries]=\"activeEntries\"\n [animations]=\"animations\"\n (legendLabelClick)=\"onClick($event)\"\n (legendLabelActivate)=\"onActivate($event)\"\n (legendLabelDeactivate)=\"onDeactivate($event)\">\n <svg:defs>\n <svg:clipPath [attr.id]=\"clipPathId\">\n <svg:rect\n [attr.width]=\"dims.width + 10\"\n [attr.height]=\"dims.height + 10\"\n [attr.transform]=\"'translate(-5, -5)'\"/>\n </svg:clipPath>\n </svg:defs>\n <svg:g [attr.transform]=\"transform\" class=\"area-chart chart\">\n <svg:g ngx-charts-x-axis\n *ngIf=\"xAxis\"\n [xScale]=\"xScale\"\n [dims]=\"dims\"\n [showGridLines]=\"showGridLines\"\n [showLabel]=\"showXAxisLabel\"\n [labelText]=\"xAxisLabel\"\n [trimTicks]=\"trimXAxisTicks\"\n [maxTickLength]=\"maxXAxisTickLength\"\n [tickFormatting]=\"xAxisTickFormatting\"\n [ticks]=\"xAxisTicks\"\n (dimensionsChanged)=\"updateXAxisHeight($event)\">\n </svg:g>\n <svg:g ngx-charts-y-axis\n *ngIf=\"yAxis\"\n [yScale]=\"yScale\"\n [dims]=\"dims\"\n [showGridLines]=\"showGridLines\"\n [showLabel]=\"showYAxisLabel\"\n [labelText]=\"yAxisLabel\"\n [trimTicks]=\"trimYAxisTicks\"\n [maxTickLength]=\"maxYAxisTickLength\"\n [tickFormatting]=\"yAxisTickFormatting\"\n [ticks]=\"yAxisTicks\"\n (dimensionsChanged)=\"updateYAxisWidth($event)\">\n </svg:g>\n <svg:g [attr.clip-path]=\"clipPath\">\n <svg:g *ngFor=\"let series of results; trackBy:trackBy\">\n <svg:g ngx-charts-area-series\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [baseValue]=\"baseValue\"\n [colors]=\"colors\"\n [data]=\"series\"\n [activeEntries]=\"activeEntries\"\n [scaleType]=\"scaleType\"\n [gradient]=\"gradient\"\n [curve]=\"curve\"\n [animations]=\"animations\"\n />\n </svg:g>\n\n <svg:g *ngIf=\"!tooltipDisabled\" (mouseleave)=\"hideCircles()\">\n <svg:g ngx-charts-tooltip-area\n [dims]=\"dims\"\n [xSet]=\"xSet\"\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [results]=\"results\"\n [colors]=\"colors\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"seriesTooltipTemplate\"\n (hover)=\"updateHoveredVertical($event)\"\n />\n\n <svg:g *ngFor=\"let series of results\">\n <svg:g ngx-charts-circle-series\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [colors]=\"colors\"\n [activeEntries]=\"activeEntries\"\n [data]=\"series\"\n [scaleType]=\"scaleType\"\n [visibleValue]=\"hoveredVertical\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n (select)=\"onClick($event, series)\"\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\"\n />\n </svg:g>\n </svg:g>\n </svg:g>\n </svg:g>\n <svg:g ngx-charts-timeline\n *ngIf=\"timeline && scaleType != 'ordinal'\"\n [attr.transform]=\"timelineTransform\"\n [results]=\"results\"\n [view]=\"[timelineWidth, height]\"\n [height]=\"timelineHeight\"\n [scheme]=\"scheme\"\n [customColors]=\"customColors\"\n [legend]=\"legend\"\n [scaleType]=\"scaleType\"\n (onDomainChange)=\"updateDomain($event)\">\n <svg:g *ngFor=\"let series of results; trackBy:trackBy\">\n <svg:g ngx-charts-area-series\n [xScale]=\"timelineXScale\"\n [yScale]=\"timelineYScale\"\n [baseValue]=\"baseValue\"\n [colors]=\"colors\"\n [data]=\"series\"\n [scaleType]=\"scaleType\"\n [gradient]=\"gradient\"\n [curve]=\"curve\"\n [animations]=\"animations\"\n />\n </svg:g>\n </svg:g>\n </ngx-charts-chart>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":142,"character":19},"member":"OnPush"},"styleUrls":["../common/base-chart.component.css"],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":144,"character":17},"member":"None"}}]}],"members":{"legend":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":148,"character":3}}]}],"legendTitle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":149,"character":3}}]}],"legendPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":150,"character":3}}]}],"state":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":151,"character":3}}]}],"xAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":152,"character":3}}]}],"yAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":153,"character":3}}]}],"baseValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":154,"character":3}}]}],"autoScale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":155,"character":3}}]}],"showXAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":156,"character":3}}]}],"showYAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":157,"character":3}}]}],"xAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":158,"character":3}}]}],"yAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":159,"character":3}}]}],"timeline":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":160,"character":3}}]}],"gradient":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":161,"character":3}}]}],"showGridLines":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":162,"character":3}}]}],"curve":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":163,"character":3}}]}],"activeEntries":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":164,"character":3}}]}],"schemeType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":165,"character":3}}]}],"trimXAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":166,"character":3}}]}],"trimYAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":167,"character":3}}]}],"maxXAxisTickLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":168,"character":3}}]}],"maxYAxisTickLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":169,"character":3}}]}],"xAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":170,"character":3}}]}],"yAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":171,"character":3}}]}],"xAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":172,"character":3}}]}],"yAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":173,"character":3}}]}],"roundDomains":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":174,"character":3}}]}],"tooltipDisabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":175,"character":3}}]}],"xScaleMin":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":176,"character":3}}]}],"xScaleMax":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":177,"character":3}}]}],"yScaleMin":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":178,"character":3}}]}],"yScaleMax":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":179,"character":3}}]}],"activate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":181,"character":3}}]}],"deactivate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":182,"character":3}}]}],"tooltipTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":184,"character":3},"arguments":["tooltipTemplate"]}]}],"seriesTooltipTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":185,"character":3},"arguments":["seriesTooltipTemplate"]}]}],"update":[{"__symbolic":"method"}],"updateTimeline":[{"__symbolic":"method"}],"getXDomain":[{"__symbolic":"method"}],"getYDomain":[{"__symbolic":"method"}],"getSeriesDomain":[{"__symbolic":"method"}],"getXScale":[{"__symbolic":"method"}],"getYScale":[{"__symbolic":"method"}],"getScaleType":[{"__symbolic":"method"}],"isDate":[{"__symbolic":"method"}],"updateDomain":[{"__symbolic":"method"}],"updateHoveredVertical":[{"__symbolic":"method"}],"hideCircles":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":413,"character":3},"arguments":["mouseleave"]}]}],"onClick":[{"__symbolic":"method"}],"trackBy":[{"__symbolic":"method"}],"setColors":[{"__symbolic":"method"}],"getLegendOptions":[{"__symbolic":"method"}],"updateYAxisWidth":[{"__symbolic":"method"}],"updateXAxisHeight":[{"__symbolic":"method"}],"onActivate":[{"__symbolic":"method"}],"onDeactivate":[{"__symbolic":"method"}],"deactivateAll":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"area-series.component.js","sourceRoot":"","sources":["../../build/area-chart/area-series.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,MAAM,EACN,YAAY,EAGZ,uBAAuB,EACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAqBrE;IAnBA;QAwBW,cAAS,GAAQ,MAAM,CAAC;QAGxB,YAAO,GAAY,KAAK,CAAC;QACzB,eAAU,GAAY,KAAK,CAAC;QAI5B,eAAU,GAAY,IAAI,CAAC;QAE1B,WAAM,GAAG,IAAI,YAAY,EAAE,CAAC;IAoGxC,CAAC;IA3FC,yCAAW,GAAX,UAAY,OAAsB;QAChC,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAED,oCAAM,GAAN;QAAA,iBAiDC;QAhDC,IAAI,CAAC,cAAc,EAAE,CAAC;QAEtB,IAAI,WAAW,CAAC;QAChB,IAAI,YAAY,CAAC;QAEjB,IAAM,SAAS,GAAG,UAAC,CAAC;YAClB,IAAM,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC;YACrB,
|
|
1
|
+
{"version":3,"file":"area-series.component.js","sourceRoot":"","sources":["../../build/area-chart/area-series.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,MAAM,EACN,YAAY,EAGZ,uBAAuB,EACxB,MAAM,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EAAE;;uDAAQ;IACP;QAAR,KAAK,EAAE;;0DAAyB;IACxB;QAAR,KAAK,EAAE;;uDAAQ;IACP;QAAR,KAAK,EAAE;;0DAAW;IACV;QAAR,KAAK,EAAE;;wDAA0B;IACzB;QAAR,KAAK,EAAE;;2DAA6B;IAC5B;QAAR,KAAK,EAAE;;yDAAU;IACT;QAAR,KAAK,EAAE;;sDAAO;IACN;QAAR,KAAK,EAAE;;8DAAsB;IACrB;QAAR,KAAK,EAAE;;2DAA4B;IAE1B;QAAT,MAAM,EAAE;;uDAA6B;IAf3B,mBAAmB;QAnB/B,SAAS,CAAC;YACT,QAAQ,EAAE,2BAA2B;YACrC,QAAQ,EAAE,8aAcT;YACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;SAChD,CAAC;OACW,mBAAmB,CAmH/B;IAAD,0BAAC;CAAA,AAnHD,IAmHC;SAnHY,mBAAmB"}
|
|
@@ -5,6 +5,7 @@ import { BaseChartComponent } from '../common/base-chart.component';
|
|
|
5
5
|
export declare class BarHorizontal2DComponent extends BaseChartComponent {
|
|
6
6
|
legend: boolean;
|
|
7
7
|
legendTitle: string;
|
|
8
|
+
legendPosition: string;
|
|
8
9
|
xAxis: any;
|
|
9
10
|
yAxis: any;
|
|
10
11
|
showXAxisLabel: any;
|
|
@@ -16,6 +17,10 @@ export declare class BarHorizontal2DComponent extends BaseChartComponent {
|
|
|
16
17
|
showGridLines: boolean;
|
|
17
18
|
activeEntries: any[];
|
|
18
19
|
schemeType: string;
|
|
20
|
+
trimXAxisTicks: boolean;
|
|
21
|
+
trimYAxisTicks: boolean;
|
|
22
|
+
maxXAxisTickLength: number;
|
|
23
|
+
maxYAxisTickLength: number;
|
|
19
24
|
xAxisTickFormatting: any;
|
|
20
25
|
yAxisTickFormatting: any;
|
|
21
26
|
xAxisTicks: any[];
|
|
@@ -60,11 +65,12 @@ export declare class BarHorizontal2DComponent extends BaseChartComponent {
|
|
|
60
65
|
colors: any;
|
|
61
66
|
domain: any[];
|
|
62
67
|
title: any;
|
|
68
|
+
position: string;
|
|
63
69
|
};
|
|
64
|
-
updateYAxisWidth({width}: {
|
|
70
|
+
updateYAxisWidth({ width }: {
|
|
65
71
|
width: any;
|
|
66
72
|
}): void;
|
|
67
|
-
updateXAxisHeight({height}: {
|
|
73
|
+
updateXAxisHeight({ height }: {
|
|
68
74
|
height: any;
|
|
69
75
|
}): void;
|
|
70
76
|
onDataLabelMaxWidthChanged(event: any, groupIndex: any): void;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics =
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
}
|
|
5
8
|
return function (d, b) {
|
|
6
9
|
extendStatics(d, b);
|
|
7
10
|
function __() { this.constructor = d; }
|
|
@@ -29,9 +32,14 @@ var BarHorizontal2DComponent = /** @class */ (function (_super) {
|
|
|
29
32
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
30
33
|
_this.legend = false;
|
|
31
34
|
_this.legendTitle = 'Legend';
|
|
35
|
+
_this.legendPosition = 'right';
|
|
32
36
|
_this.tooltipDisabled = false;
|
|
33
37
|
_this.showGridLines = true;
|
|
34
38
|
_this.activeEntries = [];
|
|
39
|
+
_this.trimXAxisTicks = true;
|
|
40
|
+
_this.trimYAxisTicks = true;
|
|
41
|
+
_this.maxXAxisTickLength = 16;
|
|
42
|
+
_this.maxYAxisTickLength = 16;
|
|
35
43
|
_this.groupPadding = 16;
|
|
36
44
|
_this.barPadding = 8;
|
|
37
45
|
_this.roundDomains = false;
|
|
@@ -62,7 +70,8 @@ var BarHorizontal2DComponent = /** @class */ (function (_super) {
|
|
|
62
70
|
showXLabel: this.showXAxisLabel,
|
|
63
71
|
showYLabel: this.showYAxisLabel,
|
|
64
72
|
showLegend: this.legend,
|
|
65
|
-
legendType: this.schemeType
|
|
73
|
+
legendType: this.schemeType,
|
|
74
|
+
legendPosition: this.legendPosition
|
|
66
75
|
});
|
|
67
76
|
this.formatDates();
|
|
68
77
|
this.groupDomain = this.getGroupDomain();
|
|
@@ -133,7 +142,7 @@ var BarHorizontal2DComponent = /** @class */ (function (_super) {
|
|
|
133
142
|
}
|
|
134
143
|
var min = Math.min.apply(Math, [0].concat(domain));
|
|
135
144
|
var max = this.xScaleMax
|
|
136
|
-
? Math.max.apply(Math, [this.xScaleMax].concat(domain)) : Math.max.apply(Math, domain);
|
|
145
|
+
? Math.max.apply(Math, [this.xScaleMax].concat(domain)) : Math.max.apply(Math, [0].concat(domain));
|
|
137
146
|
return [min, max];
|
|
138
147
|
};
|
|
139
148
|
BarHorizontal2DComponent.prototype.groupTransform = function (group) {
|
|
@@ -163,7 +172,8 @@ var BarHorizontal2DComponent = /** @class */ (function (_super) {
|
|
|
163
172
|
scaleType: this.schemeType,
|
|
164
173
|
colors: undefined,
|
|
165
174
|
domain: [],
|
|
166
|
-
title: undefined
|
|
175
|
+
title: undefined,
|
|
176
|
+
position: this.legendPosition
|
|
167
177
|
};
|
|
168
178
|
if (opts.scaleType === 'ordinal') {
|
|
169
179
|
opts.domain = this.innerDomain;
|
|
@@ -232,6 +242,10 @@ var BarHorizontal2DComponent = /** @class */ (function (_super) {
|
|
|
232
242
|
Input(),
|
|
233
243
|
__metadata("design:type", String)
|
|
234
244
|
], BarHorizontal2DComponent.prototype, "legendTitle", void 0);
|
|
245
|
+
__decorate([
|
|
246
|
+
Input(),
|
|
247
|
+
__metadata("design:type", String)
|
|
248
|
+
], BarHorizontal2DComponent.prototype, "legendPosition", void 0);
|
|
235
249
|
__decorate([
|
|
236
250
|
Input(),
|
|
237
251
|
__metadata("design:type", Object)
|
|
@@ -276,6 +290,22 @@ var BarHorizontal2DComponent = /** @class */ (function (_super) {
|
|
|
276
290
|
Input(),
|
|
277
291
|
__metadata("design:type", String)
|
|
278
292
|
], BarHorizontal2DComponent.prototype, "schemeType", void 0);
|
|
293
|
+
__decorate([
|
|
294
|
+
Input(),
|
|
295
|
+
__metadata("design:type", Boolean)
|
|
296
|
+
], BarHorizontal2DComponent.prototype, "trimXAxisTicks", void 0);
|
|
297
|
+
__decorate([
|
|
298
|
+
Input(),
|
|
299
|
+
__metadata("design:type", Boolean)
|
|
300
|
+
], BarHorizontal2DComponent.prototype, "trimYAxisTicks", void 0);
|
|
301
|
+
__decorate([
|
|
302
|
+
Input(),
|
|
303
|
+
__metadata("design:type", Number)
|
|
304
|
+
], BarHorizontal2DComponent.prototype, "maxXAxisTickLength", void 0);
|
|
305
|
+
__decorate([
|
|
306
|
+
Input(),
|
|
307
|
+
__metadata("design:type", Number)
|
|
308
|
+
], BarHorizontal2DComponent.prototype, "maxYAxisTickLength", void 0);
|
|
279
309
|
__decorate([
|
|
280
310
|
Input(),
|
|
281
311
|
__metadata("design:type", Object)
|
|
@@ -335,7 +365,7 @@ var BarHorizontal2DComponent = /** @class */ (function (_super) {
|
|
|
335
365
|
BarHorizontal2DComponent = __decorate([
|
|
336
366
|
Component({
|
|
337
367
|
selector: 'ngx-charts-bar-horizontal-2d',
|
|
338
|
-
template: "\n <ngx-charts-chart\n [view]=\"[width, height]\"\n [showLegend]=\"legend\"\n [legendOptions]=\"legendOptions\"\n [activeEntries]=\"activeEntries\"\n [animations]=\"animations\"\n (legendLabelActivate)=\"onActivate($event)\"\n (legendLabelDeactivate)=\"onDeactivate($event)\"\n (legendLabelClick)=\"onClick($event)\">\n <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n <svg:g ngx-charts-grid-panel-series\n [xScale]=\"valueScale\"\n [yScale]=\"groupScale\"\n [data]=\"results\"\n [dims]=\"dims\"\n orient=\"horizontal\">\n </svg:g>\n <svg:g ngx-charts-x-axis\n *ngIf=\"xAxis\"\n [xScale]=\"valueScale\"\n [dims]=\"dims\"\n [showGridLines]=\"showGridLines\"\n [showLabel]=\"showXAxisLabel\"\n [labelText]=\"xAxisLabel\"\n [tickFormatting]=\"xAxisTickFormatting\"\n [ticks]=\"xAxisTicks\"\n (dimensionsChanged)=\"updateXAxisHeight($event)\">\n </svg:g>\n <svg:g ngx-charts-y-axis\n *ngIf=\"yAxis\"\n [yScale]=\"groupScale\"\n [dims]=\"dims\"\n [showLabel]=\"showYAxisLabel\"\n [labelText]=\"yAxisLabel\"\n [tickFormatting]=\"yAxisTickFormatting\"\n [ticks]=\"yAxisTicks\"\n [yAxisOffset]=\"dataLabelMaxWidth.negative\"\n (dimensionsChanged)=\"updateYAxisWidth($event)\">\n </svg:g>\n <svg:g\n *ngFor=\"let group of results; let index = index; trackBy:trackBy\"\n [@animationState]=\"'active'\"\n [attr.transform]=\"groupTransform(group)\">\n <svg:g ngx-charts-series-horizontal\n [xScale]=\"valueScale\"\n [activeEntries]=\"activeEntries\"\n [yScale]=\"innerScale\"\n [colors]=\"colors\"\n [series]=\"group.series\"\n [dims]=\"dims\"\n [gradient]=\"gradient\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n [seriesName]=\"group.name\"\n [roundEdges]=\"roundEdges\"\n [animations]=\"animations\"\n [showDataLabel]=\"showDataLabel\"\n [dataLabelFormatting]=\"dataLabelFormatting\"\n (select)=\"onClick($event, group)\"\n (activate)=\"onActivate($event, group)\"\n (deactivate)=\"onDeactivate($event, group)\"\n (dataLabelWidthChanged)=\"onDataLabelMaxWidthChanged($event, index)\"\n />\n </svg:g>\n </svg:g>\n </ngx-charts-chart>\n ",
|
|
368
|
+
template: "\n <ngx-charts-chart\n [view]=\"[width, height]\"\n [showLegend]=\"legend\"\n [legendOptions]=\"legendOptions\"\n [activeEntries]=\"activeEntries\"\n [animations]=\"animations\"\n (legendLabelActivate)=\"onActivate($event)\"\n (legendLabelDeactivate)=\"onDeactivate($event)\"\n (legendLabelClick)=\"onClick($event)\">\n <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n <svg:g ngx-charts-grid-panel-series\n [xScale]=\"valueScale\"\n [yScale]=\"groupScale\"\n [data]=\"results\"\n [dims]=\"dims\"\n orient=\"horizontal\">\n </svg:g>\n <svg:g ngx-charts-x-axis\n *ngIf=\"xAxis\"\n [xScale]=\"valueScale\"\n [dims]=\"dims\"\n [showGridLines]=\"showGridLines\"\n [showLabel]=\"showXAxisLabel\"\n [labelText]=\"xAxisLabel\"\n [trimTicks]=\"trimXAxisTicks\"\n [maxTickLength]=\"maxXAxisTickLength\"\n [tickFormatting]=\"xAxisTickFormatting\"\n [ticks]=\"xAxisTicks\"\n (dimensionsChanged)=\"updateXAxisHeight($event)\">\n </svg:g>\n <svg:g ngx-charts-y-axis\n *ngIf=\"yAxis\"\n [yScale]=\"groupScale\"\n [dims]=\"dims\"\n [showLabel]=\"showYAxisLabel\"\n [labelText]=\"yAxisLabel\"\n [trimTicks]=\"trimYAxisTicks\"\n [maxTickLength]=\"maxYAxisTickLength\"\n [tickFormatting]=\"yAxisTickFormatting\"\n [ticks]=\"yAxisTicks\"\n [yAxisOffset]=\"dataLabelMaxWidth.negative\"\n (dimensionsChanged)=\"updateYAxisWidth($event)\">\n </svg:g>\n <svg:g\n *ngFor=\"let group of results; let index = index; trackBy:trackBy\"\n [@animationState]=\"'active'\"\n [attr.transform]=\"groupTransform(group)\">\n <svg:g ngx-charts-series-horizontal\n [xScale]=\"valueScale\"\n [activeEntries]=\"activeEntries\"\n [yScale]=\"innerScale\"\n [colors]=\"colors\"\n [series]=\"group.series\"\n [dims]=\"dims\"\n [gradient]=\"gradient\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n [seriesName]=\"group.name\"\n [roundEdges]=\"roundEdges\"\n [animations]=\"animations\"\n [showDataLabel]=\"showDataLabel\"\n [dataLabelFormatting]=\"dataLabelFormatting\"\n (select)=\"onClick($event, group)\"\n (activate)=\"onActivate($event, group)\"\n (deactivate)=\"onDeactivate($event, group)\"\n (dataLabelWidthChanged)=\"onDataLabelMaxWidthChanged($event, index)\"\n />\n </svg:g>\n </svg:g>\n </ngx-charts-chart>\n ",
|
|
339
369
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
340
370
|
styleUrls: ['../common/base-chart.component.css'],
|
|
341
371
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar-horizontal-2d.component.js","sourceRoot":"","sources":["../../build/bar-chart/bar-horizontal-2d.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bar-horizontal-2d.component.js","sourceRoot":"","sources":["../../build/bar-chart/bar-horizontal-2d.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,iBAAiB,EACjB,MAAM,EACN,YAAY,EACZ,uBAAuB,EACvB,YAAY,EACZ,WAAW,EACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,UAAU,EACX,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAE,uBAAuB,EAAkB,MAAM,kCAAkC,CAAC;AAC3F,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AA2FpE;IAA8C,4CAAkB;IAzFhE;QAAA,qEAiWC;QAtQU,YAAM,GAAG,KAAK,CAAC;QACf,iBAAW,GAAW,QAAQ,CAAC;QAC/B,oBAAc,GAAW,OAAO,CAAC;QAOjC,qBAAe,GAAY,KAAK,CAAC;QAEjC,mBAAa,GAAY,IAAI,CAAC;QAC9B,mBAAa,GAAU,EAAE,CAAC;QAE1B,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,CAAC;4BACJ,OAAO,EAAE,CAAC;4BACV,SAAS,EAAE,GAAG;yBACf,CAAC;wBACF,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,EAAC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,UAAU,EAAC,CAAC,CAAC;qBACzD,CAAC;iBACH,CAAC;aACH;SACF,CAAC;OACW,wBAAwB,CAwQpC;IAAD,+BAAC;CAAA,AAxQD,CAA8C,kBAAkB,GAwQ/D;SAxQY,wBAAwB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"BarHorizontal2DComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../common/base-chart.component","name":"BaseChartComponent","line":108,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-charts-bar-horizontal-2d","template":"\n <ngx-charts-chart\n [view]=\"[width, height]\"\n [showLegend]=\"legend\"\n [legendOptions]=\"legendOptions\"\n [activeEntries]=\"activeEntries\"\n [animations]=\"animations\"\n (legendLabelActivate)=\"onActivate($event)\"\n (legendLabelDeactivate)=\"onDeactivate($event)\"\n (legendLabelClick)=\"onClick($event)\">\n <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n <svg:g ngx-charts-grid-panel-series\n [xScale]=\"valueScale\"\n [yScale]=\"groupScale\"\n [data]=\"results\"\n [dims]=\"dims\"\n orient=\"horizontal\">\n </svg:g>\n <svg:g ngx-charts-x-axis\n *ngIf=\"xAxis\"\n [xScale]=\"valueScale\"\n [dims]=\"dims\"\n [showGridLines]=\"showGridLines\"\n [showLabel]=\"showXAxisLabel\"\n [labelText]=\"xAxisLabel\"\n [tickFormatting]=\"xAxisTickFormatting\"\n [ticks]=\"xAxisTicks\"\n (dimensionsChanged)=\"updateXAxisHeight($event)\">\n </svg:g>\n <svg:g ngx-charts-y-axis\n *ngIf=\"yAxis\"\n [yScale]=\"groupScale\"\n [dims]=\"dims\"\n [showLabel]=\"showYAxisLabel\"\n [labelText]=\"yAxisLabel\"\n [tickFormatting]=\"yAxisTickFormatting\"\n [ticks]=\"yAxisTicks\"\n [yAxisOffset]=\"dataLabelMaxWidth.negative\"\n (dimensionsChanged)=\"updateYAxisWidth($event)\">\n </svg:g>\n <svg:g\n *ngFor=\"let group of results; let index = index; trackBy:trackBy\"\n [@animationState]=\"'active'\"\n [attr.transform]=\"groupTransform(group)\">\n <svg:g ngx-charts-series-horizontal\n [xScale]=\"valueScale\"\n [activeEntries]=\"activeEntries\"\n [yScale]=\"innerScale\"\n [colors]=\"colors\"\n [series]=\"group.series\"\n [dims]=\"dims\"\n [gradient]=\"gradient\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n [seriesName]=\"group.name\"\n [roundEdges]=\"roundEdges\"\n [animations]=\"animations\"\n [showDataLabel]=\"showDataLabel\"\n [dataLabelFormatting]=\"dataLabelFormatting\"\n (select)=\"onClick($event, group)\"\n (activate)=\"onActivate($event, group)\"\n (deactivate)=\"onDeactivate($event, group)\"\n (dataLabelWidthChanged)=\"onDataLabelMaxWidthChanged($event, index)\"\n />\n </svg:g>\n </svg:g>\n </ngx-charts-chart>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":93,"character":19},"member":"OnPush"},"styleUrls":["../common/base-chart.component.css"],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":95,"character":17},"member":"None"},"animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":97,"character":4},"arguments":["animationState",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":98,"character":6},"arguments":[":leave",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":99,"character":8},"arguments":[{"opacity":1,"transform":"*"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":103,"character":8},"arguments":[500,{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":103,"character":21},"arguments":[{"opacity":0,"transform":"scale(0)"}]}]}]]}]]}]}]}],"members":{"legend":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":110,"character":3}}]}],"legendTitle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":111,"character":3}}]}],"xAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":112,"character":3}}]}],"yAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":113,"character":3}}]}],"showXAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":3}}]}],"showYAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":3}}]}],"xAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":116,"character":3}}]}],"yAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":117,"character":3}}]}],"tooltipDisabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":118,"character":3}}]}],"gradient":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":119,"character":3}}]}],"showGridLines":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":3}}]}],"activeEntries":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":121,"character":3}}]}],"schemeType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":122,"character":3}}]}],"xAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":123,"character":3}}]}],"yAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3}}]}],"xAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":125,"character":3}}]}],"yAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":126,"character":3}}]}],"groupPadding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":127,"character":3}}]}],"barPadding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":128,"character":3}}]}],"roundDomains":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":3}}]}],"roundEdges":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":130,"character":3}}]}],"xScaleMax":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":131,"character":3}}]}],"showDataLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":132,"character":3}}]}],"dataLabelFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":133,"character":3}}]}],"activate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":135,"character":3}}]}],"deactivate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":136,"character":3}}]}],"tooltipTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":138,"character":3},"arguments":["tooltipTemplate"]}]}],"update":[{"__symbolic":"method"}],"getGroupScale":[{"__symbolic":"method"}],"getInnerScale":[{"__symbolic":"method"}],"getValueScale":[{"__symbolic":"method"}],"getGroupDomain":[{"__symbolic":"method"}],"getInnerDomain":[{"__symbolic":"method"}],"getValueDomain":[{"__symbolic":"method"}],"groupTransform":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method"}],"trackBy":[{"__symbolic":"method"}],"setColors":[{"__symbolic":"method"}],"getLegendOptions":[{"__symbolic":"method"}],"updateYAxisWidth":[{"__symbolic":"method"}],"updateXAxisHeight":[{"__symbolic":"method"}],"onDataLabelMaxWidthChanged":[{"__symbolic":"method"}],"onActivate":[{"__symbolic":"method"}],"onDeactivate":[{"__symbolic":"method"}]}}}}]
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"BarHorizontal2DComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../common/base-chart.component","name":"BaseChartComponent","line":112,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-charts-bar-horizontal-2d","template":"\n <ngx-charts-chart\n [view]=\"[width, height]\"\n [showLegend]=\"legend\"\n [legendOptions]=\"legendOptions\"\n [activeEntries]=\"activeEntries\"\n [animations]=\"animations\"\n (legendLabelActivate)=\"onActivate($event)\"\n (legendLabelDeactivate)=\"onDeactivate($event)\"\n (legendLabelClick)=\"onClick($event)\">\n <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n <svg:g ngx-charts-grid-panel-series\n [xScale]=\"valueScale\"\n [yScale]=\"groupScale\"\n [data]=\"results\"\n [dims]=\"dims\"\n orient=\"horizontal\">\n </svg:g>\n <svg:g ngx-charts-x-axis\n *ngIf=\"xAxis\"\n [xScale]=\"valueScale\"\n [dims]=\"dims\"\n [showGridLines]=\"showGridLines\"\n [showLabel]=\"showXAxisLabel\"\n [labelText]=\"xAxisLabel\"\n [trimTicks]=\"trimXAxisTicks\"\n [maxTickLength]=\"maxXAxisTickLength\"\n [tickFormatting]=\"xAxisTickFormatting\"\n [ticks]=\"xAxisTicks\"\n (dimensionsChanged)=\"updateXAxisHeight($event)\">\n </svg:g>\n <svg:g ngx-charts-y-axis\n *ngIf=\"yAxis\"\n [yScale]=\"groupScale\"\n [dims]=\"dims\"\n [showLabel]=\"showYAxisLabel\"\n [labelText]=\"yAxisLabel\"\n [trimTicks]=\"trimYAxisTicks\"\n [maxTickLength]=\"maxYAxisTickLength\"\n [tickFormatting]=\"yAxisTickFormatting\"\n [ticks]=\"yAxisTicks\"\n [yAxisOffset]=\"dataLabelMaxWidth.negative\"\n (dimensionsChanged)=\"updateYAxisWidth($event)\">\n </svg:g>\n <svg:g\n *ngFor=\"let group of results; let index = index; trackBy:trackBy\"\n [@animationState]=\"'active'\"\n [attr.transform]=\"groupTransform(group)\">\n <svg:g ngx-charts-series-horizontal\n [xScale]=\"valueScale\"\n [activeEntries]=\"activeEntries\"\n [yScale]=\"innerScale\"\n [colors]=\"colors\"\n [series]=\"group.series\"\n [dims]=\"dims\"\n [gradient]=\"gradient\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n [seriesName]=\"group.name\"\n [roundEdges]=\"roundEdges\"\n [animations]=\"animations\"\n [showDataLabel]=\"showDataLabel\"\n [dataLabelFormatting]=\"dataLabelFormatting\"\n (select)=\"onClick($event, group)\"\n (activate)=\"onActivate($event, group)\"\n (deactivate)=\"onDeactivate($event, group)\"\n (dataLabelWidthChanged)=\"onDataLabelMaxWidthChanged($event, index)\"\n />\n </svg:g>\n </svg:g>\n </ngx-charts-chart>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":97,"character":19},"member":"OnPush"},"styleUrls":["../common/base-chart.component.css"],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":99,"character":17},"member":"None"},"animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":101,"character":4},"arguments":["animationState",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":102,"character":6},"arguments":[":leave",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":103,"character":8},"arguments":[{"opacity":1,"transform":"*"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":107,"character":8},"arguments":[500,{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":107,"character":21},"arguments":[{"opacity":0,"transform":"scale(0)"}]}]}]]}]]}]}]}],"members":{"legend":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":3}}]}],"legendTitle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":3}}]}],"legendPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":116,"character":3}}]}],"xAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":117,"character":3}}]}],"yAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":118,"character":3}}]}],"showXAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":119,"character":3}}]}],"showYAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":3}}]}],"xAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":121,"character":3}}]}],"yAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":122,"character":3}}]}],"tooltipDisabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":123,"character":3}}]}],"gradient":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3}}]}],"showGridLines":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":125,"character":3}}]}],"activeEntries":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":126,"character":3}}]}],"schemeType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":127,"character":3}}]}],"trimXAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":128,"character":3}}]}],"trimYAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":3}}]}],"maxXAxisTickLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":130,"character":3}}]}],"maxYAxisTickLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":131,"character":3}}]}],"xAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":132,"character":3}}]}],"yAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":133,"character":3}}]}],"xAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":134,"character":3}}]}],"yAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":135,"character":3}}]}],"groupPadding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":136,"character":3}}]}],"barPadding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":137,"character":3}}]}],"roundDomains":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":138,"character":3}}]}],"roundEdges":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":139,"character":3}}]}],"xScaleMax":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":140,"character":3}}]}],"showDataLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":141,"character":3}}]}],"dataLabelFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":142,"character":3}}]}],"activate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":144,"character":3}}]}],"deactivate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":145,"character":3}}]}],"tooltipTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":147,"character":3},"arguments":["tooltipTemplate"]}]}],"update":[{"__symbolic":"method"}],"getGroupScale":[{"__symbolic":"method"}],"getInnerScale":[{"__symbolic":"method"}],"getValueScale":[{"__symbolic":"method"}],"getGroupDomain":[{"__symbolic":"method"}],"getInnerDomain":[{"__symbolic":"method"}],"getValueDomain":[{"__symbolic":"method"}],"groupTransform":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method"}],"trackBy":[{"__symbolic":"method"}],"setColors":[{"__symbolic":"method"}],"getLegendOptions":[{"__symbolic":"method"}],"updateYAxisWidth":[{"__symbolic":"method"}],"updateXAxisHeight":[{"__symbolic":"method"}],"onDataLabelMaxWidthChanged":[{"__symbolic":"method"}],"onActivate":[{"__symbolic":"method"}],"onDeactivate":[{"__symbolic":"method"}]}}}}]
|
|
@@ -5,6 +5,7 @@ import { BaseChartComponent } from '../common/base-chart.component';
|
|
|
5
5
|
export declare class BarHorizontalNormalizedComponent extends BaseChartComponent {
|
|
6
6
|
legend: boolean;
|
|
7
7
|
legendTitle: string;
|
|
8
|
+
legendPosition: string;
|
|
8
9
|
xAxis: any;
|
|
9
10
|
yAxis: any;
|
|
10
11
|
showXAxisLabel: any;
|
|
@@ -16,6 +17,10 @@ export declare class BarHorizontalNormalizedComponent extends BaseChartComponent
|
|
|
16
17
|
showGridLines: boolean;
|
|
17
18
|
activeEntries: any[];
|
|
18
19
|
schemeType: string;
|
|
20
|
+
trimXAxisTicks: boolean;
|
|
21
|
+
trimYAxisTicks: boolean;
|
|
22
|
+
maxXAxisTickLength: number;
|
|
23
|
+
maxYAxisTickLength: number;
|
|
19
24
|
xAxisTickFormatting: any;
|
|
20
25
|
yAxisTickFormatting: any;
|
|
21
26
|
xAxisTicks: any[];
|
|
@@ -52,11 +57,12 @@ export declare class BarHorizontalNormalizedComponent extends BaseChartComponent
|
|
|
52
57
|
colors: any;
|
|
53
58
|
domain: any[];
|
|
54
59
|
title: any;
|
|
60
|
+
position: string;
|
|
55
61
|
};
|
|
56
|
-
updateYAxisWidth({width}: {
|
|
62
|
+
updateYAxisWidth({ width }: {
|
|
57
63
|
width: any;
|
|
58
64
|
}): void;
|
|
59
|
-
updateXAxisHeight({height}: {
|
|
65
|
+
updateXAxisHeight({ height }: {
|
|
60
66
|
height: any;
|
|
61
67
|
}): void;
|
|
62
68
|
onActivate(event: any, group?: any): void;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics =
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
}
|
|
5
8
|
return function (d, b) {
|
|
6
9
|
extendStatics(d, b);
|
|
7
10
|
function __() { this.constructor = d; }
|
|
@@ -29,9 +32,14 @@ var BarHorizontalNormalizedComponent = /** @class */ (function (_super) {
|
|
|
29
32
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
30
33
|
_this.legend = false;
|
|
31
34
|
_this.legendTitle = 'Legend';
|
|
35
|
+
_this.legendPosition = 'right';
|
|
32
36
|
_this.tooltipDisabled = false;
|
|
33
37
|
_this.showGridLines = true;
|
|
34
38
|
_this.activeEntries = [];
|
|
39
|
+
_this.trimXAxisTicks = true;
|
|
40
|
+
_this.trimYAxisTicks = true;
|
|
41
|
+
_this.maxXAxisTickLength = 16;
|
|
42
|
+
_this.maxYAxisTickLength = 16;
|
|
35
43
|
_this.barPadding = 8;
|
|
36
44
|
_this.roundDomains = false;
|
|
37
45
|
_this.activate = new EventEmitter();
|
|
@@ -54,7 +62,8 @@ var BarHorizontalNormalizedComponent = /** @class */ (function (_super) {
|
|
|
54
62
|
showXLabel: this.showXAxisLabel,
|
|
55
63
|
showYLabel: this.showYAxisLabel,
|
|
56
64
|
showLegend: this.legend,
|
|
57
|
-
legendType: this.schemeType
|
|
65
|
+
legendType: this.schemeType,
|
|
66
|
+
legendPosition: this.legendPosition
|
|
58
67
|
});
|
|
59
68
|
this.formatDates();
|
|
60
69
|
this.groupDomain = this.getGroupDomain();
|
|
@@ -132,7 +141,8 @@ var BarHorizontalNormalizedComponent = /** @class */ (function (_super) {
|
|
|
132
141
|
scaleType: this.schemeType,
|
|
133
142
|
colors: undefined,
|
|
134
143
|
domain: [],
|
|
135
|
-
title: undefined
|
|
144
|
+
title: undefined,
|
|
145
|
+
position: this.legendPosition
|
|
136
146
|
};
|
|
137
147
|
if (opts.scaleType === 'ordinal') {
|
|
138
148
|
opts.domain = this.innerDomain;
|
|
@@ -189,6 +199,10 @@ var BarHorizontalNormalizedComponent = /** @class */ (function (_super) {
|
|
|
189
199
|
Input(),
|
|
190
200
|
__metadata("design:type", String)
|
|
191
201
|
], BarHorizontalNormalizedComponent.prototype, "legendTitle", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
Input(),
|
|
204
|
+
__metadata("design:type", String)
|
|
205
|
+
], BarHorizontalNormalizedComponent.prototype, "legendPosition", void 0);
|
|
192
206
|
__decorate([
|
|
193
207
|
Input(),
|
|
194
208
|
__metadata("design:type", Object)
|
|
@@ -233,6 +247,22 @@ var BarHorizontalNormalizedComponent = /** @class */ (function (_super) {
|
|
|
233
247
|
Input(),
|
|
234
248
|
__metadata("design:type", String)
|
|
235
249
|
], BarHorizontalNormalizedComponent.prototype, "schemeType", void 0);
|
|
250
|
+
__decorate([
|
|
251
|
+
Input(),
|
|
252
|
+
__metadata("design:type", Boolean)
|
|
253
|
+
], BarHorizontalNormalizedComponent.prototype, "trimXAxisTicks", void 0);
|
|
254
|
+
__decorate([
|
|
255
|
+
Input(),
|
|
256
|
+
__metadata("design:type", Boolean)
|
|
257
|
+
], BarHorizontalNormalizedComponent.prototype, "trimYAxisTicks", void 0);
|
|
258
|
+
__decorate([
|
|
259
|
+
Input(),
|
|
260
|
+
__metadata("design:type", Number)
|
|
261
|
+
], BarHorizontalNormalizedComponent.prototype, "maxXAxisTickLength", void 0);
|
|
262
|
+
__decorate([
|
|
263
|
+
Input(),
|
|
264
|
+
__metadata("design:type", Number)
|
|
265
|
+
], BarHorizontalNormalizedComponent.prototype, "maxYAxisTickLength", void 0);
|
|
236
266
|
__decorate([
|
|
237
267
|
Input(),
|
|
238
268
|
__metadata("design:type", Object)
|
|
@@ -272,7 +302,7 @@ var BarHorizontalNormalizedComponent = /** @class */ (function (_super) {
|
|
|
272
302
|
BarHorizontalNormalizedComponent = __decorate([
|
|
273
303
|
Component({
|
|
274
304
|
selector: 'ngx-charts-bar-horizontal-normalized',
|
|
275
|
-
template: "\n <ngx-charts-chart\n [view]=\"[width, height]\"\n [showLegend]=\"legend\"\n [legendOptions]=\"legendOptions\"\n [activeEntries]=\"activeEntries\"\n [animations]=\"animations\"\n (legendLabelActivate)=\"onActivate($event)\"\n (legendLabelDeactivate)=\"onDeactivate($event)\"\n (legendLabelClick)=\"onClick($event)\">\n <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n <svg:g ngx-charts-x-axis\n *ngIf=\"xAxis\"\n [xScale]=\"xScale\"\n [dims]=\"dims\"\n [showGridLines]=\"showGridLines\"\n [showLabel]=\"showXAxisLabel\"\n [labelText]=\"xAxisLabel\"\n [tickFormatting]=\"xAxisTickFormatting\"\n [ticks]=\"xAxisTicks\"\n (dimensionsChanged)=\"updateXAxisHeight($event)\">\n </svg:g>\n <svg:g ngx-charts-y-axis\n *ngIf=\"yAxis\"\n [yScale]=\"yScale\"\n [dims]=\"dims\"\n [showLabel]=\"showYAxisLabel\"\n [labelText]=\"yAxisLabel\"\n [tickFormatting]=\"yAxisTickFormatting\"\n [ticks]=\"yAxisTicks\"\n (dimensionsChanged)=\"updateYAxisWidth($event)\">\n </svg:g>\n <svg:g\n *ngFor=\"let group of results; trackBy:trackBy\"\n [@animationState]=\"'active'\"\n [attr.transform]=\"groupTransform(group)\">\n <svg:g ngx-charts-series-horizontal\n type=\"normalized\"\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [activeEntries]=\"activeEntries\"\n [colors]=\"colors\"\n [series]=\"group.series\"\n [dims]=\"dims\"\n [gradient]=\"gradient\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n [seriesName]=\"group.name\"\n [animations]=\"animations\"\n (select)=\"onClick($event, group)\"\n (activate)=\"onActivate($event, group)\"\n (deactivate)=\"onDeactivate($event, group)\"\n />\n </svg:g>\n </svg:g>\n </ngx-charts-chart>\n ",
|
|
305
|
+
template: "\n <ngx-charts-chart\n [view]=\"[width, height]\"\n [showLegend]=\"legend\"\n [legendOptions]=\"legendOptions\"\n [activeEntries]=\"activeEntries\"\n [animations]=\"animations\"\n (legendLabelActivate)=\"onActivate($event)\"\n (legendLabelDeactivate)=\"onDeactivate($event)\"\n (legendLabelClick)=\"onClick($event)\">\n <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n <svg:g ngx-charts-x-axis\n *ngIf=\"xAxis\"\n [xScale]=\"xScale\"\n [dims]=\"dims\"\n [showGridLines]=\"showGridLines\"\n [showLabel]=\"showXAxisLabel\"\n [labelText]=\"xAxisLabel\"\n [trimTicks]=\"trimXAxisTicks\"\n [maxTickLength]=\"maxXAxisTickLength\"\n [tickFormatting]=\"xAxisTickFormatting\"\n [ticks]=\"xAxisTicks\"\n (dimensionsChanged)=\"updateXAxisHeight($event)\">\n </svg:g>\n <svg:g ngx-charts-y-axis\n *ngIf=\"yAxis\"\n [yScale]=\"yScale\"\n [dims]=\"dims\"\n [showLabel]=\"showYAxisLabel\"\n [labelText]=\"yAxisLabel\"\n [trimTicks]=\"trimYAxisTicks\"\n [maxTickLength]=\"maxYAxisTickLength\"\n [tickFormatting]=\"yAxisTickFormatting\"\n [ticks]=\"yAxisTicks\"\n (dimensionsChanged)=\"updateYAxisWidth($event)\">\n </svg:g>\n <svg:g\n *ngFor=\"let group of results; trackBy:trackBy\"\n [@animationState]=\"'active'\"\n [attr.transform]=\"groupTransform(group)\">\n <svg:g ngx-charts-series-horizontal\n type=\"normalized\"\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [activeEntries]=\"activeEntries\"\n [colors]=\"colors\"\n [series]=\"group.series\"\n [dims]=\"dims\"\n [gradient]=\"gradient\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n [seriesName]=\"group.name\"\n [animations]=\"animations\"\n (select)=\"onClick($event, group)\"\n (activate)=\"onActivate($event, group)\"\n (deactivate)=\"onDeactivate($event, group)\"\n />\n </svg:g>\n </svg:g>\n </ngx-charts-chart>\n ",
|
|
276
306
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
277
307
|
styleUrls: ['../common/base-chart.component.css'],
|
|
278
308
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar-horizontal-normalized.component.js","sourceRoot":"","sources":["../../build/bar-chart/bar-horizontal-normalized.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bar-horizontal-normalized.component.js","sourceRoot":"","sources":["../../build/bar-chart/bar-horizontal-normalized.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,MAAM,EACN,iBAAiB,EACjB,YAAY,EACZ,uBAAuB,EACvB,YAAY,EACZ,WAAW,EACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,UAAU,EACX,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAE,uBAAuB,EAAkB,MAAM,kCAA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