text: var TcHmi,__classPrivateFieldGet=this&&this.__classPrivateFieldGet||function(receiver,state,kind,f){if("a"===kind&&!f)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof state?receiver!==state||!f:!state.has(receiver))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===kind?f:"a"===kind?f.call(receiver):f?f.value:state.get(receiver)};!function(TcHmi){!function(Controls){!function(Beckhoff){var _a,_TcHmiLineChart_tchmiFQN;class TcHmiLineChart extends TcHmi.Controls.System.TcHmiControl{constructor(element,pcElement,attrs){super(element,pcElement,attrs),this.__lineChart=null,this.__tooltipInformation={show:!1,isActive:!1,lineGraph:null,point:{x:0,y:0}},this.__resizedEventDestroyEvent=null,this.__themeDataLoadedEventDestroyEvent=null,this.__holdTimer=0,this.__holdTimerDuration=300,this.__manipulationInfo={mousePosition:{x:0,y:0},offset:{left:0,top:0}},this.__onCheckboxMouseDown=event=>{if(!this.getIsEnabled()||1!==event.which)return;let childElement=event.target,checkboxElem=null;if(childElement.classList.contains("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-legend-checkbox"))checkboxElem=childElement;else if(childElement.classList.contains("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-legend-checkbox-label")){let checkboxList=childElement.getElementsByClassName("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-legend-checkbox");checkboxList&&checkboxList.length>0&&(checkboxElem=checkboxList[0])}else if(childElement.classList.contains("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-legend-checkbox-color-element")&&childElement&&childElement.parentElement){let checkboxList=childElement.parentElement.getElementsByClassName("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-legend-checkbox");checkboxList&&checkboxList.length>0&&(checkboxElem=checkboxList[0])}if(checkboxElem){let checked=!checkboxElem.checked,id=checkboxElem.id,elementIndex=parseInt(id.replace(this.__id+"Element",""),10);if(!TcHmi.Access.checkAccess(this,"operate"))return void(checkboxElem.checked=checked);this.__lineGraphDataSelected=[],this.__lineGraphDescriptionsSelected=[];let children=this.__elementLegend.children();for(let i=0,ii=children.length;i<ii;i++){let checkedCheckbox=children[i].childNodes[1].checked;i===elementIndex&&(checkedCheckbox=!checkedCheckbox),checkedCheckbox&&this.__lineGraphData&&this.__lineGraphDescriptions&&(this.__lineGraphDataSelected.push(this.__lineGraphData[i]),this.__lineGraphDescriptionsSelected.push(this.__lineGraphDescriptions[i]))}this.__drawLineChart()}},this.__onCheckboxTouchStart=event=>{if(!this.getIsEnabled())return;let childElement=event.target;if(childElement){let checkboxList=childElement.getElementsByClassName("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-legend-checkbox");if(checkboxList&&checkboxList.length>0){let checkoboxElement=checkboxList[0],id=checkoboxElement.id,checked=!checkoboxElement.checked,elementIndex=parseInt(id.replace(this.__id+"Element",""),10);if(!TcHmi.Access.checkAccess(this,"operate"))return void(checkoboxElement.checked=checked);this.__lineGraphDataSelected=[],this.__lineGraphDescriptionsSelected=[];let children=this.__elementLegend.children();for(let i=0,ii=children.length;i<ii;i++){let checkedCheckbox=children[i].childNodes[1].checked;i===elementIndex&&(checkedCheckbox=!checkedCheckbox),checkedCheckbox&&this.__lineGraphData&&this.__lineGraphDescriptions&&(this.__lineGraphDataSelected.push(this.__lineGraphData[i]),this.__lineGraphDescriptionsSelected.push(this.__lineGraphDescriptions[i]))}this.__drawLineChart()}}},this.__onResolverForSectionsBackgroundColorWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("sectionsBackgroundColor"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__sectionsBackgroundColor)||(this.__sectionsBackgroundColor=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"SectionsBackgroundColor"}),this.__processSectionsBackgroundColor()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=SectionsBackgroundColor] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__onResolverForXLabelFontColorWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("xLabelFontColor"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__xLabelFontColor)||(this.__xLabelFontColor=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XLabelFontColor"}),this.__processXLabelFontColor()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=XLabelFontColor] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__onResolverForXAxisColorWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("xAxisColor"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__xAxisColor)||(this.__xAxisColor=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XAxisColor"}),this.__processXAxisColor()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=XAxisColor] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__onResolverForXAxisNameFontColorWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("xAxisNameFontColor"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__xAxisNameFontColor)||(this.__xAxisNameFontColor=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XAxisNameFontColor"}),this.__processXAxisNameFontColor()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=XAxisNameFontColor] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__onResolverForXAxisFormatWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("xAxisFormat"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__xAxisFormat)||(this.__xAxisFormat=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XAxisFormat"}),this.__processXAxisFormat()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=XAxisFormat] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__onResolverForYAxisWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("yAxis"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__yAxis)||(this.__yAxis=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"YAxis"}),this.__processYAxis()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=YAxis] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__onResolverForLineGraphDescriptionsWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("lineGraphDescriptions"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__lineGraphDescriptions)||(this.__lineGraphDescriptions=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"LineGraphDescriptions"}),this.__processLineGraphDescriptions()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=LineGraphDescriptions] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__onResolverForLineGraphDataWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("lineGraphData"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__lineGraphData)||(this.__lineGraphData=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"LineGraphData"}),this.__processLineGraphData()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=LineGraphData] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__onResolverForGridBackgroundColorWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("gridBackgroundColor"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__gridBackgroundColor)||(this.__gridBackgroundColor=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"GridBackgroundColor"}),this.__processGridBackgroundColor()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=GridBackgroundColor] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__onResolverForGridLineColorWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("gridLineColor"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__gridLineColor)||(this.__gridLineColor=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"GridLineColor"}),this.__processGridLineColor()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=GridLineColor] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__onResolverForSubgridLineColorWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("subgridLineColor"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__subgridLineColor)||(this.__subgridLineColor=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"SubgridLineColor"}),this.__processSubgridLineColor()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=SubgridLineColor] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__onResolverForTooltipFormatWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("tooltipFormat"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__tooltipFormat)||(this.__tooltipFormat=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"TooltipFormat"}),this.__processTooltipFormat()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=TooltipFormat] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__onResolverForTooltipFontColorWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("tooltipFontColor"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__tooltipFontColor)||(this.__tooltipFontColor=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"TooltipFontColor"}),this.__processTooltipFontColor()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=TooltipFontColor] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__onResolverForTooltipBackgroundColorWatchCallback=data=>{!1===this.__isAttached&&this.__suspendObjectResolver("tooltipBackgroundColor"),data.error===TcHmi.Errors.NONE?tchmi_equal(data.value,this.__tooltipBackgroundColor)||(this.__tooltipBackgroundColor=data.value,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"TooltipBackgroundColor"}),this.__processTooltipBackgroundColor()):TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+this.getId()+", Attribute=TooltipBackgroundColor] Resolving symbols from object failed with error: "+TcHmi.Log.buildMessage(data.details))},this.__mousedownHandler=this.__onMouseDown(),this.__mousemoveHandler=this.__onMouseMoveTooltip(),this.__touchstartHandler=this.__onTouchStart(),this.__touchmoveHandler=this.__onTouchMove(),this.__touchendHandler=this.__onTouchEnd()}__previnit(){if(this.__elementTemplateRoot=this.__element.find(".TcHmi_Controls_Beckhoff_TcHmiLineChart-template"),0===this.__elementTemplateRoot.length&&(this.__elementTemplateRoot=this.__element.find(".tchmi-line-chart-template")),this.__elementChart=this.__elementTemplateRoot.find(".TcHmi_Controls_Beckhoff_TcHmiLineChart-template-chart"),0===this.__elementChart.length&&(this.__elementChart=this.__elementTemplateRoot.find(".tchmi-line-chart-template-chart")),this.__elementTooltip=this.__elementTemplateRoot.find(".TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip"),0===this.__elementTooltip.length&&(this.__elementTooltip=this.__elementTemplateRoot.find(".tchmi-line-chart-template-tooltip")),this.__elementTooltipText=this.__elementTemplateRoot.find(".TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-text"),0===this.__elementTooltipText.length&&(this.__elementTooltipText=this.__elementTemplateRoot.find(".tchmi-line-chart-template-tooltip-text")),this.__elementTooltipArrow=this.__elementTemplateRoot.find(".TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow"),0===this.__elementTooltipArrow.length&&(this.__elementTooltipArrow=this.__elementTemplateRoot.find(".tchmi-line-chart-template-tooltip-arrow")),this.__elementLegend=this.__elementTemplateRoot.find(".TcHmi_Controls_Beckhoff_TcHmiLineChart-template-legend"),0===this.__elementTemplateRoot.length||0===this.__elementChart.length||0===this.__elementTooltip.length||0===this.__elementTooltipText.length||0===this.__elementTooltipArrow.length||0===this.__elementLegend.length)throw new Error("Invalid Template.html");if("undefined"==typeof TcHmiCharting)throw new Error("Missing needed TcHmiCharting library");super.__previnit()}__init(){super.__init(),this.__elementLegend[0].addEventListener("mousedown",this.__onCheckboxMouseDown),this.__elementLegend[0].addEventListener("touchstart",this.__onCheckboxTouchStart),this.__keepAlive||(this.__lineGraphDescriptionsSelected=this.__lineGraphDescriptions,this.__lineGraphDataSelected=this.__lineGraphData),this.__createLegend(),this.__drawLineChart()}__attach(){super.__attach(),this.__resizedEventDestroyEvent=TcHmi.EventProvider.register(this.__id+".onResized",this.__rebuild()),this.__themeDataLoadedEventDestroyEvent=TcHmi.EventProvider.register("onThemeDataChanged",this.__rebuild());document.addEventListener("touchend",this.__touchendHandler,!!TCHMI_EVENT_OPTION_OBJECT_SUPPORTED&&{passive:!1,capture:!1})}__detach(){super.__detach(),null!==this.__resizedEventDestroyEvent&&(this.__resizedEventDestroyEvent(),this.__resizedEventDestroyEvent=null),null!==this.__themeDataLoadedEventDestroyEvent&&(this.__themeDataLoadedEventDestroyEvent(),this.__themeDataLoadedEventDestroyEvent=null);document.removeEventListener("touchend",this.__touchendHandler,!!TCHMI_EVENT_OPTION_OBJECT_SUPPORTED&&{passive:!1,capture:!1}),this.__holdTimer&&(window.clearTimeout(this.__holdTimer),this.__holdTimer=0)}destroy(){var _b;if(this.__keepAlive)return;super.destroy();const canvas=null===(_b=this.__lineChart)||void 0===_b?void 0:_b.getCanvasDrawing();if(canvas){const passiveEventOptions={passive:!0,capture:!1},activeEventOptions={passive:!1,capture:!1};canvas[0].removeEventListener("mousemove",this.__mousemoveHandler,!!TCHMI_EVENT_OPTION_OBJECT_SUPPORTED&&passiveEventOptions),canvas[0].removeEventListener("mousedown",this.__mousedownHandler,!!TCHMI_EVENT_OPTION_OBJECT_SUPPORTED&&passiveEventOptions),canvas[0].removeEventListener("touchstart",this.__touchstartHandler,!!TCHMI_EVENT_OPTION_OBJECT_SUPPORTED&&activeEventOptions),canvas[0].removeEventListener("touchmove",this.__touchmoveHandler,!!TCHMI_EVENT_OPTION_OBJECT_SUPPORTED&&activeEventOptions)}this.__elementLegend[0].removeEventListener("mousedown",this.__onCheckboxMouseDown),this.__elementLegend[0].removeEventListener("touchstart",this.__onCheckboxTouchStart)}__rebuild(){return(evt,ctrl)=>{this.__drawLineChart()}}__drawLineChart(){this.__invisibleTooltip();let innerWidth=this.__elementChart[0].clientWidth,innerHeight=this.__elementChart[0].clientHeight;if(null!==this.__lineChart)this.__lineChart.clear(innerWidth,innerHeight);else{this.__lineChart=new TcHmiCharting.LineChart(this.__elementChart,innerWidth,innerHeight);let canvas=this.__lineChart.getCanvasDrawing();if(null!==canvas){const passiveEventOptions={passive:!0,capture:!1},activeEventOptions={passive:!1,capture:!1};canvas[0].addEventListener("mousemove",this.__mousemoveHandler,!!TCHMI_EVENT_OPTION_OBJECT_SUPPORTED&&passiveEventOptions),canvas[0].addEventListener("mousedown",this.__mousedownHandler,!!TCHMI_EVENT_OPTION_OBJECT_SUPPORTED&&passiveEventOptions),canvas[0].addEventListener("touchstart",this.__touchstartHandler,!!TCHMI_EVENT_OPTION_OBJECT_SUPPORTED&&activeEventOptions),canvas[0].addEventListener("touchmove",this.__touchmoveHandler,!!TCHMI_EVENT_OPTION_OBJECT_SUPPORTED&&activeEventOptions)}}this.__lineChart.addXAxis();let xAxis=this.__lineChart.getXAxis();if(null!==xAxis&&(xAxis.setShowLabels(void 0===this.__xShowLabels?this.getAttributeDefaultValueInternal("XShowLabels"):this.__xShowLabels),xAxis.setXAxisCallback(this.__executeXAxisFormatFunction()),xAxis.setShowAxis(void 0===this.__showXAxis?this.getAttributeDefaultValueInternal("ShowXAxis"):this.__showXAxis),xAxis.setShowSubTicks(void 0===this.__showXSubTicks?this.getAttributeDefaultValueInternal("ShowXSubTicks"):this.__showXSubTicks),xAxis.setShowAxisName(void 0===this.__showXAxisName?this.getAttributeDefaultValueInternal("ShowXAxisName"):this.__showXAxisName),xAxis.setAutoScaling(void 0===this.__xAxisAutoScaling?this.getAttributeDefaultValueInternal("XAxisAutoScaling"):this.__xAxisAutoScaling),TcHmi.isSolidColor(this.__xAxisColor)?xAxis.setAxisColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__xAxisColor)):xAxis.setAxisColor(null),xAxis.setDecimalPlaces(void 0===this.__xAxisDecimalPlaces?this.getAttributeDefaultValueInternal("XAxisDecimalPlaces"):this.__xAxisDecimalPlaces),xAxis.setAxisName(void 0===this.__xAxisName?this.getAttributeDefaultValueInternal("XAxisName"):this.__xAxisName),TcHmi.isSolidColor(this.__xAxisNameFontColor)?xAxis.setAxisNameFontColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__xAxisNameFontColor)):xAxis.setAxisNameFontColor(null),xAxis.setAxisNameFontFamily(this.__xAxisNameFontFamily),xAxis.setAxisNameFontSize(void 0===this.__xAxisNameFontSize?this.getAttributeDefaultValueInternal("XAxisNameFontSize"):this.__xAxisNameFontSize),xAxis.setAxisNameFontWeight(void 0===this.__xAxisNameFontWeight?this.getAttributeDefaultValueInternal("XAxisNameFontWeight"):this.__xAxisNameFontWeight),xAxis.setUnit(void 0===this.__xAxisUnit?this.getAttributeDefaultValueInternal("XAxisUnit"):this.__xAxisUnit),xAxis.setAxisWidth(void 0===this.__xAxisWidth?this.getAttributeDefaultValueInternal("XAxisWidth"):this.__xAxisWidth),TcHmi.isSolidColor(this.__xLabelFontColor)?xAxis.setLabelFontColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__xLabelFontColor)):xAxis.setLabelFontColor(null),xAxis.setLabelFontFamily(this.__xLabelFontFamily),xAxis.setLabelFontSize(void 0===this.__xLabelFontSize?this.getAttributeDefaultValueInternal("XLabelFontSize"):this.__xLabelFontSize),xAxis.setLabelFontWeight(void 0===this.__xLabelFontWeight?this.getAttributeDefaultValueInternal("XLabelFontWeight"):this.__xLabelFontWeight),xAxis.setMainTickStartValue(void 0===this.__xMainTickMinValue?this.getAttributeDefaultValueInternal("XMainTickMinValue"):this.__xMainTickMinValue),xAxis.setMainTickSteps(void 0===this.__xMainTickSteps?this.getAttributeDefaultValueInternal("XMainTickSteps"):this.__xMainTickSteps),xAxis.setMainTickEndValue(void 0===this.__xMainTickMaxValue?this.getAttributeDefaultValueInternal("XMainTickMaxValue"):this.__xMainTickMaxValue),xAxis.setSubTickSteps(void 0===this.__xSubTickSteps?this.getAttributeDefaultValueInternal("XSubTickSteps"):this.__xSubTickSteps)),this.__yAxis)for(let i=0,ii=this.__yAxis.length;i<ii;i++){const tempAxis=this.__yAxis[i];this.__lineChart.addYAxis(TcHmi.ValueConverter.toEnum(tempAxis.position,TcHmiLineChart.Position,TcHmiLineChart.Position.Left));let yAxis=this.__lineChart.getYAxisAtPosition(i);if(yAxis.setShowAxis(TcHmi.ValueConverter.toBoolean(tempAxis.showAxis,!0)),yAxis.setAutoScaling(TcHmi.ValueConverter.toBoolean(tempAxis.autoScaling,!1)),TcHmi.isSolidColor(tempAxis.axisColor))yAxis.setAxisColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(tempAxis.axisColor));else{let themeLineColor=TcHmi.Theme.Resources.get(this,"YAxisAxisColor");TcHmi.isSolidColor(themeLineColor.value)?yAxis.setAxisColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(themeLineColor.value)):yAxis.setAxisColor(null)}if(yAxis.setAxisName(TcHmi.ValueConverter.toString(tempAxis.axisName)),TcHmi.isSolidColor(tempAxis.axisNameFontColor))yAxis.setAxisNameFontColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(tempAxis.axisNameFontColor));else{let themeAxisNameFontColor=TcHmi.Theme.Resources.get(this,"YAxisAxisNameFontColor");TcHmi.isSolidColor(themeAxisNameFontColor.value)?yAxis.setAxisNameFontColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(themeAxisNameFontColor.value)):yAxis.setAxisNameFontColor(null)}if(yAxis.setAxisNameFontFamily(TcHmi.ValueConverter.toFontFamily(tempAxis.axisNameFontFamily)),yAxis.setAxisNameFontSize(TcHmi.ValueConverter.toNumber(tempAxis.axisNameFontSize)),void 0!==tempAxis.axisNameFontWeight?yAxis.setAxisNameFontWeight(tempAxis.axisNameFontWeight):yAxis.setAxisNameFontWeight(null),yAxis.setDecimalPlaces(TcHmi.ValueConverter.toNumber(tempAxis.decimalPlaces)),TcHmi.isSolidColor(tempAxis.labelFontColor))yAxis.setLabelFontColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(tempAxis.labelFontColor));else{let themeLabelFontColor=TcHmi.Theme.Resources.get(this,"YAxisLabelFontColor");TcHmi.isSolidColor(themeLabelFontColor.value)?yAxis.setLabelFontColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(themeLabelFontColor.value)):yAxis.setLabelFontColor(null)}yAxis.setMainTickStartValue(TcHmi.ValueConverter.toNumber(tempAxis.mainTickMinValue)),yAxis.setMainTickEndValue(TcHmi.ValueConverter.toNumber(tempAxis.mainTickMaxValue)),yAxis.setShowLabels(TcHmi.ValueConverter.toBoolean(tempAxis.showLabels,!0)),yAxis.setShowAxisName(TcHmi.ValueConverter.toBoolean(tempAxis.showAxisName,!0)),yAxis.setUnit(TcHmi.ValueConverter.toString(tempAxis.unit)),yAxis.setAxisWidth(void 0===this.__yAxisWidth?this.getAttributeDefaultValueInternal("YAxisWidth"):this.__yAxisWidth),yAxis.setLabelFontFamily(this.__yLabelFontFamily),yAxis.setLabelFontSize(void 0===this.__yLabelFontSize?this.getAttributeDefaultValueInternal("YLabelFontSize"):this.__yLabelFontSize),yAxis.setLabelFontWeight(void 0===this.__yLabelFontWeight?this.getAttributeDefaultValueInternal("YLabelFontWeight"):this.__yLabelFontWeight),yAxis.setMainTickSteps(void 0===this.__yMainTickSteps?this.getAttributeDefaultValueInternal("YMainTickSteps"):this.__yMainTickSteps),yAxis.setSubTickSteps(void 0===this.__ySubTickSteps?this.getAttributeDefaultValueInternal("YSubTickSteps"):this.__ySubTickSteps),yAxis.setShowSubTicks(void 0===this.__showYSubTicks?this.getAttributeDefaultValueInternal("ShowYSubTicks"):this.__showYSubTicks)}if(this.__showGrid){this.__lineChart.addGrid();let grid=this.__lineChart.getGrid();null!==grid&&(grid.setShowHorizontalLines(void 0===this.__gridShowHorizontalLines?this.getAttributeDefaultValueInternal("GridShowHorizontalLines"):this.__gridShowHorizontalLines),grid.setShowVerticalLines(void 0===this.__gridShowVerticalLines?this.getAttributeDefaultValueInternal("GridShowVerticalLines"):this.__gridShowVerticalLines),grid.setLineWidth(void 0===this.__gridLineWidth?this.getAttributeDefaultValueInternal("GridLineWidth"):this.__gridLineWidth),grid.setLineStyle(void 0===this.__gridLineStyle?this.getAttributeDefaultValueInternal("GridLineStyle"):this.__gridLineStyle),TcHmi.isSolidColor(this.__gridLineColor)?grid.setLineColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__gridLineColor)):grid.setLineColor(null),TcHmi.isSolidColor(this.__gridBackgroundColor)?grid.setBackgroundColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__gridBackgroundColor)):grid.setBackgroundColor(null))}this.__lineChart.addSubgrid();let subgrid=this.__lineChart.getSubgrid();if(null!==subgrid&&(subgrid.setShowHorizontalLines(void 0===this.__subgridShowHorizontalLines?this.getAttributeDefaultValueInternal("SubgridShowHorizontalLines"):this.__subgridShowHorizontalLines),subgrid.setShowVerticalLines(void 0===this.__subgridShowVerticalLines?this.getAttributeDefaultValueInternal("SubgridShowVerticalLines"):this.__subgridShowVerticalLines),subgrid.setLineWidth(void 0===this.__subgridLineWidth?this.getAttributeDefaultValueInternal("SubgridLineWidth"):this.__subgridLineWidth),subgrid.setLineStyle(void 0===this.__subgridLineStyle?this.getAttributeDefaultValueInternal("SubgridLineStyle"):this.__subgridLineStyle),TcHmi.isSolidColor(this.__subgridLineColor)?subgrid.setLineColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__subgridLineColor)):subgrid.setLineColor(null)),this.__lineGraphDescriptionsSelected&&this.__lineGraphDataSelected){for(let i=0,ii=Math.min(this.__lineGraphDescriptionsSelected.length,this.__lineGraphDataSelected.length);i<ii;i++)if(this.__yAxis)for(let j=0,jj=this.__yAxis.length;j<jj;j++)if(this.__yAxis[j].id===this.__lineGraphDescriptionsSelected[i].yAxisId){const tempLineGraphDescription=this.__lineGraphDescriptionsSelected[i];this.__lineChart.addGraph({points:this.__lineGraphDataSelected[i],yAxis:this.__lineChart.getYAxisAtPosition(j)});let lineGraph=this.__lineChart.getLineGraphsAtPosition(i);if(null!=lineGraph){if(TcHmi.isSolidColor(tempLineGraphDescription.lineColor))lineGraph.setLineColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(tempLineGraphDescription.lineColor));else{let themeLineColor=TcHmi.Theme.Resources.get(this,"LineGraphDescriptionLineColor");TcHmi.isSolidColor(themeLineColor.value)?lineGraph.setLineColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(themeLineColor.value)):lineGraph.setLineColor(null)}if(null!==tempLineGraphDescription.lineWidth&&void 0!==tempLineGraphDescription.lineWidth?lineGraph.setLineWidth(TcHmi.ValueConverter.toNumber(tempLineGraphDescription.lineWidth)):lineGraph.setLineWidth(null),lineGraph.setPointDot(TcHmi.ValueConverter.toBoolean(tempLineGraphDescription.pointDot,!1)),TcHmi.isSolidColor(tempLineGraphDescription.pointDotFillColor))lineGraph.setPointDotFillColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(tempLineGraphDescription.pointDotFillColor));else{let themePointDotFillColor=TcHmi.Theme.Resources.get(this,"LineGraphDescriptionPointDotFillColor");TcHmi.isSolidColor(themePointDotFillColor.value)?lineGraph.setPointDotFillColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(themePointDotFillColor.value)):lineGraph.setPointDotFillColor(null)}if(null!==tempLineGraphDescription.pointDotRadius&&void 0!==tempLineGraphDescription.pointDotRadius?lineGraph.setPointDotRadius(TcHmi.ValueConverter.toNumber(tempLineGraphDescription.pointDotRadius)):lineGraph.setPointDotRadius(null),TcHmi.isSolidColor(tempLineGraphDescription.pointDotStrokeColor))lineGraph.setPointDotStrokeColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(tempLineGraphDescription.pointDotStrokeColor));else{let themePointDotStrokeColor=TcHmi.Theme.Resources.get(this,"LineGraphDescriptionPointDotStrokeColor");TcHmi.isSolidColor(themePointDotStrokeColor.value)?lineGraph.setPointDotStrokeColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(themePointDotStrokeColor.value)):lineGraph.setPointDotStrokeColor(null)}null!==tempLineGraphDescription.pointDotStrokeWidth&&void 0!==tempLineGraphDescription.pointDotStrokeWidth?lineGraph.setPointDotStrokeWidth(TcHmi.ValueConverter.toNumber(tempLineGraphDescription.pointDotStrokeWidth)):lineGraph.setPointDotStrokeWidth(null)}}}this.__lineChart.setYAxisWidth(void 0===this.__yAxisWidth?this.getAttributeDefaultValueInternal("YAxisWidth"):this.__yAxisWidth),this.__lineChart.setYLabelFontFamily(this.__yLabelFontFamily),this.__lineChart.setYLabelFontSize(void 0===this.__yLabelFontSize?this.getAttributeDefaultValueInternal("YLabelFontSize"):this.__yLabelFontSize),this.__lineChart.setYLabelFontWeight(void 0===this.__yLabelFontWeight?this.getAttributeDefaultValueInternal("YLabelFontWeight"):this.__yLabelFontWeight),this.__lineChart.setYMainTickSteps(void 0===this.__yMainTickSteps?this.getAttributeDefaultValueInternal("YMainTickSteps"):this.__yMainTickSteps),this.__lineChart.setYSubTickSteps(void 0===this.__ySubTickSteps?this.getAttributeDefaultValueInternal("YSubTickSteps"):this.__ySubTickSteps),this.__lineChart.setShowYSubTicks(void 0===this.__showYSubTicks?this.getAttributeDefaultValueInternal("ShowYSubTicks"):this.__showYSubTicks),this.__lineChart.draw()}__createLegend(useOldElements=!1){var _b;let legendChildsLength=this.__elementLegend.children().length;if(!useOldElements||this.__lineGraphData&&legendChildsLength!==this.__lineGraphData.length){if(this.__elementLegend.children().remove(),this.__showLegend&&(TcHmi.StyleProvider.setSimpleElementStyle(this.__elementLegend,"display",""),this.__lineGraphData&&this.__lineGraphDescriptions&&this.__lineGraphDescriptions.length>0&&this.__lineGraphData.length>0)){for(let i=0,ii=Math.min(this.__lineGraphDescriptions.length,this.__lineGraphData.length);i<ii;i++){let label=document.createElement("label");label.setAttribute("class","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-legend-checkbox-label"),this.__lineGraphDescriptions[i].legendName?label.innerText=this.__lineGraphDescriptions[i].legendName:label.innerText="["+i+"]";let checkbox=document.createElement("input");checkbox.setAttribute("type","checkbox"),checkbox.setAttribute("id",this.__id+"Element"+i),checkbox.setAttribute("class","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-legend-checkbox");let color=document.createElement("div");color.setAttribute("class","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-legend-checkbox-color-element"),color.setAttribute("style","background-color: "+(null===(_b=this.__lineGraphDescriptions[i].lineColor)||void 0===_b?void 0:_b.color)+";"),label.append(checkbox),label.append(color),this.__elementLegend.append(label),checkbox.checked=!0}return}TcHmi.StyleProvider.setSimpleElementStyle(this.__elementLegend,"display","none")}}__onMouseDown(){return e=>{var _b;if(null!==e.target){let target=e.target;if(target.classList.contains("TcHmi_Controls_Beckhoff_Controls-chart-canvas-drawing")){let parentId=null;if(null!==target.parentElement&&null!==target.parentElement.parentElement&&null!==target.parentElement.parentElement.parentElement&&(parentId=target.parentElement.parentElement.parentElement.id),parentId===this.__id&&this.__lineChart){let lineGraphs=this.__lineChart.getLineGraphs();for(let i=0,ii=lineGraphs.length;i<ii;i++){let lineGraph=lineGraphs[i],dotRadius=lineGraph.getPointDotRadius();if(null!==dotRadius&&lineGraph.getPointDot()){let points=lineGraph.getPoints();if(null!=points)for(let j=0,jj=points.length;j<jj;j++){let yAxisWidth=this.__lineChart.getYAxisAtPosition(0).getAxisWidth();if(null!==yAxisWidth){let drawingBorder=this.__lineChart.getDrawingBorder(),offsetTop=this.__lineChart.getYAxisAtPosition(0).getDiffEndLabelAndLine()+yAxisWidth/2+5+drawingBorder,xAxis=this.__lineChart.getXAxis(),offsetLeft=0;if(null!==xAxis){offsetLeft=xAxis.getXAxisLeftWidth()||0;let yAxis=this.__lineChart.getYAxis();if(null!=yAxis){let yAxisHeight=yAxis[0].getLineHeight();if(e.offsetX>=offsetLeft&&e.offsetX<=offsetLeft+xAxis.getLineWidth()&&e.offsetY>=offsetTop&&e.offsetY<=offsetTop+yAxisHeight&&points[j].x-dotRadius<=e.offsetX&&e.offsetX<=points[j].x+dotRadius&&points[j].y-dotRadius<=e.offsetY&&points[j].y+dotRadius>=e.offsetY){if(this.__elementTooltip.css("visibility","visible"),null!==this.__lineGraphData&&void 0!==this.__lineGraphData){let tooptipFormat=null!==(_b=this.__executeTooltipFormatFunction(this.__lineGraphData[i][j].x,this.__lineGraphData[i][j].y))&&void 0!==_b?_b:"";this.__elementTooltipText[0].innerHTML=tooptipFormat;let lineColorGraph=lineGraph.getLineColor();TcHmi.isSolidColor(this.__tooltipFontColor)&&(lineColorGraph=TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__tooltipFontColor)),null!=lineColorGraph&&this.__elementTooltipText.css("color",lineColorGraph);let widthTooltip=this.__elementTooltip.width(),heightTooltip=this.__elementTooltip.height(),middlePoint=points[j].x-widthTooltip/2;points[j].y-heightTooltip-dotRadius/2>offsetTop?middlePoint>=offsetLeft&&middlePoint+widthTooltip<=offsetLeft+xAxis.getLineWidth()?(this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-bottom"),this.__elementTooltip.css({top:points[j].y-heightTooltip-4+5,left:middlePoint+5})):points[j].x+4+widthTooltip<=offsetLeft+xAxis.getLineWidth()?(this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-left"),this.__elementTooltip.css({top:points[j].y-heightTooltip/2+5,left:points[j].x+4+5})):(this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltip.css({top:points[j].y-heightTooltip/2+5,left:points[j].x-4-widthTooltip+5})):middlePoint>=offsetLeft&&middlePoint+widthTooltip<=offsetLeft+xAxis.getLineWidth()?(this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-top"),this.__elementTooltip.css({top:points[j].y+4+5,left:middlePoint+5})):points[j].x+4+widthTooltip<=offsetLeft+xAxis.getLineWidth()?(this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-left"),this.__elementTooltip.css({top:points[j].y-heightTooltip/2+5,left:points[j].x+4+5})):(this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltip.css({top:points[j].y-heightTooltip/2+5,left:points[j].x-4-widthTooltip+5})),this.__tooltipInformation={show:!0,isActive:!0,lineGraph:lineGraph,point:{x:this.__lineGraphData[i][j].x,y:this.__lineGraphData[i][j].x}}}return}}}}}}}}this.__invisibleTooltip()}else this.__invisibleTooltip()}}}__onMouseMoveTooltip(){return e=>{if(!this.__tooltipInformation.isActive&&this.__showTooltip){let __this=this,offsetX=e.offsetX,offsetY=e.offsetY;requestAnimationFrame((function(){var _b;if(null!==__this.__lineChart&&void 0!==__this.__lineChart){let lineGraphs=__this.__lineChart.getLineGraphs();for(let i=0,ii=lineGraphs.length;i<ii;i++){let lineGraph=lineGraphs[i],dotRadius=lineGraph.getPointDotRadius();if(null!==dotRadius&&lineGraph.getPointDot()){let points=lineGraph.getPoints();if(null!=points)for(let j=0,jj=points.length;j<jj;j++){let yAxisWidth=__this.__lineChart.getYAxisAtPosition(0).getAxisWidth();if(null!==yAxisWidth){let drawingBorder=__this.__lineChart.getDrawingBorder(),offsetTop=__this.__lineChart.getYAxisAtPosition(0).getDiffEndLabelAndLine()+yAxisWidth/2+5+drawingBorder,xAxis=__this.__lineChart.getXAxis(),offsetLeft=0;if(null!==xAxis){offsetLeft=xAxis.getXAxisLeftWidth()||0;let yAxis=__this.__lineChart.getYAxis();if(null!=yAxis){let yAxisHeight=yAxis[0].getLineHeight();if(offsetX>=offsetLeft&&offsetX<=offsetLeft+xAxis.getLineWidth()&&offsetY>=offsetTop&&offsetY<=offsetTop+yAxisHeight&&points[j].x-dotRadius<=offsetX&&offsetX<=points[j].x+dotRadius&&points[j].y-dotRadius<=offsetY&&points[j].y+dotRadius>=offsetY){if(__this.__elementTooltip.css("visibility","visible"),null!==__this.__lineGraphData&&void 0!==__this.__lineGraphData){let tooptipFormat=null!==(_b=__this.__executeTooltipFormatFunction(__this.__lineGraphData[i][j].x,__this.__lineGraphData[i][j].y))&&void 0!==_b?_b:"";__this.__elementTooltipText[0].innerHTML=tooptipFormat;let lineColorGraph=lineGraph.getLineColor();TcHmi.isSolidColor(__this.__tooltipFontColor)&&(lineColorGraph=TcHmi.StyleProvider.resolveSolidColorAsCssValue(__this.__tooltipFontColor)),null!=lineColorGraph&&__this.__elementTooltipText.css("color",lineColorGraph);let widthTooltip=__this.__elementTooltip.width(),heightTooltip=__this.__elementTooltip.height(),middlePoint=points[j].x-widthTooltip/2;points[j].y-heightTooltip-dotRadius/2>offsetTop?middlePoint>=offsetLeft&&middlePoint+widthTooltip<=offsetLeft+xAxis.getLineWidth()?(__this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),__this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-bottom"),__this.__elementTooltip.css({top:points[j].y-heightTooltip-4+5,left:middlePoint+5})):points[j].x+4+widthTooltip<=offsetLeft+xAxis.getLineWidth()?(__this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),__this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-left"),__this.__elementTooltip.css({top:points[j].y-heightTooltip/2+5,left:points[j].x+4+5})):(__this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),__this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-right"),__this.__elementTooltip.css({top:points[j].y-heightTooltip/2+5,left:points[j].x-4-widthTooltip+5})):middlePoint>=offsetLeft&&middlePoint+widthTooltip<=offsetLeft+xAxis.getLineWidth()?(__this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),__this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-top"),__this.__elementTooltip.css({top:points[j].y+4+5,left:middlePoint+5})):points[j].x+4+widthTooltip<=offsetLeft+xAxis.getLineWidth()?(__this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),__this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-left"),__this.__elementTooltip.css({top:points[j].y-heightTooltip/2+5,left:points[j].x+4+5})):(__this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),__this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-right"),__this.__elementTooltip.css({top:points[j].y-heightTooltip/2+5,left:points[j].x-4-widthTooltip+5})),__this.__tooltipInformation={show:!0,isActive:!1,lineGraph:lineGraph,point:{x:__this.__lineGraphData[i][j].x,y:__this.__lineGraphData[i][j].x}}}return}}}}}}}}})),__this.__invisibleTooltip()}}}__invisibleTooltip(){this.__elementTooltip.css("visibility","hidden"),this.__tooltipInformation={show:!1,isActive:!1,lineGraph:null,point:{x:0,y:0}}}__onTouchStart(){return e=>{if(null!==this.__lineChart){if(!this.getIsEnabled())return;let boundingRect=e.target.getBoundingClientRect(),touch=e.touches[0],x=touch.clientX-boundingRect.left,y=touch.clientY-boundingRect.top;this.__manipulationInfo={mousePosition:{x:x,y:y},offset:{left:boundingRect.left,top:boundingRect.top}};let __this=this;this.__holdTimer&&clearTimeout(this.__holdTimer),this.__holdTimer=setTimeout((function(){__this.__createTooltipFromTouch(x,y)}),this.__holdTimerDuration)}}}__onTouchMove(){return e=>{if(!this.getIsEnabled())return;let touch=e.touches[0],x=touch.clientX-this.__manipulationInfo.offset.left,y=touch.clientY-this.__manipulationInfo.offset.top;Math.sqrt(Math.pow(this.__manipulationInfo.mousePosition.x-x,2)+Math.pow(this.__manipulationInfo.mousePosition.y-y,2))>5&&this.__holdTimer&&(clearTimeout(this.__holdTimer),this.__holdTimer=0)}}__onTouchEnd(){return e=>{this.getIsEnabled()&&(this.__holdTimer&&(clearTimeout(this.__holdTimer),this.__holdTimer=0),this.__manipulationInfo={mousePosition:{x:0,y:0},offset:{left:0,top:0}})}}__createTooltipFromTouch(offsetX,offsetY){var _b;this.__holdTimer&&(clearTimeout(this.__holdTimer),this.__holdTimer=0),this.__manipulationInfo={offset:{left:0,top:0},mousePosition:{x:0,y:0}},this.__elementTooltip.css("visibility","hidden"),this.__tooltipInformation={show:!1,isActive:!1,point:{x:0,y:0},lineGraph:null};if(this.__lineChart){let lineGraphs=this.__lineChart.getLineGraphs();for(let i=0,ii=lineGraphs.length;i<ii;i++){let lineGraph=lineGraphs[i],dotRadius=lineGraph.getPointDotRadius();if(null!==dotRadius&&lineGraph.getPointDot()){let points=lineGraph.getPoints();if(null!=points)for(let j=0,jj=points.length;j<jj;j++){let yAxisWidth=this.__lineChart.getYAxisAtPosition(0).getAxisWidth();if(null!==yAxisWidth){let drawingBorder=this.__lineChart.getDrawingBorder(),offsetTop=this.__lineChart.getYAxisAtPosition(0).getDiffEndLabelAndLine()+yAxisWidth/2+5+drawingBorder,xAxis=this.__lineChart.getXAxis(),offsetLeft=0;if(null!==xAxis){offsetLeft=xAxis.getXAxisLeftWidth()||0;let yAxis=this.__lineChart.getYAxis();if(null!=yAxis){let yAxisHeight=yAxis[0].getLineHeight();if(offsetX>=offsetLeft-10&&offsetX<=offsetLeft+xAxis.getLineWidth()+10&&offsetY>=offsetTop-10&&offsetY<=offsetTop+yAxisHeight+10){if(Math.sqrt(Math.pow(offsetX-points[j].x,2)+Math.pow(offsetY-points[j].y,2))<=10+dotRadius){if(this.__elementTooltip.css("visibility","visible"),null!==this.__lineGraphData&&void 0!==this.__lineGraphData){let tooptipFormat=null!==(_b=this.__executeTooltipFormatFunction(this.__lineGraphData[i][j].x,this.__lineGraphData[i][j].y))&&void 0!==_b?_b:"";this.__elementTooltipText[0].innerHTML=tooptipFormat;let lineColorGraph=lineGraph.getLineColor();TcHmi.isSolidColor(this.__tooltipFontColor)&&(lineColorGraph=TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__tooltipFontColor)),null!=lineColorGraph&&this.__elementTooltipText.css("color",lineColorGraph);let widthTooltip=this.__elementTooltip.width(),heightTooltip=this.__elementTooltip.height(),middlePoint=points[j].x-widthTooltip/2;points[j].y-heightTooltip-dotRadius/2>offsetTop?middlePoint>=offsetLeft&&middlePoint+widthTooltip<=offsetLeft+xAxis.getLineWidth()?(this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-bottom"),this.__elementTooltip.css({top:points[j].y-heightTooltip-4+5,left:middlePoint+5})):points[j].x+4+widthTooltip<=offsetLeft+xAxis.getLineWidth()?(this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-left"),this.__elementTooltip.css({top:points[j].y-heightTooltip/2+5,left:points[j].x+4+5})):(this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltip.css({top:points[j].y-heightTooltip/2+5,left:points[j].x-4-widthTooltip+5})):middlePoint>=offsetLeft&&middlePoint+widthTooltip<=offsetLeft+xAxis.getLineWidth()?(this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-top"),this.__elementTooltip.css({top:points[j].y+4+5,left:middlePoint+5})):points[j].x+4+widthTooltip<=offsetLeft+xAxis.getLineWidth()?(this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-left"),this.__elementTooltip.css({top:points[j].y-heightTooltip/2+5,left:points[j].x+4+5})):(this.__elementTooltipArrow[0].classList.remove("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-top","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-bottom","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-left","TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-top","tchmi-line-chart-template-tooltip-arrow-bottom","tchmi-line-chart-template-tooltip-arrow-left","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltipArrow[0].classList.add("TcHmi_Controls_Beckhoff_TcHmiLineChart-template-tooltip-arrow-right","tchmi-line-chart-template-tooltip-arrow-right"),this.__elementTooltip.css({top:points[j].y-heightTooltip/2+5,left:points[j].x-4-widthTooltip+5})),this.__tooltipInformation={show:!0,isActive:!0,lineGraph:lineGraph,point:{x:this.__lineGraphData[i][j].x,y:this.__lineGraphData[i][j].x}}}return}}}}}}}}}}setSectionsBackgroundColor(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("SectionsBackgroundColor"));let resolverInfo=this.__objectResolvers.get("sectionsBackgroundColor");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("sectionsBackgroundColor",{resolver:resolver,watchCallback:this.__onResolverForSectionsBackgroundColorWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForSectionsBackgroundColorWatchCallback)})}getSectionsBackgroundColor(){return this.__sectionsBackgroundColor}__processSectionsBackgroundColor(){TcHmi.StyleProvider.processBackgroundColor(this.__elementTemplateRoot,this.__sectionsBackgroundColor),TcHmi.StyleProvider.processBackgroundColor(this.__elementLegend,this.__sectionsBackgroundColor)}setYAxisWidth(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("YAxisWidth")),convertedValue!==this.__yAxisWidth&&(this.__yAxisWidth=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"YAxisWidth"}),this.__processYAxisWidth())}getYAxisWidth(){return this.__yAxisWidth}__processYAxisWidth(){null!==this.__lineChart&&void 0!==this.__lineChart&&(this.__lineChart.setYAxisWidth(void 0===this.__yAxisWidth?this.getAttributeDefaultValueInternal("YAxisWidth"):this.__yAxisWidth),this.__lineChart.draw())}setYLabelFontFamily(valueNew){let convertedValue=TcHmi.ValueConverter.toFontFamily(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("YLabelFontFamily")),convertedValue!==this.__yLabelFontFamily&&(this.__yLabelFontFamily=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"YLabelFontFamily"}),this.__processYLabelFontFamily())}getYLabelFontFamily(){return this.__yLabelFontFamily}__processYLabelFontFamily(){null!==this.__lineChart&&void 0!==this.__lineChart&&(this.__lineChart.setYLabelFontFamily(this.__yLabelFontFamily),this.__lineChart.draw())}setYLabelFontSize(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("YLabelFontSize")),convertedValue!==this.__yLabelFontSize&&(this.__yLabelFontSize=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"YLabelFontSize"}),this.__processYLabelFontSize())}getYLabelFontSize(){return this.__yLabelFontSize}__processYLabelFontSize(){null!==this.__lineChart&&void 0!==this.__lineChart&&(this.__lineChart.setYLabelFontSize(void 0===this.__yLabelFontSize?this.getAttributeDefaultValueInternal("YLabelFontSize"):this.__yLabelFontSize),this.__lineChart.draw())}setYLabelFontSizeUnit(valueNew){}getYLabelFontSizeUnit(){return"px"}setYLabelFontWeight(valueNew){let convertedValue=TcHmi.ValueConverter.toFontWeight(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("YLabelFontWeight")),convertedValue!==this.__yLabelFontWeight&&(this.__yLabelFontWeight=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"YLabelFontWeight"}),this.__processYLabelFontWeight())}getYLabelFontWeight(){return this.__yLabelFontWeight}__processYLabelFontWeight(){null!==this.__lineChart&&void 0!==this.__lineChart&&(this.__lineChart.setYLabelFontWeight(void 0===this.__yLabelFontWeight?this.getAttributeDefaultValueInternal("YLabelFontWeight"):this.__yLabelFontWeight),this.__lineChart.draw())}setYMainTickSteps(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("YMainTickSteps")),convertedValue!==this.__yMainTickSteps&&(this.__yMainTickSteps=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"YMainTickSteps"}),this.__processYMainTickSteps())}getYMainTickSteps(){return this.__yMainTickSteps}__processYMainTickSteps(){null!==this.__lineChart&&void 0!==this.__lineChart&&(this.__lineChart.setYMainTickSteps(void 0===this.__yMainTickSteps?this.getAttributeDefaultValueInternal("YMainTickSteps"):this.__yMainTickSteps),this.__lineChart.draw())}setShowYSubTicks(valueNew){let convertedValue=TcHmi.ValueConverter.toBoolean(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("ShowYSubTicks")),convertedValue!==this.__showYSubTicks&&(this.__showYSubTicks=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"ShowYSubTicks"}),this.__processShowYSubTicks())}getShowYSubTicks(){return this.__showYSubTicks}__processShowYSubTicks(){null!==this.__lineChart&&void 0!==this.__lineChart&&(this.__lineChart.setShowYSubTicks(void 0===this.__showYSubTicks?this.getAttributeDefaultValueInternal("ShowYSubTicks"):this.__showYSubTicks),this.__lineChart.draw())}setYSubTickSteps(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("YSubTickSteps")),convertedValue!==this.__ySubTickSteps&&(this.__ySubTickSteps=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"YSubTickSteps"}),this.__processYSubTickSteps())}getYSubTickSteps(){return this.__ySubTickSteps}__processYSubTickSteps(){null!==this.__lineChart&&void 0!==this.__lineChart&&(this.__lineChart.setYSubTickSteps(void 0===this.__ySubTickSteps?this.getAttributeDefaultValueInternal("YSubTickSteps"):this.__ySubTickSteps),this.__lineChart.draw())}setShowXAxis(valueNew){let convertedValue=TcHmi.ValueConverter.toBoolean(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("ShowXAxis")),convertedValue!==this.__showXAxis&&(this.__showXAxis=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"ShowXAxis"}),this.__processShowXAxis())}getShowXAxis(){return this.__showXAxis}__processShowXAxis(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setShowAxis(void 0===this.__showXAxis?this.getAttributeDefaultValueInternal("ShowXAxis"):this.__showXAxis),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXShowLabels(valueNew){let convertedValue=TcHmi.ValueConverter.toBoolean(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XShowLabels")),convertedValue!==this.__xShowLabels&&(this.__xShowLabels=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XShowLabels"}),this.__processXShowLabels())}getXShowLabels(){return this.__xShowLabels}__processXShowLabels(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setShowLabels(void 0===this.__xShowLabels?this.getAttributeDefaultValueInternal("XShowLabels"):this.__xShowLabels),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXMainTickMinValue(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XMainTickMinValue")),convertedValue!==this.__xMainTickMinValue&&(this.__xMainTickMinValue=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XMainTickMinValue"}),this.__processXMainTickMinValue())}getXMainTickMinValue(){return this.__xMainTickMinValue}__processXMainTickMinValue(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setMainTickStartValue(void 0===this.__xMainTickMinValue?this.getAttributeDefaultValueInternal("XMainTickMinValue"):this.__xMainTickMinValue),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXMainTickMaxValue(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XMainTickMaxValue")),convertedValue!==this.__xMainTickMaxValue&&(this.__xMainTickMaxValue=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XMainTickMaxValue"}),this.__processXMainTickMaxValue())}getXMainTickMaxValue(){return this.__xMainTickMaxValue}__processXMainTickMaxValue(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setMainTickEndValue(void 0===this.__xMainTickMaxValue?this.getAttributeDefaultValueInternal("XMainTickMaxValue"):this.__xMainTickMaxValue),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXMainTickSteps(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XMainTickSteps")),convertedValue!==this.__xMainTickSteps&&(this.__xMainTickSteps=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XMainTickSteps"}),this.__processXMainTickSteps())}getXMainTickSteps(){return this.__xMainTickSteps}__processXMainTickSteps(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setMainTickSteps(void 0===this.__xMainTickSteps?this.getAttributeDefaultValueInternal("XMainTickSteps"):this.__xMainTickSteps),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setShowXSubTicks(valueNew){let convertedValue=TcHmi.ValueConverter.toBoolean(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("ShowXSubTicks")),convertedValue!==this.__showXSubTicks&&(this.__showXSubTicks=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"ShowXSubTicks"}),this.__processShowXSubTicks())}getShowXSubTicks(){return this.__showXSubTicks}__processShowXSubTicks(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setShowSubTicks(void 0===this.__showXSubTicks?this.getAttributeDefaultValueInternal("ShowXSubTicks"):this.__showXSubTicks),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXSubTickSteps(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XSubTickSteps")),convertedValue!==this.__xSubTickSteps&&(this.__xSubTickSteps=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XSubTickSteps"}),this.__processXSubTickSteps())}getXSubTickSteps(){return this.__xSubTickSteps}__processXSubTickSteps(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setSubTickSteps(void 0===this.__xSubTickSteps?this.getAttributeDefaultValueInternal("XSubTickSteps"):this.__xSubTickSteps),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXLabelFontFamily(valueNew){let convertedValue=TcHmi.ValueConverter.toFontFamily(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XLabelFontFamily")),convertedValue!==this.__xLabelFontFamily&&(this.__xLabelFontFamily=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XLabelFontFamily"}),this.__processXLabelFontFamily())}getXLabelFontFamily(){return this.__xLabelFontFamily}__processXLabelFontFamily(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setLabelFontFamily(this.__xLabelFontFamily),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXLabelFontSize(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XLabelFontSize")),convertedValue!==this.__xLabelFontSize&&(this.__xLabelFontSize=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XLabelFontSize"}),this.__processXLabelFontSize())}getXLabelFontSize(){return this.__xLabelFontSize}__processXLabelFontSize(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setLabelFontSize(void 0===this.__xLabelFontSize?this.getAttributeDefaultValueInternal("XLabelFontSize"):this.__xLabelFontSize),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXLabelFontSizeUnit(valueNew){}getXLabelFontSizeUnit(){return"px"}setXLabelFontWeight(valueNew){let convertedValue=TcHmi.ValueConverter.toFontWeight(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XLabelFontWeight")),convertedValue!==this.__xLabelFontWeight&&(this.__xLabelFontWeight=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XLabelFontWeight"}),this.__processXLabelFontWeight())}getXLabelFontWeight(){return this.__xLabelFontWeight}__processXLabelFontWeight(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setLabelFontWeight(void 0===this.__xLabelFontWeight?this.getAttributeDefaultValueInternal("XLabelFontWeight"):this.__xLabelFontWeight),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXLabelFontColor(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XLabelFontColor"));let resolverInfo=this.__objectResolvers.get("xLabelFontColor");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("xLabelFontColor",{resolver:resolver,watchCallback:this.__onResolverForXLabelFontColorWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForXLabelFontColorWatchCallback)})}getXLabelFontColor(){return this.__xLabelFontColor}__processXLabelFontColor(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(TcHmi.isSolidColor(this.__xLabelFontColor)?xAxis.setLabelFontColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__xLabelFontColor)):xAxis.setLabelFontColor(null),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXAxisWidth(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XAxisWidth")),convertedValue!==this.__xAxisWidth&&(this.__xAxisWidth=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XAxisWidth"}),this.__processXAxisWidth())}getXAxisWidth(){return this.__xAxisWidth}__processXAxisWidth(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setAxisWidth(void 0===this.__xAxisWidth?this.getAttributeDefaultValueInternal("XAxisWidth"):this.__xAxisWidth),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXAxisColor(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XAxisColor"));let resolverInfo=this.__objectResolvers.get("xAxisColor");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("xAxisColor",{resolver:resolver,watchCallback:this.__onResolverForXAxisColorWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForXAxisColorWatchCallback)})}getXAxisColor(){return this.__xAxisColor}__processXAxisColor(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(TcHmi.isSolidColor(this.__xAxisColor)?xAxis.setAxisColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__xAxisColor)):xAxis.setAxisColor(null),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setShowXAxisName(valueNew){let convertedValue=TcHmi.ValueConverter.toBoolean(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("ShowXAxisName")),convertedValue!==this.__showXAxisName&&(this.__showXAxisName=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"ShowXAxisName"}),this.__processShowXAxisName())}getShowXAxisName(){return this.__showXAxisName}__processShowXAxisName(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setShowAxisName(void 0===this.__showXAxisName?this.getAttributeDefaultValueInternal("ShowXAxisName"):this.__showXAxisName),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXAxisName(valueNew){let convertedValue=TcHmi.ValueConverter.toString(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XAxisName")),convertedValue!==this.__xAxisName&&(this.__xAxisName=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XAxisName"}),this.__processXAxisName())}getXAxisName(){return this.__xAxisName}__processXAxisName(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setAxisName(void 0===this.__xAxisName?this.getAttributeDefaultValueInternal("XAxisName"):this.__xAxisName),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXAxisNameFontFamily(valueNew){let convertedValue=TcHmi.ValueConverter.toFontFamily(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XAxisNameFontFamily")),convertedValue!==this.__xAxisNameFontFamily&&(this.__xAxisNameFontFamily=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XAxisNameFontFamily"}),this.__processXAxisNameFontFamily())}getXAxisNameFontFamily(){return this.__xAxisNameFontFamily}__processXAxisNameFontFamily(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setAxisNameFontFamily(this.__xAxisNameFontFamily),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXAxisNameFontSize(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XAxisNameFontSize")),convertedValue!==this.__xAxisNameFontSize&&(this.__xAxisNameFontSize=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XAxisNameFontSize"}),this.__processXAxisNameFontSize())}getXAxisNameFontSize(){return this.__xAxisNameFontSize}__processXAxisNameFontSize(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setAxisNameFontSize(void 0===this.__xAxisNameFontSize?this.getAttributeDefaultValueInternal("XAxisNameFontSize"):this.__xAxisNameFontSize),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXAxisNameFontSizeUnit(valueNew){}getXAxisNameFontSizeUnit(){return"px"}setXAxisNameFontWeight(valueNew){let convertedValue=TcHmi.ValueConverter.toFontWeight(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XAxisNameFontWeight")),convertedValue!==this.__xAxisNameFontWeight&&(this.__xAxisNameFontWeight=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XAxisNameFontWeight"}),this.__processXAxisNameFontWeight())}getXAxisNameFontWeight(){return this.__xAxisNameFontWeight}__processXAxisNameFontWeight(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setAxisNameFontWeight(void 0===this.__xAxisNameFontWeight?this.getAttributeDefaultValueInternal("XAxisNameFontWeight"):this.__xAxisNameFontWeight),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXAxisNameFontColor(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XAxisNameFontColor"));let resolverInfo=this.__objectResolvers.get("xAxisNameFontColor");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("xAxisNameFontColor",{resolver:resolver,watchCallback:this.__onResolverForXAxisNameFontColorWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForXAxisNameFontColorWatchCallback)})}getXAxisNameFontColor(){return this.__xAxisNameFontColor}__processXAxisNameFontColor(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(TcHmi.isSolidColor(this.__xAxisNameFontColor)?xAxis.setAxisNameFontColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__xAxisNameFontColor)):xAxis.setAxisNameFontColor(null),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXAxisDecimalPlaces(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XAxisDecimalPlaces")),convertedValue!==this.__xAxisDecimalPlaces&&(this.__xAxisDecimalPlaces=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XAxisDecimalPlaces"}),this.__processXAxisDecimalPlaces())}getXAxisDecimalPlaces(){return this.__xAxisDecimalPlaces}__processXAxisDecimalPlaces(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setDecimalPlaces(void 0===this.__xAxisDecimalPlaces?this.getAttributeDefaultValueInternal("XAxisDecimalPlaces"):this.__xAxisDecimalPlaces),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXAxisUnit(valueNew){let convertedValue=TcHmi.ValueConverter.toString(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XAxisUnit")),convertedValue!==this.__xAxisUnit&&(this.__xAxisUnit=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XAxisUnit"}),this.__processXAxisUnit())}getXAxisUnit(){return this.__xAxisUnit}__processXAxisUnit(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setUnit(void 0===this.__xAxisUnit?this.getAttributeDefaultValueInternal("XAxisUnit"):this.__xAxisUnit),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXAxisAutoScaling(valueNew){let convertedValue=TcHmi.ValueConverter.toBoolean(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XAxisAutoScaling")),convertedValue!==this.__xAxisAutoScaling&&(this.__xAxisAutoScaling=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"XAxisAutoScaling"}),this.__processXAxisAutoScaling())}getXAxisAutoScaling(){return this.__xAxisAutoScaling}__processXAxisAutoScaling(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let xAxis=this.__lineChart.getXAxis();null!=xAxis&&(xAxis.setAutoScaling(void 0===this.__xAxisAutoScaling?this.getAttributeDefaultValueInternal("XAxisAutoScaling"):this.__xAxisAutoScaling),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setXAxisFormat(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("XAxisFormat"));let resolverInfo=this.__objectResolvers.get("xAxisFormat");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("xAxisFormat",{resolver:resolver,watchCallback:this.__onResolverForXAxisFormatWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForXAxisFormatWatchCallback)})}getXAxisFormat(){return this.__xAxisFormat}__processXAxisFormat(){if(this.__lineChart){let xAxis=this.__lineChart.getXAxis();xAxis&&(xAxis.setXAxisCallback(this.__executeXAxisFormatFunction()),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}__executeXAxisFormatFunction(){let __this=this;return function(result){var _b;if(void 0!==__this.__xAxisFormat&&null!==__this.__xAxisFormat&&!1!==__this.__xAxisFormat.active){const args=[result];let res=null,f=new TcHmi.Function(__this.__xAxisFormat);if(!f.isProcessedAsync())return f.executeEx(args,(function(data){var _b;data.error===TcHmi.Errors.NONE?res=data.result:TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+__this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==__this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+__this.getId()+"] Execution of function="+(null===(_b=__this.__xAxisFormat)||void 0===_b?void 0:_b.fn)+" failed with error: "+TcHmi.Log.buildMessage(data.details))})),f.destroy(),res;TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+__this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==__this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+__this.getId()+"] Execution of function="+(null===(_b=__this.__xAxisFormat)||void 0===_b?void 0:_b.fn)+" was aborted because it will be processed asynchronous and a synchronous running function call is required. Either the function is running asynchronous by definition or asynchronous running symbols were added to the list of parameters.")}return""!==__this.__xAxisUnit&&null!==__this.__xAxisUnit&&void 0!==__this.__xAxisUnit?result+" "+__this.__xAxisUnit:result.toString()}}setYAxis(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("YAxis"));let resolverInfo=this.__objectResolvers.get("yAxis");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("yAxis",{resolver:resolver,watchCallback:this.__onResolverForYAxisWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForYAxisWatchCallback)})}getYAxis(){return this.__yAxis}__processYAxis(){null!==this.__lineChart&&void 0!==this.__lineChart&&this.__drawLineChart()}setLineGraphDescriptions(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("LineGraphDescriptions"));let resolverInfo=this.__objectResolvers.get("lineGraphDescriptions");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("lineGraphDescriptions",{resolver:resolver,watchCallback:this.__onResolverForLineGraphDescriptionsWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForLineGraphDescriptionsWatchCallback)})}getLineGraphDescriptions(){return this.__lineGraphDescriptions}__processLineGraphDescriptions(){this.__lineGraphDescriptionsSelected=this.__lineGraphDescriptions,this.__lineGraphDataSelected=this.__lineGraphData,this.__attributesInitialized&&(this.__createLegend(),this.__drawLineChart())}setLineGraphData(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("LineGraphData"));let resolverInfo=this.__objectResolvers.get("lineGraphData");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("lineGraphData",{resolver:resolver,watchCallback:this.__onResolverForLineGraphDataWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForLineGraphDataWatchCallback)})}getLineGraphData(){return this.__lineGraphData}__processLineGraphData(){if(this.__lineGraphDescriptionsSelected=[],this.__lineGraphDataSelected=[],this.__lineGraphData&&this.__lineGraphDescriptions){let min=Math.min(this.__lineGraphData.length,this.__lineGraphDescriptions.length),children=this.__elementLegend.children();for(let i=0,ii=min;i<ii;i++){let checkedCheckbox=!0;children[i]&&(checkedCheckbox=children[i].childNodes[1].checked),checkedCheckbox&&(this.__lineGraphDataSelected.push(this.__lineGraphData[i]),this.__lineGraphDescriptionsSelected.push(this.__lineGraphDescriptions[i]))}}this.__attributesInitialized&&(this.__createLegend(!0),this.__drawLineChart())}setShowGrid(valueNew){let convertedValue=TcHmi.ValueConverter.toBoolean(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("ShowGrid")),convertedValue!==this.__showGrid&&(this.__showGrid=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"ShowGrid"}),this.__processShowGrid())}getShowGrid(){return this.__showGrid}__processShowGrid(){if(null!==this.__lineChart&&void 0!==this.__lineChart){if(this.__showGrid){let grid=this.__lineChart.getGrid();null==grid&&(this.__lineChart.addGrid(),grid=this.__lineChart.getGrid(),null!=grid&&(TcHmi.isSolidColor(this.__gridBackgroundColor)?grid.setBackgroundColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__gridBackgroundColor)):grid.setBackgroundColor(null),TcHmi.isSolidColor(this.__gridLineColor)?grid.setLineColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__gridLineColor)):grid.setLineColor(null),grid.setLineWidth(void 0===this.__gridLineWidth?this.getAttributeDefaultValueInternal("GridLineWidth"):this.__gridLineWidth),grid.setLineStyle(void 0===this.__gridLineStyle?this.getAttributeDefaultValueInternal("GridLineStyle"):this.__gridLineStyle),grid.setShowHorizontalLines(void 0===this.__gridShowHorizontalLines?this.getAttributeDefaultValueInternal("GridShowHorizontalLines"):this.__gridShowHorizontalLines),grid.setShowVerticalLines(void 0===this.__gridShowVerticalLines?this.getAttributeDefaultValueInternal("GridShowVerticalLines"):this.__gridShowVerticalLines)))}else this.__lineChart.deleteGrid();this.__lineChart.setHasChanged(!0),this.__lineChart.draw()}}setGridBackgroundColor(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("GridBackgroundColor"));let resolverInfo=this.__objectResolvers.get("gridBackgroundColor");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("gridBackgroundColor",{resolver:resolver,watchCallback:this.__onResolverForGridBackgroundColorWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForGridBackgroundColorWatchCallback)})}getGridBackgroundColor(){return this.__gridBackgroundColor}__processGridBackgroundColor(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let grid=this.__lineChart.getGrid();null!=grid&&(TcHmi.isSolidColor(this.__gridBackgroundColor)?grid.setBackgroundColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__gridBackgroundColor)):grid.setBackgroundColor(null),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setGridShowHorizontalLines(valueNew){let convertedValue=TcHmi.ValueConverter.toBoolean(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("GridShowHorizontalLines")),convertedValue!==this.__gridShowHorizontalLines&&(this.__gridShowHorizontalLines=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"GridShowHorizontalLines"}),this.__processGridShowHorizontalLines())}getGridShowHorizontalLines(){return this.__gridShowHorizontalLines}__processGridShowHorizontalLines(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let grid=this.__lineChart.getGrid();null!=grid&&(grid.setShowHorizontalLines(void 0===this.__gridShowHorizontalLines?this.getAttributeDefaultValueInternal("GridShowHorizontalLines"):this.__gridShowHorizontalLines),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setGridShowVerticalLines(valueNew){let convertedValue=TcHmi.ValueConverter.toBoolean(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("GridShowVerticalLines")),convertedValue!==this.__gridShowVerticalLines&&(this.__gridShowVerticalLines=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"GridShowVerticalLines"}),this.__processGridShowVerticalLines())}getGridShowVerticalLines(){return this.__gridShowVerticalLines}__processGridShowVerticalLines(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let grid=this.__lineChart.getGrid();null!=grid&&(grid.setShowVerticalLines(void 0===this.__gridShowVerticalLines?this.getAttributeDefaultValueInternal("GridShowVerticalLines"):this.__gridShowVerticalLines),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setGridLineWidth(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("GridLineWidth")),convertedValue!==this.__gridLineWidth&&(this.__gridLineWidth=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"GridLineWidth"}),this.__processGridLineWidth())}getGridLineWidth(){return this.__gridLineWidth}__processGridLineWidth(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let grid=this.__lineChart.getGrid();null!=grid&&(grid.setLineWidth(void 0===this.__gridLineWidth?this.getAttributeDefaultValueInternal("GridLineWidth"):this.__gridLineWidth),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setGridLineStyle(valueNew){let convertedValue=TcHmi.ValueConverter.toString(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("GridLineStyle")),convertedValue!==this.__gridLineStyle&&(this.__gridLineStyle=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"GridLineStyle"}),this.__processGridLineStyle())}getGridLineStyle(){return this.__gridLineStyle}__processGridLineStyle(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let grid=this.__lineChart.getGrid();null!=grid&&(grid.setLineStyle(void 0===this.__gridLineStyle?this.getAttributeDefaultValueInternal("GridLineStyle"):this.__gridLineStyle),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setGridLineColor(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("GridLineColor"));let resolverInfo=this.__objectResolvers.get("gridLineColor");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("gridLineColor",{resolver:resolver,watchCallback:this.__onResolverForGridLineColorWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForGridLineColorWatchCallback)})}getGridLineColor(){return this.__gridLineColor}__processGridLineColor(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let grid=this.__lineChart.getGrid();null!=grid&&(TcHmi.isSolidColor(this.__gridLineColor)?grid.setLineColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__gridLineColor)):grid.setLineColor(null),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setSubgridShowHorizontalLines(valueNew){let convertedValue=TcHmi.ValueConverter.toBoolean(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("SubgridShowHorizontalLines")),convertedValue!==this.__subgridShowHorizontalLines&&(this.__subgridShowHorizontalLines=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"SubgridShowHorizontalLines"}),this.__processSubgridShowHorizontalLines())}getSubgridShowHorizontalLines(){return this.__subgridShowHorizontalLines}__processSubgridShowHorizontalLines(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let subgrid=this.__lineChart.getSubgrid();null!=subgrid&&(subgrid.setShowHorizontalLines(void 0===this.__subgridShowHorizontalLines?this.getAttributeDefaultValueInternal("SubgridShowHorizontalLines"):this.__subgridShowHorizontalLines),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setSubgridShowVerticalLines(valueNew){let convertedValue=TcHmi.ValueConverter.toBoolean(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("SubgridShowVerticalLines")),convertedValue!==this.__subgridShowVerticalLines&&(this.__subgridShowVerticalLines=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"SubgridShowVerticalLines"}),this.__processSubgridShowVerticalLines())}getSubgridShowVerticalLines(){return this.__subgridShowVerticalLines}__processSubgridShowVerticalLines(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let subgrid=this.__lineChart.getSubgrid();null!=subgrid&&(subgrid.setShowVerticalLines(void 0===this.__subgridShowVerticalLines?this.getAttributeDefaultValueInternal("SubgridShowVerticalLines"):this.__subgridShowVerticalLines),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setSubgridLineWidth(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("SubgridLineWidth")),convertedValue!==this.__subgridLineWidth&&(this.__subgridLineWidth=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"SubgridLineWidth"}),this.__processSubgridLineWidth())}getSubgridLineWidth(){return this.__subgridLineWidth}__processSubgridLineWidth(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let subgrid=this.__lineChart.getSubgrid();null!=subgrid&&(subgrid.setLineWidth(void 0===this.__subgridLineWidth?this.getAttributeDefaultValueInternal("SubgridLineWidth"):this.__subgridLineWidth),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setSubgridLineStyle(valueNew){let convertedValue=TcHmi.ValueConverter.toString(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("SubgridLineStyle")),convertedValue!==this.__subgridLineStyle&&(this.__subgridLineStyle=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"SubgridLineStyle"}),this.__processSubgridLineStyle())}getSubgridLineStyle(){return this.__subgridLineStyle}__processSubgridLineStyle(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let subgrid=this.__lineChart.getSubgrid();null!=subgrid&&(subgrid.setLineStyle(void 0===this.__subgridLineStyle?this.getAttributeDefaultValueInternal("SubgridLineStyle"):this.__subgridLineStyle),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setSubgridLineColor(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("SubgridLineColor"));let resolverInfo=this.__objectResolvers.get("subgridLineColor");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("subgridLineColor",{resolver:resolver,watchCallback:this.__onResolverForSubgridLineColorWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForSubgridLineColorWatchCallback)})}getSubgridLineColor(){return this.__subgridLineColor}__processSubgridLineColor(){if(null!==this.__lineChart&&void 0!==this.__lineChart){let subgrid=this.__lineChart.getSubgrid();null!=subgrid&&(TcHmi.isSolidColor(this.__subgridLineColor)?subgrid.setLineColor(TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__subgridLineColor)):subgrid.setLineColor(null),this.__lineChart.setHasChanged(!0),this.__lineChart.draw())}}setShowTooltip(valueNew){let convertedValue=TcHmi.ValueConverter.toBoolean(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("ShowTooltip")),convertedValue!==this.__showTooltip&&(this.__showTooltip=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"ShowTooltip"}),this.__processShowTooltip())}getShowTooltip(){return this.__showTooltip}__processShowTooltip(){}setTooltipFormat(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("TooltipFormat"));let resolverInfo=this.__objectResolvers.get("tooltipFormat");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("tooltipFormat",{resolver:resolver,watchCallback:this.__onResolverForTooltipFormatWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForTooltipFormatWatchCallback)})}getTooltipFormat(){return this.__tooltipFormat}__processTooltipFormat(){var _b;if(this.__tooltipInformation.show){let tooptipFormat=null!==(_b=this.__executeTooltipFormatFunction(this.__tooltipInformation.point.x,this.__tooltipInformation.point.y))&&void 0!==_b?_b:"";this.__elementTooltipText[0].innerHTML=tooptipFormat}}__executeTooltipFormatFunction(xValue,yValue){var _b;if(void 0!==this.__tooltipFormat&&null!==this.__tooltipFormat&&!1!==this.__tooltipFormat.active){const args=[xValue,yValue];let res=null,f=new TcHmi.Function(this.__tooltipFormat),__this=this;if(!f.isProcessedAsync())return f.executeEx(args,(function(data){var _b;data.error===TcHmi.Errors.NONE?res=data.result:TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+__this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==__this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+__this.getId()+"] Execution of function="+(null===(_b=__this.__tooltipFormat)||void 0===_b?void 0:_b.fn)+" failed with error: "+TcHmi.Log.buildMessage(data.details))})),f.destroy(),res;TCHMI_CONSOLE_LOG_LEVEL>=1&&TcHmi.Log.errorEx("[Source=Control, Module="+__this.__type+(__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN)!==__this.__type?", Origin="+__classPrivateFieldGet(TcHmiLineChart,_a,"f",_TcHmiLineChart_tchmiFQN):"")+", Id="+__this.getId()+"] Execution of function="+(null===(_b=__this.__tooltipFormat)||void 0===_b?void 0:_b.fn)+" was aborted because it will be processed asynchronous and a synchronous running function call is required. Either the function is running asynchronous by definition or asynchronous running symbols were added to the list of parameters.")}return"x: "+xValue+"<br/>y: "+yValue}setTooltipFontFamily(valueNew){let convertedValue=TcHmi.ValueConverter.toFontFamily(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("TooltipFontFamily")),convertedValue!==this.__tooltipFontFamily&&(this.__tooltipFontFamily=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"TooltipFontFamily"}),this.__processTooltipFontFamily())}getTooltipFontFamily(){return this.__tooltipFontFamily}__processTooltipFontFamily(){TcHmi.StyleProvider.setSimpleElementStyle(this.__elementTooltip,{"font-family":this.__tooltipFontFamily})}setTooltipFontSize(valueNew){let convertedValue=TcHmi.ValueConverter.toNumber(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("TooltipFontSize")),convertedValue!==this.__tooltipFontSize&&(this.__tooltipFontSize=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"TooltipFontSize"}),this.__processTooltipFontSize())}getTooltipFontSize(){return this.__tooltipFontSize}__processTooltipFontSize(){TcHmi.StyleProvider.setSimpleElementStyle(this.__elementTooltip,{"font-size":(this.__tooltipFontSize?this.__tooltipFontSize:this.getAttributeDefaultValueInternal("TooltipFontSize"))+"px"})}setTooltipFontSizeUnit(valueNew){}getTooltipFontSizeUnit(){return"px"}setTooltipFontWeight(valueNew){let convertedValue=TcHmi.ValueConverter.toFontWeight(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("TooltipFontWeight")),convertedValue!==this.__tooltipFontWeight&&(this.__tooltipFontWeight=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"TooltipFontWeight"}),this.__processTooltipFontWeight())}getTooltipFontWeight(){return this.__tooltipFontWeight}__processTooltipFontWeight(){TcHmi.StyleProvider.setSimpleElementStyle(this.__elementTooltip,{"font-weight":this.__tooltipFontWeight})}setTooltipFontColor(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("TooltipFontColor"));let resolverInfo=this.__objectResolvers.get("tooltipFontColor");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("tooltipFontColor",{resolver:resolver,watchCallback:this.__onResolverForTooltipFontColorWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForTooltipFontColorWatchCallback)})}getTooltipFontColor(){return this.__tooltipFontColor}__processTooltipFontColor(){let lineColor=null,lineGraph=this.__tooltipInformation.lineGraph;null!==lineGraph&&(lineColor=lineGraph.getLineColor()),TcHmi.isSolidColor(this.__tooltipFontColor)&&(lineColor=TcHmi.StyleProvider.resolveSolidColorAsCssValue(this.__tooltipFontColor)),null!=lineColor&&this.__elementTooltipText.css("color",lineColor)}setTooltipBackgroundColor(valueNew){let convertedValue=TcHmi.ValueConverter.toObject(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("TooltipBackgroundColor"));let resolverInfo=this.__objectResolvers.get("tooltipBackgroundColor");resolverInfo&&(resolverInfo.watchDestroyer&&resolverInfo.watchDestroyer(),resolverInfo.resolver.destroy());let resolver=new TcHmi.Symbol.ObjectResolver(convertedValue);this.__objectResolvers.set("tooltipBackgroundColor",{resolver:resolver,watchCallback:this.__onResolverForTooltipBackgroundColorWatchCallback,watchDestroyer:resolver.watch(this.__onResolverForTooltipBackgroundColorWatchCallback)})}getTooltipBackgroundColor(){return this.__tooltipBackgroundColor}__processTooltipBackgroundColor(){TcHmi.StyleProvider.processBackgroundColor(this.__elementTooltipText,this.__tooltipBackgroundColor),TcHmi.StyleProvider.processBackgroundColor(this.__elementTooltipArrow,this.__tooltipBackgroundColor)}setShowLegend(valueNew){let convertedValue=TcHmi.ValueConverter.toBoolean(valueNew);null===convertedValue&&(convertedValue=this.getAttributeDefaultValueInternal("ShowLegend")),convertedValue!==this.__showLegend&&(this.__showLegend=convertedValue,TcHmi.EventProvider.raise(this.__id+".onPropertyChanged",{propertyName:"ShowLegend"}),this.__processShowLegend())}getShowLegend(){return this.__showLegend}__processShowLegend(){this.__lineGraphDataSelected=this.__lineGraphData,this.__lineGraphDescriptionsSelected=this.__lineGraphDescriptions,this.__attributesInitialized&&(this.__createLegend(),this.__drawLineChart())}}_TcHmiLineChart_tchmiFQN={value:"TcHmi.Controls.Beckhoff."+(_a=TcHmiLineChart).name},Beckhoff.TcHmiLineChart=TcHmiLineChart,function(TcHmiLineChart){let Position,LineStyle;!function(Position){Position[Position.Left=0]="Left",Position[Position.Right=1]="Right"}(Position=TcHmiLineChart.Position||(TcHmiLineChart.Position={})),function(LineStyle){LineStyle[LineStyle.Dotted=0]="Dotted",LineStyle[LineStyle.Dashed=1]="Dashed",LineStyle[LineStyle.Solid=2]="Solid"}(LineStyle=TcHmiLineChart.LineStyle||(TcHmiLineChart.LineStyle={}))}(TcHmiLineChart=Beckhoff.TcHmiLineChart||(Beckhoff.TcHmiLineChart={}))}(Controls.Beckhoff||(Controls.Beckhoff={}))}(TcHmi.Controls||(TcHmi.Controls={}))}(TcHmi||(TcHmi={})),TcHmi.Controls.registerEx("TcHmiLineChart","TcHmi.Controls.Beckhoff",TcHmi.Controls.Beckhoff.TcHmiLineChart);