(function (global, factory) {
    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@swimlane/ngx-charts'), require('d3-shape')) :
    typeof define === 'function' && define.amd ? define('@eui/externals/ux-charts', ['exports', '@angular/core', '@angular/common', '@swimlane/ngx-charts', 'd3-shape'], factory) :
    (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.eui = global.eui || {}, global.eui.externals = global.eui.externals || {}, global.eui.externals["ux-charts"] = {}), global.ng.core, global.ng.common, global.i2, global.shape));
})(this, (function (exports, i0, i1, i2, shape) { 'use strict';

    function _interopNamespace(e) {
        if (e && e.__esModule) return e;
        var n = Object.create(null);
        if (e) {
            Object.keys(e).forEach(function (k) {
                if (k !== 'default') {
                    var d = Object.getOwnPropertyDescriptor(e, k);
                    Object.defineProperty(n, k, d.get ? d : {
                        enumerable: true,
                        get: function () { return e[k]; }
                    });
                }
            });
        }
        n["default"] = e;
        return Object.freeze(n);
    }

    var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
    var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
    var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
    var shape__namespace = /*#__PURE__*/_interopNamespace(shape);

    var chartGroups = [
        {
            name: 'Bar Charts',
            charts: [
                {
                    name: 'Vertical Bar Chart',
                    selector: 'bar-vertical',
                    inputFormat: 'singleSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'schemeType',
                        'showXAxis',
                        'showYAxis',
                        'gradient',
                        'barPadding',
                        'noBarWhenZero',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'showXAxisLabel',
                        'xAxisLabel',
                        'showYAxisLabel',
                        'yAxisLabel',
                        'showGridLines',
                        'roundDomains',
                        'tooltipDisabled',
                        'roundEdges',
                        'yScaleMax',
                        'showDataLabel',
                        'trimXAxisTicks',
                        'trimYAxisTicks',
                        'rotateXAxisTicks',
                        'maxXAxisTickLength',
                        'maxYAxisTickLength'
                    ]
                },
                {
                    name: 'Horizontal Bar Chart',
                    selector: 'bar-horizontal',
                    inputFormat: 'singleSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'schemeType',
                        'showXAxis',
                        'showYAxis',
                        'gradient',
                        'barPadding',
                        'noBarWhenZero',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'showXAxisLabel',
                        'xAxisLabel',
                        'showYAxisLabel',
                        'yAxisLabel',
                        'showGridLines',
                        'roundDomains',
                        'tooltipDisabled',
                        'roundEdges',
                        'xScaleMax',
                        'showDataLabel',
                        'trimXAxisTicks',
                        'trimYAxisTicks',
                        'rotateXAxisTicks',
                        'maxXAxisTickLength',
                        'maxYAxisTickLength'
                    ],
                    defaults: {
                        yAxisLabel: 'Country',
                        xAxisLabel: 'GDP Per Capita'
                    }
                },
                {
                    name: 'Grouped Vertical Bar Chart',
                    selector: 'bar-vertical-2d',
                    inputFormat: 'multiSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'schemeType',
                        'showXAxis',
                        'showYAxis',
                        'gradient',
                        'barPadding',
                        'groupPadding',
                        'noBarWhenZero',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'showXAxisLabel',
                        'xAxisLabel',
                        'showYAxisLabel',
                        'yAxisLabel',
                        'showGridLines',
                        'roundDomains',
                        'tooltipDisabled',
                        'roundEdges',
                        'yScaleMax',
                        'showDataLabel',
                        'trimXAxisTicks',
                        'trimYAxisTicks',
                        'rotateXAxisTicks',
                        'maxXAxisTickLength',
                        'maxYAxisTickLength'
                    ]
                },
                {
                    name: 'Grouped Horizontal Bar Chart',
                    selector: 'bar-horizontal-2d',
                    inputFormat: 'multiSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'schemeType',
                        'showXAxis',
                        'showYAxis',
                        'gradient',
                        'barPadding',
                        'groupPadding',
                        'noBarWhenZero',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'showXAxisLabel',
                        'xAxisLabel',
                        'showYAxisLabel',
                        'yAxisLabel',
                        'showGridLines',
                        'roundDomains',
                        'tooltipDisabled',
                        'roundEdges',
                        'xScaleMax',
                        'showDataLabel',
                        'trimXAxisTicks',
                        'trimYAxisTicks',
                        'rotateXAxisTicks',
                        'maxXAxisTickLength',
                        'maxYAxisTickLength'
                    ],
                    defaults: {
                        yAxisLabel: 'Country',
                        xAxisLabel: 'GDP Per Capita'
                    }
                },
                {
                    name: 'Stacked Vertical Bar Chart',
                    selector: 'bar-vertical-stacked',
                    inputFormat: 'multiSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'schemeType',
                        'showXAxis',
                        'showYAxis',
                        'gradient',
                        'barPadding',
                        'noBarWhenZero',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'showXAxisLabel',
                        'xAxisLabel',
                        'showYAxisLabel',
                        'yAxisLabel',
                        'showGridLines',
                        'roundDomains',
                        'tooltipDisabled',
                        'yScaleMax',
                        'showDataLabel',
                        'trimXAxisTicks',
                        'trimYAxisTicks',
                        'rotateXAxisTicks',
                        'maxXAxisTickLength',
                        'maxYAxisTickLength'
                    ]
                },
                {
                    name: 'Stacked Horizontal Bar Chart',
                    selector: 'bar-horizontal-stacked',
                    inputFormat: 'multiSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'schemeType',
                        'showXAxis',
                        'showYAxis',
                        'gradient',
                        'barPadding',
                        'noBarWhenZero',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'showXAxisLabel',
                        'xAxisLabel',
                        'showYAxisLabel',
                        'yAxisLabel',
                        'showGridLines',
                        'roundDomains',
                        'tooltipDisabled',
                        'xScaleMax',
                        'showDataLabel',
                        'trimXAxisTicks',
                        'trimYAxisTicks',
                        'rotateXAxisTicks',
                        'maxXAxisTickLength',
                        'maxYAxisTickLength'
                    ],
                    defaults: {
                        yAxisLabel: 'Country',
                        xAxisLabel: 'GDP Per Capita'
                    }
                },
                {
                    name: 'Normalized Vertical Bar Chart',
                    selector: 'bar-vertical-normalized',
                    inputFormat: 'multiSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'schemeType',
                        'showXAxis',
                        'showYAxis',
                        'gradient',
                        'barPadding',
                        'noBarWhenZero',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'showXAxisLabel',
                        'xAxisLabel',
                        'showYAxisLabel',
                        'yAxisLabel',
                        'showGridLines',
                        'roundDomains',
                        'tooltipDisabled',
                        'trimXAxisTicks',
                        'trimYAxisTicks',
                        'rotateXAxisTicks',
                        'maxXAxisTickLength',
                        'maxYAxisTickLength'
                    ],
                    defaults: {
                        yAxisLabel: 'Normalized GDP Per Capita',
                        xAxisLabel: 'Country'
                    }
                },
                {
                    name: 'Normalized Horizontal Bar Chart',
                    selector: 'bar-horizontal-normalized',
                    inputFormat: 'multiSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'schemeType',
                        'showXAxis',
                        'showYAxis',
                        'gradient',
                        'barPadding',
                        'noBarWhenZero',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'showXAxisLabel',
                        'xAxisLabel',
                        'showYAxisLabel',
                        'yAxisLabel',
                        'showGridLines',
                        'roundDomains',
                        'tooltipDisabled',
                        'trimXAxisTicks',
                        'trimYAxisTicks',
                        'rotateXAxisTicks',
                        'maxXAxisTickLength',
                        'maxYAxisTickLength'
                    ],
                    defaults: {
                        yAxisLabel: 'Country',
                        xAxisLabel: 'Normalized GDP Per Capita'
                    }
                }
            ]
        },
        {
            name: 'Pie Charts',
            charts: [
                {
                    name: 'Pie Chart',
                    selector: 'pie-chart',
                    inputFormat: 'singleSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'gradient',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'doughnut',
                        'arcWidth',
                        'explodeSlices',
                        'showLabels',
                        'tooltipDisabled'
                    ]
                },
                {
                    name: 'Advanced Pie Chart',
                    selector: 'advanced-pie-chart',
                    inputFormat: 'singleSeries',
                    options: ['animations', 'colorScheme', 'gradient', 'tooltipDisabled']
                },
                {
                    name: 'Pie Grid',
                    selector: 'pie-grid',
                    inputFormat: 'singleSeries',
                    options: ['animations', 'colorScheme', 'tooltipDisabled']
                }
            ]
        },
        {
            name: 'Line/Area Charts',
            charts: [
                {
                    name: 'Line Chart',
                    selector: 'line-chart',
                    inputFormat: 'multiSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'schemeType',
                        'showXAxis',
                        'showYAxis',
                        'gradient',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'showXAxisLabel',
                        'xAxisLabel',
                        'showYAxisLabel',
                        'yAxisLabel',
                        'autoScale',
                        'timeline',
                        'showGridLines',
                        'curve',
                        'rangeFillOpacity',
                        'roundDomains',
                        'tooltipDisabled',
                        'showRefLines',
                        'referenceLines',
                        'showRefLabels',
                        'xScaleMin',
                        'xScaleMax',
                        'yScaleMin',
                        'yScaleMax',
                        'trimXAxisTicks',
                        'trimYAxisTicks',
                        'rotateXAxisTicks',
                        'maxXAxisTickLength',
                        'maxYAxisTickLength'
                    ],
                    defaults: {
                        yAxisLabel: 'GDP Per Capita',
                        xAxisLabel: 'Census Date',
                        linearScale: true
                    }
                },
                {
                    name: 'Polar Chart',
                    selector: 'polar-chart',
                    inputFormat: 'multiSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'schemeType',
                        'showXAxis',
                        'showYAxis',
                        'gradient',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'showXAxisLabel',
                        'xAxisLabel',
                        'showYAxisLabel',
                        'yAxisLabel',
                        'autoScale',
                        'showGridLines',
                        'curveClosed',
                        'roundDomains',
                        'tooltipDisabled',
                        'trimYAxisTicks',
                        'maxYAxisTickLength'
                    ],
                    defaults: {
                        yAxisLabel: 'GDP Per Capita',
                        xAxisLabel: 'Census Date',
                        linearScale: true
                    }
                },
                {
                    name: 'Area Chart',
                    selector: 'area-chart',
                    inputFormat: 'multiSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'schemeType',
                        'showXAxis',
                        'showYAxis',
                        'gradient',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'showXAxisLabel',
                        'xAxisLabel',
                        'showYAxisLabel',
                        'yAxisLabel',
                        'autoScale',
                        'timeline',
                        'showGridLines',
                        'curve',
                        'roundDomains',
                        'tooltipDisabled',
                        'xScaleMin',
                        'xScaleMax',
                        'yScaleMin',
                        'yScaleMax',
                        'trimXAxisTicks',
                        'trimYAxisTicks',
                        'rotateXAxisTicks',
                        'maxXAxisTickLength',
                        'maxYAxisTickLength'
                    ],
                    defaults: {
                        yAxisLabel: 'GDP Per Capita',
                        xAxisLabel: 'Census Date',
                        linearScale: true
                    }
                },
                {
                    name: 'Stacked Area Chart',
                    selector: 'area-chart-stacked',
                    inputFormat: 'multiSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'schemeType',
                        'showXAxis',
                        'showYAxis',
                        'gradient',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'showXAxisLabel',
                        'xAxisLabel',
                        'showYAxisLabel',
                        'yAxisLabel',
                        'autoScale',
                        'timeline',
                        'showGridLines',
                        'curve',
                        'roundDomains',
                        'tooltipDisabled',
                        'xScaleMin',
                        'xScaleMax',
                        'yScaleMin',
                        'yScaleMax',
                        'trimXAxisTicks',
                        'trimYAxisTicks',
                        'rotateXAxisTicks',
                        'maxXAxisTickLength',
                        'maxYAxisTickLength'
                    ],
                    defaults: {
                        yAxisLabel: 'GDP Per Capita',
                        xAxisLabel: 'Census Date',
                        linearScale: true
                    }
                },
                {
                    name: 'Normalized Area Chart',
                    selector: 'area-chart-normalized',
                    inputFormat: 'multiSeries',
                    options: [
                        'animations',
                        'colorScheme',
                        'schemeType',
                        'showXAxis',
                        'showYAxis',
                        'gradient',
                        'showLegend',
                        'legendTitle',
                        'legendPosition',
                        'showXAxisLabel',
                        'xAxisLabel',
                        'showYAxisLabel',
                        'yAxisLabel',
                        'autoScale',
                        'timeline',
                        'showGridLines',
                        'curve',
                        'roundDomains',
                        'tooltipDisabled',
                        'trimXAxisTicks',
                        'trimYAxisTicks',
                        'rotateXAxisTicks',
                        'maxXAxisTickLength',
                        'maxYAxisTickLength'
                    ],
                    defaults: {
                        yAxisLabel: 'Normalized GDP Per Capita',
                        xAxisLabel: 'Census Date',
                        linearScale: true
                    }
                }
            ]
        },
    ];

    var colorSets = [
        // EUI CUSTOMS (UX maximum accessibility & variations in brightness)
        {
            name: 'cold',
            selectable: true,
            group: 'Ordinal',
            domain: ['#CEE6CA', '#91D0CE', '#56B9D2', '#3F97C2', '#3371AA', '#274B93', '#1B277C', '#131A55'],
            domain10: ['#DCECC9', '#AADACC', '#78C6D0', '#48B3D3', '#3E94C0', '#3474AC', '#2A5599', '#203686', '#18216B', '#11174B'],
        },
        {
            name: 'silver',
            selectable: true,
            group: 'Ordinal',
            domain: ['#eceff1', '#cfd8dc', '#b0bec5', '#90a4ae', '#78909c', '#607d8b', '#546e7a', '#455a64', '#37474f', '#263238'],
        },
        {
            name: 'sunset',
            selectable: true,
            group: 'Ordinal',
            domain: ['#F8C1A8', '#EF9198', '#E8608A', '#C0458A', '#8F3192', '#63218F', '#4B186C', '#33104A'],
            domain10: ['#F9CDAC', '#F2A49F', '#EC7C92', '#E65586', '#BC438B', '#933291', '#692398', '#551C7B', '#41155E', '#2D0F41'],
        },
        {
            name: 'warm',
            selectable: true,
            group: 'Ordinal',
            domain: ['#FDEC7C', '#F9D464', '#F2B154', '#EC8F43', '#E66C33', '#D35028', '#98432A', '#5B372E'],
            domain10: ['#FDED86', '#FCE36B', '#F7C65D', '#F1A84F', '#EC8C41', '#E76F34', '#E25328', '#B04829', '#7E3E2B', '#4C3430'],
        },
        // DEFAULTS FROM NGX
        {
            name: 'vivid',
            selectable: true,
            group: 'Ordinal',
            domain: [
                '#647c8a', '#3f51b5', '#2196f3', '#00b862', '#afdf0a', '#a7b61a', '#f3e562', '#ff9800', '#ff5722', '#ff4514'
            ]
        },
        {
            name: 'natural',
            selectable: true,
            group: 'Ordinal',
            domain: [
                '#bf9d76', '#e99450', '#d89f59', '#f2dfa7', '#a5d7c6', '#7794b1', '#afafaf', '#707160', '#ba9383', '#d9d5c3'
            ]
        },
        {
            name: 'cool',
            selectable: true,
            group: 'Ordinal',
            domain: [
                '#a8385d', '#7aa3e5', '#a27ea8', '#aae3f5', '#adcded', '#a95963', '#8796c0', '#7ed3ed', '#50abcc', '#ad6886'
            ]
        },
        {
            name: 'fire',
            selectable: true,
            group: 'Ordinal',
            domain: [
                '#ff3d00', '#bf360c', '#ff8f00', '#ff6f00', '#ff5722', '#e65100', '#ffca28', '#ffab00'
            ]
        },
        {
            name: 'solar',
            selectable: true,
            group: 'Continuous',
            domain: [
                '#fff8e1', '#ffecb3', '#ffe082', '#ffd54f', '#ffca28', '#ffc107', '#ffb300', '#ffa000', '#ff8f00', '#ff6f00'
            ]
        },
        {
            name: 'air',
            selectable: true,
            group: 'Continuous',
            domain: [
                '#e1f5fe', '#b3e5fc', '#81d4fa', '#4fc3f7', '#29b6f6', '#03a9f4', '#039be5', '#0288d1', '#0277bd', '#01579b'
            ]
        },
        {
            name: 'aqua',
            selectable: true,
            group: 'Continuous',
            domain: [
                '#e0f7fa', '#b2ebf2', '#80deea', '#4dd0e1', '#26c6da', '#00bcd4', '#00acc1', '#0097a7', '#00838f', '#006064'
            ]
        },
        {
            name: 'flame',
            selectable: false,
            group: 'Ordinal',
            domain: [
                '#A10A28', '#D3342D', '#EF6D49', '#FAAD67', '#FDDE90', '#DBED91', '#A9D770', '#6CBA67', '#2C9653', '#146738'
            ]
        },
        {
            name: 'ocean',
            selectable: false,
            group: 'Ordinal',
            domain: [
                '#1D68FB', '#33C0FC', '#4AFFFE', '#AFFFFF', '#FFFC63', '#FDBD2D', '#FC8A25', '#FA4F1E', '#FA141B', '#BA38D1'
            ]
        },
        {
            name: 'forest',
            selectable: false,
            group: 'Ordinal',
            domain: [
                '#55C22D', '#C1F33D', '#3CC099', '#AFFFFF', '#8CFC9D', '#76CFFA', '#BA60FB', '#EE6490', '#C42A1C', '#FC9F32'
            ]
        },
        {
            name: 'horizon',
            selectable: false,
            group: 'Ordinal',
            domain: [
                '#2597FB', '#65EBFD', '#99FDD0', '#FCEE4B', '#FEFCFA', '#FDD6E3', '#FCB1A8', '#EF6F7B', '#CB96E8', '#EFDEE0'
            ]
        },
        {
            name: 'neons',
            selectable: false,
            group: 'Ordinal',
            domain: [
                '#FF3333', '#FF33FF', '#CC33FF', '#0000FF', '#33CCFF', '#33FFFF', '#33FF66', '#CCFF33', '#FFCC00', '#FF6600'
            ]
        },
        {
            name: 'picnic',
            selectable: false,
            group: 'Ordinal',
            domain: [
                '#FAC51D', '#66BD6D', '#FAA026', '#29BB9C', '#E96B56', '#55ACD2', '#B7332F', '#2C83C9', '#9166B8', '#92E7E8'
            ]
        },
        {
            name: 'night',
            selectable: false,
            group: 'Ordinal',
            domain: [
                '#2B1B5A', '#501356', '#183356', '#28203F', '#391B3C', '#1E2B3C', '#120634',
                '#2D0432', '#051932', '#453080', '#75267D', '#2C507D', '#4B3880', '#752F7D', '#35547D'
            ]
        },
        {
            name: 'nightLights',
            selectable: false,
            group: 'Ordinal',
            domain: [
                '#4e31a5', '#9c25a7', '#3065ab', '#57468b', '#904497', '#46648b',
                '#32118d', '#a00fb3', '#1052a2', '#6e51bd', '#b63cc3', '#6c97cb', '#8671c1', '#b455be', '#7496c3'
            ]
        }
    ];

    function UxChartsComponent_ngx_charts_bar_horizontal_1_Template(rf, ctx) {
        if (rf & 1) {
            var _r13_1 = i0__namespace.ɵɵgetCurrentView();
            i0__namespace.ɵɵelementStart(0, "ngx-charts-bar-horizontal", 11);
            i0__namespace.ɵɵlistener("select", function UxChartsComponent_ngx_charts_bar_horizontal_1_Template_ngx_charts_bar_horizontal_select_0_listener($event) { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r12 = i0__namespace.ɵɵnextContext(); return ctx_r12.onSelectClicked($event); })("activate", function UxChartsComponent_ngx_charts_bar_horizontal_1_Template_ngx_charts_bar_horizontal_activate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r14 = i0__namespace.ɵɵnextContext(); return ctx_r14.onActivateClicked($event); })("deactivate", function UxChartsComponent_ngx_charts_bar_horizontal_1_Template_ngx_charts_bar_horizontal_deactivate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r15 = i0__namespace.ɵɵnextContext(); return ctx_r15.onDeactivateClicked($event); });
            i0__namespace.ɵɵelementEnd();
        }
        if (rf & 2) {
            var ctx_r0 = i0__namespace.ɵɵnextContext();
            i0__namespace.ɵɵclassMapInterpolate2("ux-charts-container ux-charts__", ctx_r0.chartType, " ", ctx_r0.styleClass, "");
            i0__namespace.ɵɵproperty("view", ctx_r0.view)("scheme", ctx_r0.colorScheme)("schemeType", ctx_r0.schemeType)("results", ctx_r0.data)("animations", ctx_r0.animations)("gradient", ctx_r0.gradient)("xAxis", ctx_r0.showXAxis)("yAxis", ctx_r0.showYAxis)("legend", ctx_r0.showLegend)("legendTitle", ctx_r0.legendTitle)("legendPosition", ctx_r0.legendPosition)("showXAxisLabel", ctx_r0.showXAxisLabel)("showYAxisLabel", ctx_r0.showYAxisLabel)("tooltipDisabled", ctx_r0.tooltipDisabled)("xAxisLabel", ctx_r0.xAxisLabel)("yAxisLabel", ctx_r0.yAxisLabel)("showGridLines", ctx_r0.showGridLines)("barPadding", ctx_r0.barPadding)("roundDomains", ctx_r0.roundDomains)("roundEdges", ctx_r0.roundEdges)("xScaleMax", ctx_r0.xScaleMax)("noBarWhenZero", ctx_r0.noBarWhenZero)("showDataLabel", ctx_r0.showDataLabel)("trimXAxisTicks", ctx_r0.trimXAxisTicks)("trimYAxisTicks", ctx_r0.trimYAxisTicks)("rotateXAxisTicks", ctx_r0.rotateXAxisTicks)("maxXAxisTickLength", ctx_r0.maxXAxisTickLength)("maxYAxisTickLength", ctx_r0.maxYAxisTickLength);
        }
    }
    function UxChartsComponent_ngx_charts_bar_vertical_2_Template(rf, ctx) {
        if (rf & 1) {
            var _r17_1 = i0__namespace.ɵɵgetCurrentView();
            i0__namespace.ɵɵelementStart(0, "ngx-charts-bar-vertical", 12);
            i0__namespace.ɵɵlistener("select", function UxChartsComponent_ngx_charts_bar_vertical_2_Template_ngx_charts_bar_vertical_select_0_listener($event) { i0__namespace.ɵɵrestoreView(_r17_1); var ctx_r16 = i0__namespace.ɵɵnextContext(); return ctx_r16.onSelectClicked($event); })("activate", function UxChartsComponent_ngx_charts_bar_vertical_2_Template_ngx_charts_bar_vertical_activate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r17_1); var ctx_r18 = i0__namespace.ɵɵnextContext(); return ctx_r18.onActivateClicked($event); })("deactivate", function UxChartsComponent_ngx_charts_bar_vertical_2_Template_ngx_charts_bar_vertical_deactivate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r17_1); var ctx_r19 = i0__namespace.ɵɵnextContext(); return ctx_r19.onDeactivateClicked($event); });
            i0__namespace.ɵɵelementEnd();
        }
        if (rf & 2) {
            var ctx_r1 = i0__namespace.ɵɵnextContext();
            i0__namespace.ɵɵclassMapInterpolate2("ux-charts-container ux-charts__", ctx_r1.chartType, " ", ctx_r1.styleClass, "");
            i0__namespace.ɵɵproperty("view", ctx_r1.view)("scheme", ctx_r1.colorScheme)("schemeType", ctx_r1.schemeType)("results", ctx_r1.data)("animations", ctx_r1.animations)("gradient", ctx_r1.gradient)("xAxis", ctx_r1.showXAxis)("yAxis", ctx_r1.showYAxis)("legend", ctx_r1.showLegend)("legendTitle", ctx_r1.legendTitle)("legendPosition", ctx_r1.legendPosition)("showXAxisLabel", ctx_r1.showXAxisLabel)("showYAxisLabel", ctx_r1.showYAxisLabel)("tooltipDisabled", ctx_r1.tooltipDisabled)("xAxisLabel", ctx_r1.xAxisLabel)("yAxisLabel", ctx_r1.yAxisLabel)("showGridLines", ctx_r1.showGridLines)("barPadding", ctx_r1.barPadding)("roundDomains", ctx_r1.roundDomains)("roundEdges", ctx_r1.roundEdges)("yScaleMax", ctx_r1.yScaleMax)("noBarWhenZero", ctx_r1.noBarWhenZero)("showDataLabel", ctx_r1.showDataLabel)("trimXAxisTicks", ctx_r1.trimXAxisTicks)("trimYAxisTicks", ctx_r1.trimYAxisTicks)("rotateXAxisTicks", ctx_r1.rotateXAxisTicks)("maxXAxisTickLength", ctx_r1.maxXAxisTickLength)("maxYAxisTickLength", ctx_r1.maxYAxisTickLength);
        }
    }
    function UxChartsComponent_ngx_charts_bar_vertical_2d_3_Template(rf, ctx) {
        if (rf & 1) {
            var _r21_1 = i0__namespace.ɵɵgetCurrentView();
            i0__namespace.ɵɵelementStart(0, "ngx-charts-bar-vertical-2d", 13);
            i0__namespace.ɵɵlistener("legendLabelClick", function UxChartsComponent_ngx_charts_bar_vertical_2d_3_Template_ngx_charts_bar_vertical_2d_legendLabelClick_0_listener($event) { i0__namespace.ɵɵrestoreView(_r21_1); var ctx_r20 = i0__namespace.ɵɵnextContext(); return ctx_r20.onLegendLabelClick($event); })("select", function UxChartsComponent_ngx_charts_bar_vertical_2d_3_Template_ngx_charts_bar_vertical_2d_select_0_listener($event) { i0__namespace.ɵɵrestoreView(_r21_1); var ctx_r22 = i0__namespace.ɵɵnextContext(); return ctx_r22.onSelectClicked($event); })("activate", function UxChartsComponent_ngx_charts_bar_vertical_2d_3_Template_ngx_charts_bar_vertical_2d_activate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r21_1); var ctx_r23 = i0__namespace.ɵɵnextContext(); return ctx_r23.onActivateClicked($event); })("deactivate", function UxChartsComponent_ngx_charts_bar_vertical_2d_3_Template_ngx_charts_bar_vertical_2d_deactivate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r21_1); var ctx_r24 = i0__namespace.ɵɵnextContext(); return ctx_r24.onDeactivateClicked($event); });
            i0__namespace.ɵɵelementEnd();
        }
        if (rf & 2) {
            var ctx_r2 = i0__namespace.ɵɵnextContext();
            i0__namespace.ɵɵclassMapInterpolate2("ux-charts-container ux-charts__", ctx_r2.chartType, " ", ctx_r2.styleClass, "");
            i0__namespace.ɵɵproperty("view", ctx_r2.view)("scheme", ctx_r2.colorScheme)("schemeType", ctx_r2.schemeType)("results", ctx_r2.data)("animations", ctx_r2.animations)("gradient", ctx_r2.gradient)("tooltipDisabled", ctx_r2.tooltipDisabled)("xAxis", ctx_r2.showXAxis)("yAxis", ctx_r2.showYAxis)("legend", ctx_r2.showLegend)("legendTitle", ctx_r2.legendTitle)("legendPosition", ctx_r2.legendPosition)("showXAxisLabel", ctx_r2.showXAxisLabel)("showYAxisLabel", ctx_r2.showYAxisLabel)("xAxisLabel", ctx_r2.xAxisLabel)("yAxisLabel", ctx_r2.yAxisLabel)("showGridLines", ctx_r2.showGridLines)("barPadding", ctx_r2.barPadding)("roundDomains", ctx_r2.roundDomains)("noBarWhenZero", ctx_r2.noBarWhenZero)("showDataLabel", ctx_r2.showDataLabel)("trimXAxisTicks", ctx_r2.trimXAxisTicks)("trimYAxisTicks", ctx_r2.trimYAxisTicks)("rotateXAxisTicks", ctx_r2.rotateXAxisTicks)("maxXAxisTickLength", ctx_r2.maxXAxisTickLength)("maxYAxisTickLength", ctx_r2.maxYAxisTickLength);
        }
    }
    function UxChartsComponent_ngx_charts_bar_horizontal_2d_4_Template(rf, ctx) {
        if (rf & 1) {
            var _r26_1 = i0__namespace.ɵɵgetCurrentView();
            i0__namespace.ɵɵelementStart(0, "ngx-charts-bar-horizontal-2d", 13);
            i0__namespace.ɵɵlistener("legendLabelClick", function UxChartsComponent_ngx_charts_bar_horizontal_2d_4_Template_ngx_charts_bar_horizontal_2d_legendLabelClick_0_listener($event) { i0__namespace.ɵɵrestoreView(_r26_1); var ctx_r25 = i0__namespace.ɵɵnextContext(); return ctx_r25.onLegendLabelClick($event); })("select", function UxChartsComponent_ngx_charts_bar_horizontal_2d_4_Template_ngx_charts_bar_horizontal_2d_select_0_listener($event) { i0__namespace.ɵɵrestoreView(_r26_1); var ctx_r27 = i0__namespace.ɵɵnextContext(); return ctx_r27.onSelectClicked($event); })("activate", function UxChartsComponent_ngx_charts_bar_horizontal_2d_4_Template_ngx_charts_bar_horizontal_2d_activate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r26_1); var ctx_r28 = i0__namespace.ɵɵnextContext(); return ctx_r28.onActivateClicked($event); })("deactivate", function UxChartsComponent_ngx_charts_bar_horizontal_2d_4_Template_ngx_charts_bar_horizontal_2d_deactivate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r26_1); var ctx_r29 = i0__namespace.ɵɵnextContext(); return ctx_r29.onDeactivateClicked($event); });
            i0__namespace.ɵɵelementEnd();
        }
        if (rf & 2) {
            var ctx_r3 = i0__namespace.ɵɵnextContext();
            i0__namespace.ɵɵclassMapInterpolate2("ux-charts-container ux-charts__", ctx_r3.chartType, " ", ctx_r3.styleClass, "");
            i0__namespace.ɵɵproperty("view", ctx_r3.view)("scheme", ctx_r3.colorScheme)("schemeType", ctx_r3.schemeType)("results", ctx_r3.data)("animations", ctx_r3.animations)("gradient", ctx_r3.gradient)("tooltipDisabled", ctx_r3.tooltipDisabled)("xAxis", ctx_r3.showXAxis)("yAxis", ctx_r3.showYAxis)("legend", ctx_r3.showLegend)("legendTitle", ctx_r3.legendTitle)("legendPosition", ctx_r3.legendPosition)("showXAxisLabel", ctx_r3.showXAxisLabel)("showYAxisLabel", ctx_r3.showYAxisLabel)("xAxisLabel", ctx_r3.xAxisLabel)("yAxisLabel", ctx_r3.yAxisLabel)("showGridLines", ctx_r3.showGridLines)("barPadding", ctx_r3.barPadding)("roundDomains", ctx_r3.roundDomains)("noBarWhenZero", ctx_r3.noBarWhenZero)("showDataLabel", ctx_r3.showDataLabel)("trimXAxisTicks", ctx_r3.trimXAxisTicks)("trimYAxisTicks", ctx_r3.trimYAxisTicks)("rotateXAxisTicks", ctx_r3.rotateXAxisTicks)("maxXAxisTickLength", ctx_r3.maxXAxisTickLength)("maxYAxisTickLength", ctx_r3.maxYAxisTickLength);
        }
    }
    function UxChartsComponent_ngx_charts_bar_vertical_stacked_5_Template(rf, ctx) {
        if (rf & 1) {
            var _r31_1 = i0__namespace.ɵɵgetCurrentView();
            i0__namespace.ɵɵelementStart(0, "ngx-charts-bar-vertical-stacked", 14);
            i0__namespace.ɵɵlistener("legendLabelClick", function UxChartsComponent_ngx_charts_bar_vertical_stacked_5_Template_ngx_charts_bar_vertical_stacked_legendLabelClick_0_listener($event) { i0__namespace.ɵɵrestoreView(_r31_1); var ctx_r30 = i0__namespace.ɵɵnextContext(); return ctx_r30.onLegendLabelClick($event); })("select", function UxChartsComponent_ngx_charts_bar_vertical_stacked_5_Template_ngx_charts_bar_vertical_stacked_select_0_listener($event) { i0__namespace.ɵɵrestoreView(_r31_1); var ctx_r32 = i0__namespace.ɵɵnextContext(); return ctx_r32.onSelectClicked($event); })("activate", function UxChartsComponent_ngx_charts_bar_vertical_stacked_5_Template_ngx_charts_bar_vertical_stacked_activate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r31_1); var ctx_r33 = i0__namespace.ɵɵnextContext(); return ctx_r33.onActivateClicked($event); })("deactivate", function UxChartsComponent_ngx_charts_bar_vertical_stacked_5_Template_ngx_charts_bar_vertical_stacked_deactivate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r31_1); var ctx_r34 = i0__namespace.ɵɵnextContext(); return ctx_r34.onDeactivateClicked($event); });
            i0__namespace.ɵɵelementEnd();
        }
        if (rf & 2) {
            var ctx_r4 = i0__namespace.ɵɵnextContext();
            i0__namespace.ɵɵclassMapInterpolate2("ux-charts-container ux-charts__", ctx_r4.chartType, " ", ctx_r4.styleClass, "");
            i0__namespace.ɵɵproperty("view", ctx_r4.view)("scheme", ctx_r4.colorScheme)("schemeType", ctx_r4.schemeType)("results", ctx_r4.data)("animations", ctx_r4.animations)("gradient", ctx_r4.gradient)("tooltipDisabled", ctx_r4.tooltipDisabled)("xAxis", ctx_r4.showXAxis)("yAxis", ctx_r4.showYAxis)("legend", ctx_r4.showLegend)("legendTitle", ctx_r4.legendTitle)("legendPosition", ctx_r4.legendPosition)("showXAxisLabel", ctx_r4.showXAxisLabel)("showYAxisLabel", ctx_r4.showYAxisLabel)("xAxisLabel", ctx_r4.xAxisLabel)("yAxisLabel", ctx_r4.yAxisLabel)("showGridLines", ctx_r4.showGridLines)("barPadding", ctx_r4.barPadding)("roundDomains", ctx_r4.roundDomains)("yScaleMax", ctx_r4.yScaleMax)("noBarWhenZero", ctx_r4.noBarWhenZero)("showDataLabel", ctx_r4.showDataLabel)("trimXAxisTicks", ctx_r4.trimXAxisTicks)("trimYAxisTicks", ctx_r4.trimYAxisTicks)("rotateXAxisTicks", ctx_r4.rotateXAxisTicks)("maxXAxisTickLength", ctx_r4.maxXAxisTickLength)("maxYAxisTickLength", ctx_r4.maxYAxisTickLength);
        }
    }
    function UxChartsComponent_ngx_charts_bar_horizontal_stacked_6_Template(rf, ctx) {
        if (rf & 1) {
            var _r36_1 = i0__namespace.ɵɵgetCurrentView();
            i0__namespace.ɵɵelementStart(0, "ngx-charts-bar-horizontal-stacked", 15);
            i0__namespace.ɵɵlistener("legendLabelClick", function UxChartsComponent_ngx_charts_bar_horizontal_stacked_6_Template_ngx_charts_bar_horizontal_stacked_legendLabelClick_0_listener($event) { i0__namespace.ɵɵrestoreView(_r36_1); var ctx_r35 = i0__namespace.ɵɵnextContext(); return ctx_r35.onLegendLabelClick($event); })("select", function UxChartsComponent_ngx_charts_bar_horizontal_stacked_6_Template_ngx_charts_bar_horizontal_stacked_select_0_listener($event) { i0__namespace.ɵɵrestoreView(_r36_1); var ctx_r37 = i0__namespace.ɵɵnextContext(); return ctx_r37.onSelectClicked($event); })("activate", function UxChartsComponent_ngx_charts_bar_horizontal_stacked_6_Template_ngx_charts_bar_horizontal_stacked_activate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r36_1); var ctx_r38 = i0__namespace.ɵɵnextContext(); return ctx_r38.onActivateClicked($event); })("deactivate", function UxChartsComponent_ngx_charts_bar_horizontal_stacked_6_Template_ngx_charts_bar_horizontal_stacked_deactivate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r36_1); var ctx_r39 = i0__namespace.ɵɵnextContext(); return ctx_r39.onDeactivateClicked($event); });
            i0__namespace.ɵɵelementEnd();
        }
        if (rf & 2) {
            var ctx_r5 = i0__namespace.ɵɵnextContext();
            i0__namespace.ɵɵclassMapInterpolate2("ux-charts-container ux-charts__", ctx_r5.chartType, " ", ctx_r5.styleClass, "");
            i0__namespace.ɵɵproperty("view", ctx_r5.view)("scheme", ctx_r5.colorScheme)("schemeType", ctx_r5.schemeType)("results", ctx_r5.data)("animations", ctx_r5.animations)("gradient", ctx_r5.gradient)("tooltipDisabled", ctx_r5.tooltipDisabled)("xAxis", ctx_r5.showXAxis)("yAxis", ctx_r5.showYAxis)("legend", ctx_r5.showLegend)("legendTitle", ctx_r5.legendTitle)("legendPosition", ctx_r5.legendPosition)("showXAxisLabel", ctx_r5.showXAxisLabel)("showYAxisLabel", ctx_r5.showYAxisLabel)("xAxisLabel", ctx_r5.xAxisLabel)("yAxisLabel", ctx_r5.yAxisLabel)("showGridLines", ctx_r5.showGridLines)("barPadding", ctx_r5.barPadding)("roundDomains", ctx_r5.roundDomains)("showDataLabel", ctx_r5.showDataLabel)("xScaleMax", ctx_r5.xScaleMax)("noBarWhenZero", ctx_r5.noBarWhenZero)("trimXAxisTicks", ctx_r5.trimXAxisTicks)("trimYAxisTicks", ctx_r5.trimYAxisTicks)("rotateXAxisTicks", ctx_r5.rotateXAxisTicks)("maxXAxisTickLength", ctx_r5.maxXAxisTickLength)("maxYAxisTickLength", ctx_r5.maxYAxisTickLength);
        }
    }
    function UxChartsComponent_ngx_charts_bar_vertical_normalized_7_Template(rf, ctx) {
        if (rf & 1) {
            var _r41_1 = i0__namespace.ɵɵgetCurrentView();
            i0__namespace.ɵɵelementStart(0, "ngx-charts-bar-vertical-normalized", 16);
            i0__namespace.ɵɵlistener("legendLabelClick", function UxChartsComponent_ngx_charts_bar_vertical_normalized_7_Template_ngx_charts_bar_vertical_normalized_legendLabelClick_0_listener($event) { i0__namespace.ɵɵrestoreView(_r41_1); var ctx_r40 = i0__namespace.ɵɵnextContext(); return ctx_r40.onLegendLabelClick($event); })("select", function UxChartsComponent_ngx_charts_bar_vertical_normalized_7_Template_ngx_charts_bar_vertical_normalized_select_0_listener($event) { i0__namespace.ɵɵrestoreView(_r41_1); var ctx_r42 = i0__namespace.ɵɵnextContext(); return ctx_r42.onSelectClicked($event); })("activate", function UxChartsComponent_ngx_charts_bar_vertical_normalized_7_Template_ngx_charts_bar_vertical_normalized_activate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r41_1); var ctx_r43 = i0__namespace.ɵɵnextContext(); return ctx_r43.onActivateClicked($event); })("deactivate", function UxChartsComponent_ngx_charts_bar_vertical_normalized_7_Template_ngx_charts_bar_vertical_normalized_deactivate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r41_1); var ctx_r44 = i0__namespace.ɵɵnextContext(); return ctx_r44.onDeactivateClicked($event); });
            i0__namespace.ɵɵelementEnd();
        }
        if (rf & 2) {
            var ctx_r6 = i0__namespace.ɵɵnextContext();
            i0__namespace.ɵɵclassMapInterpolate2("ux-charts-container ux-charts__", ctx_r6.chartType, " ", ctx_r6.styleClass, "");
            i0__namespace.ɵɵproperty("view", ctx_r6.view)("scheme", ctx_r6.colorScheme)("schemeType", ctx_r6.schemeType)("results", ctx_r6.data)("animations", ctx_r6.animations)("gradient", ctx_r6.gradient)("tooltipDisabled", ctx_r6.tooltipDisabled)("xAxis", ctx_r6.showXAxis)("yAxis", ctx_r6.showYAxis)("legend", ctx_r6.showLegend)("legendTitle", ctx_r6.legendTitle)("legendPosition", ctx_r6.legendPosition)("showXAxisLabel", ctx_r6.showXAxisLabel)("showYAxisLabel", ctx_r6.showYAxisLabel)("xAxisLabel", ctx_r6.xAxisLabel)("yAxisLabel", ctx_r6.yAxisLabel)("showGridLines", ctx_r6.showGridLines)("barPadding", ctx_r6.barPadding)("roundDomains", ctx_r6.roundDomains)("noBarWhenZero", ctx_r6.noBarWhenZero)("trimXAxisTicks", ctx_r6.trimXAxisTicks)("trimYAxisTicks", ctx_r6.trimYAxisTicks)("rotateXAxisTicks", ctx_r6.rotateXAxisTicks)("maxXAxisTickLength", ctx_r6.maxXAxisTickLength)("maxYAxisTickLength", ctx_r6.maxYAxisTickLength);
        }
    }
    function UxChartsComponent_ngx_charts_bar_horizontal_normalized_8_Template(rf, ctx) {
        if (rf & 1) {
            var _r46_1 = i0__namespace.ɵɵgetCurrentView();
            i0__namespace.ɵɵelementStart(0, "ngx-charts-bar-horizontal-normalized", 16);
            i0__namespace.ɵɵlistener("legendLabelClick", function UxChartsComponent_ngx_charts_bar_horizontal_normalized_8_Template_ngx_charts_bar_horizontal_normalized_legendLabelClick_0_listener($event) { i0__namespace.ɵɵrestoreView(_r46_1); var ctx_r45 = i0__namespace.ɵɵnextContext(); return ctx_r45.onLegendLabelClick($event); })("select", function UxChartsComponent_ngx_charts_bar_horizontal_normalized_8_Template_ngx_charts_bar_horizontal_normalized_select_0_listener($event) { i0__namespace.ɵɵrestoreView(_r46_1); var ctx_r47 = i0__namespace.ɵɵnextContext(); return ctx_r47.onSelectClicked($event); })("activate", function UxChartsComponent_ngx_charts_bar_horizontal_normalized_8_Template_ngx_charts_bar_horizontal_normalized_activate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r46_1); var ctx_r48 = i0__namespace.ɵɵnextContext(); return ctx_r48.onActivateClicked($event); })("deactivate", function UxChartsComponent_ngx_charts_bar_horizontal_normalized_8_Template_ngx_charts_bar_horizontal_normalized_deactivate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r46_1); var ctx_r49 = i0__namespace.ɵɵnextContext(); return ctx_r49.onDeactivateClicked($event); });
            i0__namespace.ɵɵelementEnd();
        }
        if (rf & 2) {
            var ctx_r7 = i0__namespace.ɵɵnextContext();
            i0__namespace.ɵɵclassMapInterpolate2("ux-charts-container ux-charts__", ctx_r7.chartType, " ", ctx_r7.styleClass, "");
            i0__namespace.ɵɵproperty("view", ctx_r7.view)("scheme", ctx_r7.colorScheme)("schemeType", ctx_r7.schemeType)("results", ctx_r7.data)("animations", ctx_r7.animations)("gradient", ctx_r7.gradient)("tooltipDisabled", ctx_r7.tooltipDisabled)("xAxis", ctx_r7.showXAxis)("yAxis", ctx_r7.showYAxis)("legend", ctx_r7.showLegend)("legendTitle", ctx_r7.legendTitle)("legendPosition", ctx_r7.legendPosition)("showXAxisLabel", ctx_r7.showXAxisLabel)("showYAxisLabel", ctx_r7.showYAxisLabel)("xAxisLabel", ctx_r7.xAxisLabel)("yAxisLabel", ctx_r7.yAxisLabel)("showGridLines", ctx_r7.showGridLines)("barPadding", ctx_r7.barPadding)("roundDomains", ctx_r7.roundDomains)("noBarWhenZero", ctx_r7.noBarWhenZero)("trimXAxisTicks", ctx_r7.trimXAxisTicks)("trimYAxisTicks", ctx_r7.trimYAxisTicks)("rotateXAxisTicks", ctx_r7.rotateXAxisTicks)("maxXAxisTickLength", ctx_r7.maxXAxisTickLength)("maxYAxisTickLength", ctx_r7.maxYAxisTickLength);
        }
    }
    function UxChartsComponent_ngx_charts_pie_chart_9_Template(rf, ctx) {
        if (rf & 1) {
            var _r51_1 = i0__namespace.ɵɵgetCurrentView();
            i0__namespace.ɵɵelementStart(0, "ngx-charts-pie-chart", 17);
            i0__namespace.ɵɵlistener("legendLabelClick", function UxChartsComponent_ngx_charts_pie_chart_9_Template_ngx_charts_pie_chart_legendLabelClick_0_listener($event) { i0__namespace.ɵɵrestoreView(_r51_1); var ctx_r50 = i0__namespace.ɵɵnextContext(); return ctx_r50.onLegendLabelClick($event); })("select", function UxChartsComponent_ngx_charts_pie_chart_9_Template_ngx_charts_pie_chart_select_0_listener($event) { i0__namespace.ɵɵrestoreView(_r51_1); var ctx_r52 = i0__namespace.ɵɵnextContext(); return ctx_r52.onSelectClicked($event); })("activate", function UxChartsComponent_ngx_charts_pie_chart_9_Template_ngx_charts_pie_chart_activate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r51_1); var ctx_r53 = i0__namespace.ɵɵnextContext(); return ctx_r53.onActivateClicked($event); })("deactivate", function UxChartsComponent_ngx_charts_pie_chart_9_Template_ngx_charts_pie_chart_deactivate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r51_1); var ctx_r54 = i0__namespace.ɵɵnextContext(); return ctx_r54.onDeactivateClicked($event); });
            i0__namespace.ɵɵelementEnd();
        }
        if (rf & 2) {
            var ctx_r8 = i0__namespace.ɵɵnextContext();
            i0__namespace.ɵɵclassMapInterpolate2("ux-charts-container ux-charts__", ctx_r8.chartType, " ", ctx_r8.styleClass, "");
            i0__namespace.ɵɵproperty("view", ctx_r8.view)("scheme", ctx_r8.colorScheme)("results", ctx_r8.data)("animations", ctx_r8.animations)("legend", ctx_r8.showLegend)("legendTitle", ctx_r8.legendTitle)("legendPosition", ctx_r8.legendPosition)("explodeSlices", ctx_r8.explodeSlices)("labels", ctx_r8.showLabels)("doughnut", ctx_r8.doughnut)("arcWidth", ctx_r8.arcWidth)("gradient", ctx_r8.gradient)("tooltipDisabled", ctx_r8.tooltipDisabled)("tooltipText", ctx_r8.tooltipText);
        }
    }
    function UxChartsComponent_ngx_charts_advanced_pie_chart_10_Template(rf, ctx) {
        if (rf & 1) {
            var _r56_1 = i0__namespace.ɵɵgetCurrentView();
            i0__namespace.ɵɵelementStart(0, "ngx-charts-advanced-pie-chart", 18);
            i0__namespace.ɵɵlistener("legendLabelClick", function UxChartsComponent_ngx_charts_advanced_pie_chart_10_Template_ngx_charts_advanced_pie_chart_legendLabelClick_0_listener($event) { i0__namespace.ɵɵrestoreView(_r56_1); var ctx_r55 = i0__namespace.ɵɵnextContext(); return ctx_r55.onLegendLabelClick($event); })("select", function UxChartsComponent_ngx_charts_advanced_pie_chart_10_Template_ngx_charts_advanced_pie_chart_select_0_listener($event) { i0__namespace.ɵɵrestoreView(_r56_1); var ctx_r57 = i0__namespace.ɵɵnextContext(); return ctx_r57.onSelectClicked($event); })("activate", function UxChartsComponent_ngx_charts_advanced_pie_chart_10_Template_ngx_charts_advanced_pie_chart_activate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r56_1); var ctx_r58 = i0__namespace.ɵɵnextContext(); return ctx_r58.onActivateClicked($event); })("deactivate", function UxChartsComponent_ngx_charts_advanced_pie_chart_10_Template_ngx_charts_advanced_pie_chart_deactivate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r56_1); var ctx_r59 = i0__namespace.ɵɵnextContext(); return ctx_r59.onDeactivateClicked($event); });
            i0__namespace.ɵɵelementEnd();
        }
        if (rf & 2) {
            var ctx_r9 = i0__namespace.ɵɵnextContext();
            i0__namespace.ɵɵclassMapInterpolate2("ux-charts-container ux-charts__", ctx_r9.chartType, " ", ctx_r9.styleClass, "");
            i0__namespace.ɵɵproperty("view", ctx_r9.view)("scheme", ctx_r9.colorScheme)("results", ctx_r9.data)("label", ctx_r9.label)("valueFormatting", ctx_r9.valueFormatting)("nameFormatting", ctx_r9.nameFormatting)("percentageFormatting", ctx_r9.percentageFormatting)("animations", ctx_r9.animations)("gradient", ctx_r9.gradient)("tooltipDisabled", ctx_r9.tooltipDisabled)("tooltipText", ctx_r9.tooltipText);
        }
    }
    function UxChartsComponent_ngx_charts_pie_grid_11_Template(rf, ctx) {
        if (rf & 1) {
            var _r61_1 = i0__namespace.ɵɵgetCurrentView();
            i0__namespace.ɵɵelementStart(0, "ngx-charts-pie-grid", 19);
            i0__namespace.ɵɵlistener("legendLabelClick", function UxChartsComponent_ngx_charts_pie_grid_11_Template_ngx_charts_pie_grid_legendLabelClick_0_listener($event) { i0__namespace.ɵɵrestoreView(_r61_1); var ctx_r60 = i0__namespace.ɵɵnextContext(); return ctx_r60.onLegendLabelClick($event); })("select", function UxChartsComponent_ngx_charts_pie_grid_11_Template_ngx_charts_pie_grid_select_0_listener($event) { i0__namespace.ɵɵrestoreView(_r61_1); var ctx_r62 = i0__namespace.ɵɵnextContext(); return ctx_r62.onSelectClicked($event); })("activate", function UxChartsComponent_ngx_charts_pie_grid_11_Template_ngx_charts_pie_grid_activate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r61_1); var ctx_r63 = i0__namespace.ɵɵnextContext(); return ctx_r63.onActivateClicked($event); })("deactivate", function UxChartsComponent_ngx_charts_pie_grid_11_Template_ngx_charts_pie_grid_deactivate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r61_1); var ctx_r64 = i0__namespace.ɵɵnextContext(); return ctx_r64.onDeactivateClicked($event); });
            i0__namespace.ɵɵelementEnd();
        }
        if (rf & 2) {
            var ctx_r10 = i0__namespace.ɵɵnextContext();
            i0__namespace.ɵɵclassMapInterpolate2("ux-charts-container ux-charts__", ctx_r10.chartType, " ", ctx_r10.styleClass, "");
            i0__namespace.ɵɵproperty("view", ctx_r10.view)("scheme", ctx_r10.colorScheme)("results", ctx_r10.data)("animations", ctx_r10.animations)("label", ctx_r10.label)("minWidth", ctx_r10.minWidth)("designatedTotal", ctx_r10.designatedTotal)("tooltipDisabled", ctx_r10.tooltipDisabled)("tooltipText", ctx_r10.tooltipText);
        }
    }
    function UxChartsComponent_ngx_charts_line_chart_12_Template(rf, ctx) {
        if (rf & 1) {
            var _r66_1 = i0__namespace.ɵɵgetCurrentView();
            i0__namespace.ɵɵelementStart(0, "ngx-charts-line-chart", 20);
            i0__namespace.ɵɵlistener("select", function UxChartsComponent_ngx_charts_line_chart_12_Template_ngx_charts_line_chart_select_0_listener($event) { i0__namespace.ɵɵrestoreView(_r66_1); var ctx_r65 = i0__namespace.ɵɵnextContext(); return ctx_r65.onSelectClicked($event); })("activate", function UxChartsComponent_ngx_charts_line_chart_12_Template_ngx_charts_line_chart_activate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r66_1); var ctx_r67 = i0__namespace.ɵɵnextContext(); return ctx_r67.onActivateClicked($event); })("deactivate", function UxChartsComponent_ngx_charts_line_chart_12_Template_ngx_charts_line_chart_deactivate_0_listener($event) { i0__namespace.ɵɵrestoreView(_r66_1); var ctx_r68 = i0__namespace.ɵɵnextContext(); return ctx_r68.onDeactivateClicked($event); })("legendLabelClick", function UxChartsComponent_ngx_charts_line_chart_12_Template_ngx_charts_line_chart_legendLabelClick_0_listener($event) { i0__namespace.ɵɵrestoreView(_r66_1); var ctx_r69 = i0__namespace.ɵɵnextContext(); return ctx_r69.onLegendLabelClick($event); });
            i0__namespace.ɵɵelementEnd();
        }
        if (rf & 2) {
            var ctx_r11 = i0__namespace.ɵɵnextContext();
            i0__namespace.ɵɵclassMapInterpolate2("ux-charts-container ux-charts__", ctx_r11.chartType, " ", ctx_r11.styleClass, "");
            i0__namespace.ɵɵproperty("view", ctx_r11.view)("scheme", ctx_r11.colorScheme)("schemeType", ctx_r11.schemeType)("results", ctx_r11.data)("animations", ctx_r11.animations)("legend", ctx_r11.showLegend)("legendTitle", ctx_r11.legendTitle)("legendPosition", ctx_r11.legendPosition)("gradient", ctx_r11.gradient)("xAxis", ctx_r11.showXAxis)("yAxis", ctx_r11.showYAxis)("showXAxisLabel", ctx_r11.showXAxisLabel)("showYAxisLabel", ctx_r11.showYAxisLabel)("xAxisLabel", ctx_r11.xAxisLabel)("yAxisLabel", ctx_r11.yAxisLabel)("xScaleMin", ctx_r11.xScaleMin)("xScaleMax", ctx_r11.xScaleMax)("yScaleMin", ctx_r11.yScaleMin)("yScaleMax", ctx_r11.yScaleMax)("timeline", ctx_r11.timeline)("showGridLines", ctx_r11.showGridLines)("autoScale", ctx_r11.autoScale)("curve", ctx_r11.curve)("rangeFillOpacity", ctx_r11.rangeFillOpacity)("roundDomains", ctx_r11.roundDomains)("tooltipDisabled", ctx_r11.tooltipDisabled)("trimXAxisTicks", ctx_r11.trimXAxisTicks)("trimYAxisTicks", ctx_r11.trimYAxisTicks)("rotateXAxisTicks", ctx_r11.rotateXAxisTicks)("maxXAxisTickLength", ctx_r11.maxXAxisTickLength)("maxYAxisTickLength", ctx_r11.maxYAxisTickLength)("showRefLines", ctx_r11.showRefLines)("showRefLabels", ctx_r11.showRefLabels)("referenceLines", ctx_r11.referenceLines);
        }
    }
    var UxChartsComponent = /** @class */ (function () {
        function UxChartsComponent() {
            this.fitContainer = true; // *eUI extra input - if false sets the view to [width, height]
            this.width = 700; // *eUI extra input
            this.height = 300; // *eUI extra input
            // tslint:disable-next-line
            this.schemeTheme = 'cool'; // Scheme theme color name : air | aqua | cool (default) | fire | flame | forest | horizon | natural | neons | night | nightLights | ocean | picnic | solar | vivid
            this.schemeType = 'ordinal'; // ordinal (default) | linear
            // COMMON options
            this.showXAxis = true;
            this.showYAxis = true;
            this.gradient = false;
            this.showLegend = true;
            this.legendTitle = 'Legend';
            this.legendPosition = 'right'; // bottom | right
            this.showXAxisLabel = true;
            this.tooltipDisabled = false; // show or hide the tooltip
            this.showText = true;
            this.xAxisLabel = 'Label X';
            this.showYAxisLabel = true;
            this.yAxisLabel = 'Label Y';
            this.showGridLines = true;
            this.innerPadding = '10%';
            this.barPadding = 8;
            this.groupPadding = 16;
            this.roundDomains = true; // round domains for aligned gridlines
            this.maxRadius = 10;
            this.minRadius = 3;
            this.showSeriesOnHover = true;
            this.roundEdges = true;
            this.animations = true;
            this.showDataLabel = false;
            this.noBarWhenZero = true;
            this.trimXAxisTicks = true;
            this.trimYAxisTicks = true;
            this.rotateXAxisTicks = true;
            this.maxXAxisTickLength = 16;
            this.maxYAxisTickLength = 16;
            this.rangeFillOpacity = 0.15; // opacity of the shadow around the line indication the (optional) min and max values.
            // PIES OPTIONS
            this.showLabels = true; // show or hide the labels
            this.explodeSlices = false; // make the radius of each slice proportional to it's value
            this.doughnut = false; // should doughnut instead of pie slices
            this.arcWidth = 0.25; // arc width, expressed as a fraction of outer radius
            this.activeEntries = []; // elements to highlight
            this.trimLabels = false; // trim the labels beyond a certain maximum length
            this.maxLabelLength = 10; // maximum length of the labels when trimLabels is truelabel
            // GRID PIE
            this.label = 'Total'; // the text to show under the total value of Grid Pie
            this.minWidth = 150; // minimum width of each graph in grid
            // LINES OPTIONS
            // tslint:disable
            this.autoScale = false; // set the minimum value of the y axis to the minimum value in the data, instead of 0 (ignored if yScaleMin is defined)
            this.timeline = false; // display a timeline control under the chart. Only available if a the x scale is linear or time
            this.showRefLines = false; // show or hide the reference lines
            this.showRefLabels = true; // show or hide the reference line labels
            // tslint:enable
            // LINES INTERPOLATION
            // the interpolation function used to generate the curve. It accepts any d3.curve functions (ex: shape.curveBasis)
            // See: https://github.com/d3/d3-shape#curves
            this.curves = {
                'Basis': shape__namespace.curveBasis,
                'Basis Closed': shape__namespace.curveBasisClosed,
                'Bundle': shape__namespace.curveBundle.beta(1),
                'Cardinal': shape__namespace.curveCardinal,
                'Cardinal Closed': shape__namespace.curveCardinalClosed,
                'Catmull Rom': shape__namespace.curveCatmullRom,
                'Catmull Rom Closed': shape__namespace.curveCatmullRomClosed,
                'Linear': shape__namespace.curveLinear,
                'Linear Closed': shape__namespace.curveLinearClosed,
                'Monotone X': shape__namespace.curveMonotoneX,
                'Monotone Y': shape__namespace.curveMonotoneY,
                'Natural': shape__namespace.curveNatural,
                'Step': shape__namespace.curveStep,
                'Step After': shape__namespace.curveStepAfter,
                'Step Before': shape__namespace.curveStepBefore,
                'default': shape__namespace.curveLinear,
            };
            this.curveType = 'Linear';
            this.curve = this.curves[this.curveType];
            // EXTRAS FOR LATER IF REQUESTED
            // Default Pies
            // tooltipTemplate: TemplateRef         // a custom ng-template to be displayed inside the tooltip
            // Line/Area
            // seriesTooltipTemplate: TemplateRef   // a custom ng-template to be displayed inside the tooltip when hovering series
            // xAxisTickFormatting: function   the x axis tick formatting
            // yAxisTickFormatting: function   the y axis tick formatting
            this.select = new i0.EventEmitter();
            this.activate = new i0.EventEmitter();
            this.deactivate = new i0.EventEmitter();
            this.view = undefined; // undefined = fit container
            Object.assign(this, {
                chartGroups: chartGroups,
                colorSets: colorSets,
            });
        }
        UxChartsComponent.prototype.ngOnInit = function () {
            // Inits
            if (this.scheme && this.scheme.length > 0) {
                this.colorScheme = { domain: this.scheme };
            }
            else if (this.schemeTheme) {
                this.colorScheme = this._setColorScheme(this.schemeTheme);
            }
            else {
                // Default
                this._setColorScheme('cool');
            }
            this.view = this._setView();
        };
        UxChartsComponent.prototype.ngOnChanges = function (changes) {
            // console.log('ngOnChanges() - changes:', changes);
            if (changes.schemeTheme) {
                this.colorScheme = this._setColorScheme(changes.schemeTheme.currentValue);
            }
            if (changes.fitContainer) {
                this.fitContainer = changes.fitContainer.currentValue;
                this.view = this._setView();
            }
            if (changes.curve) {
                this.curve = this._getInterpolationType(changes.curve.currentValue);
            }
            if (changes.showRefLines) {
                this.showRefLines = changes.showRefLines.currentValue;
            }
            if (changes.showRefLabels) {
                this.showRefLabels = changes.showRefLabels.currentValue;
            }
        };
        // EVENT HANDLERS EMITTERS
        UxChartsComponent.prototype.onLegendLabelClick = function (data) {
            // console.log('Legend clicked', JSON.parse(JSON.stringify(data)));
            this.select.emit(data);
        };
        UxChartsComponent.prototype.onSelectClicked = function (data) {
            // console.log('Item clicked', JSON.parse(JSON.stringify(data)));
            this.select.emit(data);
        };
        UxChartsComponent.prototype.onActivateClicked = function (data) {
            // console.log('Activate', JSON.parse(JSON.stringify(data)));
            this.activate.emit(data);
        };
        UxChartsComponent.prototype.onDeactivateClicked = function (data) {
            // console.log('Deactivate', JSON.parse(JSON.stringify(data)));
            this.deactivate.emit(data);
        };
        UxChartsComponent.prototype._setColorScheme = function (name) {
            return { domain: this.colorSets.filter(function (x) { return x.name === name; })[0].domain };
        };
        UxChartsComponent.prototype._setView = function () {
            if (this.fitContainer) {
                this.view = undefined;
            }
            else if (this.width && this.height) {
                this.view = [this.width, this.height];
            }
            return this.view;
        };
        UxChartsComponent.prototype._getInterpolationType = function (curveType) {
            return this.curves[curveType] || this.curves['default'];
        };
        return UxChartsComponent;
    }());
    /** @nocollapse */ UxChartsComponent.ɵfac = function UxChartsComponent_Factory(t) { return new (t || UxChartsComponent)(); };
    /** @nocollapse */ UxChartsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: UxChartsComponent, selectors: [["ux-charts"]], inputs: { chartType: "chartType", data: "data", styleClass: "styleClass", fitContainer: "fitContainer", width: "width", height: "height", schemeTheme: "schemeTheme", schemeType: "schemeType", showXAxis: "showXAxis", showYAxis: "showYAxis", gradient: "gradient", showLegend: "showLegend", legendTitle: "legendTitle", legendPosition: "legendPosition", showXAxisLabel: "showXAxisLabel", tooltipDisabled: "tooltipDisabled", showText: "showText", xAxisLabel: "xAxisLabel", showYAxisLabel: "showYAxisLabel", yAxisLabel: "yAxisLabel", showGridLines: "showGridLines", innerPadding: "innerPadding", barPadding: "barPadding", groupPadding: "groupPadding", roundDomains: "roundDomains", maxRadius: "maxRadius", minRadius: "minRadius", showSeriesOnHover: "showSeriesOnHover", roundEdges: "roundEdges", animations: "animations", showDataLabel: "showDataLabel", noBarWhenZero: "noBarWhenZero", trimXAxisTicks: "trimXAxisTicks", trimYAxisTicks: "trimYAxisTicks", rotateXAxisTicks: "rotateXAxisTicks", maxXAxisTickLength: "maxXAxisTickLength", maxYAxisTickLength: "maxYAxisTickLength", rangeFillOpacity: "rangeFillOpacity", showLabels: "showLabels", explodeSlices: "explodeSlices", doughnut: "doughnut", arcWidth: "arcWidth", activeEntries: "activeEntries", trimLabels: "trimLabels", maxLabelLength: "maxLabelLength", label: "label", minWidth: "minWidth", designatedTotal: "designatedTotal", valueFormatting: "valueFormatting", nameFormatting: "nameFormatting", percentageFormatting: "percentageFormatting", tooltipText: "tooltipText", autoScale: "autoScale", timeline: "timeline", xScaleMin: "xScaleMin", xScaleMax: "xScaleMax", yScaleMin: "yScaleMin", yScaleMax: "yScaleMax", referenceLines: "referenceLines", showRefLines: "showRefLines", showRefLabels: "showRefLabels", curve: "curve" }, outputs: { select: "select", activate: "activate", deactivate: "deactivate" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [[1, "ux-charts-wrapper"], [3, "class", "view", "scheme", "schemeType", "results", "animations", "gradient", "xAxis", "yAxis", "legend", "legendTitle", "legendPosition", "showXAxisLabel", "showYAxisLabel", "tooltipDisabled", "xAxisLabel", "yAxisLabel", "showGridLines", "barPadding", "roundDomains", "roundEdges", "xScaleMax", "noBarWhenZero", "showDataLabel", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "select", "activate", "deactivate", 4, "ngIf"], [3, "class", "view", "scheme", "schemeType", "results", "animations", "gradient", "xAxis", "yAxis", "legend", "legendTitle", "legendPosition", "showXAxisLabel", "showYAxisLabel", "tooltipDisabled", "xAxisLabel", "yAxisLabel", "showGridLines", "barPadding", "roundDomains", "roundEdges", "yScaleMax", "noBarWhenZero", "showDataLabel", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "select", "activate", "deactivate", 4, "ngIf"], [3, "class", "view", "scheme", "schemeType", "results", "animations", "gradient", "tooltipDisabled", "xAxis", "yAxis", "legend", "legendTitle", "legendPosition", "showXAxisLabel", "showYAxisLabel", "xAxisLabel", "yAxisLabel", "showGridLines", "barPadding", "roundDomains", "noBarWhenZero", "showDataLabel", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "legendLabelClick", "select", "activate", "deactivate", 4, "ngIf"], [3, "class", "view", "scheme", "schemeType", "results", "animations", "gradient", "tooltipDisabled", "xAxis", "yAxis", "legend", "legendTitle", "legendPosition", "showXAxisLabel", "showYAxisLabel", "xAxisLabel", "yAxisLabel", "showGridLines", "barPadding", "roundDomains", "yScaleMax", "noBarWhenZero", "showDataLabel", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "legendLabelClick", "select", "activate", "deactivate", 4, "ngIf"], [3, "class", "view", "scheme", "schemeType", "results", "animations", "gradient", "tooltipDisabled", "xAxis", "yAxis", "legend", "legendTitle", "legendPosition", "showXAxisLabel", "showYAxisLabel", "xAxisLabel", "yAxisLabel", "showGridLines", "barPadding", "roundDomains", "showDataLabel", "xScaleMax", "noBarWhenZero", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "legendLabelClick", "select", "activate", "deactivate", 4, "ngIf"], [3, "class", "view", "scheme", "schemeType", "results", "animations", "gradient", "tooltipDisabled", "xAxis", "yAxis", "legend", "legendTitle", "legendPosition", "showXAxisLabel", "showYAxisLabel", "xAxisLabel", "yAxisLabel", "showGridLines", "barPadding", "roundDomains", "noBarWhenZero", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "legendLabelClick", "select", "activate", "deactivate", 4, "ngIf"], [3, "class", "view", "scheme", "results", "animations", "legend", "legendTitle", "legendPosition", "explodeSlices", "labels", "doughnut", "arcWidth", "gradient", "tooltipDisabled", "tooltipText", "legendLabelClick", "select", "activate", "deactivate", 4, "ngIf"], [3, "class", "view", "scheme", "results", "label", "valueFormatting", "nameFormatting", "percentageFormatting", "animations", "gradient", "tooltipDisabled", "tooltipText", "legendLabelClick", "select", "activate", "deactivate", 4, "ngIf"], [3, "class", "view", "scheme", "results", "animations", "label", "minWidth", "designatedTotal", "tooltipDisabled", "tooltipText", "legendLabelClick", "select", "activate", "deactivate", 4, "ngIf"], [3, "class", "view", "scheme", "schemeType", "results", "animations", "legend", "legendTitle", "legendPosition", "gradient", "xAxis", "yAxis", "showXAxisLabel", "showYAxisLabel", "xAxisLabel", "yAxisLabel", "xScaleMin", "xScaleMax", "yScaleMin", "yScaleMax", "timeline", "showGridLines", "autoScale", "curve", "rangeFillOpacity", "roundDomains", "tooltipDisabled", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "showRefLines", "showRefLabels", "referenceLines", "select", "activate", "deactivate", "legendLabelClick", 4, "ngIf"], [3, "view", "scheme", "schemeType", "results", "animations", "gradient", "xAxis", "yAxis", "legend", "legendTitle", "legendPosition", "showXAxisLabel", "showYAxisLabel", "tooltipDisabled", "xAxisLabel", "yAxisLabel", "showGridLines", "barPadding", "roundDomains", "roundEdges", "xScaleMax", "noBarWhenZero", "showDataLabel", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "select", "activate", "deactivate"], [3, "view", "scheme", "schemeType", "results", "animations", "gradient", "xAxis", "yAxis", "legend", "legendTitle", "legendPosition", "showXAxisLabel", "showYAxisLabel", "tooltipDisabled", "xAxisLabel", "yAxisLabel", "showGridLines", "barPadding", "roundDomains", "roundEdges", "yScaleMax", "noBarWhenZero", "showDataLabel", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "select", "activate", "deactivate"], [3, "view", "scheme", "schemeType", "results", "animations", "gradient", "tooltipDisabled", "xAxis", "yAxis", "legend", "legendTitle", "legendPosition", "showXAxisLabel", "showYAxisLabel", "xAxisLabel", "yAxisLabel", "showGridLines", "barPadding", "roundDomains", "noBarWhenZero", "showDataLabel", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "legendLabelClick", "select", "activate", "deactivate"], [3, "view", "scheme", "schemeType", "results", "animations", "gradient", "tooltipDisabled", "xAxis", "yAxis", "legend", "legendTitle", "legendPosition", "showXAxisLabel", "showYAxisLabel", "xAxisLabel", "yAxisLabel", "showGridLines", "barPadding", "roundDomains", "yScaleMax", "noBarWhenZero", "showDataLabel", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "legendLabelClick", "select", "activate", "deactivate"], [3, "view", "scheme", "schemeType", "results", "animations", "gradient", "tooltipDisabled", "xAxis", "yAxis", "legend", "legendTitle", "legendPosition", "showXAxisLabel", "showYAxisLabel", "xAxisLabel", "yAxisLabel", "showGridLines", "barPadding", "roundDomains", "showDataLabel", "xScaleMax", "noBarWhenZero", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "legendLabelClick", "select", "activate", "deactivate"], [3, "view", "scheme", "schemeType", "results", "animations", "gradient", "tooltipDisabled", "xAxis", "yAxis", "legend", "legendTitle", "legendPosition", "showXAxisLabel", "showYAxisLabel", "xAxisLabel", "yAxisLabel", "showGridLines", "barPadding", "roundDomains", "noBarWhenZero", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "legendLabelClick", "select", "activate", "deactivate"], [3, "view", "scheme", "results", "animations", "legend", "legendTitle", "legendPosition", "explodeSlices", "labels", "doughnut", "arcWidth", "gradient", "tooltipDisabled", "tooltipText", "legendLabelClick", "select", "activate", "deactivate"], [3, "view", "scheme", "results", "label", "valueFormatting", "nameFormatting", "percentageFormatting", "animations", "gradient", "tooltipDisabled", "tooltipText", "legendLabelClick", "select", "activate", "deactivate"], [3, "view", "scheme", "results", "animations", "label", "minWidth", "designatedTotal", "tooltipDisabled", "tooltipText", "legendLabelClick", "select", "activate", "deactivate"], [3, "view", "scheme", "schemeType", "results", "animations", "legend", "legendTitle", "legendPosition", "gradient", "xAxis", "yAxis", "showXAxisLabel", "showYAxisLabel", "xAxisLabel", "yAxisLabel", "xScaleMin", "xScaleMax", "yScaleMin", "yScaleMax", "timeline", "showGridLines", "autoScale", "curve", "rangeFillOpacity", "roundDomains", "tooltipDisabled", "trimXAxisTicks", "trimYAxisTicks", "rotateXAxisTicks", "maxXAxisTickLength", "maxYAxisTickLength", "showRefLines", "showRefLabels", "referenceLines", "select", "activate", "deactivate", "legendLabelClick"]], template: function UxChartsComponent_Template(rf, ctx) {
            if (rf & 1) {
                i0__namespace.ɵɵelementStart(0, "div", 0);
                i0__namespace.ɵɵtemplate(1, UxChartsComponent_ngx_charts_bar_horizontal_1_Template, 1, 32, "ngx-charts-bar-horizontal", 1);
                i0__namespace.ɵɵtemplate(2, UxChartsComponent_ngx_charts_bar_vertical_2_Template, 1, 32, "ngx-charts-bar-vertical", 2);
                i0__namespace.ɵɵtemplate(3, UxChartsComponent_ngx_charts_bar_vertical_2d_3_Template, 1, 30, "ngx-charts-bar-vertical-2d", 3);
                i0__namespace.ɵɵtemplate(4, UxChartsComponent_ngx_charts_bar_horizontal_2d_4_Template, 1, 30, "ngx-charts-bar-horizontal-2d", 3);
                i0__namespace.ɵɵtemplate(5, UxChartsComponent_ngx_charts_bar_vertical_stacked_5_Template, 1, 31, "ngx-charts-bar-vertical-stacked", 4);
                i0__namespace.ɵɵtemplate(6, UxChartsComponent_ngx_charts_bar_horizontal_stacked_6_Template, 1, 31, "ngx-charts-bar-horizontal-stacked", 5);
                i0__namespace.ɵɵtemplate(7, UxChartsComponent_ngx_charts_bar_vertical_normalized_7_Template, 1, 29, "ngx-charts-bar-vertical-normalized", 6);
                i0__namespace.ɵɵtemplate(8, UxChartsComponent_ngx_charts_bar_horizontal_normalized_8_Template, 1, 29, "ngx-charts-bar-horizontal-normalized", 6);
                i0__namespace.ɵɵtemplate(9, UxChartsComponent_ngx_charts_pie_chart_9_Template, 1, 18, "ngx-charts-pie-chart", 7);
                i0__namespace.ɵɵtemplate(10, UxChartsComponent_ngx_charts_advanced_pie_chart_10_Template, 1, 15, "ngx-charts-advanced-pie-chart", 8);
                i0__namespace.ɵɵtemplate(11, UxChartsComponent_ngx_charts_pie_grid_11_Template, 1, 13, "ngx-charts-pie-grid", 9);
                i0__namespace.ɵɵtemplate(12, UxChartsComponent_ngx_charts_line_chart_12_Template, 1, 38, "ngx-charts-line-chart", 10);
                i0__namespace.ɵɵelementEnd();
            }
            if (rf & 2) {
                i0__namespace.ɵɵadvance(1);
                i0__namespace.ɵɵproperty("ngIf", ctx.chartType === "bar-horizontal");
                i0__namespace.ɵɵadvance(1);
                i0__namespace.ɵɵproperty("ngIf", ctx.chartType === "bar-vertical");
                i0__namespace.ɵɵadvance(1);
                i0__namespace.ɵɵproperty("ngIf", ctx.chartType === "bar-vertical-grouped");
                i0__namespace.ɵɵadvance(1);
                i0__namespace.ɵɵproperty("ngIf", ctx.chartType === "bar-horizontal-grouped");
                i0__namespace.ɵɵadvance(1);
                i0__namespace.ɵɵproperty("ngIf", ctx.chartType === "bar-vertical-stacked");
                i0__namespace.ɵɵadvance(1);
                i0__namespace.ɵɵproperty("ngIf", ctx.chartType === "bar-horizontal-stacked");
                i0__namespace.ɵɵadvance(1);
                i0__namespace.ɵɵproperty("ngIf", ctx.chartType === "bar-vertical-normalized");
                i0__namespace.ɵɵadvance(1);
                i0__namespace.ɵɵproperty("ngIf", ctx.chartType === "bar-horizontal-normalized");
                i0__namespace.ɵɵadvance(1);
                i0__namespace.ɵɵproperty("ngIf", ctx.chartType === "pie-chart");
                i0__namespace.ɵɵadvance(1);
                i0__namespace.ɵɵproperty("ngIf", ctx.chartType === "advanced-pie-chart");
                i0__namespace.ɵɵadvance(1);
                i0__namespace.ɵɵproperty("ngIf", ctx.chartType === "pie-grid");
                i0__namespace.ɵɵadvance(1);
                i0__namespace.ɵɵproperty("ngIf", ctx.chartType === "line-chart");
            }
        }, directives: [i1__namespace.NgIf, i2__namespace.BarHorizontalComponent, i2__namespace.BarVerticalComponent, i2__namespace.BarVertical2DComponent, i2__namespace.BarHorizontal2DComponent, i2__namespace.BarVerticalStackedComponent, i2__namespace.BarHorizontalStackedComponent, i2__namespace.BarVerticalNormalizedComponent, i2__namespace.BarHorizontalNormalizedComponent, i2__namespace.PieChartComponent, i2__namespace.AdvancedPieChartComponent, i2__namespace.PieGridComponent, i2__namespace.LineChartComponent], styles: ["[_nghost-%COMP%] {\n            display: block;\n            height: 100%;\n            position: relative;\n            width: 100%;\n        }"] });
    /*@__PURE__*/ (function () {
        i0__namespace.ɵsetClassMetadata(UxChartsComponent, [{
                type: i0.Component,
                args: [{
                        // tslint:disable-next-line
                        selector: 'ux-charts',
                        templateUrl: './ux-charts.component.html',
                        styles: ["\n        :host {\n            display: block;\n            height: 100%;\n            position: relative;\n            width: 100%;\n        }\n    "],
                    }]
            }], function () { return []; }, { chartType: [{
                    type: i0.Input
                }], data: [{
                    type: i0.Input
                }], styleClass: [{
                    type: i0.Input
                }], fitContainer: [{
                    type: i0.Input
                }], width: [{
                    type: i0.Input
                }], height: [{
                    type: i0.Input
                }], schemeTheme: [{
                    type: i0.Input
                }], schemeType: [{
                    type: i0.Input
                }], showXAxis: [{
                    type: i0.Input
                }], showYAxis: [{
                    type: i0.Input
                }], gradient: [{
                    type: i0.Input
                }], showLegend: [{
                    type: i0.Input
                }], legendTitle: [{
                    type: i0.Input
                }], legendPosition: [{
                    type: i0.Input
                }], showXAxisLabel: [{
                    type: i0.Input
                }], tooltipDisabled: [{
                    type: i0.Input
                }], showText: [{
                    type: i0.Input
                }], xAxisLabel: [{
                    type: i0.Input
                }], showYAxisLabel: [{
                    type: i0.Input
                }], yAxisLabel: [{
                    type: i0.Input
                }], showGridLines: [{
                    type: i0.Input
                }], innerPadding: [{
                    type: i0.Input
                }], barPadding: [{
                    type: i0.Input
                }], groupPadding: [{
                    type: i0.Input
                }], roundDomains: [{
                    type: i0.Input
                }], maxRadius: [{
                    type: i0.Input
                }], minRadius: [{
                    type: i0.Input
                }], showSeriesOnHover: [{
                    type: i0.Input
                }], roundEdges: [{
                    type: i0.Input
                }], animations: [{
                    type: i0.Input
                }], showDataLabel: [{
                    type: i0.Input
                }], noBarWhenZero: [{
                    type: i0.Input
                }], trimXAxisTicks: [{
                    type: i0.Input
                }], trimYAxisTicks: [{
                    type: i0.Input
                }], rotateXAxisTicks: [{
                    type: i0.Input
                }], maxXAxisTickLength: [{
                    type: i0.Input
                }], maxYAxisTickLength: [{
                    type: i0.Input
                }], rangeFillOpacity: [{
                    type: i0.Input
                }], showLabels: [{
                    type: i0.Input
                }], explodeSlices: [{
                    type: i0.Input
                }], doughnut: [{
                    type: i0.Input
                }], arcWidth: [{
                    type: i0.Input
                }], activeEntries: [{
                    type: i0.Input
                }], trimLabels: [{
                    type: i0.Input
                }], maxLabelLength: [{
                    type: i0.Input
                }], label: [{
                    type: i0.Input
                }], minWidth: [{
                    type: i0.Input
                }], designatedTotal: [{
                    type: i0.Input
                }], valueFormatting: [{
                    type: i0.Input
                }], nameFormatting: [{
                    type: i0.Input
                }], percentageFormatting: [{
                    type: i0.Input
                }], tooltipText: [{
                    type: i0.Input
                }], autoScale: [{
                    type: i0.Input
                }], timeline: [{
                    type: i0.Input
                }], xScaleMin: [{
                    type: i0.Input
                }], xScaleMax: [{
                    type: i0.Input
                }], yScaleMin: [{
                    type: i0.Input
                }], yScaleMax: [{
                    type: i0.Input
                }], referenceLines: [{
                    type: i0.Input
                }], showRefLines: [{
                    type: i0.Input
                }], showRefLabels: [{
                    type: i0.Input
                }], curve: [{
                    type: i0.Input
                }], select: [{
                    type: i0.Output
                }], activate: [{
                    type: i0.Output
                }], deactivate: [{
                    type: i0.Output
                }] });
    })();

    // import { UxChartsBarComponent } from './bar/ux-charts-bar.component';
    var UxChartsComponentModule = /** @class */ (function () {
        function UxChartsComponentModule() {
        }
        return UxChartsComponentModule;
    }());
    /** @nocollapse */ UxChartsComponentModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: UxChartsComponentModule });
    /** @nocollapse */ UxChartsComponentModule.ɵinj = i0__namespace.ɵɵdefineInjector({ factory: function UxChartsComponentModule_Factory(t) { return new (t || UxChartsComponentModule)(); }, imports: [[
                i1.CommonModule,
                i2.NgxChartsModule,
            ]] });
    (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(UxChartsComponentModule, { declarations: [UxChartsComponent], imports: [i1.CommonModule,
                i2.NgxChartsModule], exports: [UxChartsComponent] });
    })();
    /*@__PURE__*/ (function () {
        i0__namespace.ɵsetClassMetadata(UxChartsComponentModule, [{
                type: i0.NgModule,
                args: [{
                        imports: [
                            i1.CommonModule,
                            i2.NgxChartsModule,
                        ],
                        exports: [
                            UxChartsComponent,
                        ],
                        declarations: [
                            UxChartsComponent,
                        ],
                    }]
            }], null, null);
    })();

    /**
     * Generated bundle index. Do not edit.
     */

    exports.UxChartsComponent = UxChartsComponent;
    exports.UxChartsComponentModule = UxChartsComponentModule;

    Object.defineProperty(exports, '__esModule', { value: true });

}));
//# sourceMappingURL=eui-externals-ux-charts.umd.js.map
