/*!@license * Infragistics.Web.ClientUI ShapeChart 19.1.20191.172 * * Copyright (c) 2011-2019 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.datachart_scatter.js * infragistics.datachart_shape.js * infragistics.shapechart.js * infragistics.ui.widget.js * infragistics.ui.shapechart.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.shapechart","./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.igShapeChart",$.ui.igBaseChart,{localeWidgetName:"ShapeChartWidget",css:{chart:"ui-category ui-corner-all ui-widget-content ui-shapechart-container",tooltip:"ui-category-tooltip ui-widget-content ui-corner-all"},options:{shapeDataSource:null,databaseSource:null,triangulationDataSource:null,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:NaN,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,legend:null,isHorizontalZoomEnabled:true,isVerticalZoomEnabled:true,isSeriesHighlightingEnabled:false,windowRect:null,title:null,subtitle:null,titleAlignment:"center",subtitleAlignment:"center",unknownValuePlotting:null,resolution:1,thickness:1,markerTypes:null,markerBrushes:null,markerOutlines:null,markerMaxCount:400,animateSeriesWhenAxisRangeChanges:false,trendLineBrushes:null,trendLineType:null,trendLineThickness:1.5,alignsGridLinesToPixels:true,trendLinePeriod:7,toolTipType:null,crosshairsDisplayMode:null,crosshairsSnapToData:false,crosshairsAnnotationEnabled:false,finalValueAnnotationsVisible:false,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:0,xAxisStrip:null,yAxisStrip:null,xAxisStroke:null,yAxisStroke:null,xAxisStrokeThickness:1,yAxisStrokeThickness:1,xAxisTickLength:5,yAxisTickLength:0,xAxisTickStroke:null,yAxisTickStroke:null,xAxisTickStrokeThickness:2,yAxisTickStrokeThickness:2,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:"right",xAxisLabelVerticalAlignment:"top",yAxisLabelVerticalAlignment:"center",xAxisLabelVisibility:null,yAxisLabelVisibility:null,yAxisLabelLocation:"outsideLeft",xAxisInterval:0,xAxisMinorInterval:0,yAxisInterval:0,yAxisIsLogarithmic:false,yAxisLogarithmBase:10,yAxisMinimumValue:NaN,yAxisMaximumValue:NaN,yAxisMinorInterval:0,xAxisIsLogarithmic:false,xAxisLogarithmBase:10,xAxisMinimumValue:NaN,xAxisMaximumValue:NaN,xAxisAbbreviateLargeNumbers:true,yAxisAbbreviateLargeNumbers:true,markerCollision:null,chartType:null},events:{propertyChanged:null,seriesAdded:null,seriesRemoved:null,seriesPointerEnter:null,seriesPointerLeave:null,seriesPointerMove:null,seriesPointerDown:null,seriesPointerUp:null,calloutStyleUpdating: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 shapeChart=this._chart;if(shapeChart){shapeChart.propertyChanged=$.ig.Delegate.prototype.combine(shapeChart.propertyChanged,$.proxy(this._fireShapeChart_propertyChanged,this));shapeChart.seriesAdded=$.ig.Delegate.prototype.combine(shapeChart.seriesAdded,$.proxy(this._fireShapeChart_seriesAdded,this));shapeChart.seriesRemoved=$.ig.Delegate.prototype.combine(shapeChart.seriesRemoved,$.proxy(this._fireShapeChart_seriesRemoved,this));shapeChart.seriesPointerEnter=$.ig.Delegate.prototype.combine(shapeChart.seriesPointerEnter,$.proxy(this._fireShapeChart_seriesPointerEnter,this));shapeChart.seriesPointerLeave=$.ig.Delegate.prototype.combine(shapeChart.seriesPointerLeave,$.proxy(this._fireShapeChart_seriesPointerLeave,this));shapeChart.seriesPointerMove=$.ig.Delegate.prototype.combine(shapeChart.seriesPointerMove,$.proxy(this._fireShapeChart_seriesPointerMove,this));shapeChart.seriesPointerDown=$.ig.Delegate.prototype.combine(shapeChart.seriesPointerDown,$.proxy(this._fireShapeChart_seriesPointerDown,this));shapeChart.seriesPointerUp=$.ig.Delegate.prototype.combine(shapeChart.seriesPointerUp,$.proxy(this._fireShapeChart_seriesPointerUp,this));shapeChart.calloutStyleUpdating=$.ig.Delegate.prototype.combine(shapeChart.calloutStyleUpdating,$.proxy(this._fireShapeChart_calloutStyleUpdating,this))}},_maskSeriesOptions:function(seriesOpt,options){for(var i=0;i").insertAfter(this.element);legend[0]._remove=true}this._legend=legend;chart.legend(legend.igChartLegend(value).data("igChartLegend").legend)},_set_option:function(shapeChart,key,value){var result=false;switch(key){case"propertyChanged":case"seriesAdded":case"seriesRemoved":case"seriesPointerEnter":case"seriesPointerLeave":case"seriesPointerMove":case"seriesPointerDown":case"seriesPointerUp":case"calloutStyleUpdating":break;default:result=$.ui.igBaseChart.prototype._set_option.apply(this,arguments);break}switch(key){case"yAxisMinimumValue":case"yAxisMaximumValue":case"xAxisMinimumValue":case"xAxisMaximumValue":case"xAxisExtent":case"yAxisExtent":shapeChart[key](value);return true;case"legend":this._setLegend(shapeChart,value);return true;case"tooltipTemplate":result=false;break;case"markerTypes":var markerTypes=new $.ig.MarkerTypeCollection;for(i=0;i0?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));this._renderer=renderer;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.igShapeChart,{version:"19.1.20191.172"});return $.ui.igShapeChart});