@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":{"BarHorizontalNormalizedComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../common/base-chart.component","name":"BaseChartComponent","line":
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"BarHorizontalNormalizedComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../common/base-chart.component","name":"BaseChartComponent","line":101,"character":54},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-charts-bar-horizontal-normalized","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 ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":86,"character":19},"member":"OnPush"},"styleUrls":["../common/base-chart.component.css"],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":88,"character":17},"member":"None"},"animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":90,"character":4},"arguments":["animationState",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":91,"character":6},"arguments":[":leave",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":92,"character":8},"arguments":[{"opacity":1,"transform":"*"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":96,"character":8},"arguments":[500,{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":96,"character":21},"arguments":[{"opacity":0,"transform":"scale(0)"}]}]}]]}]]}]}]}],"members":{"legend":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":103,"character":3}}]}],"legendTitle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":104,"character":3}}]}],"legendPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":105,"character":3}}]}],"xAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":106,"character":3}}]}],"yAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":107,"character":3}}]}],"showXAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":108,"character":3}}]}],"showYAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":109,"character":3}}]}],"xAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":110,"character":3}}]}],"yAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":111,"character":3}}]}],"tooltipDisabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":112,"character":3}}]}],"gradient":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":113,"character":3}}]}],"showGridLines":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":3}}]}],"activeEntries":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":3}}]}],"schemeType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":116,"character":3}}]}],"trimXAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":117,"character":3}}]}],"trimYAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":118,"character":3}}]}],"maxXAxisTickLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":119,"character":3}}]}],"maxYAxisTickLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":3}}]}],"xAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":121,"character":3}}]}],"yAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":122,"character":3}}]}],"xAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":123,"character":3}}]}],"yAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3}}]}],"barPadding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":125,"character":3}}]}],"roundDomains":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":126,"character":3}}]}],"activate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":128,"character":3}}]}],"deactivate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":129,"character":3}}]}],"tooltipTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":131,"character":3},"arguments":["tooltipTemplate"]}]}],"update":[{"__symbolic":"method"}],"getGroupDomain":[{"__symbolic":"method"}],"getInnerDomain":[{"__symbolic":"method"}],"getValueDomain":[{"__symbolic":"method"}],"getYScale":[{"__symbolic":"method"}],"getXScale":[{"__symbolic":"method"}],"groupTransform":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method"}],"trackBy":[{"__symbolic":"method"}],"setColors":[{"__symbolic":"method"}],"getLegendOptions":[{"__symbolic":"method"}],"updateYAxisWidth":[{"__symbolic":"method"}],"updateXAxisHeight":[{"__symbolic":"method"}],"onActivate":[{"__symbolic":"method"}],"onDeactivate":[{"__symbolic":"method"}]}}}}]
|
|
@@ -5,6 +5,7 @@ import { BaseChartComponent } from '../common/base-chart.component';
|
|
|
5
5
|
export declare class BarHorizontalStackedComponent 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 BarHorizontalStackedComponent 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[];
|
|
@@ -56,11 +61,12 @@ export declare class BarHorizontalStackedComponent extends BaseChartComponent {
|
|
|
56
61
|
colors: any;
|
|
57
62
|
domain: any[];
|
|
58
63
|
title: any;
|
|
64
|
+
position: string;
|
|
59
65
|
};
|
|
60
|
-
updateYAxisWidth({width}: {
|
|
66
|
+
updateYAxisWidth({ width }: {
|
|
61
67
|
width: any;
|
|
62
68
|
}): void;
|
|
63
|
-
updateXAxisHeight({height}: {
|
|
69
|
+
updateXAxisHeight({ height }: {
|
|
64
70
|
height: any;
|
|
65
71
|
}): void;
|
|
66
72
|
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 BarHorizontalStackedComponent = /** @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.showDataLabel = false;
|
|
@@ -60,7 +68,8 @@ var BarHorizontalStackedComponent = /** @class */ (function (_super) {
|
|
|
60
68
|
showXLabel: this.showXAxisLabel,
|
|
61
69
|
showYLabel: this.showYAxisLabel,
|
|
62
70
|
showLegend: this.legend,
|
|
63
|
-
legendType: this.schemeType
|
|
71
|
+
legendType: this.schemeType,
|
|
72
|
+
legendPosition: this.legendPosition
|
|
64
73
|
});
|
|
65
74
|
this.formatDates();
|
|
66
75
|
this.groupDomain = this.getGroupDomain();
|
|
@@ -164,7 +173,8 @@ var BarHorizontalStackedComponent = /** @class */ (function (_super) {
|
|
|
164
173
|
scaleType: this.schemeType,
|
|
165
174
|
colors: undefined,
|
|
166
175
|
domain: [],
|
|
167
|
-
title: undefined
|
|
176
|
+
title: undefined,
|
|
177
|
+
position: this.legendPosition
|
|
168
178
|
};
|
|
169
179
|
if (opts.scaleType === 'ordinal') {
|
|
170
180
|
opts.domain = this.innerDomain;
|
|
@@ -233,6 +243,10 @@ var BarHorizontalStackedComponent = /** @class */ (function (_super) {
|
|
|
233
243
|
Input(),
|
|
234
244
|
__metadata("design:type", String)
|
|
235
245
|
], BarHorizontalStackedComponent.prototype, "legendTitle", void 0);
|
|
246
|
+
__decorate([
|
|
247
|
+
Input(),
|
|
248
|
+
__metadata("design:type", String)
|
|
249
|
+
], BarHorizontalStackedComponent.prototype, "legendPosition", void 0);
|
|
236
250
|
__decorate([
|
|
237
251
|
Input(),
|
|
238
252
|
__metadata("design:type", Object)
|
|
@@ -277,6 +291,22 @@ var BarHorizontalStackedComponent = /** @class */ (function (_super) {
|
|
|
277
291
|
Input(),
|
|
278
292
|
__metadata("design:type", String)
|
|
279
293
|
], BarHorizontalStackedComponent.prototype, "schemeType", void 0);
|
|
294
|
+
__decorate([
|
|
295
|
+
Input(),
|
|
296
|
+
__metadata("design:type", Boolean)
|
|
297
|
+
], BarHorizontalStackedComponent.prototype, "trimXAxisTicks", void 0);
|
|
298
|
+
__decorate([
|
|
299
|
+
Input(),
|
|
300
|
+
__metadata("design:type", Boolean)
|
|
301
|
+
], BarHorizontalStackedComponent.prototype, "trimYAxisTicks", void 0);
|
|
302
|
+
__decorate([
|
|
303
|
+
Input(),
|
|
304
|
+
__metadata("design:type", Number)
|
|
305
|
+
], BarHorizontalStackedComponent.prototype, "maxXAxisTickLength", void 0);
|
|
306
|
+
__decorate([
|
|
307
|
+
Input(),
|
|
308
|
+
__metadata("design:type", Number)
|
|
309
|
+
], BarHorizontalStackedComponent.prototype, "maxYAxisTickLength", void 0);
|
|
280
310
|
__decorate([
|
|
281
311
|
Input(),
|
|
282
312
|
__metadata("design:type", Object)
|
|
@@ -328,7 +358,7 @@ var BarHorizontalStackedComponent = /** @class */ (function (_super) {
|
|
|
328
358
|
BarHorizontalStackedComponent = __decorate([
|
|
329
359
|
Component({
|
|
330
360
|
selector: 'ngx-charts-bar-horizontal-stacked',
|
|
331
|
-
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 [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 type=\"stacked\"\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [colors]=\"colors\"\n [series]=\"group.series\"\n [activeEntries]=\"activeEntries\"\n [dims]=\"dims\"\n [gradient]=\"gradient\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n [seriesName]=\"group.name\"\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 ",
|
|
361
|
+
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 [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 type=\"stacked\"\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [colors]=\"colors\"\n [series]=\"group.series\"\n [activeEntries]=\"activeEntries\"\n [dims]=\"dims\"\n [gradient]=\"gradient\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n [seriesName]=\"group.name\"\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 ",
|
|
332
362
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
333
363
|
styleUrls: ['../common/base-chart.component.css'],
|
|
334
364
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar-horizontal-stacked.component.js","sourceRoot":"","sources":["../../build/bar-chart/bar-horizontal-stacked.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bar-horizontal-stacked.component.js","sourceRoot":"","sources":["../../build/bar-chart/bar-horizontal-stacked.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,MAAM,EACN,YAAY,EACZ,iBAAiB,EACjB,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;AAoFpE;IAAmD,iDAAkB;IAlFrE;QAAA,qEAsVC;QAlQU,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,oBAAc,GAAY,IAAI,CAAC;QAC/B,oBAAc,GAAY,IAAI,CAAC;QAC/B,wBAAkB,GAAW,EAAE,CAAC;QAChC,wBAAkB,GAAW,EAAE,CAAC;QAKhC,gBAAU,GAAG,CAAC,CAAC;QACf,kBAAY,GAAY,KAAK,CAAC;QAE9B,mBAAa,GAAY,KAAK,CAAC;QAG9B,cAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QACjD,gBAAU,GAAsB,IAAI,YAAY,EAAE,CAAC;QAY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"__symbolic":"module","version":4,"metadata":{"BarHorizontalStackedComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../common/base-chart.component","name":"BaseChartComponent","line":101,"character":51},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-charts-bar-horizontal-stacked","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 [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 type=\"stacked\"\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [colors]=\"colors\"\n [series]=\"group.series\"\n [activeEntries]=\"activeEntries\"\n [dims]=\"dims\"\n [gradient]=\"gradient\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n [seriesName]=\"group.name\"\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":86,"character":19},"member":"OnPush"},"styleUrls":["../common/base-chart.component.css"],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":88,"character":17},"member":"None"},"animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":90,"character":4},"arguments":["animationState",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":91,"character":6},"arguments":[":leave",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":92,"character":8},"arguments":[{"opacity":1,"transform":"*"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":96,"character":8},"arguments":[500,{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":96,"character":21},"arguments":[{"opacity":0,"transform":"scale(0)"}]}]}]]}]]}]}]}],"members":{"legend":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":103,"character":3}}]}],"legendTitle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":104,"character":3}}]}],"xAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":105,"character":3}}]}],"yAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":106,"character":3}}]}],"showXAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":107,"character":3}}]}],"showYAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":108,"character":3}}]}],"xAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":109,"character":3}}]}],"yAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":110,"character":3}}]}],"tooltipDisabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":111,"character":3}}]}],"gradient":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":112,"character":3}}]}],"showGridLines":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":113,"character":3}}]}],"activeEntries":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":3}}]}],"schemeType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":3}}]}],"xAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":116,"character":3}}]}],"yAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":117,"character":3}}]}],"xAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":118,"character":3}}]}],"yAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":119,"character":3}}]}],"barPadding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":3}}]}],"roundDomains":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":121,"character":3}}]}],"xScaleMax":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":122,"character":3}}]}],"showDataLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":123,"character":3}}]}],"dataLabelFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3}}]}],"activate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":126,"character":3}}]}],"deactivate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":127,"character":3}}]}],"tooltipTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":129,"character":3},"arguments":["tooltipTemplate"]}]}],"update":[{"__symbolic":"method"}],"getGroupDomain":[{"__symbolic":"method"}],"getInnerDomain":[{"__symbolic":"method"}],"getValueDomain":[{"__symbolic":"method"}],"getYScale":[{"__symbolic":"method"}],"getXScale":[{"__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":{"BarHorizontalStackedComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../common/base-chart.component","name":"BaseChartComponent","line":105,"character":51},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-charts-bar-horizontal-stacked","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 [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 type=\"stacked\"\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [colors]=\"colors\"\n [series]=\"group.series\"\n [activeEntries]=\"activeEntries\"\n [dims]=\"dims\"\n [gradient]=\"gradient\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n [seriesName]=\"group.name\"\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":90,"character":19},"member":"OnPush"},"styleUrls":["../common/base-chart.component.css"],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":92,"character":17},"member":"None"},"animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":94,"character":4},"arguments":["animationState",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":95,"character":6},"arguments":[":leave",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":96,"character":8},"arguments":[{"opacity":1,"transform":"*"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":100,"character":8},"arguments":[500,{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":100,"character":21},"arguments":[{"opacity":0,"transform":"scale(0)"}]}]}]]}]]}]}]}],"members":{"legend":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":107,"character":3}}]}],"legendTitle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":108,"character":3}}]}],"legendPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":109,"character":3}}]}],"xAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":110,"character":3}}]}],"yAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":111,"character":3}}]}],"showXAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":112,"character":3}}]}],"showYAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":113,"character":3}}]}],"xAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":3}}]}],"yAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":3}}]}],"tooltipDisabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":116,"character":3}}]}],"gradient":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":117,"character":3}}]}],"showGridLines":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":118,"character":3}}]}],"activeEntries":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":119,"character":3}}]}],"schemeType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":3}}]}],"trimXAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":121,"character":3}}]}],"trimYAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":122,"character":3}}]}],"maxXAxisTickLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":123,"character":3}}]}],"maxYAxisTickLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3}}]}],"xAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":125,"character":3}}]}],"yAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":126,"character":3}}]}],"xAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":127,"character":3}}]}],"yAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":128,"character":3}}]}],"barPadding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":3}}]}],"roundDomains":[{"__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"}],"getGroupDomain":[{"__symbolic":"method"}],"getInnerDomain":[{"__symbolic":"method"}],"getValueDomain":[{"__symbolic":"method"}],"getYScale":[{"__symbolic":"method"}],"getXScale":[{"__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 BarHorizontalComponent 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 BarHorizontalComponent 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[];
|
|
@@ -54,11 +59,12 @@ export declare class BarHorizontalComponent extends BaseChartComponent {
|
|
|
54
59
|
colors: any;
|
|
55
60
|
domain: any[];
|
|
56
61
|
title: any;
|
|
62
|
+
position: string;
|
|
57
63
|
};
|
|
58
|
-
updateYAxisWidth({width}: {
|
|
64
|
+
updateYAxisWidth({ width }: {
|
|
59
65
|
width: any;
|
|
60
66
|
}): void;
|
|
61
|
-
updateXAxisHeight({height}: {
|
|
67
|
+
updateXAxisHeight({ height }: {
|
|
62
68
|
height: any;
|
|
63
69
|
}): void;
|
|
64
70
|
onDataLabelMaxWidthChanged(event: 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; }
|
|
@@ -28,9 +31,14 @@ var BarHorizontalComponent = /** @class */ (function (_super) {
|
|
|
28
31
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
29
32
|
_this.legend = false;
|
|
30
33
|
_this.legendTitle = 'Legend';
|
|
34
|
+
_this.legendPosition = 'right';
|
|
31
35
|
_this.tooltipDisabled = false;
|
|
32
36
|
_this.showGridLines = true;
|
|
33
37
|
_this.activeEntries = [];
|
|
38
|
+
_this.trimXAxisTicks = true;
|
|
39
|
+
_this.trimYAxisTicks = true;
|
|
40
|
+
_this.maxXAxisTickLength = 16;
|
|
41
|
+
_this.maxYAxisTickLength = 16;
|
|
34
42
|
_this.barPadding = 8;
|
|
35
43
|
_this.roundDomains = false;
|
|
36
44
|
_this.roundEdges = true;
|
|
@@ -60,7 +68,8 @@ var BarHorizontalComponent = /** @class */ (function (_super) {
|
|
|
60
68
|
showXLabel: this.showXAxisLabel,
|
|
61
69
|
showYLabel: this.showYAxisLabel,
|
|
62
70
|
showLegend: this.legend,
|
|
63
|
-
legendType: this.schemeType
|
|
71
|
+
legendType: this.schemeType,
|
|
72
|
+
legendPosition: this.legendPosition
|
|
64
73
|
});
|
|
65
74
|
this.xScale = this.getXScale();
|
|
66
75
|
this.yScale = this.getYScale();
|
|
@@ -88,7 +97,7 @@ var BarHorizontalComponent = /** @class */ (function (_super) {
|
|
|
88
97
|
var min = this.xScaleMin
|
|
89
98
|
? Math.min.apply(Math, [this.xScaleMin].concat(values)) : Math.min.apply(Math, [0].concat(values));
|
|
90
99
|
var max = this.xScaleMax
|
|
91
|
-
? Math.max.apply(Math, [this.xScaleMax].concat(values)) : Math.max.apply(Math, values);
|
|
100
|
+
? Math.max.apply(Math, [this.xScaleMax].concat(values)) : Math.max.apply(Math, [0].concat(values));
|
|
92
101
|
return [min, max];
|
|
93
102
|
};
|
|
94
103
|
BarHorizontalComponent.prototype.getYDomain = function () {
|
|
@@ -112,7 +121,8 @@ var BarHorizontalComponent = /** @class */ (function (_super) {
|
|
|
112
121
|
scaleType: this.schemeType,
|
|
113
122
|
colors: undefined,
|
|
114
123
|
domain: [],
|
|
115
|
-
title: undefined
|
|
124
|
+
title: undefined,
|
|
125
|
+
position: this.legendPosition
|
|
116
126
|
};
|
|
117
127
|
if (opts.scaleType === 'ordinal') {
|
|
118
128
|
opts.domain = this.yDomain;
|
|
@@ -173,6 +183,10 @@ var BarHorizontalComponent = /** @class */ (function (_super) {
|
|
|
173
183
|
Input(),
|
|
174
184
|
__metadata("design:type", String)
|
|
175
185
|
], BarHorizontalComponent.prototype, "legendTitle", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
Input(),
|
|
188
|
+
__metadata("design:type", String)
|
|
189
|
+
], BarHorizontalComponent.prototype, "legendPosition", void 0);
|
|
176
190
|
__decorate([
|
|
177
191
|
Input(),
|
|
178
192
|
__metadata("design:type", Object)
|
|
@@ -217,6 +231,22 @@ var BarHorizontalComponent = /** @class */ (function (_super) {
|
|
|
217
231
|
Input(),
|
|
218
232
|
__metadata("design:type", String)
|
|
219
233
|
], BarHorizontalComponent.prototype, "schemeType", void 0);
|
|
234
|
+
__decorate([
|
|
235
|
+
Input(),
|
|
236
|
+
__metadata("design:type", Boolean)
|
|
237
|
+
], BarHorizontalComponent.prototype, "trimXAxisTicks", void 0);
|
|
238
|
+
__decorate([
|
|
239
|
+
Input(),
|
|
240
|
+
__metadata("design:type", Boolean)
|
|
241
|
+
], BarHorizontalComponent.prototype, "trimYAxisTicks", void 0);
|
|
242
|
+
__decorate([
|
|
243
|
+
Input(),
|
|
244
|
+
__metadata("design:type", Number)
|
|
245
|
+
], BarHorizontalComponent.prototype, "maxXAxisTickLength", void 0);
|
|
246
|
+
__decorate([
|
|
247
|
+
Input(),
|
|
248
|
+
__metadata("design:type", Number)
|
|
249
|
+
], BarHorizontalComponent.prototype, "maxYAxisTickLength", void 0);
|
|
220
250
|
__decorate([
|
|
221
251
|
Input(),
|
|
222
252
|
__metadata("design:type", Object)
|
|
@@ -276,7 +306,7 @@ var BarHorizontalComponent = /** @class */ (function (_super) {
|
|
|
276
306
|
BarHorizontalComponent = __decorate([
|
|
277
307
|
Component({
|
|
278
308
|
selector: 'ngx-charts-bar-horizontal',
|
|
279
|
-
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: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 [yAxisOffset]=\"dataLabelMaxWidth.negative\"\n (dimensionsChanged)=\"updateYAxisWidth($event)\">\n </svg:g>\n <svg:g ngx-charts-series-horizontal\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [colors]=\"colors\"\n [series]=\"results\"\n [dims]=\"dims\"\n [gradient]=\"gradient\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n [activeEntries]=\"activeEntries\"\n [roundEdges]=\"roundEdges\"\n [animations]=\"animations\"\n [showDataLabel]=\"showDataLabel\"\n [dataLabelFormatting]=\"dataLabelFormatting\"\n (select)=\"onClick($event)\"\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\"\n (dataLabelWidthChanged)=\"onDataLabelMaxWidthChanged($event)\"\n >\n </svg:g>\n </svg:g>\n </ngx-charts-chart>\n ",
|
|
309
|
+
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: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 [yAxisOffset]=\"dataLabelMaxWidth.negative\"\n (dimensionsChanged)=\"updateYAxisWidth($event)\">\n </svg:g>\n <svg:g ngx-charts-series-horizontal\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [colors]=\"colors\"\n [series]=\"results\"\n [dims]=\"dims\"\n [gradient]=\"gradient\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n [activeEntries]=\"activeEntries\"\n [roundEdges]=\"roundEdges\"\n [animations]=\"animations\"\n [showDataLabel]=\"showDataLabel\"\n [dataLabelFormatting]=\"dataLabelFormatting\"\n (select)=\"onClick($event)\"\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\"\n (dataLabelWidthChanged)=\"onDataLabelMaxWidthChanged($event)\"\n >\n </svg:g>\n </svg:g>\n </ngx-charts-chart>\n ",
|
|
280
310
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
281
311
|
styleUrls: ['../common/base-chart.component.css'],
|
|
282
312
|
encapsulation: ViewEncapsulation.None
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar-horizontal.component.js","sourceRoot":"","sources":["../../build/bar-chart/bar-horizontal.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bar-horizontal.component.js","sourceRoot":"","sources":["../../build/bar-chart/bar-horizontal.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,MAAM,EACN,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,EACZ,WAAW,EACZ,MAAM,eAAe,CAAC;AACvB,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;AAoEpE;IAA4C,0CAAkB;IAlE9D;QAAA,qEAwQC;QApMU,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,oBAAc,GAAY,IAAI,CAAC;QAC/B,oBAAc,GAAY,IAAI,CAAC;QAC/B,wBAAkB,GAAW,EAAE,CAAC;QAChC,wBAAkB,GAAW,EAAE,CAAC;QAKhC,gBAAU,GAAG,CAAC,CAAC;QACf,kBAAY,GAAY,KAAK,CAAC;QAC9B,gBAAU,GAAY,IAAI,CAAC;QAG3B,mBAAa,GAAY,KAAK,CAAC;QAG9B,cAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QACjD,gBAAU,GAAsB,IAAI,YAAY,EAAE,CAAC;QAW7D,YAAM,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;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
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"BarHorizontalComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../common/base-chart.component","name":"BaseChartComponent","line":
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"BarHorizontalComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../common/base-chart.component","name":"BaseChartComponent","line":82,"character":44},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":16,"character":1},"arguments":[{"selector":"ngx-charts-bar-horizontal","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: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 [yAxisOffset]=\"dataLabelMaxWidth.negative\"\n (dimensionsChanged)=\"updateYAxisWidth($event)\">\n </svg:g>\n <svg:g ngx-charts-series-horizontal\n [xScale]=\"xScale\"\n [yScale]=\"yScale\"\n [colors]=\"colors\"\n [series]=\"results\"\n [dims]=\"dims\"\n [gradient]=\"gradient\"\n [tooltipDisabled]=\"tooltipDisabled\"\n [tooltipTemplate]=\"tooltipTemplate\"\n [activeEntries]=\"activeEntries\"\n [roundEdges]=\"roundEdges\"\n [animations]=\"animations\"\n [showDataLabel]=\"showDataLabel\"\n [dataLabelFormatting]=\"dataLabelFormatting\"\n (select)=\"onClick($event)\"\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\"\n (dataLabelWidthChanged)=\"onDataLabelMaxWidthChanged($event)\"\n >\n </svg:g>\n </svg:g>\n </ngx-charts-chart>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":78,"character":19},"member":"OnPush"},"styleUrls":["../common/base-chart.component.css"],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":80,"character":17},"member":"None"}}]}],"members":{"legend":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":3}}]}],"legendTitle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"legendPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":3}}]}],"xAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":3}}]}],"yAxis":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":88,"character":3}}]}],"showXAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":89,"character":3}}]}],"showYAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"xAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":91,"character":3}}]}],"yAxisLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":92,"character":3}}]}],"tooltipDisabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":93,"character":3}}]}],"gradient":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":94,"character":3}}]}],"showGridLines":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":95,"character":3}}]}],"activeEntries":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":96,"character":3}}]}],"schemeType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":97,"character":3}}]}],"trimXAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":98,"character":3}}]}],"trimYAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":99,"character":3}}]}],"maxXAxisTickLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":100,"character":3}}]}],"maxYAxisTickLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":101,"character":3}}]}],"xAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":102,"character":3}}]}],"yAxisTickFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":103,"character":3}}]}],"xAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":104,"character":3}}]}],"yAxisTicks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":105,"character":3}}]}],"barPadding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":106,"character":3}}]}],"roundDomains":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":107,"character":3}}]}],"roundEdges":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":108,"character":3}}]}],"xScaleMax":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":109,"character":3}}]}],"xScaleMin":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":110,"character":3}}]}],"showDataLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":111,"character":3}}]}],"dataLabelFormatting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":112,"character":3}}]}],"activate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":114,"character":3}}]}],"deactivate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":115,"character":3}}]}],"tooltipTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":117,"character":3},"arguments":["tooltipTemplate"]}]}],"update":[{"__symbolic":"method"}],"getXScale":[{"__symbolic":"method"}],"getYScale":[{"__symbolic":"method"}],"getXDomain":[{"__symbolic":"method"}],"getYDomain":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method"}],"setColors":[{"__symbolic":"method"}],"getLegendOptions":[{"__symbolic":"method"}],"updateYAxisWidth":[{"__symbolic":"method"}],"updateXAxisHeight":[{"__symbolic":"method"}],"onDataLabelMaxWidthChanged":[{"__symbolic":"method"}],"onActivate":[{"__symbolic":"method"}],"onDeactivate":[{"__symbolic":"method"}]}}}}]
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Component, Input, ChangeDetectionStrategy, ElementRef, Output, EventEmitter } from '@angular/core';
|
|
11
|
-
import { formatLabel } from '
|
|
11
|
+
import { formatLabel } from '../common/label.helper';
|
|
12
12
|
var BarLabelComponent = /** @class */ (function () {
|
|
13
13
|
function BarLabelComponent(element) {
|
|
14
14
|
this.dimensionsChanged = new EventEmitter();
|