UNPKG

smart-webcomponents-angular

Version:

[![Price](https://img.shields.io/badge/price-COMMERCIAL-0098f7.svg)](https://jqwidgets.com/license/)

1 lines 76.4 kB
{"version":3,"file":"smart-webcomponents-angular-threedchart.mjs","sources":["../../threedchart/src/smart.element.ts","../../threedchart/src/smart.threedchart.ts","../../threedchart/src/smart.threedchart.module.ts","../../threedchart/src/smart-webcomponents-angular-threedchart.ts"],"sourcesContent":["\ndeclare global {\n interface Window {\n Smart: any;\n}\n}\n\n\nimport { Directive, ElementRef, Input, Output, EventEmitter } from '@angular/core';\nimport { ElementRenderMode } from './../index';\n\n@Directive()\nexport class BaseElement {\n constructor(ref: ElementRef) {\n const that = this;\n this.nativeElement = ref.nativeElement as any;\n\n that.nativeElement.onAttached = () => {\n that.onAttach.emit(that.nativeElement);\n }\n\n that.nativeElement.onDetached = () => {\n that.onDetach.emit(that.nativeElement);\n }\n }\n\n @Output() onCreate: EventEmitter<any> = new EventEmitter();\n @Output() onReady: EventEmitter<any> = new EventEmitter();\n @Output() onAttach: EventEmitter<any> = new EventEmitter();\n @Output() onDetach: EventEmitter<any> = new EventEmitter();\n\n public nativeElement: any;\n\n public addEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions = false): void {\n this.nativeElement.addEventListener(type, listener, options);\n\t}\n\n\tpublic removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions = false): void {\n\t\tthis.nativeElement.removeEventListener(type, listener, options);\n\t}\n\n\tpublic dispatchEvent(event: Event): boolean {\n\t\treturn this.nativeElement.dispatchEvent(event);\n\t}\n\n\tpublic blur(): void {\n\t\tthis.nativeElement.blur();\n\t}\n\n\tpublic click(): void {\n\t\tthis.nativeElement.click();\n\t}\n\n\tpublic focus(options?: FocusOptions): void {\n\t\tthis.nativeElement.focus(options);\n\t}\n\n/** @description Sets or gets the license. */\n\t@Input()\n\tget license(): string {\n\t\treturn this.nativeElement ? this.nativeElement.license : undefined;\n\t}\n\tset license(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.license = value : undefined;\n\t}\n\t\n/** @description Sets or gets the language. Used in conjunction with the property messages. */\n\t@Input()\n\tget locale(): string {\n\t\treturn this.nativeElement ? this.nativeElement.locale : undefined;\n\t}\n\tset locale(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.locale = value : undefined;\n\t}\n\n\t/** @description Callback used to customize the format of the messages that are returned from the Localization Module. */\n\t@Input()\n\tget localizeFormatFunction(): any {\n\t\treturn this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;\n\t}\n\tset localizeFormatFunction(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;\n\t}\n\n\t/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */\n\t@Input()\n\tget messages(): any {\n\t\treturn this.nativeElement ? this.nativeElement.messages : undefined;\n\t}\n\tset messages(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.messages = value : undefined;\n\t}\n\n\t/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */\n\t@Input()\n\tget rightToLeft(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.rightToLeft : undefined;\n\t}\n\tset rightToLeft(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.rightToLeft = value : undefined;\n\t}\n\n\t/** @description Determines the theme. Theme defines the look of the element */\n\t@Input()\n\tget theme(): string {\n\t\treturn this.nativeElement ? this.nativeElement.theme : undefined;\n\t}\n\tset theme(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.theme = value : undefined;\n\t}\n}\n\nlet Smart: any;\nif (typeof window !== \"undefined\") {\n\tSmart = window.Smart;\n}\nexport { Smart };\n\n","import { ThreeDChart } from './../index';\nimport { Animation, ThreeDChartColorScheme, ThreeDChartLegendIndex, ThreeDChartSelectionMode, ThreeDChartSymbolType, ThreeDChartType, ThreeDChartRangeSelectorSerieType, ThreeDChartXAxisType, ThreeDChartCameraPosition, ThreeDChartSeriesGroup, ThreeDChartBand, ThreeDChartFormatSettings, ThreeDChartSeriesGroupSerie, ThreeDChartLabels, ThreeDChartOffset, ThreeDChartPadding, ThreeDChartValueAxis, ThreeDChartLines, ThreeDChartXAxis, ThreeDChartRangeSelector, ThreeDChartZAxis, ElementRenderMode} from './../index';\nimport { Component, Directive, AfterViewInit, ElementRef, Input, OnInit, OnChanges, OnDestroy, SimpleChanges, Output, EventEmitter } from '@angular/core';\nimport { BaseElement, Smart } from './smart.element';\nexport { Animation, ThreeDChartColorScheme, ThreeDChartLegendIndex, ThreeDChartSelectionMode, ThreeDChartSymbolType, ThreeDChartType, ThreeDChartRangeSelectorSerieType, ThreeDChartXAxisType, ThreeDChartCameraPosition, ThreeDChartSeriesGroup, ThreeDChartBand, ThreeDChartFormatSettings, ThreeDChartSeriesGroupSerie, ThreeDChartLabels, ThreeDChartOffset, ThreeDChartPadding, ThreeDChartValueAxis, ThreeDChartLines, ThreeDChartXAxis, ThreeDChartRangeSelector, ThreeDChartZAxis, ElementRenderMode} from './../index';\nexport { Smart } from './smart.element';\nexport { ThreeDChart } from './../index';\n\n\n@Directive({\n\texportAs: 'smart-3d-chart',\tselector: 'smart-3d-chart, [smart-3d-chart]'\n})\n\nexport class ThreeDChartComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges {\n\tconstructor(ref: ElementRef<ThreeDChart>) {\n\t\tsuper(ref);\n\t\tthis.nativeElement = ref.nativeElement as ThreeDChart;\n\t}\n\n\tprivate eventHandlers: any[] = [];\n\n\tpublic declare nativeElement: ThreeDChart;\n\t/** @description Creates the component on demand.\n\t * @param properties An optional object of properties, which will be added to the template binded ones.\n\t */\n\tpublic createComponent(properties = {}): any {\n \tthis.nativeElement = <ThreeDChart>document.createElement('smart-3d-chart');\n\t\tfor (let propertyName in properties) { \n \t\t\tthis.nativeElement[propertyName] = properties[propertyName];\n\t\t}\n\t\treturn this.nativeElement;\n\t}\n\t/** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none'. */\n\t@Input()\n\tget animation(): Animation | string {\n\t\treturn this.nativeElement ? this.nativeElement.animation : undefined;\n\t}\n\tset animation(value: Animation | string) {\n\t\tthis.nativeElement ? this.nativeElement.animation = value : undefined;\n\t}\n\n\t/** @description Determines the rate of the animation. The default animation rate is 1 */\n\t@Input()\n\tget animationSpeed(): number {\n\t\treturn this.nativeElement ? this.nativeElement.animationSpeed : undefined;\n\t}\n\tset animationSpeed(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.animationSpeed = value : undefined;\n\t}\n\n\t/** @description Sets whether the chart will rotate automatically. */\n\t@Input()\n\tget autoRotate(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.autoRotate : undefined;\n\t}\n\tset autoRotate(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.autoRotate = value : undefined;\n\t}\n\n\t/** @description Sets the speed of the automatic rotation. */\n\t@Input()\n\tget autoRotateSpeed(): number {\n\t\treturn this.nativeElement ? this.nativeElement.autoRotateSpeed : undefined;\n\t}\n\tset autoRotateSpeed(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.autoRotateSpeed = value : undefined;\n\t}\n\n\t/** @description Sets the chart's background color. For example: '#DDFFE8' */\n\t@Input()\n\tget backgroundColor(): string | null {\n\t\treturn this.nativeElement ? this.nativeElement.backgroundColor : undefined;\n\t}\n\tset backgroundColor(value: string | null) {\n\t\tthis.nativeElement ? this.nativeElement.backgroundColor = value : undefined;\n\t}\n\n\t/** @description Sets the chart's background to a static linear gradient. The property must be set to an Array of Strings in the format: 'offset, color' */\n\t@Input()\n\tget backgroundGradient(): any[] {\n\t\treturn this.nativeElement ? this.nativeElement.backgroundGradient : undefined;\n\t}\n\tset backgroundGradient(value: any[]) {\n\t\tthis.nativeElement ? this.nativeElement.backgroundGradient = value : undefined;\n\t}\n\n\t/** @description Sets the chart's background to a static image. For example: 'https://www.htmlelements.com/demos/images/stars.jpg' */\n\t@Input()\n\tget backgroundImage(): string {\n\t\treturn this.nativeElement ? this.nativeElement.backgroundImage : undefined;\n\t}\n\tset backgroundImage(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.backgroundImage = value : undefined;\n\t}\n\n\t/** @description Sets the chart's background to a dynamic background image which rotates with the camera. The property must be set an Array of 6 images. All images must have aspect ratio 1:1 */\n\t@Input()\n\tget backgroundTexture(): any[] {\n\t\treturn this.nativeElement ? this.nativeElement.backgroundTexture : undefined;\n\t}\n\tset backgroundTexture(value: any[]) {\n\t\tthis.nativeElement ? this.nativeElement.backgroundTexture = value : undefined;\n\t}\n\n\t/** @description Sets the camera's position. The property must be set to an {x, y, z} object. */\n\t@Input()\n\tget cameraPosition(): ThreeDChartCameraPosition {\n\t\treturn this.nativeElement ? this.nativeElement.cameraPosition : undefined;\n\t}\n\tset cameraPosition(value: ThreeDChartCameraPosition) {\n\t\tthis.nativeElement ? this.nativeElement.cameraPosition = value : undefined;\n\t}\n\n\t/** @description Sets the intial camera zoom. The default value is 1 */\n\t@Input()\n\tget cameraZoom(): number {\n\t\treturn this.nativeElement ? this.nativeElement.cameraZoom : undefined;\n\t}\n\tset cameraZoom(value: number) {\n\t\tthis.nativeElement ? this.nativeElement.cameraZoom = value : undefined;\n\t}\n\n\t/** @description Sets the caption (title) of the chart. */\n\t@Input()\n\tget caption(): string {\n\t\treturn this.nativeElement ? this.nativeElement.caption : undefined;\n\t}\n\tset caption(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.caption = value : undefined;\n\t}\n\n\t/** @description Sets the chart's color pallete. jqxChart suppports 32 color schemes from 'scheme01' to 'scheme32'. */\n\t@Input()\n\tget colorScheme(): ThreeDChartColorScheme | string {\n\t\treturn this.nativeElement ? this.nativeElement.colorScheme : undefined;\n\t}\n\tset colorScheme(value: ThreeDChartColorScheme | string) {\n\t\tthis.nativeElement ? this.nativeElement.colorScheme = value : undefined;\n\t}\n\n\t/** @description Sets the chart's controls settings. */\n\t@Input()\n\tget controlsSettings(): any {\n\t\treturn this.nativeElement ? this.nativeElement.controlsSettings : undefined;\n\t}\n\tset controlsSettings(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.controlsSettings = value : undefined;\n\t}\n\n\t/** @description Allows substituting default items with custom 3D Objects. The property must be set to an Array of Objects in the format: { groupIndex, serieIndex, itemIndex, modelUrl } */\n\t@Input()\n\tget customModels(): any[] {\n\t\treturn this.nativeElement ? this.nativeElement.customModels : undefined;\n\t}\n\tset customModels(value: any[]) {\n\t\tthis.nativeElement ? this.nativeElement.customModels = value : undefined;\n\t}\n\n\t/** @description Sets the chart's data source. */\n\t@Input()\n\tget dataSource(): any[] {\n\t\treturn this.nativeElement ? this.nativeElement.dataSource : undefined;\n\t}\n\tset dataSource(value: any[]) {\n\t\tthis.nativeElement ? this.nativeElement.dataSource = value : undefined;\n\t}\n\n\t/** @description Sets the description text of the chart. */\n\t@Input()\n\tget description(): string {\n\t\treturn this.nativeElement ? this.nativeElement.description : undefined;\n\t}\n\tset description(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.description = value : undefined;\n\t}\n\n\t/** @description Enables or disables the chart. */\n\t@Input()\n\tget disabled(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.disabled : undefined;\n\t}\n\tset disabled(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.disabled = value : undefined;\n\t}\n\n\t/** @description Sets whether the chart's toolbar is enabled. */\n\t@Input()\n\tget enableControlsToolbar(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.enableControlsToolbar : undefined;\n\t}\n\tset enableControlsToolbar(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.enableControlsToolbar = value : undefined;\n\t}\n\n\t/** @description */\n\t@Input()\n\tget controlsToolbarItems(): any {\n\t\treturn this.nativeElement ? this.nativeElement.controlsToolbarItems : undefined;\n\t}\n\tset controlsToolbarItems(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.controlsToolbarItems = value : undefined;\n\t}\n\n\t/** @description Sets the chart's grid options. */\n\t@Input()\n\tget gridOptions(): any {\n\t\treturn this.nativeElement ? this.nativeElement.gridOptions : undefined;\n\t}\n\tset gridOptions(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.gridOptions = value : undefined;\n\t}\n\n\t/** @description Sets whether the legend will be created based on the chart's series or serie groups. \"auto\" - the legend index will change depending on the Chart type */\n\t@Input()\n\tget legendIndex(): ThreeDChartLegendIndex | string {\n\t\treturn this.nativeElement ? this.nativeElement.legendIndex : undefined;\n\t}\n\tset legendIndex(value: ThreeDChartLegendIndex | string) {\n\t\tthis.nativeElement ? this.nativeElement.legendIndex = value : undefined;\n\t}\n\n\t/** @description Sets the legend's layout. */\n\t@Input()\n\tget legendLayout(): any {\n\t\treturn this.nativeElement ? this.nativeElement.legendLayout : undefined;\n\t}\n\tset legendLayout(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.legendLayout = value : undefined;\n\t}\n\n\t/** @description Sets the light color of the 3D Scene. */\n\t@Input()\n\tget lightColor(): string {\n\t\treturn this.nativeElement ? this.nativeElement.lightColor : undefined;\n\t}\n\tset lightColor(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.lightColor = value : undefined;\n\t}\n\n\t/** @description Sets or gets the unlockKey which unlocks the product. */\n\t@Input()\n\tget unlockKey(): string {\n\t\treturn this.nativeElement ? this.nativeElement.unlockKey : undefined;\n\t}\n\tset unlockKey(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.unlockKey = value : undefined;\n\t}\n\n\t/** @description Sets or gets the locale. Used in conjunction with the property messages. */\n\t@Input()\n\tget locale(): string {\n\t\treturn this.nativeElement ? this.nativeElement.locale : undefined;\n\t}\n\tset locale(value: string) {\n\t\tthis.nativeElement ? this.nativeElement.locale = value : undefined;\n\t}\n\n\t/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */\n\t@Input()\n\tget messages(): any {\n\t\treturn this.nativeElement ? this.nativeElement.messages : undefined;\n\t}\n\tset messages(value: any) {\n\t\tthis.nativeElement ? this.nativeElement.messages = value : undefined;\n\t}\n\n\t/** @description Sets or gets a value indicating whether the Chart's layout is mirrored. */\n\t@Input()\n\tget rightToLeft(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.rightToLeft : undefined;\n\t}\n\tset rightToLeft(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.rightToLeft = value : undefined;\n\t}\n\n\t/** @description Determines the selection mode. */\n\t@Input()\n\tget selectionMode(): ThreeDChartSelectionMode | string {\n\t\treturn this.nativeElement ? this.nativeElement.selectionMode : undefined;\n\t}\n\tset selectionMode(value: ThreeDChartSelectionMode | string) {\n\t\tthis.nativeElement ? this.nativeElement.selectionMode = value : undefined;\n\t}\n\n\t/** @description The seriesGroups property is used to describe all series displayed on the chart. jqxChart supports multiple series of different types and series grouping. Each series group may have its own Value Axis (Y-axis) which allows you to have values with different scales displayed on the same chart at the same time. It also allows you to display multiple series types together on the same chart. For example, you can display all series in one group as lines and the series in a second group as columns. seriesGroups is an array of objects where each object represents one group. */\n\t@Input()\n\tget seriesGroups(): ThreeDChartSeriesGroup[] {\n\t\treturn this.nativeElement ? this.nativeElement.seriesGroups : undefined;\n\t}\n\tset seriesGroups(value: ThreeDChartSeriesGroup[]) {\n\t\tthis.nativeElement ? this.nativeElement.seriesGroups = value : undefined;\n\t}\n\n\t/** @description Determines whether to show grid connecting lines when a chart item is hovered over. */\n\t@Input()\n\tget showConnectionLines(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.showConnectionLines : undefined;\n\t}\n\tset showConnectionLines(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.showConnectionLines = value : undefined;\n\t}\n\n\t/** @description Determines whether to show or hide the chart series legend. */\n\t@Input()\n\tget showLegend(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.showLegend : undefined;\n\t}\n\tset showLegend(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.showLegend = value : undefined;\n\t}\n\n\t/** @description Determines whether to show or hide the chart series legend table. */\n\t@Input()\n\tget showLegendTable(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.showLegendTable : undefined;\n\t}\n\tset showLegendTable(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.showLegendTable = value : undefined;\n\t}\n\n\t/** @description Enables or disables the chart tooltips. */\n\t@Input()\n\tget showToolTips(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.showToolTips : undefined;\n\t}\n\tset showToolTips(value: boolean) {\n\t\tthis.nativeElement ? this.nativeElement.showToolTips = value : undefined;\n\t}\n\n\t/** @description Sets the padding of the chart's title (caption). */\n\t@Input()\n\tget titlePadding(): ThreeDChartPadding {\n\t\treturn this.nativeElement ? this.nativeElement.titlePadding : undefined;\n\t}\n\tset titlePadding(value: ThreeDChartPadding) {\n\t\tthis.nativeElement ? this.nativeElement.titlePadding = value : undefined;\n\t}\n\n\t/** @description Tooltip data formatting settings for the values in the serie. */\n\t@Input()\n\tget toolTipFormatFunction(): {(value?: any, index?: number, series?: any): string} {\n\t\treturn this.nativeElement ? this.nativeElement.toolTipFormatFunction : undefined;\n\t}\n\tset toolTipFormatFunction(value: {(value?: any, index?: number, series?: any): string}) {\n\t\tthis.nativeElement ? this.nativeElement.toolTipFormatFunction = value : undefined;\n\t}\n\n\t/** @description Tooltip line color. By default it is set to the hovered item's color */\n\t@Input()\n\tget toolTipFormatSettings(): ThreeDChartFormatSettings {\n\t\treturn this.nativeElement ? this.nativeElement.toolTipFormatSettings : undefined;\n\t}\n\tset toolTipFormatSettings(value: ThreeDChartFormatSettings) {\n\t\tthis.nativeElement ? this.nativeElement.toolTipFormatSettings = value : undefined;\n\t}\n\n\t/** @description An object with settings about the Chart's y-axis (value axis). */\n\t@Input()\n\tget toolTipLineColor(): string | null {\n\t\treturn this.nativeElement ? this.nativeElement.toolTipLineColor : undefined;\n\t}\n\tset toolTipLineColor(value: string | null) {\n\t\tthis.nativeElement ? this.nativeElement.toolTipLineColor = value : undefined;\n\t}\n\n\t/** @description Sets the Chart's xAxis. */\n\t@Input()\n\tget valueAxis(): ThreeDChartValueAxis {\n\t\treturn this.nativeElement ? this.nativeElement.valueAxis : undefined;\n\t}\n\tset valueAxis(value: ThreeDChartValueAxis) {\n\t\tthis.nativeElement ? this.nativeElement.valueAxis = value : undefined;\n\t}\n\n\t/** @description Sets the Chart's zAxis. */\n\t@Input()\n\tget xAxis(): ThreeDChartXAxis {\n\t\treturn this.nativeElement ? this.nativeElement.xAxis : undefined;\n\t}\n\tset xAxis(value: ThreeDChartXAxis) {\n\t\tthis.nativeElement ? this.nativeElement.xAxis = value : undefined;\n\t}\n\n\t/** @description undefined */\n\t@Input()\n\tget zAxis(): ThreeDChartZAxis {\n\t\treturn this.nativeElement ? this.nativeElement.zAxis : undefined;\n\t}\n\tset zAxis(value: ThreeDChartZAxis) {\n\t\tthis.nativeElement ? this.nativeElement.zAxis = value : undefined;\n\t}\n\n\t/** @description The event is raised when the user clicks on a chart element.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\titemIndex, \tserieIndex, \tgroupIndex)\n\t* itemIndex - The item index of the item.\n\t* serieIndex - The serie index of the item.\n\t* groupIndex - The group index of the item.\n\t*/\n\t@Output() onItemClick: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description The event is raised when a chart element is shown.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\titemIndex, \tserieIndex, \tgroupIndex)\n\t* itemIndex - The item index of the item.\n\t* serieIndex - The serie index of the item.\n\t* groupIndex - The group index of the item.\n\t*/\n\t@Output() onShow: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description The event is raised when a chart element is hidden.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\titemIndex, \tserieIndex, \tgroupIndex)\n\t* itemIndex - The item index of the item.\n\t* serieIndex - The serie index of the item.\n\t* groupIndex - The group index of the item.\n\t*/\n\t@Output() onHide: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description The event is raised when a chart element is selected.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\titemIndex, \tserieIndex, \tgroupIndex)\n\t* itemIndex - The item index of the item.\n\t* serieIndex - The serie index of the item.\n\t* groupIndex - The group index of the item.\n\t*/\n\t@Output() onSelect: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description The event is raised when a chart element is unselected.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\titemIndex, \tserieIndex, \tgroupIndex)\n\t* itemIndex - The item index of the item.\n\t* serieIndex - The serie index of the item.\n\t* groupIndex - The group index of the item.\n\t*/\n\t@Output() onUnselect: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description The event is raised after the chart's range selector position changes and after the chart ends rendering.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tminValue, \tmaxValue)\n\t* minValue - The start value of the range selector.\n\t* maxValue - The end value of the range selector.\n\t*/\n\t@Output() onRangeSelectionChanged: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description The event is raised when the chart's range selector position changes and before the chart starts rendering. The event can be default prevented to cancel the range selection change.\n\t* @param event. The custom event. \tCustom event was created with: event.detail(\tminValue, \tmaxValue, \toldMinValue, \toldMaxValue)\n\t* minValue - The start value of the range selector.\n\t* maxValue - The end value of the range selector.\n\t* oldMinValue - The previous start value of the range selector.\n\t* oldMaxValue - The previous end value of the range selector.\n\t*/\n\t@Output() onRangeSelectionChanging: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description The event is raised when the chart begins rendering.\n\t* @param event. The custom event. \t*/\n\t@Output() onRefreshBegin: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description The event is raised when the chart finishes rendering.\n\t* @param event. The custom event. \t*/\n\t@Output() onRefreshEnd: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description The event is raised when the chart begins resizing.\n\t* @param event. The custom event. \t*/\n\t@Output() onResizeBegin: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description The event is raised when the chart finishes resizing.\n\t* @param event. The custom event. \t*/\n\t@Output() onResizeEnd: EventEmitter<CustomEvent> = new EventEmitter();\n\n\t/** @description Adds a new color sheme. If a scheme with the same name already exists, the method will update its colors. \n\t* @param {string} schemeName. The name of the custom color scheme.\n\t* @param {any[]} colorsArray. An array of color values.\n\t*/\n public addColorScheme(schemeName: string, colorsArray: any[]): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.addColorScheme(schemeName, colorsArray);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.addColorScheme(schemeName, colorsArray);\n });\n }\n }\n\n\t/** @description Begins an update of the chart. The chart will not be rendered until the endUpdate method is called. \n\t*/\n public beginUpdate(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.beginUpdate();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.beginUpdate();\n });\n }\n }\n\n\t/** @description Ends an update of the chart. The chart will be rendered after the endUpdate method is called. \n\t* @param {boolean} refresh?. If set to true, the chart will complete a full refresh.\n\t*/\n public endUpdate(refresh?: boolean): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.endUpdate(refresh);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.endUpdate(refresh);\n });\n }\n }\n\n\t/** @description Returns the colors of a color scheme by name. If the scheme doesn't exist the method returns undefined. \n\t* @param {string} schemeName. The name of the color scheme.\n\t* @returns {any[]}\n */\n\tpublic async getColorScheme(schemeName): Promise<any> {\n\t\tconst getResultOnRender = () => {\n return new Promise(resolve => {\n this.nativeElement.whenRendered(() => {\n const result = this.nativeElement.getColorScheme(schemeName);\n resolve(result)\n });\n });\n };\n const result = await getResultOnRender();\n\n return result;\n }\n\n\tpublic getColorSchemeSync(schemeName): any[] {\n if (this.nativeElement.isRendered) {\n \t return this.nativeElement.getColorScheme(schemeName);\n }\n return null;\n }\n\n\t/** @description Gets the item with the specified indexes. \n\t* @param {number | null} groupIndex?. Series group index.\n\t* @param {number | null} serieIndex?. Series index.\n\t* @param {number | null} itemIndex?. Item (data point) index.\n\t* @returns {any}\n */\n\tpublic async getItemByIndexes(groupIndex?, serieIndex?, itemIndex?): Promise<any> {\n\t\tconst getResultOnRender = () => {\n return new Promise(resolve => {\n this.nativeElement.whenRendered(() => {\n const result = this.nativeElement.getItemByIndexes(groupIndex, serieIndex, itemIndex);\n resolve(result)\n });\n });\n };\n const result = await getResultOnRender();\n\n return result;\n }\n\n\tpublic getItemByIndexesSync(groupIndex?, serieIndex?, itemIndex?): any {\n if (this.nativeElement.isRendered) {\n \t return this.nativeElement.getItemByIndexes(groupIndex, serieIndex, itemIndex);\n }\n return null;\n }\n\n\t/** @description Gets an arrat of the items with the specified indexes. Leaving an index null will return all items that match the other indexes. \n\t* @param {number | null} groupIndex?. Series group index.\n\t* @param {number | null} serieIndex?. Series index.\n\t* @param {number | null} itemIndex?. Item (data point) index.\n\t* @returns {any}\n */\n\tpublic async getItemsByIndexes(groupIndex?, serieIndex?, itemIndex?): Promise<any> {\n\t\tconst getResultOnRender = () => {\n return new Promise(resolve => {\n this.nativeElement.whenRendered(() => {\n const result = this.nativeElement.getItemsByIndexes(groupIndex, serieIndex, itemIndex);\n resolve(result)\n });\n });\n };\n const result = await getResultOnRender();\n\n return result;\n }\n\n\tpublic getItemsByIndexesSync(groupIndex?, serieIndex?, itemIndex?): any {\n if (this.nativeElement.isRendered) {\n \t return this.nativeElement.getItemsByIndexes(groupIndex, serieIndex, itemIndex);\n }\n return null;\n }\n\n\t/** @description Gets the indexes of the hidden series. \n\t* @returns {{ groupIndex: number, serieIndex: number, itemIndex: number }[]}\n */\n\tpublic async getHidden(): Promise<any> {\n\t\tconst getResultOnRender = () => {\n return new Promise(resolve => {\n this.nativeElement.whenRendered(() => {\n const result = this.nativeElement.getHidden();\n resolve(result)\n });\n });\n };\n const result = await getResultOnRender();\n\n return result;\n }\n\n\tpublic getHiddenSync(): { groupIndex: number, serieIndex: number, itemIndex: number }[] {\n if (this.nativeElement.isRendered) {\n \t return this.nativeElement.getHidden();\n }\n return null;\n }\n\n\t/** @description Gets the selected items. \n\t* @returns {any[]}\n */\n\tpublic async getSelection(): Promise<any> {\n\t\tconst getResultOnRender = () => {\n return new Promise(resolve => {\n this.nativeElement.whenRendered(() => {\n const result = this.nativeElement.getSelection();\n resolve(result)\n });\n });\n };\n const result = await getResultOnRender();\n\n return result;\n }\n\n\tpublic getSelectionSync(): any[] {\n if (this.nativeElement.isRendered) {\n \t return this.nativeElement.getSelection();\n }\n return null;\n }\n\n\t/** @description Gets the rendered values of the valueAxis labels. \n\t* @returns {any}\n */\n\tpublic async getValueAxisLabels(): Promise<any> {\n\t\tconst getResultOnRender = () => {\n return new Promise(resolve => {\n this.nativeElement.whenRendered(() => {\n const result = this.nativeElement.getValueAxisLabels();\n resolve(result)\n });\n });\n };\n const result = await getResultOnRender();\n\n return result;\n }\n\n\tpublic getValueAxisLabelsSync(): any {\n if (this.nativeElement.isRendered) {\n \t return this.nativeElement.getValueAxisLabels();\n }\n return null;\n }\n\n\t/** @description Gets the rendered values of the xAxis labels. \n\t* @returns {any}\n */\n\tpublic async getXAxisLabels(): Promise<any> {\n\t\tconst getResultOnRender = () => {\n return new Promise(resolve => {\n this.nativeElement.whenRendered(() => {\n const result = this.nativeElement.getXAxisLabels();\n resolve(result)\n });\n });\n };\n const result = await getResultOnRender();\n\n return result;\n }\n\n\tpublic getXAxisLabelsSync(): any {\n if (this.nativeElement.isRendered) {\n \t return this.nativeElement.getXAxisLabels();\n }\n return null;\n }\n\n\t/** @description Gets the rendered values of the zAxis labels. \n\t* @returns {any}\n */\n\tpublic async getZAxisLabels(): Promise<any> {\n\t\tconst getResultOnRender = () => {\n return new Promise(resolve => {\n this.nativeElement.whenRendered(() => {\n const result = this.nativeElement.getZAxisLabels();\n resolve(result)\n });\n });\n };\n const result = await getResultOnRender();\n\n return result;\n }\n\n\tpublic getZAxisLabelsSync(): any {\n if (this.nativeElement.isRendered) {\n \t return this.nativeElement.getZAxisLabels();\n }\n return null;\n }\n\n\t/** @description Hides all items of a chart group. \n\t* @param {number} groupIndex. Series group index.\n\t*/\n public hideGroup(groupIndex: number): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.hideGroup(groupIndex);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.hideGroup(groupIndex);\n });\n }\n }\n\n\t/** @description Hides a chart item. \n\t* @param {number} groupIndex. Series group index.\n\t* @param {number} serieIndex. Series index.\n\t* @param {number} itemIndex?. Item (data point) index.\n\t*/\n public hideItem(groupIndex: number, serieIndex: number, itemIndex?: number): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.hideItem(groupIndex, serieIndex, itemIndex);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.hideItem(groupIndex, serieIndex, itemIndex);\n });\n }\n }\n\n\t/** @description Hides all items of a chart serie. \n\t* @param {number} groupIndex. Series group index.\n\t* @param {number} serieIndex. Series index.\n\t*/\n public hideSerie(groupIndex: number, serieIndex: number): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.hideSerie(groupIndex, serieIndex);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.hideSerie(groupIndex, serieIndex);\n });\n }\n }\n\n\t/** @description Refreshes the content of the chart element after a property or data update. \n\t*/\n public refresh(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.refresh();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.refresh();\n });\n }\n }\n\n\t/** @description Removes an existing color scheme. If the scheme does not exist, the method has no effect. \n\t* @param {string} schemeName. The name of the custom color scheme.\n\t*/\n public removeColorScheme(schemeName: string): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.removeColorScheme(schemeName);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.removeColorScheme(schemeName);\n });\n }\n }\n\n\t/** @description Exports the chart's content as JPEG image. \n\t* @param {string} fileName?. File name.\n\t* @param {boolean} includeLegend?. Sets whether the legend will be part of the saved file.\n\t* @param {boolean} includeCaption?. Sets whether the caption will be part of the saved file.\n\t*/\n public saveAsJPEG(fileName?: string, includeLegend?: boolean, includeCaption?: boolean): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.saveAsJPEG(fileName, includeLegend, includeCaption);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.saveAsJPEG(fileName, includeLegend, includeCaption);\n });\n }\n }\n\n\t/** @description Exports the chart's content as PNG image. \n\t* @param {string} fileName?. File name.\n\t* @param {boolean} includeLegend?. Sets whether the legend will be part of the saved file.\n\t* @param {boolean} includeCaption?. Sets whether the caption will be part of the saved file.\n\t*/\n public saveAsPNG(fileName?: string, includeLegend?: boolean, includeCaption?: boolean): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.saveAsPNG(fileName, includeLegend, includeCaption);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.saveAsPNG(fileName, includeLegend, includeCaption);\n });\n }\n }\n\n\t/** @description Exports the chart's content as PDF file. \n\t* @param {string} fileName?. File name.\n\t* @param {boolean} includeLegend?. Sets whether the legend will be part of the saved file.\n\t* @param {boolean} includeCaption?. Sets whether the caption will be part of the saved file.\n\t*/\n public saveAsPDF(fileName?: string, includeLegend?: boolean, includeCaption?: boolean): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.saveAsPDF(fileName, includeLegend, includeCaption);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.saveAsPDF(fileName, includeLegend, includeCaption);\n });\n }\n }\n\n\t/** @description Selects a chart item. If selectionMode is 'one', the previous item will be unselected. \n\t* @param {number} groupIndex. Series group index.\n\t* @param {number} serieIndex. Series index.\n\t* @param {number} itemIndex?. Item (data point) index.\n\t*/\n public selectItem(groupIndex: number, serieIndex: number, itemIndex?: number): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.selectItem(groupIndex, serieIndex, itemIndex);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.selectItem(groupIndex, serieIndex, itemIndex);\n });\n }\n }\n\n\t/** @description Shows all items of a chart group. \n\t* @param {number} groupIndex. Series group index.\n\t*/\n public showGroup(groupIndex: number): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.showGroup(groupIndex);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.showGroup(groupIndex);\n });\n }\n }\n\n\t/** @description Shows a chart item. \n\t* @param {number} groupIndex. Series group index.\n\t* @param {number} serieIndex. Series index.\n\t* @param {number} itemIndex?. Item (data point) index.\n\t*/\n public showItem(groupIndex: number, serieIndex: number, itemIndex?: number): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.showItem(groupIndex, serieIndex, itemIndex);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.showItem(groupIndex, serieIndex, itemIndex);\n });\n }\n }\n\n\t/** @description Shows all items of a chart serie. \n\t* @param {number} groupIndex. Series group index.\n\t* @param {number} serieIndex. Series index.\n\t*/\n public showSerie(groupIndex: number, serieIndex: number): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.showSerie(groupIndex, serieIndex);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.showSerie(groupIndex, serieIndex);\n });\n }\n }\n\n\t/** @description Sets the camera position to its position during the initialization. \n\t*/\n public setDefaultPosition(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.setDefaultPosition();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.setDefaultPosition();\n });\n }\n }\n\n\t/** @description Sets the camera mode. Different camera modes change the control actions of the mouse. Available modes are 'zoom', 'pan' and 'default'. \n\t* @param {string} mode. Camera mode.\n\t*/\n public setCameraMode(mode: string): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.setCameraMode(mode);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.setCameraMode(mode);\n });\n }\n }\n\n\t/** @description Sets the camera position. \n\t* @param {number} x. X coordinate.\n\t* @param {number} y. Y coordinate.\n\t* @param {number} z. Z coordinate.\n\t* @param {boolean} animation?. Animation Enabled\n\t*/\n public setCameraPosition(x: number, y: number, z: number, animation?: boolean): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.setCameraPosition(x, y, z, animation);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.setCameraPosition(x, y, z, animation);\n });\n }\n }\n\n\t/** @description Sets the camera zoom. \n\t* @param {number} level. Zoom level.\n\t* @param {boolean} animation?. Animation Enabled\n\t*/\n public setCameraZoom(level: number, animation?: boolean): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.setCameraZoom(level, animation);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.setCameraZoom(level, animation);\n });\n }\n }\n\n\t/** @description Unelects a chart item. \n\t* @param {number} groupIndex. Series group index.\n\t* @param {number} serieIndex. Series index.\n\t* @param {number} itemIndex?. Item (data point) index.\n\t*/\n public unselectItem(groupIndex: number, serieIndex: number, itemIndex?: number): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.unselectItem(groupIndex, serieIndex, itemIndex);\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.unselectItem(groupIndex, serieIndex, itemIndex);\n });\n }\n }\n\n\t/** @description Updates the values of the chart series without full refresh of the entire chart. The method should be used for animation of frequently changing values. \n\t*/\n public update(): void {\n if (this.nativeElement.isRendered) {\n this.nativeElement.update();\n }\n else\n {\n this.nativeElement.whenRendered(() => {\n this.nativeElement.update();\n });\n }\n }\n\n\n\tget isRendered(): boolean {\n\t\treturn this.nativeElement ? this.nativeElement.isRendered : false;\n\t}\n\n\tngOnInit() {\n\t}\n\n ngAfterViewInit() {\n const that = this;\n\n that.onCreate.emit(that.nativeElement);\n\n\t\tif (Smart) Smart.Render();\n\n\t\tthis.nativeElement.classList.add('smart-angular');\n\n\t\tif (this.nativeElement.whenRendered) this.nativeElement.whenRendered(() => { that.onReady.emit(that.nativeElement); });\n\t\tthis.listen();\n\t}\n\n\tngOnDestroy() {\n\t\tthis.unlisten();\n\t}\n\n\tngOnChanges(changes: SimpleChanges) {\n\t\tif (this.nativeElement && this.nativeElement.isRendered) {\n\t\t\tfor (const propName in changes) {\n\t\t\t\tif (changes.hasOwnProperty(propName)) {\n\t\t\t\t\tthis.nativeElement[propName] = changes[propName].currentValue;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/** @description Add event listeners. */\n\tprivate listen(): void {\n const that = this;\n\t\tthat.eventHandlers['itemClickHandler'] = (event: CustomEvent) => { that.onItemClick.emit(event); }\n\t\tthat.nativeElement.addEventListener('itemClick', that.eventHandlers['itemClickHandler']);\n\n\t\tthat.eventHandlers['showHandler'] = (event: CustomEvent) => { that.onShow.emit(event); }\n\t\tthat.nativeElement.addEventListener('show', that.eventHandlers['showHandler']);\n\n\t\tthat.eventHandlers['hideHandler'] = (event: CustomEvent) => { that.onHide.emit(event); }\n\t\tthat.nativeElement.addEventListener('hide', that.eventHandlers['hideHandler']);\n\n\t\tthat.eventHandlers['selectHandler'] = (event: CustomEvent) => { that.onSelect.emit(event); }\n\t\tthat.nativeElement.addEventListener('select', that.eventHandlers['selectHandler']);\n\n\t\tthat.eventHandlers['unselectHandler'] = (event: CustomEvent) => { that.onUnselect.emit(event); }\n\t\tthat.nativeElement.addEventListener('unselect', that.eventHandlers['unselectHandler']);\n\n\t\tthat.eventHandlers['rangeSelectionChangedHandler'] = (event: CustomEvent) => { that.onRangeSelectionChanged.emit(event); }\n\t\tthat.nativeElement.addEventListener('rangeSelectionChanged', that.eventHandlers['rangeSelectionChangedHandler']);\n\n\t\tthat.eventHandlers['rangeSelectionChangingHandler'] = (event: CustomEvent) => { that.onRangeSelectionChanging.emit(event); }\n\t\tthat.nativeElement.addEventListener('rangeSelectionChanging', that.eventHandlers['rangeSelectionChangingHandler']);\n\n\t\tthat.eventHandlers['refreshBeginHandler'] = (event: CustomEvent) => { that.onRefreshBegin.emit(event); }\n\t\tthat.nativeElement.addEventListener('refreshBegin', that.eventHandlers['refreshBeginHandler']);\n\n\t\tthat.eventHandlers['refreshEndHandler'] = (event: CustomEvent) => { that.onRefreshEnd.emit(event); }\n\t\tthat.nativeElement.addEventListener('refreshEnd', that.eventHandlers['refreshEndHandler']);\n\n\t\tthat.eventHandlers['resizeBeginHandler'] = (event: CustomEvent) => { that.onResizeBegin.emit(event); }\n\t\tthat.nativeElement.addEventListener('resizeBegin', that.eventHandlers['resizeBeginHandler']);\n\n\t\tthat.eventHandlers['resizeEndHandler'] = (event: CustomEvent) => { that.onResizeEnd.emit(event); }\n\t\tthat.nativeElement.addEventListener('resizeEnd', that.eventHandlers['resizeEndHandler']);\n\n\t}\n\n\t/** @description Remove event listeners. */\n\tprivate unlisten(): void {\n const that = this;\n\t\tif (that.eventHandlers['itemClickHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('itemClick', that.eventHandlers['itemClickHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['showHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('show', that.eventHandlers['showHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['hideHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('hide', that.eventHandlers['hideHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['selectHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('select', that.eventHandlers['selectHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['unselectHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('unselect', that.eventHandlers['unselectHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['rangeSelectionChangedHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('rangeSelectionChanged', that.eventHandlers['rangeSelectionChangedHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['rangeSelectionChangingHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('rangeSelectionChanging', that.eventHandlers['rangeSelectionChangingHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['refreshBeginHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('refreshBegin', that.eventHandlers['refreshBeginHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['refreshEndHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('refreshEnd', that.eventHandlers['refreshEndHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['resizeBeginHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('resizeBegin', that.eventHandlers['resizeBeginHandler']);\n\t\t}\n\n\t\tif (that.eventHandlers['resizeEndHandler']) {\n\t\t\tthat.nativeElement.removeEventListener('resizeEnd', that.eventHandlers['resizeEndHandler']);\n\t\t}\n\n\t}\n}\n","import { NgModule } from '@angular/core';\n\nimport { ThreeDChartComponent } from './smart.threedchart';\nimport { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\n@NgModule({\n declarations: [ThreeDChartComponent],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n\texports: [ThreeDChartComponent]\n})\n\nexport class ThreeDChartModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAYa,WAAW;IACpB,YAAY,GAAe;QAajB,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QACjD,YAAO,GAAsB,IAAI,YAAY,EAAE,CAAC;QAChD,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QACjD,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QAfvD,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,aAAa,GAAG,GAAG,CAAC,aAAoB,CAAC;QAE9C,IAAI,CAAC,aAAa,CAAC,UAAU,GAAG;YAC5B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SAC1C,CAAA;QAED,IAAI,CAAC,aAAa,CAAC,UAAU,GAAG;YAC5B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SAC1C,CAAA;KACJ;IASM,gBAAgB,CAAC,IAAY,EAAE,QAA4C,EAAE,UAA6C,KAAK;QAClI,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;KACnE;IAEM,mBAAmB,CAAC,IAAY,EAAE,QAA4C,EAAE,UAA6C,KAAK;QACxI,IAAI,CAAC,aAAa,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;KAChE;IAEM,aAAa,CAAC,KAAY;QAChC,OAAO,