/*!@license * Infragistics.Web.ClientUI infragistics.datachart_visualdata.js 19.1.20191.172 * * Copyright (c) 2011-2019 Infragistics Inc. * * http://www.infragistics.com/ * * Depends: * jquery-1.4.4.js * jquery.ui.core.js * jquery.ui.widget.js * infragistics.util.js * infragistics.ext_core.js * infragistics.ext_collections.js * infragistics.dv_core.js * infragistics.dv_geometry.js * infragistics.dv_visualdata.js * infragistics.datachart_core.js * infragistics.ext_ui.js */ (function(factory){if(typeof define==="function"&&define.amd){define(["./infragistics.util","./infragistics.ext_core","./infragistics.ext_collections","./infragistics.dv_core","./infragistics.dv_geometry","./infragistics.dv_visualdata","./infragistics.datachart_core","./infragistics.ext_ui"],factory)}else{factory(igRoot)}})(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$aq=$$t;$$0=$.ig.globalDefs.$$0;$$4=$.ig.globalDefs.$$4;$$1=$.ig.globalDefs.$$1;$$w=$.ig.globalDefs.$$w;$$r=$.ig.globalDefs.$$r;$$ap=$.ig.globalDefs.$$ap;$$j=$.ig.globalDefs.$$j;$$6=$.ig.globalDefs.$$6;$$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine([]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compareSimple,$x=$.ig.util.tryParseNumber,$y=$.ig.util.tryParseNumber1,$z=$.ig.util.numberToString,$0=$.ig.util.numberToString1,$1=$.ig.util.parseNumber,$2=$.ig.util.compare,$3=$.ig.util.replace,$4=$.ig.util.stringFormat,$5=$.ig.util.stringFormat1,$6=$.ig.util.stringFormat2,$7=$.ig.util.stringCompare1,$8=$.ig.util.stringCompare2,$9=$.ig.util.stringCompare3;$c("SeriesVisualDataManager:a","Object",{init:function(){$.ig.$op.init.call(this)},addSubSeriesVisualData:function(a,b){var c=a;var d=b;c.fragmentSeries().add(d)},copyVisualData:function(a,b){var c=a;var d=b;var f=d.shapes().getEnumerator();while(f.moveNext()){var e=f.current();c.shapes().add(e)}var h=d.markerShapes().getEnumerator();while(h.moveNext()){var g=h.current();c.markerShapes().add(g)}c.pixels(d.pixels());c.pixelWidth(d.pixelWidth())},createFragmentVisualData:function(a,b,c,d){var e=new $$t.i;e.viewport($.ig.RectData.prototype.b(b));e.type(c);e.name(d);return e},exportMarkerVisualData:function(a,b){var $self=this;var c=b;a._ls.cc(function(d){var e=$self.getMarkerVisualData(a,d,a.mb);c.markerShapes().add($b($$t.$k.$type,e))})},getMarkerVisualData:function(a,b,c){var d=new $$t.k;var e=new $.ig.PrimitiveAppearanceData;d.x(b._n);d.y(b._o);d.bounds(new $.ig.RectData(b._n-b._m/2,b._o-b._l/2,b._m,b._l));e.fill($.ig.ColorData.prototype.a_1($$a.$ax.u(0,0,0,0)));e.stroke($.ig.ColorData.prototype.a_1($$a.$ax.u(0,0,0,0)));d.index(-1);d.contentTemplate(b._ah);if(b.content()!=null&&$b($.ig.DataContext.prototype.$type,b.content())!==null&&b.__visibility==0){var f=b.content();e.fill($.ig.AppearanceHelper.prototype.b(f.actualItemBrush()));e.fillExtended($.ig.AppearanceHelper.prototype.a(f.actualItemBrush()));e.stroke($.ig.AppearanceHelper.prototype.b(f.outline()));e.strokeExtended($.ig.AppearanceHelper.prototype.a(f.outline()));e.strokeThickness(a.thickness());if(f.item()!=null){d.index(a.bz().indexOf(f.item()))}}e.isVisible(b.__visibility==0);d.isVisible(b.__visibility==0);d.markerAppearance(e);d.markerType(this.getMarkerType(a,c));return d},getMarkerType:function(a,b){if(b==a.seriesViewer().circleMarkerTemplate()){return"Circle"}else if(b==a.seriesViewer().diamondMarkerTemplate()){return"Diamond"}else if(b==a.seriesViewer().hexagonMarkerTemplate()){return"Hexagon"}else if(b==a.seriesViewer().hexagramMarkerTemplate()){return"Hexagram"}else if(b==a.seriesViewer().pentagonMarkerTemplate()){return"Pentagon"}else if(b==a.seriesViewer().pentagramMarkerTemplate()){return"Pentagram"}else if(b==a.seriesViewer().pyramidMarkerTemplate()){return"Pyramid"}else if(b==a.seriesViewer().squareMarkerTemplate()){return"Square"}else if(b==a.seriesViewer().tetragramMarkerTemplate()){return"Tetragram"}else if(b==a.seriesViewer().triangleMarkerTemplate()){return"Triangle"}else{return"None"}},exportMarkerVisualDataFromMarker:function(a,b,c){var d=b;var e=new $$t.k;var f=new $.ig.PrimitiveAppearanceData;e.x(c._n);e.y(c._o);e.bounds(new $.ig.RectData(c._n-c._m/2,c._o-c._l/2,c._m,c._l));e.index(-1);e.contentTemplate(c._ah);if($b($.ig.DataContext.prototype.$type,c.content())!==null){var g=c.content();f.fill($.ig.AppearanceHelper.prototype.b(g.actualItemBrush()));f.stroke($.ig.AppearanceHelper.prototype.b(g.outline()))}e.isVisible(c.__visibility==0);e.markerAppearance(f);if(c._ah==a.seriesViewer().circleMarkerTemplate()){e.markerType("Circle")}else if(c._ah==a.seriesViewer().diamondMarkerTemplate()){e.markerType("Diamond")}else if(c._ah==a.seriesViewer().hexagonMarkerTemplate()){e.markerType("Hexagon")}else if(c._ah==a.seriesViewer().hexagramMarkerTemplate()){e.markerType("Hexagram")}else if(c._ah==a.seriesViewer().pentagonMarkerTemplate()){e.markerType("Pentagon")}else if(c._ah==a.seriesViewer().pentagramMarkerTemplate()){e.markerType("Pentagram")}else if(c._ah==a.seriesViewer().pyramidMarkerTemplate()){e.markerType("Pyramid")}else if(c._ah==a.seriesViewer().squareMarkerTemplate()){e.markerType("Square")}else if(c._ah==a.seriesViewer().tetragramMarkerTemplate()){e.markerType("Tetragram")}else if(c._ah==a.seriesViewer().triangleMarkerTemplate()){e.markerType("Triangle")}else{e.markerType("None")}d.markerShapes().add(e)},exportPathData:function(a,b,c,d){var e=a;var f=new $.ig.PathVisualData(1,c,b);if(d!=null){for(var g=0;g0){a.u("calloutshapes: [");for(var d=0;d