/*!@license
 * Infragistics.Web.ClientUI ShapeChart 21.2.20212.99
 *
 * Copyright (c) 2011-2022 Infragistics Inc.
 *
 * http://www.infragistics.com/
 *
 * Depends on:
 * jquery.js
 * jquery-ui.js
 * infragistics.util.js
 * infragistics.util.jquery.js
 * infragistics.datasource.js
 * infragistics.templating.js
 * infragistics.ext_core.js
 * infragistics.ext_collections.js
 * infragistics.ext_ui.js
 * infragistics.dv_core.js
 * infragistics.dv_datasource.js
 * infragistics.dv_dataseriesadapter.js
 * infragistics.dv_geometry.js
 * infragistics.dv_jquerydom.js
 * infragistics.dv_interactivity.js
 * infragistics.dv_geo.js  
 * infragistics.datachart_core.js
 * infragistics.datachart_interactivity.js
 * infragistics.datachart_extendedaxes.js
 * infragistics.dvcommonwidget.js
 * infragistics.ui.basechart.js
 * infragistics.financialchart.js
 * infragistics.ui.widget.js
 * infragistics.ui.financialchart.js 
 */
(function(factory){if(typeof define==="function"&&define.amd){define(["jquery","jquery-ui","./infragistics.util","./infragistics.util.jquery","./infragistics.datasource","./infragistics.templating","./infragistics.dv_dataseriesadapter","./infragistics.dv_jquerydom","./infragistics.financialchart","./infragistics.dvcommonwidget","./infragistics.ui.basechart"],factory)}else{factory(jQuery)}})(function($){var _aNull=function(v,nan){return v===null||v===undefined||nan&&typeof v==="number"&&isNaN(v)};$.widget("ui.igFinancialChart",$.ui.igBaseChart,{localeWidgetName:"Financial",css:{chart:"ui-category ui-corner-all ui-widget-content ui-financialchart-container",tooltip:"ui-category-tooltip ui-widget-content ui-corner-all"},options:{tooltipTemplate:null,tooltipTemplates:null,pixelScalingRatio:NaN,titleLeftMargin:0,titleRightMargin:0,titleTopMargin:0,titleBottomMargin:0,subtitleLeftMargin:0,subtitleTopMargin:0,subtitleRightMargin:0,subtitleBottomMargin:0,subtitleTextColor:null,titleTextColor:null,leftMargin:30,topMargin:NaN,rightMargin:NaN,bottomMargin:NaN,transitionDuration:0,transitionEasingFunction:null,createWrappedTooltip:null,widget:null,subtitleTextStyle:null,titleTextStyle:null,itemsSource:null,includedProperties:null,excludedProperties:null,brushes:null,outlines:null,actualOutlines:null,legend:null,isHorizontalZoomEnabled:true,isVerticalZoomEnabled:false,shouldDisplayMockData:false,shouldUseSkeletonStyleForMockData:false,isSeriesHighlightingEnabled:false,windowRect:null,title:null,subtitle:null,titleAlignment:"center",subtitleAlignment:"center",unknownValuePlotting:"linearInterpolate",resolution:NaN,thickness:NaN,outlineMode:"auto",markerOutlineMode:"auto",markerFillMode:"auto",markerFillOpacity:NaN,markerThickness:NaN,markerTypes:null,markerAutomaticBehavior:"circle",markerBrushes:null,markerOutlines:null,markerMaxCount:400,areaFillOpacity:NaN,animateSeriesWhenAxisRangeChanges:false,trendLineBrushes:null,trendLineType:"none",trendLineThickness:1.5,alignsGridLinesToPixels:true,plotAreaMarginLeft:NaN,plotAreaMarginTop:NaN,plotAreaMarginRight:NaN,plotAreaMarginBottom:NaN,computedPlotAreaMarginMode:"auto",highlightingMode:"auto",highlightingBehavior:"auto",legendHighlightingMode:"auto",legendItemBadgeShape:"automatic",legendItemBadgeMode:"simplified",shouldAutoExpandMarginForInitialLabels:false,autoExpandMarginExtraPadding:2,autoExpandMarginMaximumValue:60,trendLinePeriod:7,toolTipType:"default",crosshairsDisplayMode:"auto",crosshairsSnapToData:false,crosshairsLineVerticalStroke:null,crosshairsLineThickness:NaN,crosshairsLineHorizontalStroke:null,crosshairsAnnotationEnabled:true,crosshairsAnnotationXAxisBackground:null,crosshairsAnnotationYAxisBackground:null,crosshairsAnnotationXAxisTextColor:null,crosshairsAnnotationYAxisTextColor:null,crosshairsAnnotationXAxisPrecision:-1,crosshairsAnnotationYAxisPrecision:-1,shouldAvoidAxisAnnotationCollisions:false,finalValueAnnotationsVisible:false,finalValueAnnotationsBackground:null,finalValueAnnotationsTextColor:null,finalValueAnnotationsPrecision:-1,calloutsVisible:false,calloutStyleUpdatingEventEnabled:false,calloutsItemsSource:null,calloutsXMemberPath:null,calloutsYMemberPath:null,calloutsLabelMemberPath:null,calloutsContentMemberPath:null,xAxisFormatLabel:null,yAxisFormatLabel:null,xAxisLabelLeftMargin:0,xAxisLabelTopMargin:5,xAxisLabelRightMargin:0,xAxisLabelBottomMargin:5,yAxisLabelLeftMargin:5,yAxisLabelTopMargin:0,yAxisLabelRightMargin:5,yAxisLabelBottomMargin:0,xAxisLabelTextColor:null,yAxisLabelTextColor:null,xAxisTitleMargin:0,yAxisTitleMargin:0,xAxisTitleLeftMargin:NaN,yAxisTitleLeftMargin:NaN,xAxisTitleTopMargin:NaN,yAxisTitleTopMargin:NaN,xAxisTitleRightMargin:NaN,yAxisTitleRightMargin:NaN,xAxisTitleBottomMargin:NaN,yAxisTitleBottomMargin:NaN,xAxisTitleTextColor:null,yAxisTitleTextColor:null,xAxisLabelTextStyle:null,yAxisLabelTextStyle:null,xAxisTitleTextStyle:null,yAxisTitleTextStyle:null,xAxisLabel:null,yAxisLabel:null,xAxisMajorStroke:null,yAxisMajorStroke:null,xAxisMajorStrokeThickness:1,yAxisMajorStrokeThickness:1,xAxisMinorStrokeThickness:1,yAxisMinorStrokeThickness:1,xAxisStrip:null,yAxisStrip:null,xAxisStroke:null,yAxisStroke:null,xAxisStrokeThickness:1,yAxisStrokeThickness:1,xAxisTickLength:8,yAxisTickLength:0,xAxisTickStroke:null,yAxisTickStroke:null,xAxisTickStrokeThickness:1,yAxisTickStrokeThickness:1,xAxisTitle:null,yAxisTitle:null,xAxisMinorStroke:null,yAxisMinorStroke:null,xAxisLabelAngle:0,yAxisLabelAngle:0,xAxisExtent:NaN,yAxisExtent:NaN,xAxisTitleAngle:0,yAxisTitleAngle:-90,xAxisInverted:false,yAxisInverted:false,xAxisTitleAlignment:"center",yAxisTitleAlignment:"center",xAxisLabelHorizontalAlignment:"center",yAxisLabelHorizontalAlignment:"left",xAxisLabelVerticalAlignment:"top",yAxisLabelVerticalAlignment:"center",xAxisLabelVisibility:null,yAxisLabelVisibility:null,yAxisLabelLocation:"auto",xAxisLabelLocation:"auto",xAxisLabelFormat:null,xAxisLabelFormatSpecifiers:null,yAxisLabelFormat:null,yAxisLabelFormatSpecifiers:null,rangeSelectorTemplate:null,toolbarTemplate:null,chartTypePickerTemplate:null,trendLineTypePickerTemplate:null,volumeTypePickerTemplate:null,indicatorMenuTemplate:null,overlayPickerTemplate:null,toolbarHeight:40,yAxisIsLogarithmic:false,yAxisLogarithmBase:10,yAxisInterval:NaN,yAxisMinimumValue:NaN,yAxisMaximumValue:NaN,yAxisMinorInterval:0,volumeType:null,xAxisMode:null,yAxisMode:null,isToolbarVisible:true,chartType:null,isWindowSyncedToVisibleRange:false,indicatorTypes:null,overlayTypes:null,yAxisAbbreviateLargeNumbers:true,zoomSliderType:"auto",negativeBrushes:null,negativeOutlines:null,overlayBrushes:null,overlayOutlines:null,volumeOutlines:null,volumeBrushes:null,indicatorNegativeBrushes:null,indicatorBrushes:null,volumeThickness:1,overlayThickness:1,overlayMultiplier:2,indicatorThickness:1,indicatorDisplayTypes:null,indicatorPeriod:-2147483648,indicatorMultiplier:2,indicatorSmoothingPeriod:3,indicatorShortPeriod:10,indicatorLongPeriod:30,indicatorSignalPeriod:9,rangeSelectorOptions:null,actualRangeSelectorOptions:null,customIndicatorNames:null,zoomSliderXAxisMajorStroke:null,zoomSliderXAxisMajorStrokeThickness:1,isLegendVisible:false,financialChartLegend:null,xAxisMinimumValue:null,xAxisMaximumValue:null},events:{propertyChanged:null,seriesAdded:null,seriesRemoved:null,seriesPointerEnter:null,seriesPointerLeave:null,seriesPointerMove:null,seriesPointerDown:null,seriesPointerUp:null,calloutStyleUpdating:null,applyCustomIndicators:null},_create:function(){this._tooltip={};this._tooltipTemplates={};this._seriesOpt={};$.ui.igBaseChart.prototype._create.apply(this);this._getChartEvt=$.proxy($.ig.dvCommonWidget.prototype._getChartEvt,this);this._widget=this.widget;this.widget=this;var financialChart=this._chart;if(financialChart){financialChart.propertyChanged=$.ig.Delegate.prototype.combine(financialChart.propertyChanged,$.proxy(this._fireFinancialChart_propertyChanged,this));financialChart.seriesAdded=$.ig.Delegate.prototype.combine(financialChart.seriesAdded,$.proxy(this._fireFinancialChart_seriesAdded,this));financialChart.seriesRemoved=$.ig.Delegate.prototype.combine(financialChart.seriesRemoved,$.proxy(this._fireFinancialChart_seriesRemoved,this));financialChart.seriesPointerEnter=$.ig.Delegate.prototype.combine(financialChart.seriesPointerEnter,$.proxy(this._fireFinancialChart_seriesPointerEnter,this));financialChart.seriesPointerLeave=$.ig.Delegate.prototype.combine(financialChart.seriesPointerLeave,$.proxy(this._fireFinancialChart_seriesPointerLeave,this));financialChart.seriesPointerMove=$.ig.Delegate.prototype.combine(financialChart.seriesPointerMove,$.proxy(this._fireFinancialChart_seriesPointerMove,this));financialChart.seriesPointerDown=$.ig.Delegate.prototype.combine(financialChart.seriesPointerDown,$.proxy(this._fireFinancialChart_seriesPointerDown,this));financialChart.seriesPointerUp=$.ig.Delegate.prototype.combine(financialChart.seriesPointerUp,$.proxy(this._fireFinancialChart_seriesPointerUp,this));financialChart.calloutStyleUpdating=$.ig.Delegate.prototype.combine(financialChart.calloutStyleUpdating,$.proxy(this._fireFinancialChart_calloutStyleUpdating,this));financialChart.applyCustomIndicators=$.ig.Delegate.prototype.combine(financialChart.applyCustomIndicators,$.proxy(this._fireFinancialChart_applyCustomIndicators,this))}},_maskSeriesOptions:function(seriesOpt,options){for(var i=0;i<seriesOpt;i++){if(seriesOpt[options[i]]!==undefined){delete seriesOpt[options[i]]}}},_flattenIndicatorInfo:function(evtArgs,intSeries){var e={};e.position=evtArgs.position();e.count=evtArgs.count();e.getDataSource=function(){return $.ig.dvCommonWidget.prototype._flattenDataSource(intSeries,evtArgs.dataSource())};e.basedOn=evtArgs.basedOn();e.minimumValue=evtArgs.dataSource().minimumValue();e.maximumValue=evtArgs.dataSource().maximumValue();return e},_fireFinancialChart_applyCustomIndicators:function(chart,args){var seriesOpt=null;var beforeOpt=null;var opt={};var series=args.series();if(args.series()!==null){seriesOpt=$.ig.dvCommonWidget.prototype._flattenCommonSeriesOptions(series);beforeOpt=$.ig.dvCommonWidget.prototype._flattenCommonSeriesOptions(series);opt.series=seriesOpt}opt.indicatorInfo=this._flattenIndicatorInfo(args.indicatorInfo(),args.series());this.widget._trigger("applyCustomIndicators",null,opt);if(!isNaN(opt.indicatorInfo.minimum)){args.indicatorInfo().dataSource().minimumValue(opt.indicatorInfo.minimum)}if(!isNaN(opt.indicatorInfo.maximum)){args.indicatorInfo().dataSource().maximumValue(opt.indicatorInfo.maximum)}},_fireFinancialChart_seriesAdded:function(chart,args){var seriesOpt=null;var beforeOpt=null;var opt={};var series=args.series();if(args.series()!==null){seriesOpt=$.ig.dvCommonWidget.prototype._flattenCommonSeriesOptions(series);beforeOpt=$.ig.dvCommonWidget.prototype._flattenCommonSeriesOptions(series);opt.series=seriesOpt}this._trigger("seriesAdded",null,opt);var mustSet=false;for(var p in seriesOpt){if(seriesOpt.hasOwnProperty(p)){if(beforeOpt[p]===undefined){mustSet=true;continue}if(seriesOpt[p]===beforeOpt[p]){delete seriesOpt[p]}else{mustSet=true}}}this._maskSeriesOptions(seriesOpt,["legend","showTooltip","tooltipTemplate","tileImagery","targetSeries","targetAxis","xAxis","yAxis","series","name"]);$.each(seriesOpt,function(key,value){if(!$.ig.dvCommonWidget.prototype._setCoreSeriesOption(series,key,value)){$.ig.dvCommonWidget.prototype._seriesSetOption(series,key,value)}})},_fireFinancialChart_seriesRemoved:function(chart,args){var seriesOpt=null;var opt={};if(args.series()!==null){seriesOpt=$.ig.dvCommonWidget.prototype._flattenCommonSeriesOptions(args.series());opt.series=seriesOpt}this._trigger("seriesRemoved",null,opt)},_setLegend:function(chart,value){var legend=this._legend;if(legend&&legend.data("igChartLegend")!==undefined){legend.igChartLegend("destroy");if(legend[0]._remove){legend.remove()}delete this._legend;chart.legend(null)}if(!value){return}if(typeof value==="string"){value={element:value}}legend=value.element;if(legend){legend=$("#"+legend)}value.owner=this;if(!legend||legend.length!==1){legend=$("<div />").insertAfter(this.element);legend[0]._remove=true}this._legend=legend;chart.legend(legend.igChartLegend(value).data("igChartLegend").legend)},_set_option:function(financialChart,key,value){var result=false;switch(key){case"propertyChanged":case"seriesAdded":case"seriesRemoved":case"seriesPointerEnter":case"seriesPointerLeave":case"seriesPointerMove":case"seriesPointerDown":case"seriesPointerUp":case"applyCustomIndicators":case"calloutStyleUpdating":break;default:result=$.ui.igBaseChart.prototype._set_option.apply(this,arguments);break}switch(key){case"legend":this._setLegend(financialChart,value);return true;case"tooltipTemplate":result=false;break;case"markerTypes":var markerTypes=new $.ig.MarkerTypeCollection;for(i=0;i<value.length;i++){var markerType=$.ig.util.getValue($.ig.Enum.prototype.parse($.ig.MarkerType.prototype.$type,value[i],true));markerTypes.add(markerType)}value=markerTypes;break;case"transitionEasingFunction":value=$.ig.util.getEasingFunction(value);break;case"toolbarTemplate":case"rangeSelectorTemplate":var template;if(typeof value=="string"){if($.ig.dvCommonWidget.prototype._htmlCheckExpr.test(value)){template=document.createElement("template");template.innerHTML=value}if(!template){template=document.querySelector("#"+value)}if(!template){template=document.querySelector(value)}if(template){value=template}}break;case"indicatorTypes":var indicatorTypes=new $.ig.FinancialIndicatorTypeCollection;for(i=0;i<value.length;i++){var indicatorType=$.ig.util.getValue($.ig.Enum.prototype.parse($.ig.FinancialIndicatorType.prototype.$type,value[i],true));indicatorTypes.add(indicatorType)}value=indicatorTypes;break;case"overlayTypes":var overlayTypes=new $.ig.FinancialOverlayTypeCollection;for(i=0;i<value.length;i++){var overlayType=$.ig.util.getValue($.ig.Enum.prototype.parse($.ig.FinancialOverlayType.prototype.$type,value[i],true));overlayTypes.add(overlayType)}value=overlayTypes;break;case"rangeSelectorOptions":var rangeSelectorOptions=new $.ig.FinancialChartRangeSelectorOptionCollection;for(i=0;i<value.length;i++){var rangeSelectorOption=$.ig.util.getValue($.ig.Enum.prototype.parse($.ig.FinancialChartRangeSelectorOption.prototype.$type,value[i],true));rangeSelectorOptions.add(rangeSelectorOption)}value=rangeSelectorOptions;break;case"indicatorDisplayTypes":var indicatorDisplayTypes=new $.ig.IndicatorDisplayTypeCollection;for(i=0;i<value.length;i++){var indicatorDisplayType=$.ig.util.getValue($.ig.Enum.prototype.parse($.ig.IndicatorDisplayType.prototype.$type,value[i],true));indicatorDisplayTypes.add(indicatorDisplayType)}value=indicatorDisplayTypes;break;case"xAxisBreaks":var breaks=financialChart.xAxisBreaks();breaks.clear();$.each(value,function(ii,brk){var timeAxisBreak=new $.ig.TimeAxisBreak;timeAxisBreak.start(brk.start);timeAxisBreak.end(brk.end);timeAxisBreak.interval(brk.interval);breaks.add(timeAxisBreak)});return true}if(result){return true}switch(key){case"tooltipTemplate":financialChart.tooltipTemplate(value);return true;case"tooltipTemplates":financialChart.tooltipTemplates(value);return true;case"pixelScalingRatio":financialChart.pixelScalingRatio(value);return true;case"titleLeftMargin":financialChart.titleLeftMargin(value);return true;case"titleRightMargin":financialChart.titleRightMargin(value);return true;case"titleTopMargin":financialChart.titleTopMargin(value);return true;case"titleBottomMargin":financialChart.titleBottomMargin(value);return true;case"subtitleLeftMargin":financialChart.subtitleLeftMargin(value);return true;case"subtitleTopMargin":financialChart.subtitleTopMargin(value);return true;case"subtitleRightMargin":financialChart.subtitleRightMargin(value);return true;case"subtitleBottomMargin":financialChart.subtitleBottomMargin(value);return true;case"subtitleTextColor":if(value==null){financialChart.subtitleTextColor(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.subtitleTextColor($tempBrush)}return true;case"titleTextColor":if(value==null){financialChart.titleTextColor(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.titleTextColor($tempBrush)}return true;case"leftMargin":financialChart.leftMargin(value);return true;case"topMargin":financialChart.topMargin(value);return true;case"rightMargin":financialChart.rightMargin(value);return true;case"bottomMargin":financialChart.bottomMargin(value);return true;case"transitionDuration":financialChart.transitionDuration(value);return true;case"transitionEasingFunction":financialChart.transitionEasingFunction(value);return true;case"createWrappedTooltip":financialChart.createWrappedTooltip(value);return true;case"widget":financialChart.widget(value);return true;case"subtitleTextStyle":financialChart.subtitleTextStyle(value);return true;case"titleTextStyle":financialChart.titleTextStyle(value);return true;case"itemsSource":financialChart.itemsSource(value);return true;case"includedProperties":financialChart.includedProperties(value);return true;case"excludedProperties":financialChart.excludedProperties(value);return true;case"brushes":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.brushes($tempBrushCollection);return true;case"outlines":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.outlines($tempBrushCollection);return true;case"actualOutlines":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.actualOutlines($tempBrushCollection);return true;case"legend":financialChart.legend(value);return true;case"isHorizontalZoomEnabled":financialChart.isHorizontalZoomEnabled(value);return true;case"isVerticalZoomEnabled":financialChart.isVerticalZoomEnabled(value);return true;case"shouldDisplayMockData":financialChart.shouldDisplayMockData(value);return true;case"shouldUseSkeletonStyleForMockData":financialChart.shouldUseSkeletonStyleForMockData(value);return true;case"isSeriesHighlightingEnabled":financialChart.isSeriesHighlightingEnabled(value);return true;case"windowRect":financialChart.windowRect(new $.ig.Rect(0,value.left,value.top,value.width,value.height));return true;case"title":financialChart.title(value);return true;case"subtitle":financialChart.subtitle(value);return true;case"titleAlignment":switch(value){case"left":financialChart.titleAlignment(0);break;case"center":financialChart.titleAlignment(1);break;case"right":financialChart.titleAlignment(2);break;case"stretch":financialChart.titleAlignment(3);break}return true;case"subtitleAlignment":switch(value){case"left":financialChart.subtitleAlignment(0);break;case"center":financialChart.subtitleAlignment(1);break;case"right":financialChart.subtitleAlignment(2);break;case"stretch":financialChart.subtitleAlignment(3);break}return true;case"unknownValuePlotting":switch(value){case"linearInterpolate":financialChart.unknownValuePlotting(0);break;case"dontPlot":financialChart.unknownValuePlotting(1);break}return true;case"resolution":financialChart.resolution(value);return true;case"thickness":financialChart.thickness(value);return true;case"outlineMode":switch(value){case"auto":financialChart.outlineMode(0);break;case"visible":financialChart.outlineMode(1);break;case"collapsed":financialChart.outlineMode(2);break}return true;case"markerOutlineMode":switch(value){case"auto":financialChart.markerOutlineMode(0);break;case"normal":financialChart.markerOutlineMode(1);break;case"matchMarkerBrush":financialChart.markerOutlineMode(2);break}return true;case"markerFillMode":switch(value){case"auto":financialChart.markerFillMode(0);break;case"normal":financialChart.markerFillMode(1);break;case"matchMarkerOutline":financialChart.markerFillMode(2);break}return true;case"markerFillOpacity":financialChart.markerFillOpacity(value);return true;case"markerThickness":financialChart.markerThickness(value);return true;case"markerTypes":financialChart.markerTypes(value);return true;case"markerAutomaticBehavior":switch(value){case"circleSmart":financialChart.markerAutomaticBehavior(0);break;case"none":financialChart.markerAutomaticBehavior(1);break;case"smartIndexed":financialChart.markerAutomaticBehavior(2);break;case"indexed":financialChart.markerAutomaticBehavior(3);break;case"circle":financialChart.markerAutomaticBehavior(4);break;case"triangle":financialChart.markerAutomaticBehavior(5);break;case"pyramid":financialChart.markerAutomaticBehavior(6);break;case"square":financialChart.markerAutomaticBehavior(7);break;case"diamond":financialChart.markerAutomaticBehavior(8);break;case"pentagon":financialChart.markerAutomaticBehavior(9);break;case"hexagon":financialChart.markerAutomaticBehavior(10);break;case"tetragram":financialChart.markerAutomaticBehavior(11);break;case"pentagram":financialChart.markerAutomaticBehavior(12);break;case"hexagram":financialChart.markerAutomaticBehavior(13);break}return true;case"markerBrushes":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.markerBrushes($tempBrushCollection);return true;case"markerOutlines":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.markerOutlines($tempBrushCollection);return true;case"markerMaxCount":financialChart.markerMaxCount(value);return true;case"areaFillOpacity":financialChart.areaFillOpacity(value);return true;case"animateSeriesWhenAxisRangeChanges":financialChart.animateSeriesWhenAxisRangeChanges(value);return true;case"trendLineBrushes":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.trendLineBrushes($tempBrushCollection);return true;case"trendLineType":switch(value){case"none":financialChart.trendLineType(0);break;case"linearFit":financialChart.trendLineType(1);break;case"quadraticFit":financialChart.trendLineType(2);break;case"cubicFit":financialChart.trendLineType(3);break;case"quarticFit":financialChart.trendLineType(4);break;case"quinticFit":financialChart.trendLineType(5);break;case"logarithmicFit":financialChart.trendLineType(6);break;case"exponentialFit":financialChart.trendLineType(7);break;case"powerLawFit":financialChart.trendLineType(8);break;case"simpleAverage":financialChart.trendLineType(9);break;case"exponentialAverage":financialChart.trendLineType(10);break;case"modifiedAverage":financialChart.trendLineType(11);break;case"cumulativeAverage":financialChart.trendLineType(12);break;case"weightedAverage":financialChart.trendLineType(13);break}return true;case"trendLineThickness":financialChart.trendLineThickness(value);return true;case"alignsGridLinesToPixels":financialChart.alignsGridLinesToPixels(value);return true;case"plotAreaMarginLeft":financialChart.plotAreaMarginLeft(value);return true;case"plotAreaMarginTop":financialChart.plotAreaMarginTop(value);return true;case"plotAreaMarginRight":financialChart.plotAreaMarginRight(value);return true;case"plotAreaMarginBottom":financialChart.plotAreaMarginBottom(value);return true;case"computedPlotAreaMarginMode":switch(value){case"auto":financialChart.computedPlotAreaMarginMode(0);break;case"series":financialChart.computedPlotAreaMarginMode(1);break;case"none":financialChart.computedPlotAreaMarginMode(2);break}return true;case"highlightingMode":switch(value){case"auto":financialChart.highlightingMode(0);break;case"none":financialChart.highlightingMode(1);break;case"brightenSpecific":financialChart.highlightingMode(2);break;case"brighten":financialChart.highlightingMode(3);break;case"fadeOthersSpecific":financialChart.highlightingMode(4);break;case"fadeOthers":financialChart.highlightingMode(5);break}return true;case"highlightingBehavior":switch(value){case"auto":financialChart.highlightingBehavior(0);break;case"directlyOver":financialChart.highlightingBehavior(1);break;case"nearestItems":financialChart.highlightingBehavior(2);break;case"nearestItemsRetainMainShapes":financialChart.highlightingBehavior(3);break;case"nearestItemsAndSeries":financialChart.highlightingBehavior(4);break}return true;case"legendHighlightingMode":switch(value){case"auto":financialChart.legendHighlightingMode(0);break;case"none":financialChart.legendHighlightingMode(1);break;case"matchSeries":financialChart.legendHighlightingMode(2);break}return true;case"legendItemBadgeShape":switch(value){case"automatic":financialChart.legendItemBadgeShape(0);break;case"circle":financialChart.legendItemBadgeShape(1);break;case"line":financialChart.legendItemBadgeShape(2);break;case"square":financialChart.legendItemBadgeShape(3);break;case"marker":financialChart.legendItemBadgeShape(4);break;case"bar":financialChart.legendItemBadgeShape(5);break;case"column":financialChart.legendItemBadgeShape(6);break;case"hidden":financialChart.legendItemBadgeShape(7);break}return true;case"legendItemBadgeMode":switch(value){case"simplified":financialChart.legendItemBadgeMode(0);break;case"matchSeries":financialChart.legendItemBadgeMode(1);break}return true;case"shouldAutoExpandMarginForInitialLabels":financialChart.shouldAutoExpandMarginForInitialLabels(value);return true;case"autoExpandMarginExtraPadding":financialChart.autoExpandMarginExtraPadding(value);return true;case"autoExpandMarginMaximumValue":financialChart.autoExpandMarginMaximumValue(value);return true;case"trendLinePeriod":financialChart.trendLinePeriod(value);return true;case"toolTipType":switch(value){case"default":financialChart.toolTipType(0);break;case"item":financialChart.toolTipType(1);break;case"category":financialChart.toolTipType(2);break;case"none":financialChart.toolTipType(3);break}return true;case"crosshairsDisplayMode":switch(value){case"auto":financialChart.crosshairsDisplayMode(0);break;case"none":financialChart.crosshairsDisplayMode(1);break;case"horizontal":financialChart.crosshairsDisplayMode(2);break;case"vertical":financialChart.crosshairsDisplayMode(3);break;case"both":financialChart.crosshairsDisplayMode(4);break}return true;case"crosshairsSnapToData":financialChart.crosshairsSnapToData(value);return true;case"crosshairsLineVerticalStroke":if(value==null){financialChart.crosshairsLineVerticalStroke(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.crosshairsLineVerticalStroke($tempBrush)}return true;case"crosshairsLineThickness":financialChart.crosshairsLineThickness(value);return true;case"crosshairsLineHorizontalStroke":if(value==null){financialChart.crosshairsLineHorizontalStroke(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.crosshairsLineHorizontalStroke($tempBrush)}return true;case"crosshairsAnnotationEnabled":financialChart.crosshairsAnnotationEnabled(value);return true;case"crosshairsAnnotationXAxisBackground":if(value==null){financialChart.crosshairsAnnotationXAxisBackground(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.crosshairsAnnotationXAxisBackground($tempBrush)}return true;case"crosshairsAnnotationYAxisBackground":if(value==null){financialChart.crosshairsAnnotationYAxisBackground(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.crosshairsAnnotationYAxisBackground($tempBrush)}return true;case"crosshairsAnnotationXAxisTextColor":if(value==null){financialChart.crosshairsAnnotationXAxisTextColor(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.crosshairsAnnotationXAxisTextColor($tempBrush)}return true;case"crosshairsAnnotationYAxisTextColor":if(value==null){financialChart.crosshairsAnnotationYAxisTextColor(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.crosshairsAnnotationYAxisTextColor($tempBrush)}return true;case"crosshairsAnnotationXAxisPrecision":financialChart.crosshairsAnnotationXAxisPrecision(value);return true;case"crosshairsAnnotationYAxisPrecision":financialChart.crosshairsAnnotationYAxisPrecision(value);return true;case"shouldAvoidAxisAnnotationCollisions":financialChart.shouldAvoidAxisAnnotationCollisions(value);return true;case"finalValueAnnotationsVisible":financialChart.finalValueAnnotationsVisible(value);return true;case"finalValueAnnotationsBackground":if(value==null){financialChart.finalValueAnnotationsBackground(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.finalValueAnnotationsBackground($tempBrush)}return true;case"finalValueAnnotationsTextColor":if(value==null){financialChart.finalValueAnnotationsTextColor(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.finalValueAnnotationsTextColor($tempBrush)}return true;case"finalValueAnnotationsPrecision":financialChart.finalValueAnnotationsPrecision(value);return true;case"calloutsVisible":financialChart.calloutsVisible(value);return true;case"calloutStyleUpdatingEventEnabled":financialChart.calloutStyleUpdatingEventEnabled(value);return true;case"calloutsItemsSource":financialChart.calloutsItemsSource(value);return true;case"calloutsXMemberPath":financialChart.calloutsXMemberPath(value);return true;case"calloutsYMemberPath":financialChart.calloutsYMemberPath(value);return true;case"calloutsLabelMemberPath":financialChart.calloutsLabelMemberPath(value);return true;case"calloutsContentMemberPath":financialChart.calloutsContentMemberPath(value);return true;case"xAxisFormatLabel":financialChart.xAxisFormatLabel(value);return true;case"yAxisFormatLabel":financialChart.yAxisFormatLabel(value);return true;case"xAxisLabelLeftMargin":financialChart.xAxisLabelLeftMargin(value);return true;case"xAxisLabelTopMargin":financialChart.xAxisLabelTopMargin(value);return true;case"xAxisLabelRightMargin":financialChart.xAxisLabelRightMargin(value);return true;case"xAxisLabelBottomMargin":financialChart.xAxisLabelBottomMargin(value);return true;case"yAxisLabelLeftMargin":financialChart.yAxisLabelLeftMargin(value);return true;case"yAxisLabelTopMargin":financialChart.yAxisLabelTopMargin(value);return true;case"yAxisLabelRightMargin":financialChart.yAxisLabelRightMargin(value);return true;case"yAxisLabelBottomMargin":financialChart.yAxisLabelBottomMargin(value);return true;case"xAxisLabelTextColor":if(value==null){financialChart.xAxisLabelTextColor(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.xAxisLabelTextColor($tempBrush)}return true;case"yAxisLabelTextColor":if(value==null){financialChart.yAxisLabelTextColor(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.yAxisLabelTextColor($tempBrush)}return true;case"xAxisTitleMargin":financialChart.xAxisTitleMargin(value);return true;case"yAxisTitleMargin":financialChart.yAxisTitleMargin(value);return true;case"xAxisTitleLeftMargin":financialChart.xAxisTitleLeftMargin(value);return true;case"yAxisTitleLeftMargin":financialChart.yAxisTitleLeftMargin(value);return true;case"xAxisTitleTopMargin":financialChart.xAxisTitleTopMargin(value);return true;case"yAxisTitleTopMargin":financialChart.yAxisTitleTopMargin(value);return true;case"xAxisTitleRightMargin":financialChart.xAxisTitleRightMargin(value);return true;case"yAxisTitleRightMargin":financialChart.yAxisTitleRightMargin(value);return true;case"xAxisTitleBottomMargin":financialChart.xAxisTitleBottomMargin(value);return true;case"yAxisTitleBottomMargin":financialChart.yAxisTitleBottomMargin(value);return true;case"xAxisTitleTextColor":if(value==null){financialChart.xAxisTitleTextColor(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.xAxisTitleTextColor($tempBrush)}return true;case"yAxisTitleTextColor":if(value==null){financialChart.yAxisTitleTextColor(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);
financialChart.yAxisTitleTextColor($tempBrush)}return true;case"xAxisLabelTextStyle":financialChart.xAxisLabelTextStyle(value);return true;case"yAxisLabelTextStyle":financialChart.yAxisLabelTextStyle(value);return true;case"xAxisTitleTextStyle":financialChart.xAxisTitleTextStyle(value);return true;case"yAxisTitleTextStyle":financialChart.yAxisTitleTextStyle(value);return true;case"xAxisLabel":financialChart.xAxisLabel(value);return true;case"yAxisLabel":financialChart.yAxisLabel(value);return true;case"xAxisMajorStroke":if(value==null){financialChart.xAxisMajorStroke(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.xAxisMajorStroke($tempBrush)}return true;case"yAxisMajorStroke":if(value==null){financialChart.yAxisMajorStroke(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.yAxisMajorStroke($tempBrush)}return true;case"xAxisMajorStrokeThickness":financialChart.xAxisMajorStrokeThickness(value);return true;case"yAxisMajorStrokeThickness":financialChart.yAxisMajorStrokeThickness(value);return true;case"xAxisMinorStrokeThickness":financialChart.xAxisMinorStrokeThickness(value);return true;case"yAxisMinorStrokeThickness":financialChart.yAxisMinorStrokeThickness(value);return true;case"xAxisStrip":if(value==null){financialChart.xAxisStrip(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.xAxisStrip($tempBrush)}return true;case"yAxisStrip":if(value==null){financialChart.yAxisStrip(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.yAxisStrip($tempBrush)}return true;case"xAxisStroke":if(value==null){financialChart.xAxisStroke(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.xAxisStroke($tempBrush)}return true;case"yAxisStroke":if(value==null){financialChart.yAxisStroke(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.yAxisStroke($tempBrush)}return true;case"xAxisStrokeThickness":financialChart.xAxisStrokeThickness(value);return true;case"yAxisStrokeThickness":financialChart.yAxisStrokeThickness(value);return true;case"xAxisTickLength":financialChart.xAxisTickLength(value);return true;case"yAxisTickLength":financialChart.yAxisTickLength(value);return true;case"xAxisTickStroke":if(value==null){financialChart.xAxisTickStroke(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.xAxisTickStroke($tempBrush)}return true;case"yAxisTickStroke":if(value==null){financialChart.yAxisTickStroke(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.yAxisTickStroke($tempBrush)}return true;case"xAxisTickStrokeThickness":financialChart.xAxisTickStrokeThickness(value);return true;case"yAxisTickStrokeThickness":financialChart.yAxisTickStrokeThickness(value);return true;case"xAxisTitle":financialChart.xAxisTitle(value);return true;case"yAxisTitle":financialChart.yAxisTitle(value);return true;case"xAxisMinorStroke":if(value==null){financialChart.xAxisMinorStroke(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.xAxisMinorStroke($tempBrush)}return true;case"yAxisMinorStroke":if(value==null){financialChart.yAxisMinorStroke(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.yAxisMinorStroke($tempBrush)}return true;case"xAxisLabelAngle":financialChart.xAxisLabelAngle(value);return true;case"yAxisLabelAngle":financialChart.yAxisLabelAngle(value);return true;case"xAxisExtent":financialChart.xAxisExtent(value);return true;case"yAxisExtent":financialChart.yAxisExtent(value);return true;case"xAxisTitleAngle":financialChart.xAxisTitleAngle(value);return true;case"yAxisTitleAngle":financialChart.yAxisTitleAngle(value);return true;case"xAxisInverted":financialChart.xAxisInverted(value);return true;case"yAxisInverted":financialChart.yAxisInverted(value);return true;case"xAxisTitleAlignment":switch(value){case"left":financialChart.xAxisTitleAlignment(0);break;case"center":financialChart.xAxisTitleAlignment(1);break;case"right":financialChart.xAxisTitleAlignment(2);break;case"stretch":financialChart.xAxisTitleAlignment(3);break}return true;case"yAxisTitleAlignment":switch(value){case"top":financialChart.yAxisTitleAlignment(0);break;case"center":financialChart.yAxisTitleAlignment(1);break;case"bottom":financialChart.yAxisTitleAlignment(2);break;case"stretch":financialChart.yAxisTitleAlignment(3);break}return true;case"xAxisLabelHorizontalAlignment":switch(value){case"left":financialChart.xAxisLabelHorizontalAlignment(0);break;case"center":financialChart.xAxisLabelHorizontalAlignment(1);break;case"right":financialChart.xAxisLabelHorizontalAlignment(2);break;case"stretch":financialChart.xAxisLabelHorizontalAlignment(3);break}return true;case"yAxisLabelHorizontalAlignment":switch(value){case"left":financialChart.yAxisLabelHorizontalAlignment(0);break;case"center":financialChart.yAxisLabelHorizontalAlignment(1);break;case"right":financialChart.yAxisLabelHorizontalAlignment(2);break;case"stretch":financialChart.yAxisLabelHorizontalAlignment(3);break}return true;case"xAxisLabelVerticalAlignment":switch(value){case"top":financialChart.xAxisLabelVerticalAlignment(0);break;case"center":financialChart.xAxisLabelVerticalAlignment(1);break;case"bottom":financialChart.xAxisLabelVerticalAlignment(2);break;case"stretch":financialChart.xAxisLabelVerticalAlignment(3);break}return true;case"yAxisLabelVerticalAlignment":switch(value){case"top":financialChart.yAxisLabelVerticalAlignment(0);break;case"center":financialChart.yAxisLabelVerticalAlignment(1);break;case"bottom":financialChart.yAxisLabelVerticalAlignment(2);break;case"stretch":financialChart.yAxisLabelVerticalAlignment(3);break}return true;case"xAxisLabelVisibility":switch(value){case"visible":financialChart.xAxisLabelVisibility(0);break;case"collapsed":financialChart.xAxisLabelVisibility(1);break}return true;case"yAxisLabelVisibility":switch(value){case"visible":financialChart.yAxisLabelVisibility(0);break;case"collapsed":financialChart.yAxisLabelVisibility(1);break}return true;case"yAxisLabelLocation":switch(value){case"outsideLeft":financialChart.yAxisLabelLocation(0);break;case"outsideRight":financialChart.yAxisLabelLocation(1);break;case"insideLeft":financialChart.yAxisLabelLocation(2);break;case"insideRight":financialChart.yAxisLabelLocation(3);break;case"auto":financialChart.yAxisLabelLocation(4);break}return true;case"xAxisLabelLocation":switch(value){case"outsideTop":financialChart.xAxisLabelLocation(0);break;case"outsideBottom":financialChart.xAxisLabelLocation(1);break;case"insideTop":financialChart.xAxisLabelLocation(2);break;case"insideBottom":financialChart.xAxisLabelLocation(3);break;case"auto":financialChart.xAxisLabelLocation(4);break}return true;case"xAxisLabelFormat":financialChart.xAxisLabelFormat(value);return true;case"xAxisLabelFormatSpecifiers":financialChart.xAxisLabelFormatSpecifiers(value);return true;case"yAxisLabelFormat":financialChart.yAxisLabelFormat(value);return true;case"yAxisLabelFormatSpecifiers":financialChart.yAxisLabelFormatSpecifiers(value);return true;case"rangeSelectorTemplate":financialChart.rangeSelectorTemplate(value);return true;case"toolbarTemplate":financialChart.toolbarTemplate(value);return true;case"chartTypePickerTemplate":financialChart.chartTypePickerTemplate(value);return true;case"trendLineTypePickerTemplate":financialChart.trendLineTypePickerTemplate(value);return true;case"volumeTypePickerTemplate":financialChart.volumeTypePickerTemplate(value);return true;case"indicatorMenuTemplate":financialChart.indicatorMenuTemplate(value);return true;case"overlayPickerTemplate":financialChart.overlayPickerTemplate(value);return true;case"toolbarHeight":financialChart.toolbarHeight(value);return true;case"yAxisIsLogarithmic":financialChart.yAxisIsLogarithmic(value);return true;case"yAxisLogarithmBase":financialChart.yAxisLogarithmBase(value);return true;case"yAxisInterval":financialChart.yAxisInterval(value);return true;case"yAxisMinimumValue":financialChart.yAxisMinimumValue(value);return true;case"yAxisMaximumValue":financialChart.yAxisMaximumValue(value);return true;case"yAxisMinorInterval":financialChart.yAxisMinorInterval(value);return true;case"volumeType":switch(value){case"none":financialChart.volumeType(0);break;case"column":financialChart.volumeType(1);break;case"line":financialChart.volumeType(2);break;case"area":financialChart.volumeType(3);break}return true;case"xAxisMode":switch(value){case"ordinal":financialChart.xAxisMode(0);break;case"time":financialChart.xAxisMode(1);break}return true;case"yAxisMode":switch(value){case"numeric":financialChart.yAxisMode(0);break;case"percentChange":financialChart.yAxisMode(1);break}return true;case"isToolbarVisible":financialChart.isToolbarVisible(value);return true;case"chartType":switch(value){case"auto":financialChart.chartType(0);break;case"bar":financialChart.chartType(1);break;case"candle":financialChart.chartType(2);break;case"column":financialChart.chartType(3);break;case"line":financialChart.chartType(4);break}return true;case"isWindowSyncedToVisibleRange":financialChart.isWindowSyncedToVisibleRange(value);return true;case"indicatorTypes":financialChart.indicatorTypes(value);return true;case"overlayTypes":financialChart.overlayTypes(value);return true;case"yAxisAbbreviateLargeNumbers":financialChart.yAxisAbbreviateLargeNumbers(value);return true;case"zoomSliderType":switch(value){case"none":financialChart.zoomSliderType(0);break;case"auto":financialChart.zoomSliderType(1);break;case"bar":financialChart.zoomSliderType(2);break;case"candle":financialChart.zoomSliderType(3);break;case"column":financialChart.zoomSliderType(4);break;case"line":financialChart.zoomSliderType(5);break;case"area":financialChart.zoomSliderType(6);break}return true;case"negativeBrushes":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.negativeBrushes($tempBrushCollection);return true;case"negativeOutlines":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.negativeOutlines($tempBrushCollection);return true;case"overlayBrushes":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.overlayBrushes($tempBrushCollection);return true;case"overlayOutlines":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.overlayOutlines($tempBrushCollection);return true;case"volumeOutlines":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.volumeOutlines($tempBrushCollection);return true;case"volumeBrushes":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.volumeBrushes($tempBrushCollection);return true;case"indicatorNegativeBrushes":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.indicatorNegativeBrushes($tempBrushCollection);return true;case"indicatorBrushes":var isRGB=true,val=value?value[0]:null;if(typeof val=="string"&&val=="HSV"||val=="RGB"){if(value[0]=="HSV"){isRGB=false}value=value.slice(1)}var $tempBrushCollection=new $.ig.BrushCollection;for(var i=0;value&&i<value.length;i++){var $tempBrush=$.ig.Brush.prototype.create(value[i]);$tempBrushCollection.add($tempBrush)}financialChart.indicatorBrushes($tempBrushCollection);return true;case"volumeThickness":financialChart.volumeThickness(value);return true;case"overlayThickness":financialChart.overlayThickness(value);return true;case"overlayMultiplier":financialChart.overlayMultiplier(value);return true;case"indicatorThickness":financialChart.indicatorThickness(value);return true;case"indicatorDisplayTypes":financialChart.indicatorDisplayTypes(value);return true;case"indicatorPeriod":financialChart.indicatorPeriod(value);return true;case"indicatorMultiplier":financialChart.indicatorMultiplier(value);return true;case"indicatorSmoothingPeriod":financialChart.indicatorSmoothingPeriod(value);return true;case"indicatorShortPeriod":financialChart.indicatorShortPeriod(value);return true;case"indicatorLongPeriod":financialChart.indicatorLongPeriod(value);return true;case"indicatorSignalPeriod":financialChart.indicatorSignalPeriod(value);return true;case"rangeSelectorOptions":financialChart.rangeSelectorOptions(value);return true;case"actualRangeSelectorOptions":financialChart.actualRangeSelectorOptions(value);return true;case"customIndicatorNames":financialChart.customIndicatorNames(value);return true;case"zoomSliderXAxisMajorStroke":if(value==null){financialChart.zoomSliderXAxisMajorStroke(null)}else{var $tempBrush=$.ig.Brush.prototype.create(value);financialChart.zoomSliderXAxisMajorStroke($tempBrush)}return true;case"zoomSliderXAxisMajorStrokeThickness":financialChart.zoomSliderXAxisMajorStrokeThickness(value);return true;case"isLegendVisible":financialChart.isLegendVisible(value);return true;case"financialChartLegend":financialChart.financialChartLegend(value);return true;case"xAxisMinimumValue":financialChart.xAxisMinimumValue(value);return true;case"xAxisMaximumValue":financialChart.xAxisMaximumValue(value);return true}},_converterCallback:function(){if(this._dataSource&&this._dataSource!=null&&this._dataSource.converter&&this._dataSource.converter()!=null&&this._dataSource.converter().records){this._chart.itemsSource(this._dataSource.converter().records())}else{this._chart.itemsSource(null)}},_setOption:function(key,val){var chart=this._chart,o=this.options;if(o[key]===val){return this}$.Widget.prototype._setOption.apply(this,arguments);this._set_option(chart,key,val);return this},_getValueKeyName:function(){return"valueMemberPath"},_getRemoteDataKeys:function(){var o=this.options;return[o.valueMemberPath]},_getNotifyResizeName:function(){return"notifyResized"},_createChart:function(){var result=new $.ig.FinancialChart;result.createWrappedTooltip(function(ele){var jEle=$(ele);var wrap=new $.ig.JQueryDomWrapper(jEle[0],jEle);return[wrap,jEle]});result.widget(this);return result},destroy:function(){this.widget=this._widget;$.ui.igBaseChart.prototype.destroy.apply(this)},_getWidgetName:function(){return""},id:function(){return this.element.length>0?this.element[0].id:""},_beforeInitialOptions:function(chart,elem){var elemWrapper=new $.ig.JQueryDomWrapper(elem[0],elem);var renderer=new $.ig.JQueryDomRenderer(elemWrapper,$.proxy(this._getLocaleValue,this));if(this.css.chart){elem.addClass(this.css.chart)}chart.provideContainer(renderer)},_provideContainer:function(chart,elem){},exportVisualData:function(){return this._chart.exportVisualData()},_getSeriesOpt:function(evtArgs){var result=$.extend(true,{},evtArgs._series);if(typeof result.name=="function")result.name=result.name();return result}});$.extend($.ui.igFinancialChart,{version:"21.2.20212.99"});return $.ui.igFinancialChart});