/* Stimulsoft.Reports.JS ES5 Version: 2020.4.1 Build date: 2020.08.07 License: https://www.stimulsoft.com/en/licensing/reports */ var __values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},__extends=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft;!function(e){var t;!function(t){var r;!function(t){var r=e.System.Collections.List,i=function(){function e(){}return e.checkValuesAndArguments=function(e,i){var n,o;if(!e.stimulsoft.is(t.StiHistogramSeries))return;var a=e.values,s,l=3.5*this.getStandardDeviation(a)/Math.pow(a.length,1/3);l||(l=1),l=this.roundToSignificantDigits(l,6);var u=a.stimulsoft.toList().min(),c=u-l/2;u<0&&c<0?c=a.stimulsoft.toList().min():c<0&&(c=0);var h=new r,p=new r,f=0,m=0,S=0,g=c+l,y=e.chart.area.stimulsoft.as(t.StiAxisArea);try{for(var d=__values(a.stimulsoft.toList().orderBy((function(e){return e}))),b=d.next();!b.done;b=d.next()){var v;if(b.value>g||m==a.length-1){h.add(f);var C=null!=i?i.format(c):y.xAxis.core.getLabelText2(c,c,e),w=null!=i?i.format(g):y.xAxis.core.getLabelText2(g,g,e),x=0==S?"["+C+", "+w+"]":"("+C+", "+w+"]";p.add(x),f=0,g=(c+=l*++S)+l}m++,f++}}catch(e){n={error:e}}finally{try{b&&!b.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}e.values=h.stimulsoft.toArray(),e.arguments=p.stimulsoft.toArray(),e.originalArguments=p.stimulsoft.toArray()},e.roundToSignificantDigits=function(e,t){if(0==e)return 0;var r=Math.pow(10,Math.floor(Math.log10(Math.abs(e)))+1);return r*Math.round2(e/r,t)},e.getStandardDeviation=function(e){var t=e.stimulsoft.toList().sum()/e.length,r=e.stimulsoft.toList().sum((function(e){return Math.pow(e-t,2)}));return Math.sqrt(r/(e.length-1))},e}();t.StiHistogramHelper=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiString,i=e.Base.StiJson,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.Report.Components.StiFilterItem,a=e.Report.Components.StiFilterDataType,s=e.System.ICloneable,l=e.Base.Localization.StiLocalization,u=e.System.Enum,c=e.Report.Components.StiFilterCondition,h=function(){function e(e,t,r,i){void 0===e&&(e=o.Argument),void 0===t&&(t=a.String),void 0===r&&(r=c.EqualTo),void 0===i&&(i=""),this._condition=c.EqualTo,this._dataType=a.String,this._item=o.Argument,this._valueObj="",this.filters=null,this._item=e,this._dataType=t,this._condition=r,this._valueObj=i}return e.prototype.implements=function(){return e.implementsStiChartFilter||(e.implementsStiChartFilter=[n,t.IStiChartFilter,s]),e.implementsStiChartFilter},e.prototype.saveToJsonObject=function(e){var t=new i;return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyEnum("Condition",c,this.condition,c.EqualTo),t.addPropertyEnum("DataType",a,this.dataType,a.String),t.addPropertyEnum("Item",o,this.item,o.Argument),t.addPropertyStringNullOrEmpty("Value",this.value),t},e.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var s=n.value;switch(s.name){case"Condition":this._condition=u.parse(c,s.value.toString());break;case"DataType":this._dataType=u.parse(a,s.value.toString());break;case"Item":this._item=u.parse(o,s.value.toString());break;case"Value":this._valueObj=s.value.toString();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},e.prototype.loadFromXml=function(e,t){for(var r=0;r0)return w.getStringsFromString(this.listOfHyperlinks);return this._hyperlinks},set:function(e){this._hyperlinks=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"hyperlinkDataColumn",{get:function(){return this._hyperlinkDataColumn},set:function(e){this._hyperlinkDataColumn=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"hyperlinkString",{get:function(){var e,t,r=new p,i=!0;try{for(var n=__values(this._hyperlinks),o=n.next();!o.done;o=n.next()){var a=o.value;null!=a&&(i?r.appendFormat("{0}",s.encodeName(a.toString())):r.appendFormat(";{0}",s.encodeName(a.toString())),i=!1)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r.toString()},set:function(e){var t,r;if(null==e||0==e.trim().length)this._hyperlinks=[];else{var n=e.split(";");this._hyperlinks=i.create(String,n.length);var o=0;try{for(var a=__values(n),l=a.next();!l.done;l=a.next()){var u=l.value;this._hyperlinks[o++]=s.decodeName(u)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"drillDownEnabled",{get:function(){return this._drillDownEnabled},set:function(e){this._drillDownEnabled=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"drillDownReport",{get:function(){return this._drillDownReport},set:function(e){this._drillDownReport=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"drillDownPage",{get:function(){var e,t;if(null==this.chart||null==this.chart.report)return null;try{for(var r=__values(this.chart.report.pages.list),i=r.next();!i.done;i=r.next()){var n=i.value;if(n.guid==this.drillDownPageGuid)return n}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return null},set:function(e){null==e?this.drillDownPageGuid=null:(null==e.guid&&(e.guid=S.newGuid()),this._drillDownPageGuid=e.guid)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"drillDownPageGuid",{get:function(){return this._drillDownPageGuid},set:function(e){this._drillDownPageGuid=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"allowSeries",{get:function(){return this._allowSeries},set:function(e){this._allowSeries=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"allowSeriesElements",{get:function(){return this._allowSeriesElements},set:function(e){this._allowSeriesElements=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"coreTitle",{get:function(){var e=null;return null==(e=null!=this.chart&&this.chart.isDesigning?this.title:this.titleValue)&&(e=""),e},set:function(e){this.title=e,this.titleValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"interaction",{get:function(){return this._interaction},set:function(e){this._interaction!=e&&(this._interaction=e,null!=e&&(this._interaction.parentSeries=this))},enumerable:!1,configurable:!0}),w.prototype.processSeriesColors=function(e,t){var r,i;try{for(var n=__values(this.conditions.list),o=n.next();!o.done;o=n.next()){var a=o.value;if(this.getConditionResult(e,a))return a.color}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}return t},w.prototype.processSeriesMarkerType=function(e,t){var r,i;try{for(var n=__values(this.conditions.list),o=n.next();!o.done;o=n.next()){var a=o.value;if(this.getConditionResult(e,a))return a.markerType}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}return t},w.prototype.processSeriesMarkerAngle=function(e,t){var r,i;try{for(var n=__values(this.conditions.list),o=n.next();!o.done;o=n.next()){var a=o.value;if(this.getConditionResult(e,a))return a.markerAngle}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}return t},w.prototype.processSeriesMarkerVisible=function(e){var t,r;try{for(var i=__values(this.conditions.list),n=i.next();!n.done;n=i.next()){var o=n.value;if(this.getConditionResult(e,o))return!0}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return!1},w.prototype.processSeriesBrushes=function(e,t){var i,n;try{for(var o=__values(this.conditions.list),a=o.next();!a.done;a=o.next()){var s=a.value;if(this.getConditionResult(e,s))return t=this.allowApplyStyle&&null!=this.chart.style?this.chart.style.core.getColumnBrush(s.color):new g(s.color),this.chart.area.stimulsoft.is(r.IStiClusteredBarArea)&&(t.stimulsoft.is(y)&&(t.angle+=90),t.stimulsoft.is(d)&&(t.angle+=90)),t}}catch(e){i={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return t},w.prototype.getConditionResult=function(e,t){if((null==this.values||this.values.length<=e)&&!this.stimulsoft.is(r.IStiFinancialSeries))return!1;var i=null,n=null,o=null,a=null,s=null,l=null,u=null;this.chart.area.stimulsoft.is(r.IStiAxisArea)&&this.chart.area.reverseHor&&!this.chart.area.stimulsoft.is(r.IStiClusteredBarArea)||this.chart.area.stimulsoft.is(r.IStiClusteredBarArea)&&this.chart.area.reverseVert?(null!=this.values&&e0){var h=0;try{h=c.stimulsoft.replaceAll(",",".").stimulsoft.toNumber()}catch(t){e.System.StiError.showError(t,!1)}var p=c.stimulsoft.toNumber();if(c.length>0&&!isNaN(p))h=p;else{var f=o.fromString(c,!1);null!=f&&(t.core.isDateTimeValues=!0,h=f.toOADate())}a.push(h)}}}catch(e){i={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(i)throw i.error}}return a.stimulsoft.toArray()},w.getValuesFromString=function(t){var r,i,n=[],o=t.split(";");try{for(var a=__values(o),s=a.next();!s.done;s=a.next()){var l=s.value;if(null!=l&&l.trim().length>0){var u=0;try{u=l.stimulsoft.replaceAll(",",".").stimulsoft.toNumber()}catch(t){e.System.StiError.showError(t,!1)}n.push(u)}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return n.stimulsoft.toArray()},w.getStringsFromString=function(e){var t,r,i=[],n=e.split(";");try{for(var o=__values(n),a=o.next();!a.done;a=o.next()){var s=a.value;null!=s&&s.trim().length>0&&i.push(s)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i.stimulsoft.toArray()},w.getArgumentsFromString=function(e){return e.split(";")},w.prototype.createNew=function(){return null},w.prototype.getDefaultAreaType=function(){return null},w.prototype.invokeNewAutoSeries=function(e){null!=this.newAutoSeries&&this.newAutoSeries(e.series,e)},w.prototype.onGetValue=function(e){},w.prototype.invokeGetValue=function(r,i){try{if(this.onGetValue(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var o=new f;o.name="**ChartSeriesValue**",o.page=r.report.pages.getByIndex(0);var a=t.Engine.StiParser.StiParser.parseTextValue(this.value,o);i.value=r.report.toString2(a)}null!=this.getValue&&this.getValue(r,i)}catch(r){e.System.StiError.showError(r.message,!1);var s=n.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!",this.serviceName,this.chart.name);t.StiLogService.write(this.stimulsoft.getType(),s),t.StiLogService.write(this.stimulsoft.getType(),r)}},w.prototype.onGetListOfValues=function(e){},w.prototype.invokeGetListOfValues=function(r,i,o){try{if(this.onGetListOfValues(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var a=new f;a.name="**ChartSeriesListOfValues**",a.page=r.report.pages.getByIndex(0);var s=t.Engine.StiParser.StiParser.parseTextValue(o._listOfValues,a);i.value=r.report.toString2(s)}null!=o.getListOfValues&&o.getListOfValues(r,i)}catch(r){e.System.StiError.showError(r.message,!1);var l=n.format("Expression in GetListOfValues property of '{0}' series from '{1}' chart can't be evaluated!",this.serviceName,this.chart.name);t.StiLogService.write(this.stimulsoft.getType(),l),t.StiLogService.write(this.stimulsoft.getType(),r)}},w.prototype.onGetArgument=function(e){},w.prototype.invokeGetArgument=function(r,i){try{if(this.onGetArgument(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var o=new f;o.name="**ChartSeriesArgument**",o.page=r.report.pages.getByIndex(0);var a=t.Engine.StiParser.StiParser.parseTextValue(this.argument,o);i.value=r.report.toString2(a)}null!=this.getArgument&&this.getArgument(r,i)}catch(r){e.System.StiError.showError(r.message,!1);var s=n.format("Expression in getArgument property of '{0}' series from '{1}' chart can't be evaluated!",this.serviceName,this.chart.name);t.StiLogService.write(this.stimulsoft.getType(),s),t.StiLogService.write(this.stimulsoft.getType(),r)}},w.prototype.onGetListOfArguments=function(e){},w.prototype.invokeGetListOfArguments=function(r,i){try{if(this.onGetListOfArguments(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var o=new f;o.name="**ChartSeriesListOfArguments**",o.page=r.report.pages.getByIndex(0);var a=t.Engine.StiParser.StiParser.parseTextValue(this._listOfArguments,o);i.value=r.report.toString2(a)}null!=this.getListOfArguments&&this.getListOfArguments(r,i)}catch(r){e.System.StiError.showError(r.message,!1);var s=n.format("Expression in GetListOfArguments property of '{0}' series from '{1}' chart can't be evaluated!",this.serviceName,this.chart.name);t.StiLogService.write(this.stimulsoft.getType(),s),t.StiLogService.write(this.stimulsoft.getType(),r)}},w.prototype.onGetTitle=function(e){},w.prototype.invokeGetTitle=function(r,i){try{if(this.onGetTitle(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var o=new f;o.name="**ChartSeriesTitle**",o.page=r.report.pages.getByIndex(0);var a=t.Engine.StiParser.StiParser.parseTextValue(this.title,o);i.value=r.report.toString2(a)}null!=this.getTitle&&this.getTitle(r,i)}catch(r){e.System.StiError.showError(r.message,!1);var s=n.format("Expression in Title property of '{0}' series from '{1}' chart can't be evaluated!",this.serviceName,this.chart.name);t.StiLogService.write(this.stimulsoft.getType(),s),t.StiLogService.write(this.stimulsoft.getType(),r)}},w.prototype.onGetToolTip=function(e){},w.prototype.invokeGetToolTip=function(r,i){try{this.onGetToolTip(i),null!=this.getToolTip&&this.getToolTip(r,i)}catch(r){e.System.StiError.showError(r.message,!1);var o=n.format("Expression in GetToolTip property of '{0}' series from '{1}' chart can't be evaluated!",this.serviceName,this.chart.name);t.StiLogService.write(this.stimulsoft.getType(),o),t.StiLogService.write(this.stimulsoft.getType(),r)}},w.prototype.onGetListOfToolTips=function(e){},w.prototype.invokeGetListOfToolTips=function(r,i){try{if(this.onGetListOfToolTips(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var o=new f;o.name="**ChartSeriesListOfToolTips**",o.page=r.report.pages.getByIndex(0);var a=t.Engine.StiParser.StiParser.parseTextValue(this._listOfToolTips,o);i.value=r.report.toString2(a)}null!=this.getListOfToolTips&&this.getListOfToolTips(r,i)}catch(r){e.System.StiError.showError(r.message,!1);var s=n.format("Expression in GetListOfToolTips property of '{0}' series from '{1}' chart can't be evaluated!",this.serviceName,this.chart.name);t.StiLogService.write(this.stimulsoft.getType(),s),t.StiLogService.write(this.stimulsoft.getType(),r)}},w.prototype.onGetTag=function(e){},w.prototype.invokeGetTag=function(r,i){try{this.onGetTag(i),null!=this.getTag&&this.getTag(r,i)}catch(r){e.System.StiError.showError(r.message,!1);var o=n.format("Expression in GetTag property of '{0}' series from '{1}' chart can't be evaluated!",this.serviceName,this.chart.name);t.StiLogService.write(this.stimulsoft.getType(),o),t.StiLogService.write(this.stimulsoft.getType(),r)}},w.prototype.onGetListOfTags=function(e){},w.prototype.invokeGetListOfTags=function(r,i){try{this.onGetListOfTags(i),null!=this.getListOfTags&&this.getListOfTags(r,i)}catch(r){e.System.StiError.showError(r.message,!1);var o=n.format("Expression in GetListOfTags property of '{0}' series from '{1}' chart can't be evaluated!",this.serviceName,this.chart.name);t.StiLogService.write(this.stimulsoft.getType(),o),t.StiLogService.write(this.stimulsoft.getType(),r)}},w.prototype.onGetHyperlink=function(e){},w.prototype.invokeGetHyperlink=function(r,i){try{this.onGetHyperlink(i),null!=this.getHyperlink&&this.getHyperlink(r,i)}catch(r){e.System.StiError.showError(r.message,!1);var o=n.format("Expression in GetHyperlink property of '{0}' series from '{1}' chart can't be evaluated!",this.serviceName,this.chart.name);t.StiLogService.write(this.stimulsoft.getType(),o),t.StiLogService.write(this.stimulsoft.getType(),r)}},w.prototype.onGetListOfHyperlinks=function(e){},w.prototype.invokeGetListOfHyperlinks=function(r,i){try{this.onGetListOfHyperlinks(i),null!=this.getListOfHyperlinks&&this.getListOfHyperlinks(r,i)}catch(r){e.System.StiError.showError(r.message,!1);var o=n.format("Expression in GetListOfHyperlinks property of '{0}' series from '{1}' chart can't be evaluated!",this.serviceName,this.chart.name);t.StiLogService.write(this.stimulsoft.getType(),o),t.StiLogService.write(this.stimulsoft.getType(),r)}},Object.defineProperty(w.prototype,"value",{get:function(){return this.valueObj},set:function(e){this.valueObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"listOfValues",{get:function(){return this._listOfValues},set:function(e){this._listOfValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"argument",{get:function(){return this._argument},set:function(e){this._argument=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"listOfArguments",{get:function(){return this._listOfArguments},set:function(e){this._listOfArguments=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"titleValue",{get:function(){return this._titleValue},set:function(e){this._titleValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"title",{get:function(){return this._title},set:function(e){this._title=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"toolTip",{get:function(){return this._toolTip},set:function(e){this._toolTip=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"listOfToolTips",{get:function(){return this._listOfToolTips},set:function(e){this._listOfToolTips=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"tag",{get:function(){return this._tag},set:function(e){this._tag=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"listOfTags",{get:function(){return this._listOfTags},set:function(e){this._listOfTags=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"hyperlink",{get:function(){return this._hyperlink},set:function(e){this._hyperlink=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"listOfHyperlinks",{get:function(){return this._listOfHyperlinks},set:function(e){this._listOfHyperlinks=e},enumerable:!1,configurable:!0}),w}(v);r.StiSeries=w}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.StiJsonReportObjectHelper,i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=e.Base.Drawing.StiColorUtils,a=e.Base.Drawing.StiSolidBrush,s=e.Base.Drawing.StiPenStyle,l=e.Base.Drawing.StiBrush,u=e.System.Enum,c=e.System.Drawing.Color,h=e.Report.Chart.StiShowEmptyCellsAs,p=function(p){function f(){var e=p.call(this)||this;return e._showNulls=!0,e._showZeros=!0,e._marker=new t.StiMarker,e._lineMarker=new t.StiLineMarker,e._lineColor=c.black,e._lineStyle=s.Solid,e._lighting=!0,e._lineWidth=2,e._labelsOffset=0,e._lineColorNegative=c.firebrick,e._allowApplyColorNegative=!1,e.showNullsAs=h.Gap,e.showZerosAs=h.Gap,e.seriesLabels=new t.StiOutsideEndAxisLabels,e}return __extends(f,p),f.prototype.implements=function(){return f.implementsStiBaseLineSeries||(f.implementsStiBaseLineSeries=p.prototype.implements.call(this).concat([i,t.IStiBaseLineSeries,n,t.IStiSeries,t.IStiAllowApplyColorNegative,t.IStiShowNullsSeries,t.IStiShowZerosSeries])),f.implementsStiBaseLineSeries},f.prototype.saveToJsonObject=function(e){var t=p.prototype.saveToJsonObject.call(this,e);return t.addPropertyBool("ShowZeros",this.showZeros,!0),t.addPropertyBool("ShowNulls",this.showNulls,!0),t.addPropertyJObject("Marker",this.marker.saveToJsonObject(e)),t.addPropertyJObject("LineMarker",this.lineMarker.saveToJsonObject(e)),t.addPropertyStringNullOrEmpty("LineColor",r.Serialize.jColor(this.lineColor,c.black)),t.addPropertyEnum("LineStyle",s,this.lineStyle,s.Solid),t.addPropertyBool("Lighting",this.lighting,!0),t.addPropertyNumber("LineWidth",this.lineWidth,2),t.addPropertyNumber("LabelsOffset",this._labelsOffset),t.addPropertyStringNullOrEmpty("LineColorNegative",r.Serialize.jColor(this.lineColorNegative,c.firebrick)),t.addPropertyBool("AllowApplyColorNegative",this.allowApplyColorNegative),t.addPropertyEnum("ShowNullsAs",h,this.showNullsAs,h.Gap),t.addPropertyEnum("ShowZerosAs",h,this.showZerosAs,h.Gap),t},f.prototype.loadFromJsonObject=function(e){var t,i;p.prototype.loadFromJsonObject.call(this,e);try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"ShowZeros":this.showZeros=a.value.stimulsoft.toBoolean();break;case"ShowNulls":this.showNulls=a.value.stimulsoft.toBoolean();break;case"Marker":this._marker.loadFromJsonObject(a.value);break;case"LineMarker":this.lineMarker.loadFromJsonObject(a.value);break;case"LineColor":this.lineColor=r.Deserialize.color(a.value.toString());break;case"LineStyle":this.lineStyle=u.parse(s,a.value.toString());break;case"Lighting":this.lighting=a.value.stimulsoft.toBoolean();break;case"LineWidth":this.lineWidth=a.value.stimulsoft.toNumber();break;case"LabelsOffset":this._labelsOffset=a.value.stimulsoft.toNumber();break;case"LineColorNegative":this.lineColorNegative=r.Deserialize.color(a.value.toString());break;case"AllowApplyColorNegative":this.allowApplyColorNegative=a.value.stimulsoft.toBoolean();break;case"ShowNullsAs":this.showNullsAs=u.parse(h,a.value.toString());break;case"ShowZerosAs":this.showZerosAs=u.parse(h,a.value.toString());break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}},f.prototype.loadFromXml=function(t){p.prototype.loadFromXml.call(this,t);for(var r=0;r0&&(this._lineWidth=e)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"labelsOffset",{get:function(){return this._labelsOffset},set:function(e){this._labelsOffset=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"lineColorNegative",{get:function(){return this._lineColorNegative},set:function(e){this._lineColorNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"allowApplyColorNegative",{get:function(){return this._allowApplyColorNegative},set:function(e){this._allowApplyColorNegative=e},enumerable:!1,configurable:!0}),f}(t.StiSeries);t.StiBaseLineSeries=p}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=e.Base.Drawing.StiGradientBrush,a=e.Base.Drawing.StiSolidBrush,s=function(e){function s(){var t=e.call(this)||this;return t.core=new r.StiScatterSeriesCoreXF(t),t}return __extends(s,e),s.prototype.implements=function(){return s.implementsStiScatterSeries||(s.implementsStiScatterSeries=e.prototype.implements.call(this).concat([i,r.IStiBaseLineSeries,r.IStiSeries,n,r.IStiScatterSeries,r.IStiAllowApplyColorNegative])),s.implementsStiScatterSeries},s.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.removeProperty("LineColorNegative"),r.removeProperty("TopN"),r},Object.defineProperty(s.prototype,"componentId",{get:function(){return t.StiComponentId.StiScatterSeries},enumerable:!1,configurable:!0}),s.prototype.clone=function(){var t;return e.prototype.clone.call(this)},s.prototype.getDefaultAreaType=function(){return r.StiScatterArea},s.prototype.getLineColor=function(){if(this.stimulsoft.getType()==s){if(this.marker.brush.stimulsoft.is(a))return this.marker.brush.color;if(this.marker.brush.stimulsoft.is(o))return this.marker.brush.startColor}return e.prototype.getLineColor.call(this)},s.prototype.setLineColor=function(t){e.prototype.setLineColor.call(this,t)},s.prototype.createNew=function(){return new s},s}(r.StiBaseLineSeries);r.StiScatterSeries=s}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiScatterLineSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiScatterLineSeries||(o.implementsStiScatterLineSeries=e.prototype.implements.call(this).concat([r.IStiScatterLineSeries,r.IStiBaseLineSeries,r.IStiScatterSeries,i,r.IStiSeries,n,r.IStiAllowApplyColorNegative])),o.implementsStiScatterLineSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiScatterLineSeries},enumerable:!1,configurable:!0}),o.prototype.clone=function(){var t;return e.prototype.clone.call(this)},o.prototype.getDefaultAreaType=function(){return r.StiScatterArea},o.prototype.createNew=function(){return new o},o}(r.StiScatterSeries);r.StiScatterLineSeries=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Collections.Hashtable,i=e.System.ICloneable,n=function(){function e(e){this._area=e}return e.prototype.implements=function(){return e.implementsStiAreaCoreXF||(e.implementsStiAreaCoreXF=[i,t.IStiApplyStyle,t.IStiAreaCoreXF]),e.implementsStiAreaCoreXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e.prototype.applyStyle=function(e){this.area.allowApplyStyle&&(this.area.brush=e.core.chartAreaBrush,this.area.borderColor=e.core.chartAreaBorderColor)},e.prototype.render=function(e,t){return null},e.prototype.prepareInfo=function(e){},e.prototype.checkInLabelsTypes=function(e){var t,r,i=this._area.getSeriesLabelsTypes();try{for(var n=__values(i),o=n.next();!o.done;o=n.next()){var a;if(o.value.stimulsoft.getType().stimulsoft.getTypeName()==e.stimulsoft.getType().stimulsoft.getTypeName())return!0}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1},e.prototype.getSeries=function(){var e,t,i,n,o=new r,a=this.area.getSeriesTypes();try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u=l.value;o.set(u,u)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}var c=[];try{for(var h=__values(this.area.chart.series.list),p=h.next();!p.done;p=h.next()){var f=p.value;if(null==o.get(f.stimulsoft.getType()))continue;c.push(f)}}catch(e){i={error:e}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(i)throw i.error}}return c},e.prototype.isAcceptableSeries=function(e){var t,r,i=this.area.getSeriesTypes();try{for(var n=__values(i),o=n.next();!o.done;o=n.next()){var a;if(o.value==e)return!0}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1},e.prototype.isAcceptableSeriesLabels=function(e){var t,r,i=this.area.getSeriesLabelsTypes();try{for(var n=__values(i),o=n.next();!o.done;o=n.next()){var a;if(o.value==e)return!0}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1},Object.defineProperty(e.prototype,"area",{get:function(){return this._area},set:function(e){this._area=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localizedName",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seriesOrientation",{get:function(){return t.StiChartSeriesOrientation.Vertical},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return null},enumerable:!1,configurable:!0}),e}();t.StiAreaCoreXF=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiString,i=e.System.Collections.Hashtable,n=e.System.Drawing.Rectangle,o=function(e){function o(t){var r=e.call(this,t)||this;return r.valuesCount=0,r._scrollRangeX=0,r._scrollRangeY=0,r._scrollViewX=0,r._scrollViewY=0,r._blockScrollValueX=!1,r._blockScrollValueY=!1,r._scrollValueX=0,r._scrollValueY=0,r._scrollDpiX=1,r._scrollDpiY=1,r._scrollDragStartValue=0,r}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiAxisAreaCoreXF||(o.implementsStiAxisAreaCoreXF=[t.IStiAxisAreaCoreXF]),o.implementsStiAxisAreaCoreXF},o.prototype.applyStyle=function(t){e.prototype.applyStyle.call(this,t);var r=this.area;r.allowApplyStyle&&(null!=r.interlacingHor&&r.interlacingHor.core.applyStyle(t),null!=r.interlacingVert&&r.interlacingVert.core.applyStyle(t),null!=r.gridLinesHor&&r.gridLinesHor.core.applyStyle(t),null!=r.gridLinesVert&&r.gridLinesVert.core.applyStyle(t),null!=r.xAxis&&r.xAxis.core.applyStyle(t),null!=r.xTopAxis&&r.xTopAxis.core.applyStyle(t),null!=r.yAxis&&r.yAxis.core.applyStyle(t),null!=r.yRightAxis&&r.yRightAxis.core.applyStyle(t))},o.prototype.render=function(e,r){var i,o,a,s,l,u,c,h,p=this.area;p.yAxis.info.minimum=0,p.yAxis.info.maximum=0,p.yRightAxis.info.minimum=0,p.yRightAxis.info.maximum=0,p.xAxis.info.minimum=0,p.xAxis.info.maximum=0,p.xTopAxis.info.minimum=0,p.xTopAxis.info.maximum=0,this.prepareInfo(r.clone());var f=null,m=null,S=null,g=null,y=null,d=null,b=null,v=null,C=null,w=null,x=null,_=null,A=n.empty,L=n.empty,O=n.empty,P=n.empty,B=n.empty,R=n.empty,k=n.empty,T=p.core.getSeries();if(T.length>0){var j=0,F=0,I=0,D=0;if(A=p.reverseHor?p.yRightAxis.core.getAxisRect(e,r,!0,!0,!1,!0):p.yAxis.core.getAxisRect(e,r,!0,!0,!1,!0),this.area.chart.table.core.showTable()){var N=this.area.chart.table.core.getWidthCellLegend(e);N>A.width&&(A.width=N,A.x=-N,0==A.height&&(A.height=1))}if(A.isEmpty||(A.x+=r.x,A.y+=r.y),A.isEmpty||(I=A.width,A.top0?Math.trunc(p.xAxis.labels.step):1,!1),p.xAxis.info.labelsCollection=G.ref,(R=p.xAxis.core.getAxisRect(e,V,!0,!0,!1,!0)).isEmpty||this.area.chart.table.core.showTable()||(R.x+=r.x,R.y+=r.y),R.isEmpty||this.area.chart.table.core.showTable()&&!this.area.chart.table.chart.area.stimulsoft.is(t.IStiClusteredBarArea)||(F=Math.max(R.height,F),R.x0&&(b=p.yAxis.core.render(e,r.clone()),v=p.yAxis.core.renderCenter(e,r.clone()),C=p.yRightAxis.core.render(e,r.clone()),w=p.xTopAxis.core.render(e,r.clone()),x=p.xAxis.core.renderCenter(e,r.clone()),_=p.xAxis.core.render(e,r.clone()),null!=b&&(b.view=f),null!=v&&(v.view=m),null!=C&&(C.view=S),null!=w&&(w.view=g),null!=x&&(x.view=y),null!=_&&(_.view=d)),null!=d&&p.xAxis.core.renderScrollBar(e,d.clientRectangle,d),null!=g&&p.xTopAxis.core.renderScrollBar(e,g.clientRectangle,g),null!=f&&p.yAxis.core.renderScrollBar(e,f.clientRectangle,f),null!=S&&p.yRightAxis.core.renderScrollBar(e,S.clientRectangle,S);var W=new t.StiAxisAreaViewGeom(p,k),Y=new t.StiAxisAreaGeom(W,p,r.clone());W.createChildGeoms(),W.childGeoms.push(Y);try{for(var Z=__values(this.area.chart.strips.list),q=Z.next();!q.done;q=Z.next()){var U;(U=q.value).showBehind&&U.core.render(e,Y,r.clone())}}catch(e){i={error:e}}finally{try{q&&!q.done&&(o=Z.return)&&o.call(Z)}finally{if(i)throw i.error}}try{for(var K=__values(this.area.chart.constantLines.list),Q=K.next();!Q.done;Q=K.next()){var $;($=Q.value).showBehind&&$.core.render(e,Y,r.clone())}}catch(e){a={error:e}}finally{try{Q&&!Q.done&&(s=K.return)&&s.call(K)}finally{if(a)throw a.error}}this.renderSeries(e,r.clone(),Y,T);try{for(var ee=__values(this.area.chart.strips.list),te=ee.next();!te.done;te=ee.next()){var U;(U=te.value).showBehind||U.core.render(e,Y,r.clone())}}catch(e){l={error:e}}finally{try{te&&!te.done&&(u=ee.return)&&u.call(ee)}finally{if(l)throw l.error}}try{for(var re=__values(this.area.chart.constantLines.list),ie=re.next();!ie.done;ie=re.next()){var $;($=ie.value).showBehind||$.core.render(e,Y,r.clone())}}catch(e){c={error:e}}finally{try{ie&&!ie.done&&(h=re.return)&&h.call(re)}finally{if(c)throw c.error}}return null!=b&&(W.createChildGeoms(),f.createChildGeoms(),W.childGeoms.push(f),f.childGeoms.push(b)),null!=v&&(W.createChildGeoms(),m.createChildGeoms(),W.childGeoms.push(m),m.childGeoms.push(v)),null!=C&&(W.createChildGeoms(),S.createChildGeoms(),W.childGeoms.push(S),S.childGeoms.push(C)),null!=w&&(W.createChildGeoms(),g.createChildGeoms(),W.childGeoms.push(g),g.childGeoms.push(w)),null!=x&&(W.createChildGeoms(),y.createChildGeoms(),W.childGeoms.push(y),y.childGeoms.push(x)),null==_||this.area.chart.table.core.showTable()&&!this.area.chart.table.chart.area.stimulsoft.is(t.IStiClusteredBarArea)||(W.createChildGeoms(),d.createChildGeoms(),W.childGeoms.push(d),d.childGeoms.push(_)),W},o.prototype.calculateScrollValuesX=function(e,t){var r,i,n=1;if((this.isAutoRangeXAxis(t.xAxis)||(r=t.xAxis.range.minimum)>(i=t.xAxis.range.maximum))&&(r=t.xAxis.info.minimum,i=t.xAxis.info.maximum),this._scrollRangeX=t.xAxis.info.maximum-t.xAxis.info.minimum,this._scrollViewX=i-r,!t.xAxis.core.getStartFromZero()||t.xAxis.logarithmicScale?this.blockScrollValueX=!0:this.blockScrollValueX=!1,!this.blockScrollValueX&&!t.xAxis.interaction.showScrollBar){var o=r+Math.abs(t.xAxis.info.minimum);t.xAxis.info.minimum>0&&r>0&&(o=Math.abs(r-t.xAxis.info.minimum)),t.reverseHor?this.scrollValueX=this._scrollRangeX-o-this._scrollViewX:this.scrollValueX=o}return n=this.scrollRangeX/this.scrollViewX,this._scrollDpiX=e.width*n/this.scrollRangeX,n},o.prototype.calculateScrollValuesY=function(e,t){var r,i,n=1;if((this.isAutoRangeYAxis(t.yAxis)||(r=t.yAxis.range.minimum)>(i=t.yAxis.range.maximum))&&(r=t.yAxis.info.minimum,i=t.yAxis.info.maximum),this._scrollRangeY=t.yAxis.info.maximum-t.yAxis.info.minimum,this._scrollViewY=i-r,!t.yAxis.core.getStartFromZero()||t.yAxis.logarithmicScale?this.blockScrollValueY=!0:this.blockScrollValueY=!1,this.blockScrollValueY)this.scrollValueY=0;else{var o=r+Math.abs(t.yAxis.info.minimum);t.reverseVert?this.scrollValueY=o:this.scrollValueY=this._scrollRangeY-o-this._scrollViewY}return n=this.scrollRangeY/this.scrollViewY,this._scrollDpiY=e.height*n/this.scrollRangeY,n},o.prototype.prepareInfo=function(e){var r=this.getSeries();if(r.length>0){var i=this.area;this.valuesCount=0;var n=this.stimulsoft.is(t.StiClusteredBarAreaCoreXF)?i.yAxis:i.xAxis,a=this.stimulsoft.is(t.StiClusteredBarAreaCoreXF)?i.yRightAxis:i.xTopAxis,s=this.stimulsoft.is(t.StiClusteredBarAreaCoreXF)?i.xAxis:i.yAxis,l=this.stimulsoft.is(t.StiClusteredBarAreaCoreXF)?i.xTopAxis:i.yRightAxis;n.info.stripLines=new t.StiStripLinesXF,s.info.stripLines=new t.StiStripLinesXF,l.info.stripLines=new t.StiStripLinesXF;for(var u=!1,c=0;cs.info.maximum&&(s.info.maximum=s.range.maximum),!s.range.auto&&s.range.minimuml.info.maximum||i.stimulsoft.is(t.StiParetoArea))&&(l.info.maximum=l.range.maximum),!l.range.auto&&l.range.minimum0&&this.area.chart.series.getByIndex(0).stimulsoft.is(t.StiScatterLineSeries);s.logarithmicScale&&p||(this.checkStartFromZeroYAxis(s),this.checkStartFromZeroYAxis(l),this.calculateMinimumAndMaximumYAxis(s),l.range.auto&&this.calculateMinimumAndMaximumYAxis(l)),this.calculateMinimumAndMaximumXAxis(n),this.createStripLinesXAxis(n),this.createStripLinesYAxis(s,u),this.createStripLinesYAxis(l,u),this.checkStripLinesAndMaximumMinimumXAxis(n),this.checkStripLinesAndMaximumMinimumYAxis(s),this.checkStripLinesAndMaximumMinimumYAxis(l),i.stimulsoft.is(t.IStiClusteredBarArea)&&(o.rotateStripLines(n),o.rotateStripLines(s),o.rotateStripLines(l)),a.info=n.info.clone(),this.checkShowEdgeValues(n),this.checkShowEdgeValues(a),i.reverseHor&&(o.rotateStripLines(i.xAxis),o.rotateStripLines(i.xTopAxis)),i.reverseVert&&(o.rotateStripLines(i.yAxis),o.rotateStripLines(i.yRightAxis)),i.xAxis.info.dpi=e.width/i.xAxis.info.range,i.xTopAxis.info.dpi=e.width/i.xTopAxis.info.range,i.yAxis.info.dpi=e.height/i.yAxis.info.range,i.yRightAxis.info.dpi=e.height/i.yRightAxis.info.range,this.calculateStepX(i.xAxis,e.left,e.right),this.calculateStepX(i.xTopAxis,e.left,e.right),this.calculateStepY(i.yAxis,e.top,e.bottom),this.calculateStepY(i.yRightAxis,e.top,e.bottom);var f={ref:i.xAxis.info.labelsCollection};this.calculatePositions(i.xAxis,f,i.xAxis.labels.step>0?Math.trunc(i.xAxis.labels.step):1,!1),i.xAxis.info.labelsCollection=f.ref,f={ref:i.xTopAxis.info.labelsCollection},this.calculatePositions(i.xTopAxis,f,i.xTopAxis.labels.step>0?Math.trunc(i.xTopAxis.labels.step):1,!1),i.xTopAxis.info.labelsCollection=f.ref,f={ref:i.yAxis.info.labelsCollection},this.calculatePositions(i.yAxis,f,i.yAxis.labels.step>0?Math.trunc(i.yAxis.labels.step):1,!1),i.yAxis.info.labelsCollection=f.ref,f={ref:i.yRightAxis.info.labelsCollection},this.calculatePositions(i.yRightAxis,f,i.yRightAxis.labels.step>0?Math.trunc(i.yRightAxis.labels.step):1,!1),i.yRightAxis.info.labelsCollection=f.ref;var m={ref:i.xAxis.info.ticksCollection};this.calculatePositions(i.xAxis,m,i.xAxis.ticks.step>0?Math.trunc(i.xAxis.ticks.step):1,!0),i.xAxis.info.ticksCollection=m.ref,m={ref:i.xTopAxis.info.ticksCollection},this.calculatePositions(i.xTopAxis,m,i.xTopAxis.ticks.step>0?Math.trunc(i.xTopAxis.ticks.step):1,!0),i.xTopAxis.info.ticksCollection=m.ref,m={ref:i.yAxis.info.ticksCollection},this.calculatePositions(i.yAxis,m,i.yAxis.ticks.step>0?Math.trunc(i.yAxis.ticks.step):1,!0),i.yAxis.info.ticksCollection=m.ref,m={ref:i.yRightAxis.info.ticksCollection},this.calculatePositions(i.yRightAxis,m,i.yRightAxis.ticks.step>0?Math.trunc(i.yRightAxis.ticks.step):1,!0),i.yRightAxis.info.ticksCollection=m.ref}},o.prototype.renderSeries=function(e,r,n,o){var a,s,l,u,c,h,p=[],f=new i;try{for(var m=__values(o),S=m.next();!S.done;S=m.next()){var g=S.value;if(this.isAcceptableSeries(g.stimulsoft.getType())){var y=f.get(g.stimulsoft.getType());null==y&&(y=[],p.push(y),f.add(g.stimulsoft.getType(),y)),y.push(g)}}}catch(e){a={error:e}}finally{try{S&&!S.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}try{for(var d=__values(p),b=d.next();!b.done;b=d.next()){var v,C=b.value.stimulsoft.toArray();if(C[0].stimulsoft.is(t.StiStackedBarSeries)||C[0].stimulsoft.is(t.StiStackedColumnSeries)||C[0].stimulsoft.is(t.StiStackedBaseLineSeries)){var w=[],x=[];try{for(var _=(c=void 0,__values(C)),A=_.next();!A.done;A=_.next()){var L=A.value;L.yAxis==t.StiSeriesYAxis.LeftYAxis?w.push(L):x.push(L)}}catch(e){c={error:e}}finally{try{A&&!A.done&&(h=_.return)&&h.call(_)}finally{if(c)throw c.error}}w.length>0&&w.stimulsoft.toArray()[0].core.renderSeries(e,r,n,w.stimulsoft.toArray()),x.length>0&&x.stimulsoft.toArray()[0].core.renderSeries(e,r,n,x.stimulsoft.toArray())}else C[0].core.renderSeries(e,r,n,C)}}catch(e){l={error:e}}finally{try{b&&!b.done&&(u=d.return)&&u.call(d)}finally{if(l)throw l.error}}},o.prototype.isAutoRangeXAxis=function(e){return e.range.auto||e.range.minimum>=e.range.maximum||e.logarithmicScale},o.prototype.isAutoRangeYAxis=function(e){return e.range.auto||e.range.maximum==e.range.minimum||this.area.isDefaultSeriesTypeFullStackedColumnSeries||e.logarithmicScale},o.prototype.calculateMinimumAndMaximumXAxis=function(e){e.range.auto||(e.info.maximum=e.range.maximum,e.info.minimum=e.range.minimum)},o.prototype.calculateMinimumAndMaximumYAxis=function(e){if(this.getSeries().length>0&&this.getSeries()[0].stimulsoft.is(t.StiGanttSeries))return void(e.range.auto||(e.info.maximum=e.range.maximum,e.info.minimum=e.range.minimum));if(!e.startFromZero&&e.range.auto&&e.stimulsoft.is(t.IStiYAxis)){var r=e.info.maximum-e.info.minimum;e.info.minimum=e.info.minimum-.05*r,e.info.maximum=e.info.maximum+.05*r}else{var i=.1;this.getSeries().length>0&&this.getSeries()[0].seriesLabels.stimulsoft.is(t.StiOutsideEndAxisLabels)&&(i=.15);var n=Math.min(i,Math.abs(4/((e.info.maximum+e.info.minimum)/2)));e.info.maximum*=1+n*Math.sign(e.info.maximum),e.info.minimum*=1-n*Math.sign(e.info.minimum)}e.info.minimum==e.info.maximum&&(0==e.info.maximum?e.info.maximum=100:(e.info.minimum-=.1*e.info.minimum,e.info.maximum+=.1*e.info.maximum))},o.prototype.getArgumentLabel=function(e,r){if(null==e)return"";var i=this.area;return i.core.seriesOrientation==t.StiChartSeriesOrientation.Vertical?i.xAxis.core.getLabelText(e,r):i.yAxis.core.getLabelText(e,r)},o.prototype.switchOff=function(){var e=this.area;e.gridLinesHor.visible=!1,e.gridLinesVert.visible=!1,e.interlacingHor.visible=!1,e.interlacingVert.visible=!1,e.xAxis.visible=!1,e.yAxis.visible=!1,e.xTopAxis.visible=!1,e.yRightAxis.visible=!1,e.yAxis.range.auto=!0,e.xAxis.range.auto=!0},o.prototype.swap=function(e,t){var r=e.ref;e.ref=t.ref,t.ref=r},o.prototype.prepareRange=function(e,t,r,i){},o.prototype.createStripLinesXAxis=function(e){for(var t,r,i=e.core.getStartFromZero(),n=i?0:1,o=i?this.valuesCount+1:this.valuesCount,a=n;a<=o;a++)e.info.stripLines.add2(a,a);var s=this.getSeries();try{for(var l=__values(s),u=l.next();!u.done;u=l.next())for(var c=u.value,a=0;a0&&((e.stimulsoft.is(t.IStiXTopAxis)?e.area.xTopAxis.showEdgeValues:e.area.xAxis.showEdgeValues)&&!e.area.stimulsoft.is(t.IStiClusteredBarArea)||(e.info.stripLines.getByIndex(0).valueObject=null,e.info.stripLines.getByIndex(e.info.stripLines.count-1).valueObject=null))},o.prototype.createStripLinesYAxis=function(e,i){var n,o,a,s,l,u;if(this.area.isDefaultSeriesTypeFullStackedColumnSeries||this.area.isDefaultSeriesTypeFullStackedBarSeries){var c=!1,h=!1,p=this.getSeries();try{for(var f=__values(p),m=f.next();!m.done;m=f.next()){var S=m.value;try{for(var g=(a=void 0,__values(S.values)),y=g.next();!y.done;y=g.next()){var d=y.value;d>0&&(c=!0),d<0&&(h=!0)}}catch(e){a={error:e}}finally{try{y&&!y.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}}}catch(e){n={error:e}}finally{try{m&&!m.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}var b=h?-100:0,v=c?100:0,C;0==b&&0==v&&(v=100),0==(C=e.labels.step)&&(C=t.StiStripLineCalculatorXF.getInterval(b,v,6)),e.info.stripLines=t.StiStripLineCalculatorXF.getStripLines(b,v,C,!1);try{for(var w=__values(e.info.stripLines.list),x=w.next();!x.done;x=w.next()){var _=x.value;_.valueObject=r.format("{0}%",_.valueObject)}}catch(e){l={error:e}}finally{try{x&&!x.done&&(u=w.return)&&u.call(w)}finally{if(l)throw l.error}}}else{var C;(C=e.labels.step)>0&&e.info.range>0&&e.info.range/C>500&&(C=0),0==C&&(C=t.StiStripLineCalculatorXF.getInterval(e.info.minimum,e.info.maximum,6)),e.info.stripLines=t.StiStripLineCalculatorXF.getStripLines(e.info.minimum,e.info.maximum,C,i)}},o.prototype.checkStripLinesAndMaximumMinimumXAxis=function(e){e.info.stripLines.count>0?(e.info.minimum=e.info.stripLines.getByIndex(0).value,e.info.maximum=e.info.stripLines.getByIndex(e.info.stripLines.count-1).value):(e.info.minimum=0,e.info.maximum=1)},o.prototype.checkStripLinesAndMaximumMinimumYAxis=function(e){e.info.stripLines.count>0?(e.info.maximum=e.info.stripLines.getByIndex(0).value,e.info.minimum=e.info.stripLines.getByIndex(e.info.stripLines.count-1).value):(e.info.maximum=100,e.info.minimum=0)},o.prototype.calculateStepX=function(e,t,r){e.info.stripLines.count>=2?(e.info.step=Math.abs((e.info.stripLines.getByIndex(0).value-e.info.stripLines.getByIndex(1).value)*e.info.dpi),e.core.calculateStripPositions(t,r)):(e.info.step=1,e.info.stripPositions=[])},o.prototype.calculateStepY=function(e,t,r){e.info.stripLines.count>=2?(e.info.step=Math.abs((e.info.stripLines.getByIndex(1).value-e.info.stripLines.getByIndex(0).value)*e.info.dpi),e.core.calculateStripPositions(t,r)):(e.info.step=1,e.info.stripPositions=[])},o.prototype.checkStartFromZeroYAxis=function(e){e.core.getStartFromZero()&&(e.info.maximum<0&&(e.info.maximum=0),e.info.minimum>0&&(e.info.minimum=0))},o.prototype.calculatePositions=function(e,r,i,n){var o=[],a=this.area,s=!1;this.area.stimulsoft.is(t.IStiAxisArea)&&e.stimulsoft.is(t.IStiYAxis)?s=a.reverseVert:this.area.stimulsoft.is(t.IStiAxisArea)&&e.stimulsoft.is(t.IStiXAxis)&&(s=a.reverseHor);for(var l=0,u=e.info.stripPositions.length,c=0;c0&&S.arguments[0].stimulsoft.is(String)){var g=S.arguments[0].toString();if(g.stimulsoft.endsWith("AM")||g.stimulsoft.endsWith("PM"))for(var y=0;y0?(e.info.minimum=e.info.stripLines.getByIndex(0).value,e.info.maximum=e.info.stripLines.getByIndex(e.info.stripLines.count-1).value):(e.info.minimum=0,e.info.maximum=1)},a.prototype.createStripLinesXAxis=function(e){if(!this.isArgumentDateTime&&!e.logarithmicScale&&this.isXAxisAutoRange(e)){var r=Math.abs(e.info.maximum-e.info.minimum);0!=r?(e.info.maximum+=.05*r,e.info.minimum-=.05*r):(e.info.maximum*=1.05,e.info.minimum<0?e.info.minimum*=1.05:e.info.minimum*=.95),e.core.getStartFromZero()&&(e.info.minimum=0),e.info.minimum==e.info.maximum&&(0==e.info.maximum?e.info.maximum=100:(e.info.minimum-=.1*e.info.minimum,e.info.maximum-=.1*e.info.maximum))}for(var i=!1,o=this.getSeries(),a=0;a=0;u--){var c=l.getByIndex(u).value,h=l.getByIndex(u).valueObject;this.isArgumentDateTime&&(h=n.fromOADate(c)),e.info.stripLines.add2(h,c)}},a.prototype.createStripLinesYAxis=function(e,i){var n,o,a,s,l,u;if(this.area.isDefaultSeriesTypeFullStackedColumnSeries||this.area.isDefaultSeriesTypeFullStackedBarSeries){var c=!1,h=!1,p=this.getSeries();try{for(var f=__values(p),m=f.next();!m.done;m=f.next()){var S=m.value;try{for(var g=(a=void 0,__values(S.values)),y=g.next();!y.done;y=g.next()){var d=y.value;d>0&&(c=!0),d<0&&(h=!0)}}catch(e){a={error:e}}finally{try{y&&!y.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}}}catch(e){n={error:e}}finally{try{m&&!m.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}var b=h?-100:0,v=c?100:0,C;0==(C=e.labels.step)&&(C=t.StiStripLineCalculatorXF.getInterval(b,v,6)),e.info.stripLines=t.StiStripLineCalculatorXF.getStripLines(b,v,C,!1);try{for(var w=__values(e.info.stripLines.list),x=w.next();!x.done;x=w.next()){var _=x.value;_.valueObject=r.format("{0}%",_.valueObject)}}catch(e){l={error:e}}finally{try{x&&!x.done&&(u=w.return)&&u.call(w)}finally{if(l)throw l.error}}}else{var C;(C=e.labels.step)>0&&e.info.range>0&&e.info.range/C>500&&(C=0),0==C&&(C=t.StiStripLineCalculatorXF.getInterval(e.info.minimum,e.info.maximum,6)),e.logarithmicScale?e.info.stripLines=t.StiStripLineCalculatorXF.getStripLinesLogScale(e.info.minimum,e.info.maximum):e.info.stripLines=t.StiStripLineCalculatorXF.getStripLines(e.info.minimum,e.info.maximum,C,i)}},Object.defineProperty(a.prototype,"localizedName",{get:function(){return i.get("Chart","Scatter")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"position",{get:function(){return t.StiChartAreaPosition.Scatter},enumerable:!1,configurable:!0}),a}(t.StiClusteredColumnAreaCoreXF);t.StiScatterAreaCoreXF=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=e.Report.Chart.StiChartAreaPosition,n=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return r.get("Chart","Bubble")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){return i.Bubble},enumerable:!1,configurable:!0}),t}(t.StiScatterAreaCoreXF);t.StiBubbleAreaCoreXF=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","Candlestick")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.Candlestick},enumerable:!1,configurable:!0}),i.prototype.createStripLinesXAxis=function(e){var t,r,i,n,o,a;e.info.stripLines.clear(),e.info.stripLines.add2(0,0);var s=this.getSeries();try{for(var l=__values(s),u=l.next();!u.done;u=l.next()){var c=u.value;try{for(var h=(i=void 0,__values(c.arguments)),p=h.next();!p.done;p=h.next()){var f=p.value,m=!0;try{for(var S=(o=void 0,__values(e.info.stripLines.list)),g=S.next();!g.done;g=S.next()){var y;g.value.valueObject.toString()==f.toString()&&(m=!1)}}catch(e){o={error:e}}finally{try{g&&!g.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}m&&e.info.stripLines.add2(f,e.info.stripLines.count)}}catch(e){i={error:e}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(i)throw i.error}}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}e.info.stripLines.add2("",e.info.stripLines.count)},i.prototype.prepareRange=function(e,t,r,i){var n,o,a,s,l,u,c,h,p,f;e.info.maximum=0,e.info.minimum=0,r.info.maximum=0,r.info.minimum=0;var m=this.getSeries(),S=!0;try{for(var g=__values(m),y=g.next();!y.done;y=g.next()){var d=y.value;try{for(var b=(a=void 0,__values(d.valuesOpen)),v=b.next();!v.done;v=b.next()){var C;null!=(C=v.value)&&(S?(S=!1,r.info.maximum=C,r.info.minimum=C):(r.info.maximum=Math.max(r.info.maximum,C),r.info.minimum=Math.min(r.info.minimum,C)))}}catch(e){a={error:e}}finally{try{v&&!v.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}try{for(var w=(l=void 0,__values(d.valuesClose)),x=w.next();!x.done;x=w.next()){var C;null!=(C=x.value)&&(r.info.maximum=Math.max(r.info.maximum,C),r.info.minimum=Math.min(r.info.minimum,C))}}catch(e){l={error:e}}finally{try{x&&!x.done&&(u=w.return)&&u.call(w)}finally{if(l)throw l.error}}try{for(var _=(c=void 0,__values(d.valuesHigh)),A=_.next();!A.done;A=_.next()){var C;null!=(C=A.value)&&(r.info.maximum=Math.max(r.info.maximum,C))}}catch(e){c={error:e}}finally{try{A&&!A.done&&(h=_.return)&&h.call(_)}finally{if(c)throw c.error}}try{for(var L=(p=void 0,__values(d.valuesLow)),O=L.next();!O.done;O=L.next()){var C;null!=(C=O.value)&&(r.info.minimum=Math.min(r.info.minimum,C))}}catch(e){p={error:e}}finally{try{O&&!O.done&&(f=L.return)&&f.call(L)}finally{if(p)throw p.error}}}}catch(e){n={error:e}}finally{try{y&&!y.done&&(o=g.return)&&o.call(g)}finally{if(n)throw n.error}}i.info.maximum=r.info.maximum,i.info.minimum=r.info.minimum},i}(t.StiClusteredColumnAreaCoreXF);t.StiCandlestickAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","ClusteredBar")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"seriesOrientation",{get:function(){return t.StiChartSeriesOrientation.Horizontal},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.ClusteredBar},enumerable:!1,configurable:!0}),i}(t.StiClusteredColumnAreaCoreXF);t.StiClusteredBarAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","Area")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.Area},enumerable:!1,configurable:!0}),i}(t.StiClusteredColumnAreaCoreXF);t.StiAreaAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","Histogram")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.Histogram},enumerable:!1,configurable:!0}),i}(t.StiClusteredColumnAreaCoreXF);t.StiHistogramAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","Line")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.Line},enumerable:!1,configurable:!0}),i}(t.StiClusteredColumnAreaCoreXF);t.StiLineAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","Pareto")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.Pareto},enumerable:!1,configurable:!0}),i}(t.StiClusteredColumnAreaCoreXF);t.StiParetoAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","SplineArea")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.SplineArea},enumerable:!1,configurable:!0}),i}(t.StiClusteredColumnAreaCoreXF);t.StiSplineAreaAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","Spline")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.Spline},enumerable:!1,configurable:!0}),i}(t.StiClusteredColumnAreaCoreXF);t.StiSplineAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","SteppedArea")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.SteppedArea},enumerable:!1,configurable:!0}),i}(t.StiClusteredColumnAreaCoreXF);t.StiSteppedAreaAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","SteppedLine")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.SteppedLine},enumerable:!1,configurable:!0}),i}(t.StiClusteredColumnAreaCoreXF);t.StiSteppedLineAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.prepareRange=function(e,r,i,n){var o=!0,a=0;i.info.maximum=0,i.info.minimum=0;for(var s=this.getSeries(),l=0;l0)for(var r=0;r0?o[u]=o[u]+f:n[u]=n[u]+f}else if(a.push(0),s.push(0),u0?s[u]=s[u]+f:a[u]=a[u]+f}}catch(e){r={error:e}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}var m;return[n,o,a,s]},n.prototype.prepareRange=function(e,t,i,n){var o,a,s,l,u,c,h,p,f,m,S,g,y,d,b,v,C,w,x,_,A=this.getSeries(),L=new r;try{for(var O=__values(A),P=O.next();!P.done;P=O.next()){var B=P.value;L.set(B.stimulsoft.getType(),B.stimulsoft.getType())}}catch(e){o={error:e}}finally{try{P&&!P.done&&(a=O.return)&&a.call(O)}finally{if(o)throw o.error}}var R=[],k=[],T=[],j=[];try{for(var F=__values(L.values),I=F.next();!I.done;I=F.next()){var D=I.value,N=this.prepareSeriesRange(D),M=0;try{for(var E=(u=void 0,__values(N[0])),V=E.next();!V.done;V=E.next()){var G=V.value;R.length<=M?R.push(G):R[M]=Math.min(R[M],G),M++}}catch(e){u={error:e}}finally{try{V&&!V.done&&(c=E.return)&&c.call(E)}finally{if(u)throw u.error}}M=0;try{for(var X=(h=void 0,__values(N[1])),z=X.next();!z.done;z=X.next()){var G=z.value;k.length<=M?k.push(G):k[M]=Math.max(k[M],G),M++}}catch(e){h={error:e}}finally{try{z&&!z.done&&(p=X.return)&&p.call(X)}finally{if(h)throw h.error}}M=0;try{for(var J=(f=void 0,__values(N[2])),H=J.next();!H.done;H=J.next()){var G=H.value;T.length<=M?T.push(G):T[M]=Math.min(T[M],G),M++}}catch(e){f={error:e}}finally{try{H&&!H.done&&(m=J.return)&&m.call(J)}finally{if(f)throw f.error}}M=0;try{for(var W=(S=void 0,__values(N[3])),Y=W.next();!Y.done;Y=W.next()){var G=Y.value;j.length<=M?j.push(G):j[M]=Math.max(j[M],G),M++}}catch(e){S={error:e}}finally{try{Y&&!Y.done&&(g=W.return)&&g.call(W)}finally{if(S)throw S.error}}}}catch(e){s={error:e}}finally{try{I&&!I.done&&(l=F.return)&&l.call(F)}finally{if(s)throw s.error}}0==R.length&&(R=T),0==k.length&&(k=j),0==T.length&&(T=R),0==j.length&&(j=k);var Z=!0;try{for(var q=__values(R),U=q.next();!U.done;U=q.next()){var G=U.value;Z?(i.info.minimum=G,Z=!1):i.info.minimum=Math.min(G,i.info.minimum)}}catch(e){y={error:e}}finally{try{U&&!U.done&&(d=q.return)&&d.call(q)}finally{if(y)throw y.error}}Z=!0;try{for(var K=__values(k),Q=K.next();!Q.done;Q=K.next()){var G=Q.value;Z?(i.info.maximum=G,Z=!1):i.info.maximum=Math.max(G,i.info.maximum)}}catch(e){b={error:e}}finally{try{Q&&!Q.done&&(v=K.return)&&v.call(K)}finally{if(b)throw b.error}}Z=!0;try{for(var $=__values(T),ee=$.next();!ee.done;ee=$.next()){var G=ee.value;Z?(n.info.minimum=G,Z=!1):n.info.minimum=Math.min(G,n.info.minimum)}}catch(e){C={error:e}}finally{try{ee&&!ee.done&&(w=$.return)&&w.call($)}finally{if(C)throw C.error}}Z=!0;try{for(var te=__values(j),re=te.next();!re.done;re=te.next()){var G=re.value;Z?(n.info.maximum=G,Z=!1):n.info.maximum=Math.max(G,n.info.maximum)}}catch(e){x={error:e}}finally{try{re&&!re.done&&(_=te.return)&&_.call(te)}finally{if(x)throw x.error}}},Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("Chart","StackedBar")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"seriesOrientation",{get:function(){return t.StiChartSeriesOrientation.Horizontal},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"position",{get:function(){return t.StiChartAreaPosition.StackedBar},enumerable:!1,configurable:!0}),n}(t.StiClusteredBarAreaCoreXF);t.StiStackedBarAreaCoreXF=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","FullStackedBar")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.FullStackedBar},enumerable:!1,configurable:!0}),i}(t.StiStackedBarAreaCoreXF);t.StiFullStackedBarAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Collections.Hashtable,i=e.Base.Localization.StiLocalization,n=function(e){function n(t){return e.call(this,t)||this}return __extends(n,e),n.prototype.prepareSeriesRange=function(e){for(var r,i,n=[],o=[],a=[],s=[],l=this.getSeries(),u=0;u0?o[u]=o[u]+f:n[u]=n[u]+f}else if(a.push(0),s.push(0),u0?s[u]=s[u]+f:a[u]=a[u]+f}}catch(e){r={error:e}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}var m;return[n,o,a,s]},n.prototype.prepareRange=function(e,t,i,n){var o,a,s,l,u,c,h,p,f,m,S,g,y,d,b,v,C,w,x,_,A=this.getSeries(),L=new r;try{for(var O=__values(A),P=O.next();!P.done;P=O.next()){var B=P.value;L.set(B.stimulsoft.getType(),B.stimulsoft.getType())}}catch(e){o={error:e}}finally{try{P&&!P.done&&(a=O.return)&&a.call(O)}finally{if(o)throw o.error}}var R=[],k=[],T=[],j=[];try{for(var F=__values(L.values),I=F.next();!I.done;I=F.next()){var D=I.value,N=this.prepareSeriesRange(D),M=0;try{for(var E=(u=void 0,__values(N[0])),V=E.next();!V.done;V=E.next()){var G=V.value;R.length<=M?R.push(G):R[M]=Math.min(R[M],G),M++}}catch(e){u={error:e}}finally{try{V&&!V.done&&(c=E.return)&&c.call(E)}finally{if(u)throw u.error}}M=0;try{for(var X=(h=void 0,__values(N[1])),z=X.next();!z.done;z=X.next()){var G=z.value;k.length<=M?k.push(G):k[M]=Math.max(k[M],G),M++}}catch(e){h={error:e}}finally{try{z&&!z.done&&(p=X.return)&&p.call(X)}finally{if(h)throw h.error}}M=0;try{for(var J=(f=void 0,__values(N[2])),H=J.next();!H.done;H=J.next()){var G=H.value;T.length<=M?T.push(G):T[M]=Math.min(T[M],G),M++}}catch(e){f={error:e}}finally{try{H&&!H.done&&(m=J.return)&&m.call(J)}finally{if(f)throw f.error}}M=0;try{for(var W=(S=void 0,__values(N[3])),Y=W.next();!Y.done;Y=W.next()){var G=Y.value;j.length<=M?j.push(G):j[M]=Math.max(j[M],G),M++}}catch(e){S={error:e}}finally{try{Y&&!Y.done&&(g=W.return)&&g.call(W)}finally{if(S)throw S.error}}}}catch(e){s={error:e}}finally{try{I&&!I.done&&(l=F.return)&&l.call(F)}finally{if(s)throw s.error}}0==R.length&&(R=T),0==k.length&&(k=j),0==T.length&&(T=R),0==j.length&&(j=k);var Z=!0;try{for(var q=__values(R),U=q.next();!U.done;U=q.next()){var G=U.value;Z?(i.info.minimum=G,Z=!1):i.info.minimum=Math.min(G,i.info.minimum)}}catch(e){y={error:e}}finally{try{U&&!U.done&&(d=q.return)&&d.call(q)}finally{if(y)throw y.error}}Z=!0;try{for(var K=__values(k),Q=K.next();!Q.done;Q=K.next()){var G=Q.value;Z?(i.info.maximum=G,Z=!1):i.info.maximum=Math.max(G,i.info.maximum)}}catch(e){b={error:e}}finally{try{Q&&!Q.done&&(v=K.return)&&v.call(K)}finally{if(b)throw b.error}}Z=!0;try{for(var $=__values(T),ee=$.next();!ee.done;ee=$.next()){var G=ee.value;Z?(n.info.minimum=G,Z=!1):n.info.minimum=Math.min(G,n.info.minimum)}}catch(e){C={error:e}}finally{try{ee&&!ee.done&&(w=$.return)&&w.call($)}finally{if(C)throw C.error}}Z=!0;try{for(var te=__values(j),re=te.next();!re.done;re=te.next()){var G=re.value;Z?(n.info.maximum=G,Z=!1):n.info.maximum=Math.max(G,n.info.maximum)}}catch(e){x={error:e}}finally{try{re&&!re.done&&(_=te.return)&&_.call(te)}finally{if(x)throw x.error}}},Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("Chart","StackedColumn")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"position",{get:function(){return t.StiChartAreaPosition.StackedColumn},enumerable:!1,configurable:!0}),n}(t.StiAxisAreaCoreXF);t.StiStackedColumnAreaCoreXF=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","FullStackedColumn")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.FullStackedColumn},enumerable:!1,configurable:!0}),i}(t.StiStackedColumnAreaCoreXF);t.StiFullStackedColumnAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","FullStackedArea")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.FullStackedArea},enumerable:!1,configurable:!0}),i}(t.StiFullStackedColumnAreaCoreXF);t.StiFullStackedAreaAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","FullStackedLine")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.FullStackedLine},enumerable:!1,configurable:!0}),i}(t.StiFullStackedColumnAreaCoreXF);t.StiFullStackedLineAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","FullStackedSplineArea")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.FullStackedSplineArea},enumerable:!1,configurable:!0}),i}(t.StiFullStackedColumnAreaCoreXF);t.StiFullStackedSplineAreaAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","FullStackedSpline")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.FullStackedSpline},enumerable:!1,configurable:!0}),i}(t.StiFullStackedColumnAreaCoreXF);t.StiFullStackedSplineAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=e.System.Collections.Hashtable,n=function(e){function n(t){return e.call(this,t)||this}return __extends(n,e),Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","Funnel")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"position",{get:function(){return t.StiChartAreaPosition.Funnel},enumerable:!1,configurable:!0}),n.prototype.render=function(e,r){var i=new t.StiPieAreaGeom(this.area,r),n=this.getSeries();return this.renderSeries(e,r,i,n),i},n.prototype.renderSeries=function(e,t,r,n){var o,a,s,l,u=[],c=new i;try{for(var h=__values(n),p=h.next();!p.done;p=h.next()){var f=p.value,m=c.get(f.stimulsoft.getType());null==m&&(m=[],u.push(m),c.set(f.stimulsoft.getType(),m)),m.push(f)}}catch(e){o={error:e}}finally{try{p&&!p.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}try{for(var S=__values(u),g=S.next();!g.done;g=S.next()){var y,d=g.value.stimulsoft.toArray();d[0].core.renderSeries(e,t,r,d)}}catch(e){s={error:e}}finally{try{g&&!g.done&&(l=S.return)&&l.call(S)}finally{if(s)throw s.error}}},n.prototype.prepareInfo=function(e){},n}(t.StiAreaCoreXF);t.StiFunnelAreaCoreXF=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.createStripLinesXAxis=function(e){var t,r,i,n,o,a;e.info.stripLines.clear(),e.info.stripLines.add2(0,0);var s=this.getSeries();try{for(var l=__values(s),u=l.next();!u.done;u=l.next()){var c=u.value;try{for(var h=(i=void 0,__values(c.arguments)),p=h.next();!p.done;p=h.next()){var f=p.value,m=!0;try{for(var S=(o=void 0,__values(e.info.stripLines.list)),g=S.next();!g.done;g=S.next()){var y=g.value;null!=y.valueObject&&y.valueObject.toString()==f.toString()&&(m=!1)}}catch(e){o={error:e}}finally{try{g&&!g.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}m&&e.info.stripLines.add2(f,e.info.stripLines.count)}}catch(e){i={error:e}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(i)throw i.error}}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}e.info.stripLines.add2("",e.info.stripLines.count)},i.prototype.prepareRange=function(e,t,r,i){var n,o,a,s,l,u;e.info.maximum=0,e.info.minimum=0,r.info.maximum=0,r.info.minimum=0;var c=this.getSeries(),h=!0;try{for(var p=__values(c),f=p.next();!f.done;f=p.next()){var m=f.value;try{for(var S=(a=void 0,__values(m.values)),g=S.next();!g.done;g=S.next()){var y;null!=(y=g.value)&&(h?(h=!1,r.info.maximum=y,r.info.minimum=y):(r.info.maximum=Math.max(r.info.maximum,y),r.info.minimum=Math.min(r.info.minimum,y)))}}catch(e){a={error:e}}finally{try{g&&!g.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}try{for(var d=(l=void 0,__values(m.valuesEnd)),b=d.next();!b.done;b=d.next()){var y;null!=(y=b.value)&&(r.info.maximum=Math.max(r.info.maximum,y),r.info.minimum=Math.min(r.info.minimum,y))}}catch(e){l={error:e}}finally{try{b&&!b.done&&(u=d.return)&&u.call(d)}finally{if(l)throw l.error}}}}catch(e){n={error:e}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}i.info.maximum=r.info.maximum,i.info.minimum=r.info.minimum},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","Gantt")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"seriesOrientation",{get:function(){return t.StiChartSeriesOrientation.Horizontal},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.Gantt},enumerable:!1,configurable:!0}),i}(t.StiClusteredBarAreaCoreXF);t.StiGanttAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=e.System.Drawing.Rectangle,n=function(e){function n(t){return e.call(this,t)||this}return __extends(n,e),n.prototype.render=function(e,r){var n=new t.StiPictorialAreaGeom(this.area,r),o=this.getSeries();return e.pushTranslateTransform(r.x,r.y),o.length>0&&o[0].core.renderSeries(e,new i(0,0,r.width,r.height),n,o.stimulsoft.toArray()),e.popTransform(),n},Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","Pictorial")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"position",{get:function(){return t.StiChartAreaPosition.Pictorial},enumerable:!1,configurable:!0}),n}(t.StiAreaCoreXF);t.StiPictorialAreaCoreXF=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiString,i=e.Base.Drawing.StiEmptyBrush,n=e.System.Collections.Hashtable,o=e.System.Drawing.Rectangle,a=e.System.Drawing.Point,s=function(s){function l(e){var t=s.call(this,e)||this;return t.valuesCount=0,t.points=[],t.arguments=[],t.centerPoint=a.empty,t}return __extends(l,s),l.prototype.applyStyle=function(e){s.prototype.applyStyle.call(this,e);var t=this.area;t.allowApplyStyle&&(null!=t.interlacingHor&&t.interlacingHor.core.applyStyle(e),null!=t.interlacingVert&&t.interlacingVert.core.applyStyle(e),null!=t.gridLinesHor&&t.gridLinesHor.core.applyStyle(e),null!=t.gridLinesVert&&t.gridLinesVert.core.applyStyle(e),null!=t.xAxis&&t.xAxis.core.applyStyle(e),null!=t.yAxis&&t.yAxis.core.applyStyle(e),t.brush=new i)},l.prototype.render=function(e,r){var i=this.area,n=r.clone();n=l.centerArea(n),this.prepareInfo(n),n=this.measureLabels(e,n).clone(),n=l.centerArea(n).clone(),n=new o(r.x+(r.width-n.width)/2,r.y+(r.height-n.height)/2,n.width,n.height),this.prepareInfo(n);var a=new t.StiRadarAreaGeom(this.area,n,this.valuesCount),s=i.yAxis.yCore.render(e,n);null!=s&&(a.createChildGeoms(),a.childGeoms.push(s)),this.area.chart.series.count>0&&this.renderArguments(e,a,this.area.chart.series.getByIndex(0));var u=this.getSeries();return this.renderSeries(e,n,a,u),a},l.centerArea=function(e){return e.width>e.height?e.width=e.height:e.height=e.width,e},l.prototype.measureLabels=function(e,t){var r,i;if(0==this.valuesCount)return t;var n=this.area;if(null!=n.xAxis&&n.xAxis.visible){var s=n.yAxis.info.stripPositions[n.yAxis.info.stripPositions.length-1]+4*e.options.zoom,l=0,u=360/this.valuesCount,c=0,h=t.clone();try{for(var p=__values(this.points),f=p.next();!f.done;f=p.next()){var m=f.value,S=l0&&(t.width-=b),v>0&&(t.width-=v),C>0&&(t.height-=C),w>0&&(t.height-=w)}return t},l.prototype.renderArguments=function(e,t,r){var i,n;if(0==this.valuesCount)return;var o=this.area;if(null!=o.xAxis&&o.xAxis.visible&&null!=o.yAxis.info.stripPositions){var s=o.yAxis.info.stripPositions[o.yAxis.info.stripPositions.length-1]+4*e.options.zoom,l=0,u=360/this.valuesCount,c=0;try{for(var h=__values(this.points),p=h.next();!p.done;p=h.next()){var f=p.value,m=l0)for(var c=0;c0){var p=l[0];try{for(var f=__values(l),m=f.next();!m.done;m=f.next()){var S=m.value;if(S.arguments.length==this.valuesCount){p=S;break}}}catch(e){r={error:e}}finally{try{m&&!m.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}for(var c=0;c0?360/this.valuesCount:360/5,this.points=[];var g=0;while(g<360){var y=(g-90)*Math.PI/180,d=new a(Math.cos(y),Math.sin(y));if(this.points.push(d),g+=u,this.points.length==this.valuesCount)break}for(var b=0,v=0,C=!0,c=0;cv&&(v=Math.abs(b)),0==v&&0==b&&(v=1),b=0,this.createStripLinesAxis(s.yAxis,b,v),null!=s.yAxis.info.stripLines&&s.yAxis.info.stripLines.count>0&&(s.yAxis.info.minimum=s.yAxis.info.stripLines.getByIndex(s.yAxis.info.stripLines.count-1).value,s.yAxis.info.maximum=s.yAxis.info.stripLines.getByIndex(0).value),s.yAxis.info.dpi=.5*t.height/s.yAxis.info.range,this.calculateStep(s.yAxis,0,t.height/2);var A={ref:s.yAxis.info.labelsCollection};this.calculatePositions(s.yAxis,A,s.yAxis.labels.step>0?Math.trunc(s.yAxis.labels.step):1),s.yAxis.info.labelsCollection=A.ref;var L={ref:s.yAxis.info.ticksCollection};this.calculatePositions(s.yAxis,L,s.yAxis.ticks.step>0?Math.trunc(s.yAxis.ticks.step):1),s.yAxis.info.ticksCollection=L.ref},l.prototype.createStripLinesAxis=function(e,i,n){var o,a,s=this.area,l=s.yAxis.labels.step;0==l&&(l=t.StiStripLineCalculatorXF.getInterval(i,n,6)),s.yAxis.info.stripLines=t.StiStripLineCalculatorXF.getStripLines(i,n,l,!1);try{for(var u=__values(s.yAxis.info.stripLines.list),c=u.next();!c.done;c=u.next()){var h=c.value;h.valueObject=r.format("{0}",h.valueObject)}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}},l.prototype.calculateStep=function(e,t,r){e.info.stripLines.count>=2?(e.info.step=Math.abs((e.info.stripLines.getByIndex(1).value-e.info.stripLines.getByIndex(0).value)*e.info.dpi),e.yCore.calculateStripPositions(t,r)):e.info.step=1},l.prototype.calculatePositions=function(e,r,i){var n=[],o=this.area,a=0;if(null!=e.info.stripPositions)for(var s=e.info.stripPositions.length,l=0;l0&&(e.area.xAxis.showEdgeValues||(e.info.stripLines.getByIndex(0).valueObject="",e.info.stripLines.getByIndex(e.info.stripLines.count-1).valueObject=""))},i.prototype.prepareRange=function(e,t,r,i){var n,o,a,s,l,u;e.info.maximum=0,e.info.minimum=0,r.info.maximum=0,r.info.minimum=0;var c=this.getSeries(),h=!0;try{for(var p=__values(c),f=p.next();!f.done;f=p.next()){var m=f.value;try{for(var S=(a=void 0,__values(m.values)),g=S.next();!g.done;g=S.next()){var y;null!=(y=g.value)&&(h?(h=!1,r.info.maximum=y,r.info.minimum=y):(r.info.maximum=Math.max(r.info.maximum,y),r.info.minimum=Math.min(r.info.minimum,y)))}}catch(e){a={error:e}}finally{try{g&&!g.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}try{for(var d=(l=void 0,__values(m.valuesEnd)),b=d.next();!b.done;b=d.next()){var y;null!=(y=b.value)&&(r.info.maximum=Math.max(r.info.maximum,y),r.info.minimum=Math.min(r.info.minimum,y))}}catch(e){l={error:e}}finally{try{b&&!b.done&&(u=d.return)&&u.call(d)}finally{if(l)throw l.error}}}}catch(e){n={error:e}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}i.info.maximum=r.info.maximum,i.info.minimum=r.info.minimum},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","RangeBar")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.RangeBar},enumerable:!1,configurable:!0}),i}(t.StiClusteredColumnAreaCoreXF);t.StiRangeBarAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","SplineRange")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.SplineRange},enumerable:!1,configurable:!0}),i.prototype.prepareRange=function(e,r,i,n){var o=!0,a=!0,s=!1,l=!1;i.info.maximum=0,i.info.minimum=0,n.info.maximum=0,n.info.minimum=0;for(var u=this.getSeries(),c=0;c0&&n[0].core.renderSeries(e,r,i,n),i},i.prototype.prepareInfo=function(e){},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","Sunburst")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.Sunburst},enumerable:!1,configurable:!0}),i}(t.StiAreaCoreXF);t.StiSunburstAreaCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Rectangle,i=e.Base.Localization.StiLocalization,n=function(e){function n(t){return e.call(this,t)||this}return __extends(n,e),n.prototype.render=function(e,i){var n,o,a=new t.StiTreemapAreaGeom(this.area,i),s=this.getSeries(),l=[];try{for(var u=__values(s),c=u.next();!c.done;c=u.next()){var h=c.value;l.push(h.values.stimulsoft.toList().sum())}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}var p=new r(0,0,i.width,i.height),f=this.area.core.normalizeDataForArea(l,p.width*p.height),m=this.area.core.squarify(f,[],p,[]);return this.renderSeries(e,m,p,a,s),a},n.prototype.renderSeries=function(e,t,r,i,n){for(var o=0;o=o&&n[o].core.renderSeries(e,t[o],i,n.stimulsoft.toArray())},n.prototype.cutArea=function(e,t){var i;if(e.width>=e.height){var n=t/e.height,o=e.width-n;i=new r(e.x+n,e.y,o,e.height)}else{var a=t/e.width,s=e.height-a;i=new r(e.x,e.y+a,e.width,s)}return i},n.prototype.squarify=function(e,t,r,i){if(0==e.length)return i.stimulsoft.addRange(this.getCoordinates(r,t)),i;var n=Math.min(r.width,r.height),o=e[0];if(this.improvesRatio(t,o,n))t.push(o),this.squarify(e.stimulsoft.toList().skip(1),t,r,i);else{var a=this.cutArea(r,t.stimulsoft.toList().sum());i.stimulsoft.addRange(this.getCoordinates(r,t));var s=[];this.squarify(e,s,a,i)}return i},n.prototype.improvesRatio=function(e,t,r){if(0==e.length)return!0;var i=e.stimulsoft.clone(),n,o;return i.push(t),this.calculateRatio(e,r)>=this.calculateRatio(i,r)},n.prototype.calculateRatio=function(e,t){var r=e.stimulsoft.toList().sum(),i=Math.pow(t,2)*e.stimulsoft.toList().max()/Math.pow(r,2),n=Math.pow(r,2)/(Math.pow(t,2)*e.stimulsoft.toList().min());return Math.max(i,n)},n.prototype.normalizeDataForArea=function(e,t){var r=[],i=e.stimulsoft.toList().sum();if(0==i)return r;for(var n=t/i,o=0;o=e.height)for(var l=0;l1){while(t>1)t/=10,r++;t=t<.15?.1:t<.3?.2:t<.75?.5:1;while(r>0)t*=10,r--}else if(e>0){while(10*t<1)t*=10,r++;t=t<.15?.1:t<.3?.2:t<.75?.5:1;while(r>0)t/=10,r--}return t},i.getInterval=function(e,t,r){if(t==e)return 0;return i.getInterval1((t-e)/r)},i.getStripLines=function(i,n,o,a){var s=new t.StiStripLinesXF;if(i==n)return s;var l=i,u=n,c=o,h=0;h=Math.trunc(l/c)*c;while(l0&&(h=Math.round2(h,m)),a?s.insert(0,new t.StiStripLineXF(r.fromOADate(h),h)):s.insert(0,new t.StiStripLineXF(h.toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator),h));return s},i.getCountAfterComma=function(e){var t=e.toString().stimulsoft.replaceAll(",","."),r=t.indexOf("."),i=0;return r>0&&(i=t.substring(r).length-1),i},i.getStripLinesLogScale=function(r,i){var n=new t.StiStripLinesXF;if(r==i)return n;var o=r,a=i,s=1,l=1;if(01){while(o>s)s*=10;s/=10}if(0a)l/=10;l*=10}if(a>1)while(a>l)l*=10;var u=s,c=u,h=1;while(u<=l)n.insert(0,new t.StiStripLineXF(u.toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator),u)),u+=c,10==++h&&(h=1,c=u);return n},i}();t.StiStripLineCalculatorXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.ICloneable,i=function(){function e(e,t){this._valueObject=null,this.valueObj=0,this.valueObject=e,this.valueObj=t}return e.prototype.implements=function(){return e.implementsStiStripLineXF||(e.implementsStiStripLineXF=[r,t.IStiStripLinesXF]),e.implementsStiStripLineXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"valueObject",{get:function(){return this._valueObject},set:function(e){this._valueObject=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.valueObj},set:function(e){this.valueObj=e},enumerable:!1,configurable:!0}),e}();t.StiStripLineXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.ICloneable,i,n=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return __extends(i,e),i.prototype.implements=function(){return i.implementsStiStripLinesXF||(i.implementsStiStripLinesXF=[r,t.IStiStripLinesXF]),i.implementsStiStripLinesXF},i.prototype.clone=function(){var e,t,r=new i;try{for(var n=__values(this.list),o=n.next();!o.done;o=n.next()){var a,s=o.value.clone();r.add(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},i.prototype.add2=function(e,r){this.add(new t.StiStripLineXF(e,r))},i}(e.System.Collections.CollectionBase);t.StiStripLinesXF=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function t(){}return t.prototype.implements=function(){return t.implementsStiStripPositionXF||(t.implementsStiStripPositionXF=[e.IStiStripPositionXF]),t.implementsStiStripPositionXF},t}();e.StiStripPositionXF=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.System.StiString,n=e.System.Drawing.StringTrimming,o=e.System.Drawing.StringFormatFlags,a=e.System.Drawing.StringAlignment,s=e.Base.Context.StiFontGeom,l=e.Base.Drawing.StiHorAlignment,u=e.System.Drawing.Size,c=e.System.ICloneable,h=function(){function e(e){this._isMouseOverDecreaseButton=!1,this._isMouseOverIncreaseButton=!1,this._isMouseOverTrackBar=!1,this._axis=e}return e.prototype.implements=function(){return e.implementsStiAxisCoreXF||(e.implementsStiAxisCoreXF=[c,t.IStiApplyStyle,t.IStiAxisCoreXF]),e.implementsStiAxisCoreXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"isMouseOverDecreaseButton",{get:function(){return this._isMouseOverDecreaseButton},set:function(e){this._isMouseOverDecreaseButton=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMouseOverIncreaseButton",{get:function(){return this._isMouseOverIncreaseButton},set:function(e){this._isMouseOverIncreaseButton=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMouseOverTrackBar",{get:function(){return this._isMouseOverTrackBar},set:function(e){this._isMouseOverTrackBar=e},enumerable:!1,configurable:!0}),e.prototype.applyStyle=function(e){this.axis.allowApplyStyle&&(this.axis.lineColor=e.core.axisLineColor,this.axis.labels.core.applyStyle(e),this.axis.title.core.applyStyle(e))},e.prototype.getStartFromZero=function(){if(1==this.axis.area.axisCore.valuesCount)return!0;if(null!=this.axis&&null!=this.axis.range&&!this.axis.range.auto)return!0;return null==this.axis||this.axis.startFromZero},e.prototype.render=function(e,t){return null},e.prototype.renderView=function(e,t){return null},e.prototype.calculateStripPositions=function(e,i){if(i-=e,e=0,null==this.axis.info.stripLines||this.axis.info.stripLines.count<2)this.axis.info.stripPositions=[];else{var n=!1;if(this.axis.area.chart.series.count>0&&this.axis.area.chart.series.getByIndex(0).stimulsoft.is(t.StiScatterSeries)&&(n=!0),this.axis.logarithmicScale&&n){var o=this.axis.info.stripLines.count;this.axis.info.stripPositions=r.create(Number,this.axis.info.stripLines.count),this.axis.info.stripPositions[0]=e,this.axis.info.stripPositions[this.axis.info.stripPositions.length-1]=i;for(var a=this.axis.info.stripLines.getByIndex(0).value,s=this.axis.info.stripLines.getByIndex(o-1).value,l=i/(Math.log10(s)-Math.log10(a)),u=1;u0){var r=this.getTextAlignment();r==l.Left?t.alignment=a.Near:r==l.Right?t.alignment=a.Far:r==l.Center&&(t.alignment=a.Center)}return t},e.prototype.getAxisTitleSize=function(e){if(i.isNullOrEmpty(this.axis.title.text))return u.empty;var r=s.changeFontSize(this.axis.title.font,this.axis.title.font.size*e.options.zoom),n=e.measureString(this.axis.title.text,r);switch(this.axis.title.direction){case t.StiDirection.LeftToRight:case t.StiDirection.RightToLeft:return n;case t.StiDirection.BottomToTop:case t.StiDirection.TopToBottom:return new u(n.height,n.width)}return u.empty},e.prototype.getAngleTitle=function(){var e=0;switch(this.axis.title.direction){case t.StiDirection.LeftToRight:e=0;break;case t.StiDirection.RightToLeft:e=180;break;case t.StiDirection.BottomToTop:e=-90;break;case t.StiDirection.TopToBottom:e=90;break}return e},e.prototype.getCorrectionFontSize=function(e,r,i){switch(this.axis.title.direction){case t.StiDirection.LeftToRight:case t.StiDirection.RightToLeft:e.width=0)return null;var i=this.getCenterAxisRect(e,r,!1,!1,!0).clone();return i.x=0,i.y=0,new t.StiXAxisGeom(this.axis,i,!0)},p.prototype.renderCenterView=function(e,r){if(!this.axis.visible)return null;if(this.axis.area.yAxis.info.minimum>=0)return null;var i=this.getCenterAxisRect(e,r,!1,!1,!0).clone(),n;return new t.StiXAxisViewGeom(this.axis,i,!0)},p.prototype.getLabelText=function(e,t){return this.getLabelText2(e.valueObject,e.value,t)},p.prototype.getLabelText2=function(i,n,o){null==i&&(i="");var s=c.currentCulture,l=this.axis.area.chart.report.culture;try{if(null!=this.axis.labels.formatService){if(i.stimulsoft.is(a))return""+this.axis.labels.textBefore+this.axis.labels.formatService.format(i)+this.axis.labels.textAfter;return""+this.axis.labels.textBefore+this.axis.labels.formatService.format(n)+this.axis.labels.textAfter}r.isNullOrEmpty(this.axis.area.chart.report.culture)||(c.currentCulture=c.cultures[l]);var u="";if(null!=o&&(u=o.format),null!=u&&0!=u.trim().length||(u=this.axis.labels.format),null!=u&&0!=u.trim().length){if(i.stimulsoft.is(String)){var h=i.toString(),p=h.stimulsoft.toNumber();if(h.length>0&&!isNaN(p))i=p;else{var f=a.fromString(i.toString(),!1);null!=f&&(i=f)}}else if(null==i)return"";if(!t.StiChartOptions.oldChartPercentMode&&u.stimulsoft.startsWith("P")){var m=0;return u.length>1&&(m=u.stimulsoft.remove(0,1).stimulsoft.toNumber()),r.format("{0}{1:N"+m.toString()+"}{2}{3}",this.axis.labels.textBefore,i,"%",this.axis.labels.textAfter)}return r.format("{0}{1:"+u+"}{2}",this.axis.labels.textBefore,i,this.axis.labels.textAfter)}return r.format("{0}{1}{2}",this.axis.labels.textBefore,i,this.axis.labels.textAfter)}catch(t){e.System.StiError.showError(t,!1)}finally{r.isNullOrEmpty(l)||(c.currentCulture=s)}return i.toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator)},Object.defineProperty(p.prototype,"isLabelsAngleByWidth",{get:function(){return this.axis.labels.angle<30||this.axis.labels.angle>150},enumerable:!1,configurable:!0}),p.prototype.checkAutoAngleLabels=function(r,i){var o,a;if(this.axis.labels.placement!=t.StiLabelsPlacement.AutoRotation)return!1;var l=[];if(null!=this.axis.info.labelsCollection){var c=this.getStringFormatGeom(r),h=this.getFontGeom(r),p=n.CenterCenter,f=-this.axis.labels.angle,m=s.empty;p=this.isTopSide?n.CenterBottom:n.LeftCenter;var S=0,g=0,y=this.axis.area.reverseVert?this.isBottomSide:this.isTopSide;try{for(var d=__values(this.axis.info.labelsCollection),b=d.next();!b.done;b=d.next()){var v=b.value;if(y&&this.axis.area.yRightAxis.arrowStyle!=t.StiArrowStyle.None&&0==g){l.push(new t.StiAxisLabelInfoXF),g++;continue}if(y&&this.axis.area.yAxis.arrowStyle!=t.StiArrowStyle.None&&g==this.axis.info.stripLines.count-1){l.push(new t.StiAxisLabelInfoXF),g++;continue}var C=this.getLabelText(v.stripLine,null),w=v.position;if(m=this.isTopSide?new s(w,i.height-(this.getTicksMaxLength(r)+this.getLabelsSpaceAxis(r))):new s(w,this.getTicksMaxLength(r)+this.getLabelsSpaceAxis(r)),this.axis.labels.placement!=t.StiLabelsPlacement.None){var x=r.measureRotatedString3(C,h,m,c,p,f,Math.trunc(this.axis.labels.width*r.options.zoom)),_=new t.StiAxisLabelInfoXF;_.angle=f,_.clientRectangle=x,_.rotationMode=p,_.textPoint=m,_.text=C,_.stripLine=v.stripLine,l.push(_),this.isLabelsAngleByWidth&&(S=Math.max(S,x.width))}else l.push(new t.StiAxisLabelInfoXF);g++}}catch(e){o={error:e}}finally{try{b&&!b.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}for(var A=1;Athis.axis.area.chart.stimulsoft.as(e.Report.Components.StiChart).core.fullRectangle.height/4)return!1;if(O.intersectsWith(P))return!0}}return!1},p.prototype.measureStripLines=function(e,r){var i,o,a,l,u=[],c=null,h=-this.axis.labels.angle,p=this.checkAutoAngleLabels(e,r);if(p&&(h=-45,c=this.axis.stimulsoft.is(t.IStiXTopAxis)?n.LeftBottom:n.RightTop),null!=this.axis.info.labelsCollection&&this.axis.labels.placement!=t.StiLabelsPlacement.None){var f=0,m=0;try{for(var S=__values(this.axis.info.labelsCollection),g=S.next();!g.done;g=S.next()){var y=g.value,d=this.axis.area.reverseVert?this.isBottomSide:this.isTopSide;if(d&&this.axis.area.yRightAxis.arrowStyle!=t.StiArrowStyle.None&&0==m){u.push(new t.StiAxisLabelInfoXF),m++;continue}if(d&&this.axis.area.yAxis.arrowStyle!=t.StiArrowStyle.None&&m==this.axis.info.stripLines.count-1){u.push(new t.StiAxisLabelInfoXF),m++;continue}var b=y.stripLine.value,v=this.getLabelText(y.stripLine,null),C=y.position;if(this.axis.labels.placement!=t.StiLabelsPlacement.None){var w=this.getStringFormatGeom(e),x=this.getFontGeom(e),_=this.getTextAlignment();c=n.CenterCenter;var A=s.empty;this.isTopSide?(A=new s(C,r.height-(this.getTicksMaxLength(e)+this.getLabelsSpaceAxis(e))),c=0==h?n.CenterBottom:n.LeftCenter):(A=new s(C,this.getTicksMaxLength(e)+this.getLabelsSpaceAxis(e)),c=0==h?n.CenterTop:n.RightCenter),this.axis.labels.placement==t.StiLabelsPlacement.TwoLines&&0!=(1&m)&&(this.isTopSide&&(A.y-=this.getLabelsTwoLinesDestination(e)),this.isBottomSide&&(A.y+=this.getLabelsTwoLinesDestination(e)));var L=e.measureRotatedString3(v,x,A,w,c,h,Math.trunc(this.axis.labels.width*e.options.zoom)),O;(O=new t.StiAxisLabelInfoXF).angle=h,O.clientRectangle=L,O.rotationMode=c,O.textPoint=A,O.text=v,O.stripLine=y.stripLine,u.push(O),this.isLabelsAngleByWidth&&(f=Math.max(f,L.width))}else u.push(new t.StiAxisLabelInfoXF);m++}}catch(e){i={error:e}}finally{try{g&&!g.done&&(o=S.return)&&o.call(S)}finally{if(i)throw i.error}}var P=1;if(this.axis.range.auto)if(p){f=1.4*this.axis.labels.font.getHeight()*e.options.zoom;var B=r.width/this.axis.info.stripLines.count;P=Math.ceil(f/B)}else{var B,R;this.isLabelsAngleByWidth||(f=1.5*this.axis.labels.font.sizeInPoints*e.options.zoom),f/(B=r.width/this.axis.info.stripLines.count)>1&&(P=Math.trunc(t.StiStripLineCalculatorXF.getInterval(0,this.axis.info.labelsCollection.length,6)),this.axis.logarithmicScale&&(P=1))}else P=Math.trunc(Math.max(1,this.axis.step));var k=!1,T=0,j=0;if(this.axis.labels.placement==t.StiLabelsPlacement.TwoLines&&u.length>1&&(j=u[0].textPoint.y,T=u[1].textPoint.y),1==P||0!=this.axis.labels.step)return u;var F=0,I=[];try{for(var D=__values(u),N=D.next();!N.done;N=D.next()){var O=N.value;0==F&&(this.axis.labels.placement==t.StiLabelsPlacement.TwoLines&&u.length>1&&(k?(O.textPoint.y=T,k=!1):(O.textPoint.y=j,k=!0)),I.push(O)),++F==P&&(F=0)}}catch(e){a={error:e}}finally{try{N&&!N.done&&(l=D.return)&&l.call(D)}finally{if(a)throw a.error}}return I}return u},p.prototype.getCenterAxisRect=function(e,t,r,i,n){if(this.axis.area.yAxis.info.minimum>=0)return u.empty;var o=-this.getTicksMaxLength(e);return new u(0,o,t.width,this.getTicksMaxLength(e))},p.prototype.getAxisRect=function(e,r,i,n,o,a){var s,l,c=u.empty;if(!this.axis.visible)return c;var h=this.measureStripLines(e,r);if(0==h.length)c=this.isTopSide?new u(0,-this.getTicksMaxLength(e),r.width,this.getTicksMaxLength(e)):new u(0,r.height,r.width,this.getTicksMaxLength(e));else{try{for(var p=__values(h),f=p.next();!f.done;f=p.next()){var m=f.value;if(m.clientRectangle.isEmptyF)continue;c=c.isEmpty?m.clientRectangle:u.union(c,m.clientRectangle)}}catch(e){s={error:e}}finally{try{f&&!f.done&&(l=p.return)&&l.call(p)}finally{if(s)throw s.error}}this.axis.interaction.showScrollBar&&a&&(c.height+=t.StiAxisCoreXF.defaultScrollBarSize*e.options.zoom),c.height+=this.getTicksMaxLength(e)+this.getLabelsSpaceAxis(e);var S=c.clone();this.isTopSide&&(c=new u(0,-c.height,r.width,c.height)),this.isBottomSide&&(c=new u(0,r.height,r.width,c.height)),n&&(c.x=S.x,c.width=S.width)}if(this.axis.arrowStyle!=t.StiArrowStyle.None&&i){var g=this.getArrowHeight(e);this.axis.area.reverseHor&&(g=-g),c=u.union(c,new u(r.width,c.y+c.height/2,g,1))}var y=this.getAxisTitleSize(e);return y.isEmpty||this.axis.title.position!=t.StiTitlePosition.Outside||(c.height+=y.height,0==c.width&&(c.width=y.width),this.isTopSide&&(c.y-=y.height)),c},p.prototype.renderLabels=function(e,r,i){var o,a,u,c;if(null!=this.axis.info.stripLines&&this.axis.labels.placement!=t.StiLabelsPlacement.None){var h=this.measureStripLines(e,r);i.createChildGeoms();var p=this.axis.area.xAxis;if(this.isArgumentDateTime2(h)&&null!=p&&p.dateTimeStep.step!=t.StiTimeDateStep.None){for(var f=void 0,m=void 0,S=p.info.labelsCollection,g=[],y="",d=!0,b=0,v=0;v=0;case S.LessThan:return-1==m.stimulsoft.compareTo(u);case S.LessThanOrEqualTo:return m.stimulsoft.compareTo(u)<=0;case S.Containing:var d=c.toString(),b=u.toString();return-1!=d.indexOf(b);case S.NotContaining:var v=c.toString(),C=u.toString();return-1==v.indexOf(C);case S.BeginningWith:var w=c.toString(),x=u.toString();return w.stimulsoft.startsWith(x);case S.EndingWith:var _=c.toString(),A=u.toString();return _.stimulsoft.endsWith(A)}}catch(t){e.System.StiError.showError(t,!1)}}}return h},_.convertStringToColor=function(r){var i=null;if(null!=r){r=r.trim();for(var o=",",a=0;a0||K.length>0){for(var ee=G.values.length>G.arguments.length?G.values.length:G.arguments.length,te=[],re=0;rere?G.values[re]:0,ne=G.arguments.length>re?G.arguments[re]:null,oe=K.length>re?K[re]:null,ae=Q.length>re?Q[re]:null,se=$.length>re?$[re]:null,le=G.tags.length>re?G.tags[re]:0,ue=null;G.stimulsoft.is(r.IStiRangeSeries)&&(ue=G.stimulsoft.as(r.IStiRangeSeries).valuesEnd.length>re?G.stimulsoft.as(r.IStiRangeSeries).valuesEnd[re]:0);var ce=null,he=null,pe=null,fe=null;G.stimulsoft.is(r.IStiFinancialSeries)&&(ce=G.stimulsoft.as(r.IStiFinancialSeries).valuesOpen.length>re?G.stimulsoft.as(r.IStiFinancialSeries).valuesOpen[re]:0,he=G.stimulsoft.as(r.IStiFinancialSeries).valuesClose.length>re?G.stimulsoft.as(r.IStiFinancialSeries).valuesClose[re]:0,pe=G.stimulsoft.as(r.IStiFinancialSeries).valuesLow.length>re?G.stimulsoft.as(r.IStiFinancialSeries).valuesLow[re]:0,fe=G.stimulsoft.as(r.IStiFinancialSeries).valuesHigh.length>re?G.stimulsoft.as(r.IStiFinancialSeries).valuesHigh[re]:0);var me=null;null!=Z&&(me=Z.weights.length>re?Z.weights[re]:0);var Se=G.toolTips.length>re?G.toolTips[re]:"";te.push(new r.StiDataItem(ne,ie,ue,me,ce,he,pe,fe,ae,oe,se,Se,le))}var ge=new d,ye=0;try{for(var de=(s=void 0,__values(G.filters.list)),be=de.next();!be.done;be=de.next()){var ve=be.value,Ce=n.format("{0}Filters_{1}_{2}",a.name,V,ye);ge.set(ve,this.getFilterData(a.report,ve,Ce)),ye++}}catch(e){s={error:e}}finally{try{be&&!be.done&&(l=de.return)&&l.call(de)}finally{if(s)throw s.error}}var we=[],xe=null,_e=null;if(G.filters.count>0){try{xe=h.getDataSourceFromDataColumn(a.report.dictionary,G.valueDataColumn)}catch(t){e.System.StiError.showError(t,!1)}if(null==xe)try{xe=h.getDataSourceFromDataColumn(a.report.dictionary,G.argumentDataColumn)}catch(t){e.System.StiError.showError(t,!1)}null==xe&&(xe=a.dataSource);try{_e=h.getBusinessObjectFromDataColumn(a.report.dictionary,G.valueDataColumn)}catch(t){e.System.StiError.showError(t,!1)}if(null==_e)try{_e=h.getBusinessObjectFromDataColumn(a.report.dictionary,G.argumentDataColumn)}catch(t){e.System.StiError.showError(t,!1)}null==_e&&(_e=a.businessObject)}null!=xe&&(xe.saveState("ChartFilter"),xe.first()),null!=_e&&(_e.saveState("ChartFilter"),_e.createEnumerator());try{for(var Ae=(u=void 0,__values(te)),Le=Ae.next();!Le.done;Le=Ae.next()){var Oe=Le.value,Pe=i.create(Boolean,G.filters.count),re=0;try{for(var Be=(f=void 0,__values(G.filters.list)),Re=Be.next();!Re.done;Re=Be.next()){var ve=Re.value;if(Pe[re]=this.getFilterResult(ve,Oe.argument,Oe.value,Oe.valueEnd,Oe.valueOpen,Oe.valueClose,Oe.valueLow,Oe.valueHigh,ge.get(ve)),ve.item==y.Expression){var Ce=n.format("{0}Filters_{1}_{2}",a.name,V,re);try{Pe[re]=this.getFilterData(a.report,ve,Ce).stimulsoft.toBoolean()}catch(t){e.System.StiError.showError(t,!1)}}re++}}catch(e){f={error:e}}finally{try{Re&&!Re.done&&(S=Be.return)&&S.call(Be)}finally{if(f)throw f.error}}var ke=!0;if(G.filterMode==c.And)try{for(var Te=(g=void 0,__values(Pe)),je=Te.next();!je.done;je=Te.next()){var Fe;if(!(Fe=je.value)){ke=!1;break}}}catch(e){g={error:e}}finally{try{je&&!je.done&&(b=Te.return)&&b.call(Te)}finally{if(g)throw g.error}}else{ke=!1;try{for(var Ie=(v=void 0,__values(Pe)),De=Ie.next();!De.done;De=Ie.next()){var Fe;if(Fe=De.value){ke=!0;break}}}catch(e){v={error:e}}finally{try{De&&!De.done&&(C=Ie.return)&&C.call(Ie)}finally{if(v)throw v.error}}}ke&&we.push(Oe),null!=xe&&xe.next(),null!=_e&&_e.next()}}catch(e){u={error:e}}finally{try{Le&&!Le.done&&(p=Ae.return)&&p.call(Ae)}finally{if(u)throw u.error}}if(null!=xe&&xe.restoreState("ChartFilter"),null!=_e&&_e.restoreState("ChartFilter"),te=we,G.sortBy!=r.StiSeriesSortType.None){var Ne=new r.StiDataItemComparer(G.sortBy,G.sortDirection);te.stimulsoft.sort2(Ne)}if(this.fillSeriesData(G,te),K.length>0){var Me=new d,Ee=null;if(null!=G.arguments&&G.arguments.length>0){var Ve=[],Ge=new d;try{for(var Xe=(w=void 0,__values(te)),ze=Xe.next();!ze.done;ze=Xe.next()){var Oe,ne=(Oe=ze.value).argument;Ge.containsKey(ne)||(Ve.push(ne),Ge.add(ne,null))}}catch(e){w={error:e}}finally{try{ze&&!ze.done&&(x=Xe.return)&&x.call(Xe)}finally{if(w)throw w.error}}Ge.clear(),Ee=Ve.stimulsoft.toArray(),G.sortBy==r.StiSeriesSortType.Argument&&(i.sti_sort(Ee),G.sortDirection==r.StiSeriesSortDirection.Descending&&i.reverse(Ee))}else{var Je=new d;try{for(var He=(_=void 0,__values(te)),We=He.next();!We.done;We=He.next()){var Oe=We.value,Ye;null==(Ye=Je.get(Oe.key))&&(Ye=[],Je.set(Oe.key,Ye)),Ye.push(Oe)}}catch(e){_={error:e}}finally{try{We&&!We.done&&(A=He.return)&&A.call(He)}finally{if(_)throw _.error}}var Ze=0;try{for(var qe=(L=void 0,__values(Je.values)),Ue=qe.next();!Ue.done;Ue=qe.next()){var ie=Ue.value;Ze=Math.max(Ze,ie.count);var re=0;try{for(var Ke=(P=void 0,__values(ie)),Qe=Ke.next();!Qe.done;Qe=Ke.next()){var Oe;(Oe=Qe.value).argument=re.toString(),Me.set(Oe,re.toString()),re++}}catch(e){P={error:e}}finally{try{Qe&&!Qe.done&&(B=Ke.return)&&B.call(Ke)}finally{if(P)throw P.error}}}}catch(e){L={error:e}}finally{try{Ue&&!Ue.done&&(O=qe.return)&&O.call(qe)}finally{if(L)throw L.error}}Ee=i.create(String,Ze);for(var re=0;re0&&(i.push(a),null!=e.arguments&&ou.ticks)continue;f.push(S.addTicks(C.ticks));var w=new p(f[f.length-1].ticks-d.ticks),x=new p(f[f.length-1].ticks+d.ticks),_=this.getValueForDate(w,x,s,e.values);m.push(_)}S=g,g=this.getNextDate(g,o)}var A=i.create(Object,f.length),L=i.create(Number,m.length);f.stimulsoft.copyTo(A),m.stimulsoft.copyTo(L);for(var O=0,P=0,B=null,R=null,l=0;le.topN.count){for(var t=e.topN.count,n=e.values.stimulsoft.clone(),o=i.create(Number,e.values.length),a=0;ae&&l<=t&&(n++,o+=i[s])}return 0!=n&&(a=o/n),a},_.getTotalTimeSpans=function(e,t,i){var n=b.fromTicks(t.ticks-i.ticks),o=0;switch(e){case r.StiTimeDateStep.Second:o=n.totalSeconds;break;case r.StiTimeDateStep.Minute:o=n.totalMinutes;break;case r.StiTimeDateStep.Hour:o=n.totalHours;break;case r.StiTimeDateStep.Day:o=n.totalDays;break;case r.StiTimeDateStep.Month:o=12*(t.year-i.year)+t.month-i.month;break;case r.StiTimeDateStep.Year:o=t.year-i.year;break}return o},_.isArgumentsDateTime=function(e){var t,r;if(0==e.length)return!1;try{for(var i=__values(e),n=i.next();!n.done;n=i.next()){var o=n.value;if(null==o)return!1;var a=o.toString();if(null!=!p.fromString(a,!1))return!1}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return!0},_.maximumDate=function(e){var t,r,i=p.minValue;try{for(var n=__values(e),o=n.next();!o.done;o=n.next()){var a=o.value;a.toOADate2(!1)>i.toOADate2(!1)&&(i=a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return i},_.minimumDate=function(e){var t,r,i=p.maxValue;try{for(var n=__values(e),o=n.next();!o.done;o=n.next()){var a=o.value;a.toOADate2(!1)0){var r=h.getDataSourceFromDataColumn(e.report.dictionary,t.autoSeriesColorDataColumn);if(null!=r){r.saveState("ChartRender_DataColumn");var n=i.create(String,r.count);r.first();for(var o=0;o0){var r=h.getDataSourceFromDataColumn(e.report.dictionary,t.autoSeriesTitleDataColumn);if(null!=r){r.saveState("ChartRender_DataColumn");var n=i.create(String,r.count);r.first();for(var o=0;o0){var r=h.getDataSourceFromDataColumn(e.report.dictionary,t.autoSeriesKeyDataColumn);if(null!=r){r.saveState("ChartRender_DataColumn");var n=i.create(String,r.count);r.first();for(var o=0;o0){var o=h.getDataSourceFromDataColumn(e.report.dictionary,t.argumentDataColumn);if(null!=o){o.saveState("ChartRender_DataColumn");var a=i.create(Object,o.count);o.first();for(var s=0;s0)return r.StiSeries.getArgumentsFromString(i.value);return null},_.getValues=function(e,t){var r=this.getValuesFromListOfValues(e,t);if(null!=r)return r;if(null!=(r=this.getValuesFromValueDataColumn(e,t)))return r;if(null!=(r=this.getValuesFromValueExpression(e,t)))return r;return[]},_.getValuesFromValueExpression=function(e,t){var r=i.create(Number,e.count);e.first();for(var n=0;n0){var n=h.getDataSourceFromDataColumn(e.report.dictionary,t.valueDataColumn);if(null!=n){n.saveState("ChartRender_DataColumn");var o=i.create(Number,n.count);n.first();for(var a=0;a0)return r.StiSeries.getNullableValuesFromString(t,i.value);return null},_.getValuesEnd=function(e,t,r,i,n){var o=this.getValuesEndFromListOfValuesEnd(e,t,i);if(null!=o)return o;if(null!=(o=this.getValuesEndFromValueDataColumnEnd(e,t,r)))return o;if(null!=(o=this.getValuesEndFromValueEndExpression(e,n,t)))return o;return[]},_.getValuesEndFromValueEndExpression=function(e,t,r){var n=i.create(Number,e.count);e.first();for(var o=0;o0){var o=h.getDataSourceFromDataColumn(e.report.dictionary,n);if(null!=o){o.saveState("ChartRender_DataColumn");var a=i.create(Number,o.count);o.first();for(var l=0;l0)return r.StiSeries.getNullableValuesFromString(t,n.value);return null},_.getValuesOpen=function(e,t){var r=this.getValuesOpenFromListOfValuesOpen(e,t);if(null!=r)return r;if(null!=(r=this.getValuesOpenFromValueDataColumnOpen(e,t)))return r;if(null!=(r=this.getValuesOpenFromValuesOpenExpression(e,t)))return r;return[]},_.getValuesOpenFromValuesOpenExpression=function(e,t){var r=i.create(Number,e.count);e.first();for(var n=0;n0){var r=h.getDataSourceFromDataColumn(e.report.dictionary,t.valueDataColumnOpen);if(null!=r){r.saveState("ChartRender_DataColumn");var n=i.create(Number,r.count);r.first();for(var o=0;o0)return r.StiSeries.getNullableValuesFromString(t,i.value);return null},_.getValuesClose=function(e,t){var r=this.getValuesCloseFromListOfValuesClose(e,t);if(null!=r)return r;if(null!=(r=this.getValuesCloseFromValueDataColumnClose(e,t)))return r;if(null!=(r=this.getValuesCloseFromValuesCloseExpression(e,t)))return r;return[]},_.getValuesCloseFromValuesCloseExpression=function(e,t){var r=i.create(Number,e.count);e.first();for(var n=0;n0){var r=h.getDataSourceFromDataColumn(e.report.dictionary,t.valueDataColumnClose);if(null!=r){r.saveState("ChartRender_DataColumn");var n=i.create(Number,r.count);r.first();for(var o=0;o0)return r.StiSeries.getNullableValuesFromString(t,i.value);return null},_.getValuesHigh=function(e,t){var r=this.getValuesHighFromListOfValuesHigh(e,t);if(null!=r)return r;if(null!=(r=this.getValuesHighFromValueDataColumnHigh(e,t)))return r;if(null!=(r=this.getValuesHighFromValuesHighExpression(e,t)))return r;return[]},_.getValuesHighFromValuesHighExpression=function(e,t){var r=i.create(Number,e.count);e.first();for(var n=0;n0){var r=h.getDataSourceFromDataColumn(e.report.dictionary,t.valueDataColumnHigh);if(null!=r){r.saveState("ChartRender_DataColumn");var n=i.create(Number,r.count);r.first();for(var o=0;o0)return r.StiSeries.getNullableValuesFromString(t,i.value);return null},_.getValuesLow=function(e,t){var r=this.getValuesLowFromListOfValuesLow(e,t);if(null!=r)return r;if(null!=(r=this.getValuesLowFromValueDataColumnLow(e,t)))return r;if(null!=(r=this.getValuesLowFromValuesLowExpression(e,t)))return r;return[]},_.getValuesLowFromValuesLowExpression=function(e,t){var r=i.create(Number,e.count);e.first();for(var n=0;n0){var r=h.getDataSourceFromDataColumn(e.report.dictionary,t.valueDataColumnLow);if(null!=r){r.saveState("ChartRender_DataColumn");var n=i.create(Number,r.count);r.first();for(var o=0;o0)return r.StiSeries.getNullableValuesFromString(t,i.value);return null},_.getWeights=function(e,t){var r=this.getWeightsFromListOfWeights(e,t);if(null!=r)return r;if(null!=(r=this.getWeightsFromWeightDataColumn(e,t)))return r;if(null!=(r=this.getWeightsWeightExpression(e,t)))return r;return[]},_.getWeightsWeightExpression=function(e,t){var r=i.create(Number,e.count);e.first();for(var n=0;n0){var r=h.getDataSourceFromDataColumn(e.report.dictionary,t.weightDataColumn);if(null!=r){r.saveState("ChartRender_DataColumn");var n=i.create(Number,r.count);r.first();for(var o=0;o0)return r.StiSeries.getNullableValuesFromString(t,i.value);return null},_.getHyperlinks=function(e,t){var r=this.getHyperlinksFromListOfHyperlinks(e,t);if(null!=r)return r;if(null!=(r=this.getHyperlinksFromHyperlinkDataColumn(e,t)))return r;if(null!=(r=this.getHyperlinksFromHyperlinkExpression(e,t)))return r;return[]},_.getHyperlinksFromHyperlinkExpression=function(e,t){var r=i.create(String,e.count);e.first();for(var n=0;n0){var r=h.getDataSourceFromDataColumn(e.report.dictionary,t.hyperlinkDataColumn);if(null!=r){r.saveState("ChartRender_DataColumn");var n=i.create(String,r.count);r.first();for(var o=0;o0)return r.StiSeries.getStringsFromString(i.value);return null},_.getTags=function(e,t){var r=this.getTagsFromListOfTags(e,t);if(null!=r)return r;if(null!=(r=this.getTagsFromTagDataColumn(e,t)))return r;if(null!=(r=this.getTagsFromTagExpression(e,t)))return r;return[]},_.getTagsFromTagExpression=function(e,t){var r=i.create(Object,e.count);e.first();for(var n=0;n0){var r=h.getDataSourceFromDataColumn(e.report.dictionary,t.tagDataColumn);if(null!=r){r.saveState("ChartRender_DataColumn");var n=i.create(Object,r.count);r.first();for(var o=0;o0)return r.StiSeries.getStringsFromString(i.value);return null},_.getToolTips=function(e,t){var r=this.getToolTipsFromListOfToolTips(e,t);if(null!=r)return r;if(null!=(r=this.getToolTipsFromToolTipDataColumn(e,t)))return r;if(null!=(r=this.getToolTipsFromToolTipExpression(e,t)))return r;return[]},_.getToolTipsFromToolTipExpression=function(e,t){var r=i.create(String,e.count);e.first();for(var n=0;n0){var r=h.getDataSourceFromDataColumn(e.report.dictionary,t.toolTipDataColumn);if(null!=r){r.saveState("ChartRender_DataColumn");var n=i.create(String,r.count);r.first();for(var o=0;o0)return r.StiSeries.getStringsFromString(i.value);return null},_.globalDurationElement=new b(0,0,1),_.globalBeginTimeElement=new b(0,0,1),_}();r.StiChartHelper=_}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.toString=function(){return"ProcessChart"},t}(e.StiEvent);e.StiProcessChartEvent=t}(t=e.Events||(e.Events={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiString,i=e.Base.StiJsonReportObjectHelper,n=e.Base.StiJson,o=e.Base.JsonReportObject.IStiJsonReportObject,a=e.System.ICloneable,s=e.Base.Drawing.StiSolidBrush,l=e.Base.Drawing.StiBrush,u=e.System.Drawing.Color,c,h=function(c){function h(){var e=null!==c&&c.apply(this,arguments)||this;return e._chart=null,e._allowApplyStyle=!0,e._colorEach=!1,e._showShadow=!1,e._borderColor=u.gray,e._brush=new s(u.white),e}return __extends(h,c),h.prototype.implements=function(){return h.implementsStiArea||(h.implementsStiArea=c.prototype.implements.call(this).concat([o,t.IStiArea,a])),h.implementsStiArea},h.prototype.saveToJsonObject=function(e){var t=new n;return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyBool("AllowApplyStyle",this._allowApplyStyle,!0),t.addPropertyBool("ColorEach",this.colorEach),t.addPropertyBool("ShowShadow",this._showShadow),t.addPropertyStringNullOrEmpty("BorderColor",i.Serialize.jColor(this._borderColor,u.gray)),t.addPropertyStringNullOrEmpty("Brush",i.Serialize.jBrush(this._brush)),t},h.prototype.loadFromJsonObject=function(e){var t,r;try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"AllowApplyStyle":this._allowApplyStyle=a.value.stimulsoft.toBoolean();break;case"ColorEach":this.colorEach=a.value.stimulsoft.toBoolean();break;case"ShowShadow":this._showShadow=a.value.stimulsoft.toBoolean();break;case"BorderColor":this._borderColor=i.Deserialize.color(a.value.toString());break;case"Brush":this._brush=i.Deserialize.brush(a.value.toString());break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},h.prototype.loadFromXml=function(t){for(var r=0;r0){var _=p.x;this._chart.table.core.getWidthCellLegend(e)0&&(this._lengthUnderLabels=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._length},set:function(e){e>0&&(this._length=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minorLength",{get:function(){return this._minorLength},set:function(e){e>0&&(this._minorLength=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minorCount",{get:function(){return this._minorCount},set:function(e){e>=0&&(this._minorCount=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return this._step},set:function(e){e>=0&&(this._step=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minorVisible",{get:function(){return this._minorVisible},set:function(e){this._minorVisible=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e},enumerable:!1,configurable:!0}),e}();t.StiAxisTicks=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.StiJson,i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(){function e(e,t){void 0===e&&(e=!1),void 0===t&&(t=!0),this._showScrollBar=!1,this._rangeScrollEnabled=!0,this._showScrollBar=e,this._rangeScrollEnabled=t}return e.prototype.implements=function(){return e.implementsStiAxisInteraction||(e.implementsStiAxisInteraction=[i,t.IStiAxisInteraction,n]),e.implementsStiAxisInteraction},e.prototype.saveToJsonObject=function(e){var t=new r;return t.addPropertyBool("ShowScrollBar",this._showScrollBar),t.addPropertyBool("RangeScrollEnabled",this._rangeScrollEnabled,!0),t},e.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"ShowScrollBar":this._showScrollBar=o.value.stimulsoft.toBoolean();break;case"RangeScrollEnabled":this._rangeScrollEnabled=o.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},e.prototype.loadFromXml=function(e){for(var t=0;t=0&&(this._minorCount=e)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"area",{get:function(){return this._area},set:function(e){this._area=e},enumerable:!1,configurable:!0}),c}();r.StiGridLines=c}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.JsonReportObject.IStiJsonReportObject,i=e.System.ICloneable,n=e.Base.Drawing.StiPenStyle,o=e.System.Drawing.Color,a=function(e){function a(t,r,i,a,s,l,u,c){return void 0===t&&(t=o.silver),void 0===r&&(r=n.Dot),void 0===i&&(i=!0),void 0===a&&(a=o.gainsboro),void 0===s&&(s=n.Dot),void 0===l&&(l=!1),void 0===u&&(u=0),void 0===c&&(c=!0),e.call(this,t,r,i,a,s,l,u,c)||this}return __extends(a,e),a.prototype.implements=function(){return a.implementsStiGridLinesVert||(a.implementsStiGridLinesVert=e.prototype.implements.call(this).concat([r,t.IStiGridLines,i,t.IStiGridLinesVert])),a.implementsStiGridLinesVert},a}(t.StiGridLines);t.StiGridLinesVert=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.JsonReportObject.IStiJsonReportObject,i=e.System.ICloneable,n=e.Base.Drawing.StiPenStyle,o=e.System.Drawing.Color,a=function(e){function a(t,r,i,a,s,l,u,c){return void 0===t&&(t=o.silver),void 0===r&&(r=n.Dot),void 0===i&&(i=!0),void 0===a&&(a=o.gainsboro),void 0===s&&(s=n.Dot),void 0===l&&(l=!1),void 0===u&&(u=0),void 0===c&&(c=!0),e.call(this,t,r,i,a,s,l,u,c)||this}return __extends(a,e),a.prototype.implements=function(){return a.implementsStiGridLinesHor||(a.implementsStiGridLinesHor=e.prototype.implements.call(this).concat([r,t.IStiGridLines,t.IStiGridLinesHor,i])),a.implementsStiGridLinesHor},a}(t.StiGridLines);t.StiGridLinesHor=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.StiJsonReportObjectHelper,n=e.Base.StiJson,o=e.Base.JsonReportObject.IStiJsonReportObject,a=e.System.ICloneable,s=e.Base.Drawing.StiSolidBrush,l=e.Base.Drawing.StiBrush,u=e.System.Drawing.Color,c=function(){function e(e,t,i){void 0===e&&(e=new s(u.transparent)),void 0===t&&(t=!0),void 0===i&&(i=!0),this.needSetAreaJsonPropertyInternal=!1,this._allowApplyStyle=!0,this._interlacedBrush=new s(u.transparent),this._visible=!0,this._interlacedBrush=e,this._visible=t,this._allowApplyStyle=i,this._core=new r.StiInterlacingCoreXF(this)}return e.prototype.implements=function(){return e.implementsStiInterlacing||(e.implementsStiInterlacing=[r.IStiInterlacing,a,o]),e.implementsStiInterlacing},e.prototype.saveToJsonObject=function(e){var t=new n;return t.addPropertyBool("AllowApplyStyle",this._allowApplyStyle,!0),t.addPropertyStringNullOrEmpty("InterlacedBrush",i.Serialize.jBrush(this._interlacedBrush)),t.addPropertyBool("Visible",this._visible,!0),null!=this._area&&t.addPropertyBool("Area",!0),t},e.prototype.loadFromJsonObject=function(e){var t,r;try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"AllowApplyStyle":this._allowApplyStyle=a.value.stimulsoft.toBoolean();break;case"InterlacedBrush":this._interlacedBrush=i.Deserialize.brush(a.value.toString());break;case"Visible":this._visible=a.value.stimulsoft.toBoolean();break;case"Area":this.needSetAreaJsonPropertyInternal=a.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e.prototype.loadFromXml=function(e){for(var t=0;t=0&&(this._columns=e)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"horSpacing",{get:function(){return this._horSpacing},set:function(e){this._horSpacing=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"vertSpacing",{get:function(){return this._vertSpacing},set:function(e){this._vertSpacing=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"size",{get:function(){return this._size},set:function(e){this._size=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"title",{get:function(){return this._title},set:function(e){this._title=e},enumerable:!1,configurable:!0}),m}();r.StiLegend=m}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Report.Chart.StiChartEditorType,n=e.Base.IStiGetFonts,o=e.System.StiArray,a=e.Report.Chart.StiAxisArea,s=e.System.StiString,l=e.Base.JsonReportObject.IStiJsonReportObject,u=e.Report.Chart.IStiAxisArea,c=e.Report.Events.StiProcessChartEvent,h=e.System.EventArgs,p=e.Report.Chart.StiSeriesLabels,f=e.Report.Chart.StiChartStyle,m=e.Report.Chart.StiArea,S=e.Base.StiJsonReportObjectHelper,g=e.Report.Chart.StiChartConditionsCollection,y=e.Report.Chart.IStiChart,d=e.Report.Chart.IStiClusteredColumnArea,b=e.Report.Chart.StiCenterAxisLabels,v=e.Report.Chart.StiChartCoreXF,C=e.Report.Chart.StiChartInfo,w=e.Report.Chart.StiChartTitle,x=e.Report.Chart.StiChartTable,_=e.Report.Chart.StiClusteredColumnArea,A=e.Report.Chart.StiConstantLinesCollection,L=e.Report.Chart.StiLegend,O=e.Report.Chart.StiRadarArea,P=e.Report.Chart.StiSeries,B=e.Report.Chart.StiStripsCollection,R=e.Report.Chart.StiSeriesCollection,k=e.Report.Chart.StiStyle29,T=e.Report.Chart.StiChartHelper,j=e.Base.StiActivator,F=e.Base.StiJsonSaveMode,I=e.System.Enum,D=e.Report.Components.StiImageRotation,N=e.Report.Components.StiComponentPriority,M=e.Report.Components.StiComponentType,E=e.Base.Localization.StiLocalization,V=e.System.Drawing.Color,G=e.Base.Drawing.StiSolidBrush,X=e.Base.Drawing.StiBorder,z=e.Report.Components.StiFilter,J=e.Report.Components.StiFiltersCollection,H=e.Report.Components.StiFilterMode,W=e.System.Drawing.Rectangle,Y=e.Base.Drawing.StiBrush,Z,q=function(Z){function q(t){void 0===t&&(t=W.empty);var r=Z.call(this,t)||this;return r._filterMode=H.And,r._filters=new J,r._filterOn=!0,r._border=new X,r._brush=new G(V.transparent),r._sort=[],r._dataSourceName="",r._businessObjectGuid="",r._masterComponent=null,r._countData=0,r.isEofValue=!1,r.isBofValue=!1,r.isCacheValues=!1,r.cachedCount=0,r.cachedIsBusinessObjectEmpty=!1,r.cachedIsDataSourceEmpty=!1,r.cachedDataSource=null,r.cachedBusinessObject=null,r._dataRelationName="",r._processAtEnd=!1,r.defaultClientRectangle=new W(0,0,200,200),r.processChartEvent=new c,r._seriesLabelsConditions=new g,r._rotation=D.None,r._editorType=i.Advanced,r._style=new k,r._allowApplyStyle=!0,r._customStyleName="",r._horSpacing=10,r._vertSpacing=10,r._isAnimation=!1,r._chartInfo=new C,r._allowApplyStyle=e["StiOptions"].Engine.defaultValueOfAllowApplyStyleProperty,r.legend=new L,r.series=new R,r.series.seriesAdded=r.series_SeriesAdded,r.series.seriesRemoved=r.series_SeriesRemoved,r.area=new _,r.seriesLabels=new b,r.constantLines=new A,r.strips=new B,r.title=new w,r.table=new x,r._core=new v(r),r.core.applyStyle(r.style),r}return __extends(q,Z),q.prototype.implements=function(){return q.implementsStiChart||(q.implementsStiChart=Z.prototype.implements.call(this).concat([r.IStiBorder,r.IStiBusinessObject,r.IStiBrush,r.IStiDataSource,r.IStiDataRelation,r.IStiMasterComponent,r.IStiSort,r.IStiFilter,r.IStiExportImage,r.IStiExportImageExtended,t.IStiIgnoryStyle,t.IStiGlobalizationProvider,y,l,n])),q.implementsStiChart},q.prototype.saveToJsonObject=function(t){var r=Z.prototype.saveToJsonObject.call(this,t);return r.removeProperty("CanShrink"),r.removeProperty("CanGrow"),r.addPropertyBool("AllowApplyStyle",this.allowApplyStyle,!0),r.addPropertyEnum("FilterMode",e.Report.Components.StiFilterMode,this.filterMode,e.Report.Components.StiFilterMode.And),r.addPropertyBool("FilterOn",this.filterOn,!0),r.addPropertyStringNullOrEmpty("Border",S.Serialize.jBorder(this.border)),r.addPropertyStringNullOrEmpty("Brush",S.Serialize.jBrush(this.brush)),r.addPropertyStringNullOrEmpty("DataSourceName",this.dataSourceName),r.addPropertyStringNullOrEmpty("BusinessObjectGuid",this.businessObjectGuid),r.addPropertyNumber("CountData",this.countData),r.addPropertyStringNullOrEmpty("DataRelationName",this.dataRelationName),r.addPropertyBool("ProcessAtEnd",this.processAtEnd),r.addPropertyJObject("ProcessChartEvent",this.processChartEvent.saveToJsonObject(t)),r.addPropertyEnum("Rotation",D,this.rotation,D.None),r.addPropertyEnum("EditorType",i,this.rotation,i.Advanced),r.addPropertyStringNullOrEmpty("CustomStyleName",this.customStyleName),r.addPropertyNumber("HorSpacing",this.horSpacing,10),r.addPropertyNumber("VertSpacing",this.vertSpacing,10),null!=this.masterComponent&&r.addPropertyStringNullOrEmpty("MasterComponent",this.masterComponent.name),r.addPropertyJObject("Series",this._series.saveToJsonObject(t)),r.addPropertyJObject("Area",this._area.saveToJsonObject(t)),r.addPropertyJObject("Table",this.table.saveToJsonObject(t)),r.addPropertyJObject("SeriesLabels",this.seriesLabels.saveToJsonObject(t)),r.addPropertyJObject("Legend",this.legend.saveToJsonObject(t)),r.addPropertyJObject("Title",this._title.saveToJsonObject(t)),r.addPropertyJObject("Strips",this.strips.saveToJsonObject(t)),r.addPropertyJObject("ConstantLines",this.constantLines.saveToJsonObject(t)),r.addPropertyJObject("Style",this.style.saveToJsonObject(t)),t==F.Report&&(r.addPropertyJObject("Filters",this.filters.saveToJsonObject(t)),r.addPropertyJObject("Sort",S.Serialize.stringArray(this.sort)),r.addPropertyJObject("SeriesLabelsConditions",this.seriesLabelsConditions.saveToJsonObject(t))),r},q.prototype.loadFromJsonObject=function(t){var r,n;Z.prototype.loadFromJsonObject.call(this,t);try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"FilterMode":this._filterMode=I.parse(e.Report.Components.StiFilterMode,s.value.toString());break;case"Filters":this._filters.loadFromJsonObject(s.value);break;case"FilterOn":this._filterOn=s.value.stimulsoft.toBoolean();break;case"Border":case"br":this._border=S.Deserialize.border(s.value.toString());break;case"Brush":case"bh":this._brush=S.Deserialize.brush(s.value.toString());break;case"DataSourceName":this._dataSourceName=s.value.toString();break;case"BusinessObjectGuid":this._businessObjectGuid=s.value.toString();break;case"CountData":this._countData=s.value.stimulsoft.toNumber();break;case"DataRelationName":this._dataRelationName=s.value.toString();break;case"ProcessAtEnd":this._processAtEnd=s.value.stimulsoft.toBoolean();break;case"ProcessChartEvent":var l=new c;l.loadFromJsonObject(s.value),this.processChartEvent=l;break;case"SeriesLabelsConditions":this._seriesLabelsConditions.loadFromJsonObject(s.value);break;case"Rotation":this._rotation=I.parse(D,s.value.toString());break;case"EditorType":this._editorType=I.parse(i,s.value.toString());break;case"AllowApplyStyle":this.allowApplyStyle=s.value.stimulsoft.toBoolean();break;case"CustomStyleName":this._customStyleName=s.value.toString();break;case"HorSpacing":this._horSpacing=s.value.stimulsoft.toNumber();break;case"VertSpacing":this._vertSpacing=s.value.stimulsoft.toNumber();break;case"MasterComponent":this.jsonMasterComponentTemp=s.value.toString(),this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.masterComponents.push(this);break;case"Style":this.style=f.loadFromJsonObjectInternal(s.value);break;case"ConstantLines":this.constantLines.loadFromJsonObject(s.value);break;case"Strips":this.strips.loadFromJsonObject(s.value);break;case"Title":this.title.loadFromJsonObject(s.value);break;case"Legend":this.legend.loadFromJsonObject(s.value);break;case"SeriesLabels":this.seriesLabels=p.loadFromJsonObjectInternal(s.value,this);break;case"Table":this._table.loadFromJsonObject(s.value);break;case"Area":this._area=m.loadFromJsonObjectInternal(s.value),this._area.chart=this;break;case"Series":this._series.loadFromJsonObject(s.value);break}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}this.core.applyStyle(this.style)},q.prototype.loadFromXml=function(t,r){Z.prototype.loadFromXml.call(this,t,r);var n=t.getAttribute("Ref");!s.isNullOrEmpty(n)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[n.stimulsoft.toNumber()]=t.nodeName);for(var o=0;o=this.countData-1?this.isEofValue=!0:this.positionValue++):this.dataSource.next():this.businessObject.next()},q.prototype.last=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!0,this.isBofValue=!1,this.positionValue=this.countData-1):this.dataSource.last():this.businessObject.last()},Object.defineProperty(q.prototype,"isEof",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue:this.dataSource.isEof:this.businessObject.isEof},set:function(e){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue=e:this.dataSource.isEof=e:this.businessObject.isEof=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"isBof",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue:this.dataSource.isBof:this.businessObject.isBof},set:function(e){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue=e:this.dataSource.isBof=e:this.businessObject.isBof=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"isEmpty",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?0==this.countData:this.dataSource.isEmpty:this.businessObject.isEmpty},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"position",{get:function(){if(!this.isBusinessObjectEmpty)return this.businessObject.position;if(!this.isDataSourceEmpty)return this.dataSource.position;return this.positionValue},set:function(e){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.positionValue=e:this.dataSource.position=e:this.businessObject.position=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"count",{get:function(){if(this.isCacheValues)return this.cachedCount;return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.countData:this.dataSource.count:this.businessObject.count},enumerable:!1,configurable:!0}),q.prototype.cacheValues=function(e){e?(this.cachedCount=this.count,this.cachedIsBusinessObjectEmpty=this.isBusinessObjectEmpty,this.cachedIsDataSourceEmpty=this.isDataSourceEmpty,this.cachedDataSource=this.dataSource,this.cachedBusinessObject=this.businessObject):(this.cachedDataSource=null,this.cachedBusinessObject=null),this.isCacheValues=e},Object.defineProperty(q.prototype,"dataRelation",{get:function(){if(null==this.page||null==this.report||null==this.report.dictionary||null==this.report.dictionary.relations||null==this.dataRelationName||0==this.dataRelationName.length)return null;return this.report.dictionary.relations.getByName(this.dataRelationName)},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"dataRelationName",{get:function(){return this._dataRelationName},set:function(e){this._dataRelationName=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"processAtEnd",{get:function(){return this._processAtEnd},set:function(e){this._processAtEnd=e},enumerable:!1,configurable:!0}),q.prototype.getFonts=function(){var t,r,i,n,s,l,u=Z.prototype.getFonts.call(this);u.push(this.title.font),u.push(this.legend.font),u.push(this.table.dataCells.font),u.push(this.table.header.font);try{for(var c=__values(this.constantLines.list),h=c.next();!h.done;h=c.next()){var p=h.value;u.push(p.font)}}catch(e){t={error:e}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}try{for(var f=__values(this.strips.list),m=f.next();!m.done;m=f.next()){var p=m.value;u.push(p.font)}}catch(e){i={error:e}}finally{try{m&&!m.done&&(n=f.return)&&n.call(f)}finally{if(i)throw i.error}}var S=this.area.stimulsoft.as(a);null!=S&&(u.push(S.xAxis.labels.font),u.push(S.xAxis.title.font),u.push(S.yAxis.labels.font),u.push(S.yAxis.title.font),u.push(S.xTopAxis.labels.font),u.push(S.xTopAxis.title.font),u.push(S.yRightAxis.labels.font),u.push(S.yRightAxis.title.font));var g=this.area.stimulsoft.as(O);null!=g&&(u.push(g.xAxis.labels.font),u.push(g.yAxis.labels.font));try{for(var y=__values(this.series.list),d=y.next();!d.done;d=y.next()){var b=d.value,v=b.stimulsoft.as(P);null!=v&&(null!=v.trendLine&&u.push(v.trendLine.font),null!=v.seriesLabels&&u.push(v.seriesLabels.font)),b.stimulsoft.is(e.Report.Chart.StiPictorialSeries)}}catch(e){s={error:e}}finally{try{d&&!d.done&&(l=y.return)&&l.call(y)}finally{if(s)throw s.error}}return o.distinct(u)},Object.defineProperty(q.prototype,"priority",{get:function(){return N.Component},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"localizedCategory",{get:function(){return E.get("Report","Components")},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"componentType",{get:function(){return M.Simple},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"localizedName",{get:function(){return E.get("Components","StiChart")},enumerable:!1,configurable:!0}),q.prototype.invokeEvents=function(){try{Z.prototype.invokeEvents.call(this),this.invokeProcessChart(this,h.empty)}catch(e){t.StiLogService.write(this.stimulsoft.getType(),"DoEvents...ERROR"),t.StiLogService.write(this.stimulsoft.getType(),e)}},q.prototype.onProcessChart=function(e){},q.prototype.invokeProcessChart=function(e,r){try{this.onProcessChart(r)}catch(e){t.StiLogService.write(this.stimulsoft.getType(),"InvokeProcessChart...Warning"),t.StiLogService.write(this.stimulsoft.getType(),e)}},q.prototype.series_SeriesAdded=function(e){var t=e,r=t.chart;null!=r.area&&r.area.core.isAcceptableSeries(t.stimulsoft.getType())||(r.area=j.createObject(t.getDefaultAreaType()),null!=r.seriesLabels&&r.area.core.isAcceptableSeriesLabels(r.seriesLabels.stimulsoft.getType())||(r.seriesLabels=j.createObject(r.area.getDefaultSeriesLabelsType()))),r.allowApplyStyle&&r.core.applyStyle(r.style)},q.prototype.series_SeriesRemoved=function(e){var t,r,i,n=e.chart;if(0==n.series.count)return void(n.area.stimulsoft.is(d)||(n.area=new _,n.area.core.applyStyle(this.style)));if(null!=n.area){var o=n.area.stimulsoft.getType();try{for(var a=__values(n.series.list),s=a.next();!s.done;s=a.next()){var l,u;if(s.value.getDefaultAreaType()==o)return}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}n.area=j.createObject(n.series.getByIndex(0).getDefaultAreaType()),this.allowApplyStyle&&this.core.applyStyle(n.style)},Object.defineProperty(q.prototype,"seriesLabelsConditions",{get:function(){return this._seriesLabelsConditions},set:function(e){this._seriesLabelsConditions=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"chartType",{get:function(){return this.area},set:function(e){this.area=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"isDashboard",{get:function(){return this._isDashboard},set:function(e){this._isDashboard=e},enumerable:!1,configurable:!0}),q.prototype.createNew=function(){return new q},q.prototype.applyStyle=function(){this.allowApplyStyle&&this.core.applyStyle(this.style)},q.prototype.simplifyValues=function(){var e=0;while(e3e3){var r=T.getShorterListPoints(t);t.values=[],t.arguments=[];for(var i=1;i=0&&(this._horSpacing=e)},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"vertSpacing",{get:function(){return this._vertSpacing},set:function(e){e>=0&&(this._vertSpacing=e)},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"seriesLabels",{get:function(){return this._seriesLabels},set:function(e){this._seriesLabels=e,null!=e&&(this._seriesLabels.chart=this)},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"labels",{get:function(){return this._seriesLabels},set:function(e){this._seriesLabels=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"legend",{get:function(){return this._legend},set:function(e){if(null==e)throw new Error("new NullReferenceException()");this._legend=e,this._legend.chart=this},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"title",{get:function(){return this._title},set:function(e){this._title!=e&&(this._title=e,this._title.chart=this)},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"strips",{get:function(){return this._strips},set:function(e){this._strips=e,this._strips.chart=this},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"constantLines",{get:function(){return this._constantLines},set:function(e){this._constantLines=e,this._constantLines.chart=this},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"isAnimation",{get:function(){return this._isAnimation},set:function(e){this._isAnimation!=e&&(this._isAnimation=e)},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"chartInfo",{get:function(){return this._chartInfo},enumerable:!1,configurable:!0}),q}(e.Report.Components.StiComponent);r.StiChart=q}(r=t.Components||(t.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiString,i=e.System.Drawing.StringAlignment,n=e.Base.Drawing.StiRotationMode,o=e.Base.Context.StiFontGeom,a=e.System.Drawing.Point,s=e.System.Drawing.Rectangle,l=e.Base.Drawing.StiHorAlignment,u=e.System.Collections.List,c=e.System.Globalization.CultureInfo,h=function(h){function p(e){return h.call(this,e)||this}return __extends(p,h),p.prototype.render=function(e,r){if(!this.axis.visible)return null;var i=this.getAxisRect(e,r,!1,!1,!0,!1).clone();i.x=0,i.y=0,this.axis.interaction.showScrollBar&&(this.axis.stimulsoft.is(t.IStiYRightAxis)&&!this.axis.area.reverseHor||this.axis.stimulsoft.is(t.IStiYLeftAxis)&&this.axis.area.reverseHor)&&(i.x+=t.StiAxisCoreXF.defaultScrollBarSize*e.options.zoom);var n=new t.StiYAxisGeom(this.axis,i.clone(),!1);return this.renderLabels(e,i.clone(),n),this.axis.range.auto||(i.y=(this.axis.info.maximum-this.axis.range.maximum)*this.axis.info.dpi,i.height=(this.axis.range.maximum-this.axis.range.minimum)*this.axis.info.dpi),this.renderTitle(e,i,n),n},p.prototype.renderView=function(e,r){if(!this.axis.visible)return null;var i=this.getAxisRect(e,r,!1,!1,!0,!0).clone();return new t.StiYAxisViewGeom(this.axis.stimulsoft.as(t.IStiYAxis),i,!1)},p.prototype.renderScrollBar=function(e,t,r){},p.prototype.renderCenter=function(e,r){if(!this.axis.visible)return null;if(this.axis.area.xAxis.info.minimum>=0)return null;var i=this.getCenterAxisRect(e,r,!1,!1,!0).clone(),n;return i.x=0,i.y=0,new t.StiYAxisGeom(this.axis,i,!0)},p.prototype.renderCenterView=function(e,r){if(!this.axis.visible)return null;if(this.axis.area.xAxis.info.minimum>=0)return null;var i=this.getCenterAxisRect(e,r,!1,!1,!0).clone(),n;return new t.StiYAxisViewGeom(this.axis,i,!0)},p.prototype.getLabelText=function(i,n){var o=i.valueObject;null==o&&(o="");try{if(null!=this.axis.labels.formatService)return""+this.axis.labels.textBefore+this.axis.labels.formatService.format(i.value)+this.axis.labels.textAfter;if(null!=this.axis.labels.format&&0!=this.axis.labels.format.trim().length){var a=c.currentCulture,s=this.axis.area.chart.report.culture;r.isNullOrEmpty(this.axis.area.chart.report.culture)||(c.currentCulture=c.cultures[s]);try{if(o.stimulsoft.is(String)&&(o=o.toString().stimulsoft.toNumber()),!t.StiChartOptions.oldChartPercentMode&&this.axis.labels.format.stimulsoft.startsWith("P")){var l=0;return this.axis.labels.format.length>1&&(l=parseInt(this.axis.labels.format.stimulsoft.remove(0,1))),r.format("{0}{1:N"+l.toString()+"}{2}{3}",this.axis.labels.textBefore,o,"%",this.axis.labels.textAfter)}return r.format("{0}{1:"+this.axis.labels.format+"}{2}",this.axis.labels.textBefore,o,this.axis.labels.textAfter)}catch(t){e.System.StiError.showError(t,!1)}finally{r.isNullOrEmpty(s)||(c.currentCulture=a)}}return r.format("{0}{1}{2}",this.axis.labels.textBefore,o,this.axis.labels.textAfter)}catch(t){e.System.StiError.showError(t,!1)}return o.toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator)},p.prototype.measureStripLines=function(e,r){var i,s,c=[];if(null!=this.axis.info.labelsCollection&&this.axis.labels.placement!=t.StiLabelsPlacement.None){var h=this.getAxisTitleSize(e),p=0;try{for(var f=__values(this.axis.info.labelsCollection),m=f.next();!m.done;m=f.next()){var S=m.value,g=this.axis.area.reverseHor?this.isLeftSide:this.isRightSide;if(g&&this.axis.area.xTopAxis.arrowStyle!=t.StiArrowStyle.None&&0==p){c.push(new t.StiAxisLabelInfoXF),p++;continue}if(g&&this.axis.area.xAxis.arrowStyle!=t.StiArrowStyle.None&&p==this.axis.info.stripLines.count-1){c.push(new t.StiAxisLabelInfoXF),p++;continue}var y=this.getLabelText(S.stripLine,null),d=S.position,b=e.getGenericStringFormat(),v=o.changeFontSize(this.axis.labels.font,this.axis.labels.font.size*e.options.zoom),C=this.getTextAlignment(),w=n.LeftCenter,x=-this.axis.labels.angle,_=a.empty;this.isLeftSide?C==l.Left?(w=n.LeftCenter,_=new a(h.width,d),x=0):C==l.Center?(w=n.CenterCenter,_=new a((r.width-h.width)/2,d),x=0):(w=n.RightCenter,_=new a(r.width-this.getTicksMaxLength(e)-this.getLabelsSpaceAxis(e),d)):C==l.Left?(w=n.LeftCenter,_=new a(this.getTicksMaxLength(e)+this.getLabelsSpaceAxis(e),d)):C==l.Center?(w=n.CenterCenter,_=new a((r.width-h.width)/2,d),x=0):(w=n.RightCenter,_=new a(r.width-h.width,d),x=0),this.axis.labels.placement==t.StiLabelsPlacement.TwoLines&&0!=(1&p)&&(this.isLeftSide&&(_.x-=this.getLabelsTwoLinesDestination(e)),this.isRightSide&&(_.x+=this.getLabelsTwoLinesDestination(e)));var A=e.measureRotatedString3(y,v,_,b,w,x,this.axis.labels.width*e.options.zoom),L=this.axis.labels.width*e.options.zoom;if(0!=L){switch(w.toString()){case"3":A.x+=(L-A.width)/2;break;case"4":A.x+=(L-A.width)/2;break;case"5":A.x+=(L-A.width)/2;break;case"6":A.x+=L-A.width;break;case"7":A.x+=L-A.width;break;case"8":A.x+=L-A.width;break}A.width=L}var O=new t.StiAxisLabelInfoXF;O.angle=x,O.clientRectangle=A,O.rotationMode=w,O.textPoint=_,O.text=y,O.stripLine=S.stripLine,c.push(O),p++}}catch(e){i={error:e}}finally{try{m&&!m.done&&(s=f.return)&&s.call(f)}finally{if(i)throw i.error}}}if(this.axis.range.auto){var P=this.axis.labels.font.getHeight()*e.options.zoom,B=r.height/this.axis.info.stripLines.count,R=Math.ceil(P/B),k=0,T=new u;c.reverse();for(var p=0;p=0)return s.empty;var o=-this.getTicksMaxLength(e);return new s(o,0,this.getTicksMaxLength(e),t.height)},p.prototype.getAxisRect=function(e,r,i,n,o,a){var l,u,c=s.empty;if(!this.axis.visible)return c;var h=this.measureStripLines(e,r);if(0==h.length)c=this.isLeftSide?new s(-this.getTicksMaxLength(e),0,this.getTicksMaxLength(e),r.height):new s(r.width,0,this.getTicksMaxLength(e),r.height);else{try{for(var p=__values(h),f=p.next();!f.done;f=p.next()){var m=f.value;if(m.clientRectangle.isEmpty)continue;c=c.isEmpty?m.clientRectangle.clone():s.union(c,m.clientRectangle)}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=p.return)&&u.call(p)}finally{if(l)throw l.error}}this.axis.interaction.showScrollBar&&a&&(c.width+=t.StiAxisCoreXF.defaultScrollBarSize*e.options.zoom),c.width+=this.getTicksMaxLength(e)+this.getLabelsSpaceAxis(e);var S=c.clone();this.isLeftSide&&(c=new s(-c.width,0,c.width,r.height)),this.isRightSide&&(c=new s(r.width,0,c.width,r.height)),n&&(c.y=S.y,c.height=S.height)}if(this.axis.arrowStyle!=t.StiArrowStyle.None&&i){var g=this.getArrowHeight(e);this.axis.area.reverseVert&&(g=-g),c=s.union(c,new s(c.x,-g,1,g))}var y=this.getAxisTitleSize(e);return y.isEmpty||this.axis.title.position!=t.StiTitlePosition.Outside||(c.width+=y.width,this.isLeftSide&&(c.x-=y.width)),c},p.prototype.renderLabels=function(e,r,i){var n,o;if(this.axis.labels.placement!=t.StiLabelsPlacement.None){var a=this.measureStripLines(e,r);i.createChildGeoms();try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u=l.value;if(!u.clientRectangle.isEmpty){var c=new t.StiAxisLabelGeom(this.axis,u.clientRectangle,u.textPoint,u.text,u.stripLine,u.angle,u.rotationMode);i.childGeoms.push(c)}}}catch(e){n={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}},p.prototype.renderTitle=function(e,n,a){if(r.isNullOrEmpty(this.axis.title.text))return;var l=this.getAxisTitleSize(e),u=s.empty;if(this.isLeftSide){switch(this.axis.title.alignment){case i.Near:u=new s(0,n.height-l.height+n.y,l.width,l.height);break;case i.Center:u=new s(0,(n.height-l.height)/2+n.y,l.width,l.height);break;case i.Far:u=new s(0,n.y,l.width,l.height);break}this.axis.title.position==t.StiTitlePosition.Inside&&(u.x+=n.width)}if(this.isRightSide){switch(this.axis.title.alignment){case i.Near:u=new s(n.width-l.width,n.height-l.height+n.y,l.width,l.height);break;case i.Center:u=new s(n.width-l.width,(n.height-l.height)/2+n.y,l.width,l.height);break;case i.Far:u=new s(n.width-l.width,n.y,l.width,l.height);break}this.axis.title.position==t.StiTitlePosition.Inside&&(u.x-=n.width)}var c=this.axis.title.font.size*e.options.zoom,h={ref:0};this.axis.area.chart.isDashboard&&this.checkUseMaxWidth(n,u,h)&&(c=this.getCorrectionFontSize(n,u,c));var p=o.changeFontSize(this.axis.title.font,c),f=this.getAngleTitle(),m=new t.StiAxisTitleGeom(this.axis,u,f,this.axis.title.alignment,p);a.createChildGeoms(),a.childGeoms.push(m)},Object.defineProperty(p.prototype,"dock",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isLeftSide",{get:function(){return this.dock==t.StiYAxisDock.Left&&!this.axis.area.reverseHor||this.dock==t.StiYAxisDock.Right&&this.axis.area.reverseHor},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isRightSide",{get:function(){return this.dock==t.StiYAxisDock.Right&&!this.axis.area.reverseHor||this.dock==t.StiYAxisDock.Left&&this.axis.area.reverseHor},enumerable:!1,configurable:!0}),p}(t.StiAxisCoreXF);t.StiYAxisCoreXF=h}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(t){function r(e){return t.call(this,e)||this}return __extends(r,t),Object.defineProperty(r.prototype,"dock",{get:function(){return e.StiYAxisDock.Left},enumerable:!1,configurable:!0}),r}(e.StiYAxisCoreXF);e.StiYLeftAxisCoreXF=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(t){function r(e){return t.call(this,e)||this}return __extends(r,t),Object.defineProperty(r.prototype,"dock",{get:function(){return e.StiYAxisDock.Right},enumerable:!1,configurable:!0}),r.prototype.getStartFromZero=function(){if(1==this.axis.area.axisCore.valuesCount)return!0;if(null!=this.axis&&null!=this.axis.range&&!this.axis.range.auto)return!1;return null==this.axis||this.axis.startFromZero},r}(e.StiYAxisCoreXF);e.StiYRightAxisCoreXF=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.StringAlignment,i=e.Base.Drawing.StiRotationMode,n=e.Base.Context.StiFontGeom,o=e.Base.Drawing.StiSolidBrush,a=e.System.ICloneable,s=function(){function e(e){this._chartTitle=e}return e.prototype.implements=function(){return e.implementsStiChartTitleCoreXF||(e.implementsStiChartTitleCoreXF=[a,t.IStiApplyStyle,t.IStiChartTitleCoreXF]),e.implementsStiChartTitleCoreXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e.prototype.applyStyle=function(e){this.chartTitle.allowApplyStyle&&(this.chartTitle.brush=new o(e.core.axisTitleColor))},e.prototype.render=function(e,o,a){if(!o.visible)return null;var s=new n(o.font.fontFamily.name,o.font.size,o.font.style,o.font.unit),l=e.getDefaultStringFormat();l.alignment=o.alignment;var u=e.measureRotatedString2(o.text,s,a,l,i.CenterCenter,o.dock,0);switch(o.dock){case t.StiChartTitleDock.Top:u.height+=o.spacing,u.height*=e.options.zoom,u.y=a.y,o.alignment!=r.Center&&(u.width*=e.options.zoom),o.alignment==r.Near&&(u.x=a.x),o.alignment==r.Center&&(u.x=a.x+a.width/2-u.width/2),o.alignment==r.Far&&(u.x=a.x+a.width-u.width);break;case t.StiChartTitleDock.Right:u.width+=o.spacing,u.width*=e.options.zoom,u.x=a.x+a.width-u.width,o.alignment!=r.Center&&(u.height*=e.options.zoom),o.alignment==r.Near&&(u.y=a.y),o.alignment==r.Center&&(u.y=a.y+a.height/2-u.height/2),o.alignment==r.Far&&(u.y=a.y+a.height-u.height);break;case t.StiChartTitleDock.Bottom:u.height+=o.spacing,u.height*=e.options.zoom,u.y=a.y+a.height-u.height,o.alignment!=r.Center&&(u.width*=e.options.zoom),o.alignment==r.Near&&(u.x=a.x+a.width-u.width),o.alignment==r.Center&&(u.x=a.x+a.width/2-u.width/2),o.alignment==r.Far&&(u.x=a.x);break;case t.StiChartTitleDock.Left:u.width+=o.spacing,u.width*=e.options.zoom,u.x=a.x,o.alignment!=r.Center&&(u.height*=e.options.zoom),o.alignment==r.Near&&(u.y=a.y+a.height-u.height),o.alignment==r.Center&&(u.y=a.y+a.height/2-u.height/2),o.alignment==r.Far&&(u.y=a.y);break}return new t.StiChartTitleGeom(o,u)},Object.defineProperty(e.prototype,"chartTitle",{get:function(){return this._chartTitle},set:function(e){this._chartTitle=e},enumerable:!1,configurable:!0}),e}();t.StiChartTitleCoreXF=s}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.System.Drawing.Point,n=e.System.Drawing.Rectangle,o=e.System.ICloneable,a=function(){function a(e){this._constantLines=e}return a.prototype.implements=function(){return a.implementsStiConstantLinesCoreXF||(a.implementsStiConstantLinesCoreXF=[t.IStiApplyStyle,o,t.IStiConstantLinesCoreXF]),a.implementsStiConstantLinesCoreXF},a.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},a.prototype.applyStyle=function(e){this.constantLines.allowApplyStyle&&(this.constantLines.lineColor=e.core.seriesLabelsColor)},a.prototype.renderXConstantLines=function(o,a){var s,l,u=o.area,c;if(null==u)return;try{c=this.constantLines.axisValue.stimulsoft.toNumber()}catch(t){e.System.StiError.showError(t,!1),c=0}u.reverseVert&&(c=-c);var h=0;if(u.xAxis.logarithmicScale&&u.xAxis.info.stripLines.count>0){var p=u.xAxis.info.stripLines.count,f=u.reverseHor?p-1:0,m=u.reverseHor?0:p-1,S=u.xAxis.info.stripLines.getByIndex(f).value,g=u.xAxis.info.stripLines.getByIndex(m).value,y=Math.abs(a.width/(Math.log10(g)-Math.log10(S)));h=Math.abs(Math.log10(c)*y-Math.log10(u.xAxis.info.stripLines.getByIndex(f).value)*y)}else{h=u.axisCore.getDividerX()+c*u.xAxis.info.dpi;try{for(var d=__values(u.xAxis.info.stripLines.list),b=d.next();!b.done;b=d.next()){var v=b.value;null!=v.valueObject&&v.valueObject.toString()==this.constantLines.axisValue&&(c=v.value,u.reverseHor&&(c=-c),h=c*u.xAxis.info.dpi+u.axisCore.getDividerX())}}catch(e){s={error:e}}finally{try{b&&!b.done&&(l=d.return)&&l.call(d)}finally{if(s)throw s.error}}}var C=new i(0,0),w=r.LeftTop;switch(this.constantLines.position){case t.StiConstantLines_StiTextPosition.LeftTop:w=r.LeftBottom,C=new i(h+this.constantLines.lineWidth/2,0);break;case t.StiConstantLines_StiTextPosition.LeftBottom:w=r.LeftTop,C=new i(h-this.constantLines.lineWidth/2,0);break;case t.StiConstantLines_StiTextPosition.CenterTop:w=r.CenterBottom,C=new i(h+this.constantLines.lineWidth/2,a.height/2);break;case t.StiConstantLines_StiTextPosition.CenterBottom:w=r.CenterTop,C=new i(h-this.constantLines.lineWidth/2,a.height/2);break;case t.StiConstantLines_StiTextPosition.RightTop:w=r.RightBottom,C=new i(h+this.constantLines.lineWidth/2,a.height);break;case t.StiConstantLines_StiTextPosition.RightBottom:w=r.RightTop,C=new i(h-this.constantLines.lineWidth/2,a.height);break}var x=new t.StiConstantLinesVerticalGeom(this.constantLines,new n(h,0,h,a.height),C,w);o.createChildGeoms(),o.childGeoms.push(x)},a.prototype.renderYConstantLines=function(o,a){var s=o.area,l,u;if(null==s)return;try{l=this.constantLines.axisValue.stimulsoft.toNumber()}catch(t){e.System.StiError.showError(t,!1),l=0}if(s.reverseVert&&(l=-l),s.yAxis.logarithmicScale){var c,h=0,p=s.yAxis.info.stripLines.count-1,f=s.yAxis.info.stripLines.getByIndex(h).value,m=s.yAxis.info.stripLines.getByIndex(p).value,S=Math.abs(a.height/(Math.log10(m)-Math.log10(f)));u=Math.abs(Math.log10(s.yAxis.info.stripLines.getByIndex(h).value)*S-Math.log10(l)*S)}else u=this.constantLines.orientation==t.StiConstantLines_StiOrientation.Horizontal?s.axisCore.getDividerY()-l*s.yAxis.info.dpi:s.axisCore.getDividerRightY()-l*s.yRightAxis.info.dpi;var g=new i(0,0),y=r.LeftTop;switch(this.constantLines.position){case t.StiConstantLines_StiTextPosition.LeftTop:y=r.LeftBottom,g=new i(-a.x,u-this.constantLines.lineWidth/2);break;case t.StiConstantLines_StiTextPosition.LeftBottom:y=r.LeftTop,g=new i(-a.x,u+this.constantLines.lineWidth/2);break;case t.StiConstantLines_StiTextPosition.CenterTop:y=r.CenterBottom,g=new i(a.width/2,u-this.constantLines.lineWidth/2);break;case t.StiConstantLines_StiTextPosition.CenterBottom:y=r.CenterTop,g=new i(a.width/2,u+this.constantLines.lineWidth/2);break;case t.StiConstantLines_StiTextPosition.RightTop:y=r.RightBottom,g=new i(a.width,u-this.constantLines.lineWidth/2);break;case t.StiConstantLines_StiTextPosition.RightBottom:y=r.RightTop,g=new i(a.width,u+this.constantLines.lineWidth/2);break}var d=new t.StiConstantLinesYGeom(this.constantLines,new n(0,u,a.width,u),g,y);o.createChildGeoms(),o.childGeoms.push(d)},a.prototype.render=function(e,r,i){if(!this.constantLines.visible)return;this.constantLines.orientation==t.StiConstantLines_StiOrientation.Vertical&&this.renderXConstantLines(r,i),this.constantLines.orientation!=t.StiConstantLines_StiOrientation.Horizontal&&this.constantLines.orientation!=t.StiConstantLines_StiOrientation.HorizontalRight||this.renderYConstantLines(r,i)},Object.defineProperty(a.prototype,"constantLines",{get:function(){return this._constantLines},set:function(e){this._constantLines=e},enumerable:!1,configurable:!0}),a}();t.StiConstantLinesCoreXF=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.ICloneable,i=function(){function e(e){this._gridLines=e}return e.prototype.implements=function(){return e.implementsStiGridLinesCoreXF||(e.implementsStiGridLinesCoreXF=[t.IStiApplyStyle,r,t.IStiGridLinesCoreXF]),e.implementsStiGridLinesCoreXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e.prototype.applyStyle=function(e){this.gridLines.allowApplyStyle&&(this.gridLines.stimulsoft.is(t.IStiGridLinesVert)?(this.gridLines.color=e.core.gridLinesVertColor,this.gridLines.minorColor=e.core.gridLinesVertColor):(this.gridLines.color=e.core.gridLinesHorColor,this.gridLines.minorColor=e.core.gridLinesHorColor))},Object.defineProperty(e.prototype,"gridLines",{get:function(){return this._gridLines},set:function(e){this._gridLines=e},enumerable:!1,configurable:!0}),e}();t.StiGridLinesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.ICloneable,i=function(){function e(e){this._gridLines=e}return e.prototype.implements=function(){return e.implementsStiRadarGridLinesCoreXF||(e.implementsStiRadarGridLinesCoreXF=[t.IStiApplyStyle,r,t.IStiRadarGridLinesCoreXF]),e.implementsStiRadarGridLinesCoreXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e.prototype.applyStyle=function(e){this.gridLines.allowApplyStyle&&(this.gridLines.stimulsoft.is(t.IStiRadarGridLinesVert)?this.gridLines.color=e.core.gridLinesVertColor:this.gridLines.color=e.core.gridLinesHorColor)},Object.defineProperty(e.prototype,"gridLines",{get:function(){return this._gridLines},set:function(e){this._gridLines=e},enumerable:!1,configurable:!0}),e}();t.StiRadarGridLinesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.ICloneable,i=function(){function e(e){this._interlacing=e}return e.prototype.implements=function(){return e.implementsStiInterlacingCoreXF||(e.implementsStiInterlacingCoreXF=[t.IStiApplyStyle,r,t.IStiInterlacingCoreXF]),e.implementsStiInterlacingCoreXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e.prototype.applyStyle=function(e){this.interlacing.allowApplyStyle&&(this.interlacing.stimulsoft.is(t.IStiInterlacingVert)?this.interlacing.interlacedBrush=e.core.interlacingVertBrush:this.interlacing.interlacedBrush=e.core.interlacingHorBrush)},Object.defineProperty(e.prototype,"interlacing",{get:function(){return this._interlacing},set:function(e){this._interlacing=e},enumerable:!1,configurable:!0}),e}();t.StiInterlacingCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.System.StiString,n=e.Base.Context.StiFontGeom,o=e.System.Collections.List,a=e.System.Drawing.Point,s=e.System.Drawing.Size,l=e.System.Drawing.Rectangle,u=e.System.Drawing.Rectangle,c=e.System.ICloneable,h=e.Base.Localization.StiLocalization,p=function(){function p(e){this._legend=e}return p.prototype.implements=function(){return p.implementsStiLegendCoreXF||(p.implementsStiLegendCoreXF=[c,t.IStiApplyStyle,t.IStiLegendCoreXF]),p.implementsStiLegendCoreXF},p.prototype.applyStyle=function(e){this.legend.allowApplyStyle&&(this.legend.brush=e.core.legendBrush.clone(),this.legend.labelsColor=e.core.legendLabelsColor,this.legend.titleColor=e.core.legendTitleColor,this.legend.borderColor=e.core.legendBorderColor,this.legend.showShadow=e.core.legendShowShadow,this.legend.font=e.core.legendFont)},p.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},p.prototype.render=function(e,r){var n,o,s,c={ref:s},h=this.getLegendItems(c),p,f;if(s=c.ref,!this.legend.visible||0==h.length)return null;var m={ref:p},S={ref:f},g=this.getLegendSize(e,r,m,S);p=m.ref,f=S.ref;var y=new l(r.x,r.y,g.width,g.height),d=y.clone();d.location=new a(0,0);var b=null;if(!i.isNullOrEmpty(this.legend.title)){var v=this.getTitleSize(e),C=y.clone();C.location=new a(0,0),C.height=v.height,b=new t.StiLegendTitleGeom(this.legend,C),d.y+=C.height,d.height-=C.height}var w=new t.StiLegendGeom(this.legend,y,h);null!=b&&(w.createChildGeoms(),w.childGeoms.push(b),w.legendTitleGeom=b);var x=this.legend.horSpacing*e.options.zoom,_=this.legend.vertSpacing*e.options.zoom;if(y.width>0&&y.height>0)if(0==this.legend.columns)for(var A,L,O=A=x+d.x,P=L=_+d.y,B=0,R=0,k=this.getMatrixIndexItem(p,f,h.length),T=0;T=0){var I=h[F],D=this.getItemRealSize(e,I);B=Math.max(B,D.width),R=Math.max(R,D.height);var N=new u(O,P,D.width,D.height),M=new t.StiLegendItemGeom(this.legend,I,N,I.colorIndex,s);w.createChildGeoms(),w.childGeoms.push(M)}P+=R+_}P=L,O+=B+x,B=0}else{var A=0,L=0,D=this.getItemSize1(e,h,0);this.legend.direction==t.StiLegendDirection.LeftToRight||this.legend.direction==t.StiLegendDirection.TopToBottom?(A=x+d.x,L=_+d.y):this.legend.direction==t.StiLegendDirection.RightToLeft?(A=d.right-x-D.width,L=_+d.y):this.legend.direction==t.StiLegendDirection.BottomToTop&&(A=x+d.x,L=d.bottom-_-D.height);var O=A,P=L,E=0,V=0;try{for(var G=__values(h),X=G.next();!X.done;X=G.next()){var I=X.value;D=this.getItemSize2(e,h,I);var N=new l(O,P,D.width,D.height),M=new t.StiLegendItemGeom(this.legend,I,N,I.colorIndex,s);w.createChildGeoms(),w.childGeoms.push(M),E++,this.legend.direction==t.StiLegendDirection.TopToBottom?(P+=_+N.height,E==this.legend.columns&&(P=L,O+=D.width+x,E=0)):this.legend.direction==t.StiLegendDirection.LeftToRight?(O+=x+N.width,E==this.legend.columns&&(O=A,P+=D.height+_,E=0)):this.legend.direction==t.StiLegendDirection.RightToLeft?(O-=x+(D=this.getItemSize1(e,h,V+1)).width,E==this.legend.columns&&(O=A,P+=D.height+_,E=0)):this.legend.direction==t.StiLegendDirection.BottomToTop&&(P-=_+N.height,E==this.legend.columns&&(P=L,O+=D.width+x,E=0)),V++}}catch(e){n={error:e}}finally{try{X&&!X.done&&(o=G.return)&&o.call(G)}finally{if(n)throw n.error}}}return w},p.prototype.getMatrixIndexItem=function(e,i,n){var o=r.create2(Number,e,i);if(this.legend.direction==t.StiLegendDirection.TopToBottom)for(var a=0,s=0;s=0;s--)for(var l=0;l=0;l--)for(var s=0;sr&&null!=t.arguments[r])return t.arguments[r].toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator);return""},p.prototype.getLegendItemColumn=function(e,r){var i,n,o=0,a=0;try{for(var s=__values(e),l=s.next();!l.done;l=s.next()){var u;if(l.value==r)break;++o>=this.legend.columns&&(o=0,a++)}}catch(e){i={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}if(this.legend.direction==t.StiLegendDirection.TopToBottom||this.legend.direction==t.StiLegendDirection.BottomToTop)return a;return o},p.prototype.getTitleSize=function(e){if(i.isNullOrEmpty(this.legend.title))return new s(0,0);var t=n.changeFontSize(this.legend.titleFont,this.legend.titleFont.size*e.options.zoom),r;e.getDefaultStringFormat().formatFlags=0;var o=e.measureString(this.legend.title,t);return o.width++,o},p.prototype.getItemSize1=function(e,t,r){if(r>=0&&ri.width&&S.length>1&&(f=0,m++,b>0&&b--,S.length>0&&(S.removeAt(S.length-1),d=S.length))}else g.length-1i.height&&g.length>1&&(f++,m=0,b>0&&b--,g.length>0&&g.removeAt(g.length-1))}return a.ref=S.length,l.ref=u?Math.ceil(r.length/S.length):g.length,new s(S.sum()+c,l.ref*y+h)},p.prototype.getSeriesSize=function(e,r,i,n){var o=this.legend.horSpacing*e.options.zoom,a=this.legend.vertSpacing*e.options.zoom,l=this.legend.chart.area.core.getSeries(),u={ref:0},c=this.getLegendItems(u),h=u.ref,p=0,f=0;if(0==this.legend.columns){var m;p=(m=this.getItemsAutoSize(e,c,r,i,n)).width,f=m.height}else{n.ref=0,i.ref=this.legend.columns;var m=this.getItemsSize(e,c);switch(this.legend.direction){case t.StiLegendDirection.TopToBottom:case t.StiLegendDirection.BottomToTop:p=m.width+o;var S=this.legend.columns;S>h&&(S=h),f=(m.height+a)*S+a;break;case t.StiLegendDirection.LeftToRight:case t.StiLegendDirection.RightToLeft:var g=Math.ceil(h/this.legend.columns);g*this.legend.columns=_.values.length)continue;var R=B?_.values[_.values.length-P-1]:_.values[P];_.stimulsoft.is(t.IStiPieSeries)&&0==R||v.push(new t.StiLegendItemCoreXF(this.legend.chart.seriesLabels.core.getLabelText(_,R,this.getArgumentText(_,P),_.core.getTag(P),_.coreTitle,!0),_,P,A))}y++,A++}}}catch(e){a={error:e}}finally{try{O&&!O.done&&(s=L.return)&&s.call(L)}finally{if(a)throw a.error}}}else if(this.legend.chart.area.stimulsoft.is(t.IStiDoughnutArea))try{for(var k=__values(d),T=k.next();!T.done;T=k.next()){var _=T.value;if(this.legend.chart.area.core.isAcceptableSeries(_.stimulsoft.getType())&&_.values.length==this.legend.chart.area.core.valuesCount){var j=0;try{for(var F=(c=void 0,__values(_.arguments)),I=F.next();!I.done;I=F.next()){var D=I.value;null!=D&&v.push(new t.StiLegendItemCoreXF(D.toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator),_,j,j)),j++,y++}}catch(e){c={error:e}}finally{try{I&&!I.done&&(p=F.return)&&p.call(F)}finally{if(c)throw c.error}}break}}}catch(e){l={error:e}}finally{try{T&&!T.done&&(u=k.return)&&u.call(k)}finally{if(l)throw l.error}}else if(this.legend.chart.area.stimulsoft.is(t.IStiSunburstArea)){if(d.length>=1){var N,M=(N=d[0]).arguments.stimulsoft.toList().groupBy((function(e){return e})).select((function(e){return e.key})).toList(),j=0;try{for(var E=__values(M),V=E.next();!V.done;V=E.next()){var G,X=V.value.toString();i.isNullOrEmpty(X)||v.push(new t.StiLegendItemCoreXF(X,N,j,j)),j++,y++}}catch(e){f={error:e}}finally{try{V&&!V.done&&(m=E.return)&&m.call(E)}finally{if(f)throw f.error}}}}else if(this.legend.chart.area.stimulsoft.is(t.IStiWaterfallArea)){if(d.length>=1){var N=d[0];v.push(new t.StiLegendItemCoreXF(h.get("PropertyMain","Positive"),N,0,0)),v.push(new t.StiLegendItemCoreXF(h.get("PropertyMain","Negative"),N,0,1)),v.push(new t.StiLegendItemCoreXF(N.total.text,N,0,2)),y=3}}else try{for(var z=__values(d),J=z.next();!J.done;J=z.next()){var _=J.value;this.legend.chart.area.core.isAcceptableSeries(_.stimulsoft.getType())&&(!_.showInLegend||this.legend.hideSeriesWithEmptyTitle&&i.isNullOrEmpty(_.coreTitle)&&!this.legend.chart.isDesigning||(v.push(new t.StiLegendItemCoreXF(_.coreTitle,_,-1,0)),y++))}}catch(e){S={error:e}}finally{try{J&&!J.done&&(g=z.return)&&g.call(z)}finally{if(S)throw S.error}}return r.ref=y,v},Object.defineProperty(p.prototype,"legend",{get:function(){return this._legend},set:function(e){this._legend=e},enumerable:!1,configurable:!0}),p}();t.StiLegendCoreXF=p}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function e(e,t,r,i){this._index=-1,this._colorIndex=0,this._text=e,this._series=t,this._index=r,this._colorIndex=i}return Object.defineProperty(e.prototype,"text",{get:function(){return this._text},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"series",{get:function(){return this._series},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this._index},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"colorIndex",{get:function(){return this._colorIndex},enumerable:!1,configurable:!0}),e}();e.StiLegendItemCoreXF=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.System.StiArray,n=e.Base.Context.StiPathGeom,o=e.Base.Context.StiPenGeom,a=e.Base.Context.StiLinesSegmentGeom,s=e.System.Drawing.Rectangle,l=e.System.TimeSpan,u=e.Base.Drawing.StiSolidBrush,c=e.System.Drawing.Color,h=e.System.Drawing.Rectangle,p=e.System.Drawing.Point,f=e.System.ICloneable,m=e.Base.Drawing.StiBrush,S=e.Base.Context.Animation.StiScaleAnimation,g=e.System.Drawing.Point,y=e.System.Collections.List,d=e.Base.Context.StiArcSegmentGeom,b=e.Base.Context.StiLineSegmentGeom,v=e.System.Drawing.Size,C=function(){function e(e){this.marker=e}return e.prototype.implements=function(){return e.implementsStiMarkerCoreXF||(e.implementsStiMarkerCoreXF=[f,r.IStiMarkerCoreXF]),e.implementsStiMarkerCoreXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e.prototype.drawMarkers=function(e,t,r){var i,n;if(0==t.length)return;if(null!=this.marker&&this.marker.visible){e.pushSmoothingModeToAntiAlias();var o=e.options.zoom;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var l=s.value;this.marker.core.draw(e,this.marker,l,o,r,!1,!1,!1,"",null,null)}}catch(e){i={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}e.popSmoothingMode()}},e.getMarkerRect=function(e,t,r){var i=t*r/2;return new h(e.x-i,e.y-i,2*i,2*i)},e.prototype.draw=function(t,r,i,n,a,s,l,h,p,f,S){var g=new u(c.fromArgb(55,c.black)),y=e.getMarkerRect(i,r.size,n).clone();a&&(y.x+=2*n,y.y+=2*n,this.drawPoint(t,y.x+y.width/2,y.y+y.height/2,n,g,null,r.type,r.icon,r.size,r.angle,!1,h,p,null,null),y.x-=2*n,y.y-=2*n);var d=r.brush;if(h&&l&&!r.visible){var b=null==r.brush?c.lightGray:m.toColor(r.brush);d=new u(c.fromArgb(0,b.r,b.g,b.b)),h=!1}var v=l?null:new o(r.borderColor);(r.visible||l)&&this.drawPoint(t,y.x+y.width/2,y.y+y.height/2,n,d,v,r.type,r.icon,r.size,r.angle,s,h,p,f,S)},e.prototype.drawLine=function(e,t,r,i,n,o,a,s,l,u,c,h){this.drawLines(e,[new p(t,r),new p(i,n)],o,a,s,l,u,c,h)},e.prototype.drawLines=function(e,t,r,i,n,o,a,s,l){if(e.pushSmoothingModeToAntiAlias(),t.length<2)return;for(var u=0,c=0;c0){var r=this.getTextAlignment();r==c.Left?t.alignment=a.Near:r==c.Right?t.alignment=a.Far:r==c.Center&&(t.alignment=a.Center)}return t},f.prototype.getFontGeom=function(e){var t;return l.changeFontSize(this.yAxis.labels.font,this.yAxis.labels.font.size*e.options.zoom)},Object.defineProperty(f.prototype,"yAxis",{get:function(){return this.axis},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"info",{get:function(){return this.yAxis.info},set:function(e){this.yAxis.info=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"ticksMaxLength",{get:function(){return this.axis.visible?Math.max(this.yAxis.ticks.visible?this.yAxis.ticks.length:0,this.yAxis.ticks.minorVisible?this.yAxis.ticks.minorLength:0):0},enumerable:!1,configurable:!0}),f}(t.StiRadarAxisCoreXF);t.StiYRadarAxisCoreXF=p}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiString,i=e.Base.Drawing.StiGradientBrush,n=e.Base.Drawing.StiGlareBrush,o=e.System.Drawing.Rectangle,a=e.System.Drawing.Point,s=e.System.Collections.Hashtable,l=e.System.ICloneable,u=function(){function u(e){this.isMouseOverSeriesElementHashtable=null,this._isMouseOver=!1,this._isDateTimeValues=!1,this._isDateTimeArguments=!1,this._series=e}return u.prototype.implements=function(){return u.implementsStiSeriesCoreXF||(u.implementsStiSeriesCoreXF=[l,t.IStiApplyStyleSeries,t.IStiSeriesCoreXF]),u.implementsStiSeriesCoreXF},u.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},u.prototype.applyStyle=function(e,t){this.series.allowApplyStyle&&(this.series.showShadow=e.core.seriesShowShadow,null!=this.series.seriesLabels&&this.series.seriesLabels.core.applyStyle(e))},u.prototype.checkLabelsRect=function(e,t,r){if(null!=e&&e.preventIntersection){r.x<0&&(r.x=0),r.y<0&&(r.y=14),r.right>t.clientRectangle.width&&(r.x=t.clientRectangle.width-r.width),r.bottom>t.clientRectangle.height&&(r.y=t.clientRectangle.height-r.height);var i=this.GetDrawRectangle(r.clone(),e.angle);if(i.y<0)return r.y=i.height/2,r;i.y+i.height>t.clientRectangle.height&&(r.y-=i.height/2)}return r},u.prototype.GetDrawRectangle=function(e,t){var r=new a(e.left,e.top),i=new a(e.right,e.top),n=new a(e.right,e.bottom),s=new a(e.left,e.bottom),l=new a((e.left+e.right)/2,(e.top+e.bottom)/2),u=this.rotatePoint(r,l,t),c=this.rotatePoint(i,l,t),h=this.rotatePoint(n,l,t),p=this.rotatePoint(s,l,t),f=Math.min(Math.min(u.y,c.y),Math.min(h.y,p.y)),m=Math.max(Math.max(u.y,c.y),Math.max(h.y,p.y)),S=Math.min(Math.min(u.x,c.x),Math.min(h.x,p.x)),g=Math.max(Math.max(u.x,c.x),Math.max(h.x,p.x));return new o(S,f,g-S,m-f)},u.prototype.rotatePoint=function(e,t,r){var i=r*(Math.PI/180),n=Math.cos(i),o=Math.sin(i);return new a(Math.trunc(n*(e.x-t.x)-o*(e.y-t.y)+t.x),Math.trunc(o*(e.x-t.x)+n*(e.y-t.y)+t.y))},u.prototype.checkIntersectionLabels=function(e){var r,i,n=e.childGeoms,o=[];if(null!=n)try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;l.stimulsoft.is(t.StiSeriesLabelsGeom)&&o.push(l)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}var u=o.length,c=!0,h=0;while(c&&h<29){h++;for(var p=0;py.y?(g.y+=d/2,y.y-=d/2):(g.y-=d/2,y.y+=d/2),g.y<0&&(g.y=0),y.y<0&&(y.y=0),g.y+m.height>e.clientRectangle.height&&(g.y=e.clientRectangle.height-m.height),y.y+d/2+S.height>e.clientRectangle.height&&(y.y=e.clientRectangle.height-S.height),o[p].clientRectangle=g,o[f].clientRectangle=y}}}},u.prototype.getLabelRectangle=function(e,t){var r=Math.pow(Math.pow(t.width,2)+Math.pow(t.height,2),.5),i;return e+=Math.atan(t.height/t.width)/Math.PI*180,new o(t.x,t.y,r*Math.cos(e*Math.PI/180),r*Math.sin(e*Math.PI/180))},u.prototype.renderSeries=function(e,t,r,i){},u.prototype.getSeriesBrush=function(e,o){if(null==this.series.chart||null==this.series.chart.area)return null;if((this.series.chart.area.colorEach||this.stimulsoft.is(t.StiDoughnutSeriesCoreXF)||this.stimulsoft.is(t.StiSunburstSeriesCoreXF)||this.stimulsoft.is(t.StiPictorialSeriesCoreXF)||this.stimulsoft.is(t.StiWaterfallSeriesCoreXF))&&r.isNullOrEmpty(this.series.autoSeriesColorDataColumn)){var a=null!=this.series.chart.style?this.series.chart.style.core:new t.StiStyleCoreXF29,s=a.getColorByIndex(e,o,this.seriesColors),l=a.getColumnBrush(s);return this.series.chart.area.stimulsoft.is(t.IStiClusteredBarArea)&&(l.stimulsoft.is(i)&&(l.angle+=90),l.stimulsoft.is(n)&&(l.angle+=90)),l}return null},u.prototype.getSeriesBorderColor=function(e,r){if(null==this.series.chart||null==this.series.chart.area)return null;if(this.series.chart.area.colorEach&&this.series.allowApplyStyle||this.stimulsoft.is(t.StiDoughnutSeriesCoreXF)||this.stimulsoft.is(t.StiSunburstSeriesCoreXF)){var i=null!=this.series.chart.style?this.series.chart.style.core:new t.StiStyleCoreXF29,n=i.getColorByIndex(e,r,this.seriesColors);return i.getColumnBorder(n)}return null},u.prototype.getSeriesLabels=function(){if(this.series.showSeriesLabels==t.StiShowSeriesLabels.FromChart)return this.series.chart.seriesLabels.stimulsoft.as(t.IStiAxisSeriesLabels);if(this.series.showSeriesLabels==t.StiShowSeriesLabels.FromSeries)return this.series.seriesLabels.stimulsoft.as(t.IStiAxisSeriesLabels);return null},u.prototype.getTag=function(t){return null!=this.series.tags&&t=i.length&&(c=i.length-1);var y=c-u+1;if(y==i.length)return n.ref=u,a.ref=c,i;var d=r.create(o,y,!0);return r.copy(i,u,d,y),n.ref=u,a.ref=c,d},l.prototype.renderMarkers=function(e,r,i){var n,a,l=r.area,u=this.series;if(0==i.length)return;var c=!u.marker.visible&&u.toolTips.length>0;if(null!=u.marker){var h=0;try{for(var p=__values(i),f=p.next();!f.done;f=p.next()){var m=f.value;if(null!=m){var S=l.reverseHor?u.values[u.values.length-h-1]:u.values[h];null==S&&u.showNulls&&(S=0);var g=r.view.clientRectangle.clone();g.x=0,g.y=0,g.inflate(10,10);var y=new o(m.x,m.y);if(y.x+=r.clientRectangle.x,y.y+=r.clientRectangle.y,g.contains(y.x,y.y)){var d=new t.StiMarkerGeom(this.series,h,S,m,u.marker,u.showShadow,e.options.zoom,c);if(null!=d){if(null!=u.core.interaction){var b=new s;b.fill(l,u,h),d.interaction=b}r.createChildGeoms(),r.childGeoms.push(d)}}}h++}}catch(e){n={error:e}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(n)throw n.error}}}},l.prototype.getInteractions=function(e,t,r){for(var i=[],n=0;n=c.xAxis.info.stripPositions.length)break;var w=c.xAxis.info.stripPositions[C];b[v]=this.getPointValue(v,y,y.values,c,w)}var x=this.getPointsZeroConnect(y,c),_=this.getPointsNullConnect(y,c);if(m.push(x),S.push(_),b.length>0){b=t.StiPointHelper.optimizePoints(b);var A,L,O={ref:A=void 0},P={ref:L=void 0},B=this.clipLinePoints(e,n,b,O,P);if(A=O.ref,L=P,y.core.renderAreas(e,n,B),!this.isTopmostLine(y)){var R=new t.StiSeriesPointsInfo(null,B,x,_);y.core.renderLines(e,n,R)}}f.push(b)}var k=0;try{for(var T=__values(f),j=T.next();!j.done;j=T.next()){var F=j.value,A,L,O={ref:A=void 0},P={ref:L=void 0},B=this.clipLinePoints(e,n,F,O,P);A=O.ref,L=P.ref;var I=this.clipLinePoints(e,n,m[k],O,P),D=this.clipLinePoints(e,n,S[k],O,P),y=a[k];if(this.isTopmostLine(a[k])){var R=new t.StiSeriesPointsInfo(null,B,I,D);y.core.renderLines(e,n,R)}var N=y.stimulsoft.as(t.StiSeries).trendLine;null!=N&&N.core.renderTrendLine(n,B,c.axisCore.getDividerY());var M=y.core.getSeriesLabels();if(null!=M&&M.visible)for(var v=A;v<=L;v++)if(y.values.length>v){var E=y.values[v];null==E&&y.showNulls&&(E=0);var V=E;c.reverseVert&&null!=E&&(V=-V),p=y.yAxis==t.StiSeriesYAxis.LeftYAxis?c.axisCore.getDividerY():c.axisCore.getDividerRightY();var G=F[v];if(null!=G){var X=new o(G.x,p);if(0==M.step||v%M.step==0){var z=c.xAxis.startFromZero?v+1:v,J=M.core.renderLabel(y,e,this.correctPoint(G,i,y.labelsOffset*e.options.zoom),this.correctPoint(X,i,y.labelsOffset*e.options.zoom),v,V,E,c.axisCore.getArgumentLabel(c.xAxis.info.stripLines.getByIndex(z),y),y.core.getTag(v),0,1,i,null);null!=J&&(n.createChildGeoms(),n.childGeoms.push(J),J.clientRectangle=this.checkLabelsRect(M,n,J.clientRectangle))}}}k++}}catch(e){s={error:e}}finally{try{j&&!j.done&&(l=T.return)&&l.call(T)}finally{if(s)throw s.error}}n.area.chart.seriesLabels.preventIntersection&&this.checkIntersectionLabels(n)},l.prototype.getPointsZeroConnect=function(e,r){var i=new a;if(e.showZerosAs==t.StiShowEmptyCellsAs.Gap)return i;for(var n=new a,o=new a,s=0;s=0&&c=0&&h=0&&he&&(o=i.reverseHor?r[r.length-e-1]:r[e]),this.getPointValue1(o,t,i,n)},l.prototype.getPointValue1=function(e,r,i,n){var a=r.stimulsoft.is(t.StiAreaSeries)||r.stimulsoft.is(t.StiSplineAreaSeries)||r.stimulsoft.is(t.StiStackedAreaSeries)||r.stimulsoft.is(t.StiStackedSplineAreaSeries)||r.stimulsoft.is(t.StiSteppedAreaSeries);if(0==e&&!r.showZeros&&!a)return null;if(null==e&&!r.showNulls&&!a)return null;null==e&&r.showNulls&&(e=0),i.reverseVert&&null!=e&&(e=-e);var s=0;return s=r.yAxis==t.StiSeriesYAxis.LeftYAxis?-e*i.yAxis.info.dpi+i.axisCore.getDividerY():-e*i.yRightAxis.info.dpi+i.axisCore.getDividerRightY(),new o(n,s)},l.prototype.isTopmostLine=function(e){if(e.stimulsoft.is(t.IStiSplineAreaSeries))return e.topmostLine;if(e.stimulsoft.is(t.IStiSteppedAreaSeries))return e.topmostLine;if(e.stimulsoft.is(t.IStiAreaSeries))return e.topmostLine;return!0},l.prototype.correctPoint=function(e,t,r){if(e.y+r<0)return new o(e.x,0);if(e.y+r>t.height)return new o(e.x,t.height);return new o(e.x,e.y+r)},l.prototype.getSeriesBrush=function(t,r){var o=this.series,a=e.prototype.getSeriesBrush.call(this,t,r);if(null==a)return new n(i.dark(o.lineColor,20));return a},l.prototype.getSeriesBorderColor=function(t,r){var i=this.series,n=e.prototype.getSeriesBorderColor.call(this,t,r);if(null==n)return i.lineColor;return n},l}(t.StiSeriesCoreXF);t.StiBaseLineSeriesCoreXF=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.System.DateTime,n=e.Base.Localization.StiLocalization,o=e.System.Drawing.Point,a=function(a){function s(e){return a.call(this,e)||this}return __extends(s,a),s.prototype.applyStyle=function(e,r){a.prototype.applyStyle.call(this,e,r);var i=this.series.stimulsoft.as(t.IStiBaseLineSeries);i.allowApplyStyle&&(e.core.markerVisible||(i.marker.visible=!0))},s.prototype.renderLines=function(e,t,r){this.renderMarkers(e,t,r.points)},s.prototype.renderSeries=function(n,a,s,l){var u,c;if(null==l||0==l.length||null==this.series.chart)return;for(var h=s.area,p=0,f=[],m=0;m0){var w=h.xAxis.info.stripLines.count,x=h.reverseHor?w-1:0,_=h.reverseHor?0:w-1,A=h.xAxis.info.stripLines.getByIndex(x).value,L=h.xAxis.info.stripLines.getByIndex(_).value,k=Math.abs(a.width/(Math.log10(L)-Math.log10(A)));R=Math.log10(P)*k-Math.log10(h.xAxis.info.stripLines.getByIndex(x).value)*k}else R=(P-h.xAxis.info.minimum)*h.xAxis.info.dpi;h.reverseHor&&(R=a.width-R),y[b]=new o(R,C)}}else y[b]=null}f.push(y)}var T=0;try{for(var j=__values(f),F=j.next();!F.done;F=j.next()){var I=F.value,S,d=(S=l[T]).arguments.stimulsoft.getKeys();S.core.renderLines(n,s,new t.StiSeriesPointsInfo(null,I));var D=S.stimulsoft.as(t.StiSeries).trendLine;null!=D&&D.core.renderTrendLine(s,I,h.axisCore.getDividerY());var N=S.core.getSeriesLabels();if(null!=N&&N.visible)for(var b=0;b0){var k=x*L,T=new s(R.x-k/2,R.y-k/2,k,k),j=this.getSeriesBrush(g,o.length),F=i.core.getSeriesBorderColor(g,o.length),I=new t.StiBubbleSeriesElementGeom(r,x,g,j,F,i,T,new n(O.ticks/_.core.valuesCount*g));if(null!=i.core.interaction){var D=new u;D.fill(_,i,g),I.interaction=D}r.createChildGeoms(),r.childGeoms.push(I)}g++}}catch(e){f={error:e}}finally{try{B&&!B.done&&(m=P.return)&&m.call(P)}finally{if(f)throw f.error}}},h.prototype.renderSeries=function(n,a,s,u){if(null==u||0==u.length||null==this.series.chart)return;for(var c=s.area,h=0,p=[],f=[],m=0;m=0&&y.reverseHor){var j=c[T],F=y.xAxis.info.step/c.length*j.width;if(AV.x&&G.x0){var H=new i(J.ticks/y.core.valuesCount*A),W=new s(0,r.empty,t.StiChartHelper.globalDurationElement,H),Y=new t.StiClusteredColumnSeriesElementGeom(u,I,A,X,z,j,M,W);if(null!=j.core.interaction){var Z=new l;Z.fill(y,j,A),Y.interaction=Z}u.createChildGeoms(),u.childGeoms.push(Y)}var q=j.core.getSeriesLabels();if(null!=q&&q.visible){var U=void 0;U=j.yAxis==t.StiSeriesYAxis.LeftYAxis?new a(k+F/2,-I*y.yAxis.info.dpi+b):new a(k+F/2,-I*y.yRightAxis.info.dpi+v);var K=0;if(null!=I&&(K=y.reverseVert?-I:I),0==q.step||A%q.step==0){var Q=y.xAxis.startFromZero?A+1:A,$;null!=($=q.core.renderLabel(j,e,this.correctPoint(U,n),this.correctPoint(new a(U.x,b),n),A,I,K,y.axisCore.getArgumentLabel(y.xAxis.info.stripLines.getByIndex(Q),j),j.core.getTag(A),C,w,n))&&(S.push($),$.clientRectangle=this.checkLabelsRect(q,u,$.clientRectangle))}}}}k+=F,C++,y.reverseHor?T--:T++}}for(var ee=0;eet.height)return new a(e.x,t.height);return e},u.prototype.getSeriesBrush=function(t,r){var i=e.prototype.getSeriesBrush.call(this,t,r);if(null==i)return this.series.brush;return i},u.prototype.getSeriesBorderColor=function(t,r){var i=e.prototype.getSeriesBorderColor.call(this,t,r);if(null==i)return this.series.borderColor;return i},Object.defineProperty(u.prototype,"localizedName",{get:function(){return n.get("Chart","ClusteredColumn")},enumerable:!1,configurable:!0}),u}(t.StiSeriesCoreXF);t.StiClusteredColumnSeriesCoreXF=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Rectangle,i=e.System.TimeSpan,n=e.Base.Localization.StiLocalization,o=e.Base.Drawing.StiGlareBrush,a=e.Base.Drawing.StiGradientBrush,s=e.System.Drawing.Point,l=e.Base.Context.StiSeriesInteractionData,u=function(e){function u(t){return e.call(this,t)||this}return __extends(u,e),u.prototype.implements=function(){return u.implementsStiClusteredBarSeriesCoreXF||(u.implementsStiClusteredBarSeriesCoreXF=e.prototype.implements.call(this).concat([t.IStiApplyStyleSeries])),u.implementsStiClusteredBarSeriesCoreXF},u.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r);var i=this.series;i.allowApplyStyle&&(i.brush=t.core.getColumnBrush(r),i.brush.stimulsoft.is(a)&&(i.brush.angle+=90),i.brush.stimulsoft.is(o)&&(i.brush.angle+=90),i.borderColor=t.core.getColumnBorder(r))},u.prototype.renderSeries=function(e,n,o,a){var u,c,h,p,f=[],m=o.area;if(null==a||0==a.length||null==this.series.chart)return;for(var S=m,g=S.yAxis.core.getStartFromZero(),y=S.axisCore.getDividerX(),d=0,b=S.axisCore.valuesCount*a.length,v=S.axisCore.valuesCount,C=[],w=0;w=0&&S.reverseVert){var j=a.stimulsoft.getByIndex(k,x),F=S.yAxis.info.step/a.length*j.width;if(_M.y&&E.y0){var V=j.core.getSeriesBrush(d,b);j.allowApplyBrushNegative&&I>0&&(V=j.brushNegative),V=j.processSeriesBrushes(v-1-_,V);var G=j.core.getSeriesBorderColor(d,b),X=new t.StiClusteredBarSeriesElementGeom(o,0,I,_,V,G,j,r.empty,N,new i(T.ticks/S.core.valuesCount*_));if(null!=j.core.interaction){var z=new l;z.fill(S,j,_),X.interaction=z}o.createChildGeoms(),o.childGeoms.push(X)}var J=j.core.getSeriesLabels();if(null!=J&&J.visible){var H=new s(-I*S.xAxis.info.dpi+y,R+F/2),W=I,Y;if(null!=I&&(W=S.reverseHor?I:-I),0==J.step||_%J.step==0)null!=(Y=J.core.renderLabel(j,e,this.correctPoint(H,n),this.correctPoint(new s(y,H.y),n),_,I,W,S.axisCore.getArgumentLabel(S.yAxis.info.stripLines.getByIndex(_),j),j.core.getTag(_),d,b,n))&&(f.push(Y),Y.clientRectangle=this.checkLabelsRect(J,o,Y.clientRectangle))}}}R+=F,d++,S.reverseVert?k--:k++}}for(var Z=0;Zt.width)return new s(t.width,e.y);return e},Object.defineProperty(u.prototype,"localizedName",{get:function(){return n.get("Chart","ClusteredBar")},enumerable:!1,configurable:!0}),u}(t.StiClusteredColumnSeriesCoreXF);t.StiClusteredBarSeriesCoreXF=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.renderLines=function(e,r,i){if(null!=i.points&&i.points.length>1){var n=new t.StiLineSeriesGeom(r,i.points,this.series,i.pointsZeroConnect,i.pointsNullConnect);r.createChildGeoms(),r.childGeoms.push(n),null!=this.interaction&&(n.interactions=this.getInteractions(e,r,i.points))}this.renderMarkers(e,r,i.points)},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","Line")},enumerable:!1,configurable:!0}),i}(t.StiBaseLineSeriesCoreXF);t.StiLineSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r);var i=this.series;i.allowApplyStyle&&(i.brush=t.core.getAreaBrush(r))},i.prototype.renderAreas=function(e,r,i){if(null==i||i.length<=1)return;var n=new t.StiAreaSeriesGeom(r,i,this.series);null!=n&&(r.createChildGeoms(),r.childGeoms.push(n))},i.prototype.getSeriesBrush=function(t,r){var i=this.series,n=e.prototype.getSeriesBrush.call(this,t,r);if(null==n)return i.brush;return n},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","Area")},enumerable:!1,configurable:!0}),i}(t.StiLineSeriesCoreXF);t.StiAreaSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return r.get("Chart","Histogram")},enumerable:!1,configurable:!0}),t}(t.StiClusteredColumnSeriesCoreXF);t.StiHistogramSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.System.Drawing.Rectangle,n=e.System.TimeSpan,o=e.Base.Localization.StiLocalization,a=e.System.Drawing.Rectangle,s=e.System.Drawing.Point,l=e.Base.Context.Animation.StiColumnAnimation,u=e.Base.Drawing.StiColorUtils,c=e.Base.Drawing.StiSolidBrush,h=e.System.Collections.List,p=e.Base.Context.StiSeriesInteractionData,f=function(e){function f(t){return e.call(this,t)||this}return __extends(f,e),f.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r);var i=this.series;this.series.allowApplyStyle&&(i.brush=t.core.getColumnBrush(r),i.borderColor=t.core.getColumnBorder(r),i.lighting=t.core.seriesLighting,i.marker.visible=t.core.markerVisible,null!=i.marker&&(i.marker.brush=new c(u.light(r,100)),i.marker.borderColor=u.dark(r,100)),null!=i.lineMarker&&(i.lineMarker.brush=new c(u.light(r,50)),i.lineMarker.borderColor=u.dark(r,150))),i.allowApplyLineColor||(i.lineColor=u.light(r,50))},f.prototype.getParetoValues=function(e){var t,r,i,n,o=new h,a=new h,s=0;try{for(var l=__values(e),u=l.next();!u.done;u=l.next()){var c;s+=c=u.value,o.push(s)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}try{for(var p=__values(o),f=p.next();!f.done;f=p.next()){var c,m=(c=f.value)/s*100;a.push(m)}}catch(e){i={error:e}}finally{try{f&&!f.done&&(n=p.return)&&n.call(p)}finally{if(i)throw i.error}}return a},f.prototype.renderSeries=function(e,t,r,i){if(null==i||0==i.length||null==this.series.chart)return;this.renderColumns(e,t,r,i),this.renderLinePareto(e,t,r,i)},f.prototype.renderColumns=function(e,r,o,u){var c,h,f,m,S=[],g=o.area;if(null==u||0==u.length||null==this.series.chart)return;for(var y=g,d=y.xAxis.core.getStartFromZero(),b=y.axisCore.getDividerY(),v=y.axisCore.getDividerRightY(),C=0,w=y.axisCore.valuesCount*u.length,x=[],_=0;_=0&&y.reverseHor){var j=u[T],F=y.xAxis.info.step/u.length*j.width;if(BV.x&&G.x0){var H=new n(J.ticks/y.core.valuesCount*B),W=new l(0,i.empty,t.StiChartHelper.globalDurationElement,H),Y=new t.StiClusteredColumnSeriesElementGeom(o,I,B,X,z,j,M,W);if(null!=j.core.interaction){var Z=new p;Z.fill(y,j,B),Y.interaction=Z}o.createChildGeoms(),o.childGeoms.push(Y)}var q=j.core.getSeriesLabels();if(null!=q&&q.visible){var U=void 0;U=j.yAxis==t.StiSeriesYAxis.LeftYAxis?new s(k+F/2,-I*y.yAxis.info.dpi+b):new s(k+F/2,-I*y.yRightAxis.info.dpi+v);var K=0;if(null!=I&&(K=y.reverseVert?-I:I),0==q.step||B%q.step==0){var Q=y.xAxis.startFromZero?B+1:B,$;null!=($=q.core.renderLabel(j,e,this.correctPoint(U,r),this.correctPoint(new s(U.x,b),r),B,I,K,y.axisCore.getArgumentLabel(y.xAxis.info.stripLines.getByIndex(Q),j),j.core.getTag(B),C,w,r))&&(S.push($),$.clientRectangle=this.checkLabelsRect(q,o,$.clientRectangle))}}}}k+=F,C++,y.reverseHor?T--:T++}}for(var ee=0;ee=l.xAxis.info.stripPositions.length)break;var d=l.xAxis.info.stripPositions[y],b=l.reverseHor?f[f.length-g-1]:f[g];S[g]=this.getPointValue(b,p,l,d)}S.length>0&&(S=t.StiPointHelper.optimizePoints(S),this.renderLines(n,S,p)),c.push(S)}},f.prototype.renderLines=function(e,r,i){if(null!=r&&r.length>1){var n=new t.StiLineSeriesGeom(e,r,i);e.createChildGeoms(),e.childGeoms.push(n)}},f.prototype.getPointValue=function(e,t,r,i){r.reverseVert&&null!=e&&(e=-e);var n=-e*r.yRightAxis.info.dpi+r.axisCore.getDividerRightY();return new s(i,n)},f.prototype.correctPoint=function(e,t){if(e.y<0)return new s(e.x,0);if(e.y>t.height)return new s(e.x,t.height);return e},f.prototype.getSeriesBrush=function(t,r){var i=e.prototype.getSeriesBrush.call(this,t,r);if(null==i)return this.series.brush;return i},f.prototype.getSeriesBorderColor=function(t,r){var i=e.prototype.getSeriesBorderColor.call(this,t,r);if(null==i)return this.series.borderColor;return i},Object.defineProperty(f.prototype,"localizedName",{get:function(){return o.get("Chart","ClusteredColumn")},enumerable:!1,configurable:!0}),f}(t.StiClusteredColumnSeriesCoreXF);t.StiParetoSeriesCoreXF=f}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.renderLines=function(e,r,i){if(null==i.points||i.points.length<=1)return;var n=new t.StiSplineSeriesGeom(r,i.points,this.series,i.pointsZeroConnect,i.pointsNullConnect);null!=n&&(r.createChildGeoms(),r.childGeoms.push(n)),null!=this.interaction&&(n.interactions=this.getInteractions(e,r,i.points)),this.renderMarkers(e,r,i.points)},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","Spline")},enumerable:!1,configurable:!0}),i}(t.StiBaseLineSeriesCoreXF);t.StiSplineSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r);var i=this.series;i.allowApplyStyle&&(i.brush=t.core.getAreaBrush(r))},i.prototype.renderAreas=function(e,r,i){if(null==i||i.length<=1)return;var n=new t.StiSplineAreaSeriesGeom(r,i,this.series);null!=n&&(r.createChildGeoms(),r.childGeoms.push(n))},i.prototype.getSeriesBrush=function(t,r){var i=this.series,n=e.prototype.getSeriesBrush.call(this,t,r);if(null==n)return i.brush;return n},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","SplineArea")},enumerable:!1,configurable:!0}),i}(t.StiSplineSeriesCoreXF);t.StiSplineAreaSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.renderLines=function(e,r,i){var n=this.series;if(i.points.length>1||n.pointAtCenter&&i.points.length>0){var o=new t.StiSteppedLineSeriesGeom(r,i.points,this.series);null!=o&&(r.createChildGeoms(),r.childGeoms.push(o)),null!=this.interaction&&(o.interactions=this.getInteractions(e,r,i.points))}this.renderMarkers(e,r,i.points)},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","SteppedLine")},enumerable:!1,configurable:!0}),i}(t.StiBaseLineSeriesCoreXF);t.StiSteppedLineSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r);var i=this.series;i.allowApplyStyle&&(i.brush=t.core.getAreaBrush(r))},i.prototype.renderAreas=function(e,r,i){var n=this.series;if(null==i||0==i.length||1==i.length&&!n.pointAtCenter)return;var o=new t.StiSteppedAreaSeriesGeom(r,i,this.series);null!=o&&(r.createChildGeoms(),r.childGeoms.push(o))},i.prototype.getSeriesBrush=function(t,r){var i=this.series,n=e.prototype.getSeriesBrush.call(this,t,r);if(null==n)return i.brush;return n},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","SteppedArea")},enumerable:!1,configurable:!0}),i}(t.StiSteppedLineSeriesCoreXF);t.StiSteppedAreaSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Rectangle,i=e.System.TimeSpan,n=e.Base.Localization.StiLocalization,o=e.System.Collections.List,a=e.System.Drawing.Point,s=e.Base.Context.StiPenGeom,l=e.Base.Context.Animation.StiColumnAnimation,u=e.Report.Components.StiChart,c=function(e){function c(t){return e.call(this,t)||this}return __extends(c,e),c.prototype.renderSeries=function(e,t,r,i){if(null==i||0==i.length||null==this.series.chart)return;this.renderColumns(e,t,r,i)},c.prototype.getSumSeriesWidth=function(e,t){var r,i,n=0;try{for(var o=__values(t),a=o.next();!a.done;a=o.next()){var s=a.value;n+=e.xAxis.info.step/t.length*s.width}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return n},c.prototype.getDividerYSeries=function(e,t){for(var r=e.axisCore.getDividerY(),i=[],n=0;n=0&&g.reverseHor){var A=h[_],L=g.xAxis.info.step/h.length*A.width;if(CI.x&&D.x0){var V=new i(E.ticks/g.core.stimulsoft.as(t.StiAxisAreaCoreXF).valuesCount*C),G=new l(null!=F?F:0,j,t.StiChartHelper.globalDurationElement,V),X=new t.StiClusteredColumnSeriesElementGeom(c,O,C,N,M,A,T,G);if(A.connectorLine.visible&&!P){var z=new s(A.connectorLine.lineColor,A.connectorLine.lineWidth);z.penStyle=A.connectorLine.lineStyle;var J=O>0?T.top:T.bottom,H=T.right+g.xAxis.info.step-L,W=new t.StiWaterfallLineGeom(new a(T.right,J),new a(H,J),z,new r(T.right,J,H-T.right,J),A.chart.stimulsoft.as(u).isAnimation);c.createChildGeoms(),c.childGeoms.push(W)}c.createChildGeoms(),c.childGeoms.push(X)}var Y=A.core.getSeriesLabels();if(null!=Y&&Y.visible){var Z=P&&A.total.visible?g.axisCore.getDividerY():B,q=this.getPointEnd(A,O,x,L,Z),U=0;null!=O&&(U=g.reverseVert?-O:O);var G=null;if(0==Y.step||C%Y.step==0){var K=g.xAxis.startFromZero?C+1:C,Q;null!=(Q=Y.core.stimulsoft.as(t.StiAxisSeriesLabelsCoreXF).renderLabel(A,e,this.correctPoint(q,n),this.correctPoint(new a(q.x,Z),n),C,O,U,g.axisCore.getArgumentLabel(g.xAxis.info.stripLines[K],A),A.core.getTag(C),d,b,n,G))&&(S.push(Q),Q.clientRectangle=this.checkLabelsRect(Y,c,Q.clientRectangle))}}}}x+=L,d++,g.reverseHor?_--:_++}}try{for(var $=__values(S),ee=$.next();!ee.done;ee=$.next()){var Q=ee.value;c.createChildGeoms(),c.childGeoms.push(Q)}}catch(e){p={error:e}}finally{try{ee&&!ee.done&&(f=$.return)&&f.call($)}finally{if(p)throw p.error}}c.area.chart.seriesLabels.preventIntersection&&this.checkIntersectionLabels(c)},c.prototype.getPointEnd=function(e,r,i,n,o){var s,l=e.chart.area.stimulsoft.as(t.IStiAxisArea),u=l.axisCore.getDividerRightY();return s=e.yAxis==t.StiSeriesYAxis.LeftYAxis?new a(i+n/2,-r*l.yAxis.info.dpi+o):new a(i+n/2,-r*l.yRightAxis.info.dpi+u)},c.prototype.getColumnRect=function(e,i,n,o,a,s){var l=i.chart.area.stimulsoft.as(t.IStiAxisArea),u=0,c=0,h=l.axisCore.getDividerRightY();return c=i.yAxis==t.StiSeriesYAxis.LeftYAxis?(l.reverseVert,-(u=n*l.yAxis.info.dpi)+s.ref):-(u=n*l.yRightAxis.info.dpi)+h,!i.showZeros||0!=n&&null!=n||(u=Math.max(e.options.zoom,2),l.reverseVert||(c-=u)),n<0&&(c=i.yAxis==t.StiSeriesYAxis.LeftYAxis?s.ref:h,u=-u),s.ref=n>0?c:c+u,new r(o,c,a,u)},Object.defineProperty(c.prototype,"localizedName",{get:function(){return n.get("Chart","Waterfall")},enumerable:!1,configurable:!0}),c}(t.StiClusteredColumnSeriesCoreXF);t.StiWaterfallSeriesCoreXF=c}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.Base.Context.StiArcSegmentGeom,n=e.Base.Context.StiPieSegmentGeom,o=e.Base.Drawing.StiGlareBrush,a=e.Base.Drawing.StiGradientBrush,s=e.Base.Context.StiLineSegmentGeom,l=e.System.Drawing.Rectangle,u=e.System.TimeSpan,c=e.Base.Drawing.StiSolidBrush,h=e.Base.Localization.StiLocalization,p=e.System.Drawing.Color,f=e.System.Drawing.Point,m=e.System.Drawing.Rectangle,S=e.Base.Context.Animation.StiOpacityAnimation,g=e.Base.Context.StiSeriesInteractionData,y=function(y){function d(e){return y.call(this,e)||this}return __extends(d,y),d.prototype.applyStyle=function(e,t){y.prototype.applyStyle.call(this,e,t);var r=this.series;r.allowApplyStyle&&(r.lighting=e.core.seriesLighting,r.allowApplyBrush&&(r.brush=e.core.getColumnBrush(t)),r.allowApplyBorderColor&&(r.borderColor=e.core.getColumnBorder(t)))},d.prototype.correctBrush=function(e){return e.stimulsoft.is(a)&&((e=e.clone()).angle=-45),e.stimulsoft.is(o)&&((e=e.clone()).angle=-45),e},d.prototype.renderPieElement=function(e,r,i,n,o,a,s,l,u,c,h,p,f){var S,g,y=m.empty;o=this.correctBrush(o);var d={ref:S},b={ref:g},v={ref:y},C=this.measurePieElementCore(e,r,i,a,s,c,h,d,b,v);if(S=d.ref,g=b.ref,y=v.ref,C.isEmpty)return null;return new t.StiPieSeriesElementGeom(p,l,u,c,y,S,g,n,o,a,a+s,i,null)},d.prototype.renderPieElementShadow=function(e,t,r,i,n,o,s,l){if(this.series.chart.isAnimation)return;var u,c,h=m.empty;i=this.correctBrush(i);var f={ref:u},S={ref:c},g={ref:h},y=this.measurePieElementCore(e,t,r,n,o,s,l,f,S,g);if(u=f.ref,c=S.ref,h=g.ref,y.isEmpty)return;if(e.pushSmoothingModeToAntiAlias(),e.fillPath(i,u,h,null),null!=c){var d=new a(p.fromArgb(100,p.white),p.fromArgb(50,p.black),45);e.fillPath(d,c,h,null)}e.popSmoothingMode()},d.prototype.measurePieElement=function(e,t,r,i,n,o,a){var s,l,u=m.empty,c={ref:s},h={ref:l},p={ref:u},f=this.measurePieElementCore(e,t,r,i,n,o,a,c,h,p);return s=c.ref,l=h.ref,u=p.ref,f},d.prototype.measurePieElementCore=function(e,t,r,o,a,l,u,c,h,f){var S=[],g=null,y=m.empty;if(0==a||isNaN(a))return m.empty;if(u>0&&(t=this.getPoint(t,u*e.options.zoom,o+a/2)),(y=new m(t.x-r,t.y-r,2*r,2*r)).width<=0&&y.height<=0)return m.empty;if(S.push(new n(new m(y.x,y.y,y.width,y.height),o,a,null)),l.lighting&&!p.transparent.stimulsoft.equals(l.borderColor)){var d=0;d=.02*r,(g=[]).push(new i(y,o,a)),g.push(new s(this.getPoint(t,r-d,o+a),this.getPoint(t,r-d,o+a))),g.push(new i(new m(y.x+d,y.y+d,y.width-2*d,y.height-2*d),o+a,-a)),g.push(new s(this.getPoint(t,r-d,o),this.getPoint(t,r-d,o)))}return c.ref=S,h.ref=g,f.ref=y,e.getPathBounds(S)},d.prototype.isNotNullValues=function(e){var t,r,i,n;try{for(var o=__values(e),a=o.next();!a.done;a=o.next()){var s=a.value;try{for(var l=(i=void 0,__values(s.values)),u=l.next();!u.done;u=l.next()){var c;if(null!=u.value)return!0}}catch(e){i={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(i)throw i.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!1},d.prototype.renderSeries=function(e,i,n,o){var a,s,h,f,y,d,b,v,C,w,x,_,A,L,O,P,B,R,k,T,j,F,I,D,N,M,E,V,G,X,z=this.getRadius(e,i),J=this.getPointCenter(i);if(null==o||0==o.length||null==this.series.chart||null!=o&&!this.isNotNullValues(o))return n.createChildGeoms(),void n.childGeoms.push(new t.StiPieEmptySeriesElementGeom(new l(J.x-z,J.y-z,2*z,2*z)));var H=t.StiChartHelper.globalDurationElement,W=t.StiChartHelper.globalBeginTimeElement,Y=this.series.chart,Z=0;try{for(var q=__values(o),U=q.next();!U.done;U=q.next()){var K;null!=(K=U.value).values&&(Z+=K.values.length)}}catch(e){a={error:e}}finally{try{U&&!U.done&&(s=q.return)&&s.call(q)}finally{if(a)throw a.error}}if(0==Z)return;var Q=0,$=-1,ee=0;try{for(var te=__values(o),re=te.next();!re.done;re=te.next()){var K=re.value;try{for(var ie=(y=void 0,__values(K.values)),ne=ie.next();!ne.done;ne=ie.next()){var oe;0==(oe=ne.value)||null==oe||isNaN(oe)||1==++Q&&($=ee),ee++}}catch(e){y={error:e}}finally{try{ne&&!ne.done&&(d=ie.return)&&d.call(ie)}finally{if(y)throw y.error}}}}catch(e){h={error:e}}finally{try{re&&!re.done&&(f=te.return)&&f.call(te)}finally{if(h)throw h.error}}var ae=this.getGradPerValue(o),se=this.getPercentPerValue(o),le=o[0],ue=le.startAngle,ce=new m(0,0,i.width,i.height);try{for(var he=__values(o),pe=he.next();!pe.done;pe=he.next()){var K=pe.value;if(Q>1){var fe=K,me=0;try{for(var Se=(C=void 0,__values(K.values)),ge=Se.next();!ge.done;ge=Se.next()){var oe=ge.value,ye=ae*Math.abs(oe),de=this.measurePieElement(e,J,z,ue,ye,fe,this.getPieDistance(me));0!=oe&&(ce=m.union(ce,de)),ue+=ye,me++}}catch(e){C={error:e}}finally{try{ge&&!ge.done&&(w=Se.return)&&w.call(Se)}finally{if(C)throw C.error}}}}}catch(e){b={error:e}}finally{try{pe&&!pe.done&&(v=he.return)&&v.call(he)}finally{if(b)throw b.error}}var be=Math.max(-ce.left,ce.right-i.width),ve=Math.max(-ce.top,ce.bottom-i.height),Ce;z-=1.2*Math.max(be,ve);var we=r.create(m,Z),xe=r.create(Number,Z),_e=r.create(Number,4);r.clear(_e,0,_e.length),ue=le.startAngle;var Ae=(ce=new m(10*e.options.zoom,10*e.options.zoom,i.width-20*e.options.zoom,i.height-20*e.options.zoom)).clone(),Le=0,Oe;try{for(var Pe=__values(o),Be=Pe.next();!Be.done;Be=Pe.next()){var K,Re=K=Be.value,me=0;try{for(var ke=(A=void 0,__values(K.values)),Te=ke.next();!Te.done;Te=ke.next()){var oe=Te.value,ye=ae*Math.abs(oe),je;if(null!=this.series.chart&&null!=this.series.chart.seriesLabels&&this.series.chart.seriesLabels.visible)if(null!=(je=this.series.chart.seriesLabels.stimulsoft.as(t.IStiPieSeriesLabels))&&je.visible){var Fe=z;this.getPieDistance(me)>0&&(Fe+=Re.distance*e.options.zoom);var Ie=ue+ye/2,de,De={ref:de=void 0};je.core.renderLabel(Re,e,J,Fe,0,Ie,me,Math.abs(oe),oe,this.getArgumentText(K,me),Re.core.getTag(me),!0,me,Z,se,De,!1,0),(de=De.ref).isEmpty||(ce=m.union(ce,de)),(0!=oe||je.showZeros)&&(we[Le]=de,xe[Le]=de.y,Ie>=0&&Ie<=90&&_e[0]++,Ie>90&&Ie<=180&&_e[1]++,Ie>180&&Ie<=270&&_e[2]++,Ie>270&&Ie<=360&&_e[3]++)}ue+=ye,me++,(0!=oe||this.series.chart.seriesLabels.showZeros)&&Le++}}catch(e){A={error:e}}finally{try{Te&&!Te.done&&(L=ke.return)&&L.call(ke)}finally{if(A)throw A.error}}}}catch(e){x={error:e}}finally{try{Be&&!Be.done&&(_=Pe.return)&&_.call(Pe)}finally{if(x)throw x.error}}if(0==le.diameter){var Ne=0;Ne=Math.min(Ne,ce.left-Ae.left),Ne=Math.min(Ne,Ae.right-ce.right),Ne=Math.min(Ne,ce.top-Ae.top),z+=Ne=Math.min(Ne,Ae.bottom-ce.bottom)}Le=0;try{for(var Me=__values(o),Ee=Me.next();!Ee.done;Ee=Me.next()){var K,Re=K=Ee.value,me=0;try{for(var Ve=(B=void 0,__values(K.values)),Ge=Ve.next();!Ge.done;Ge=Ve.next()){var oe,ye=ae*(oe=Ge.value),je;if(null!=this.series.chart&&null!=this.series.chart.seriesLabels&&this.series.chart.seriesLabels.visible)if(null!=(je=this.series.chart.seriesLabels.stimulsoft.as(t.IStiPieSeriesLabels))&&je.visible){var Fe=z;this.getPieDistance(me)>0&&(Fe+=Re.distance*e.options.zoom);var Ie=ue+ye/2,de,De={ref:de=void 0};je.core.renderLabel(this.series,e,J,Fe,0,Ie,me,oe,oe,this.getArgumentText(K,me),Re.core.getTag(me),!0,me,Z,se,De,!1,0),de=De.ref,(0!=oe||je.showZeros)&&(we[Le]=de,xe[Le]=de.y)}ue+=ye,me++,(0!=oe||this.series.chart.seriesLabels.showZeros)&&Le++}}catch(e){B={error:e}}finally{try{Ge&&!Ge.done&&(R=Ve.return)&&R.call(Ve)}finally{if(B)throw B.error}}}}catch(e){O={error:e}}finally{try{Ee&&!Ee.done&&(P=Me.return)&&P.call(Me)}finally{if(O)throw O.error}}if(null!=this.series.chart&&null!=this.series.chart.seriesLabels&&(null!=(Oe=this.series.chart.seriesLabels.stimulsoft.as(t.IStiTwoColumnsPieLabels))&&Oe.preventIntersection)){var Xe=0;if(_e[0]>0){Xe=ce.height/2/_e[0],we[0].y=ce.y+ce.height/2+Xe/2-we[0].height/2;for(var ze=1;ze<_e[0];ze++)we[ze].y=we[ze-1].y+Xe}var Je=_e[0];if(_e[1]>0){Xe=ce.height/2/_e[1],we[Je].y=ce.y+ce.height-Xe/2-we[Je].height/2;for(var ze=Je+1;ze0){Xe=ce.height/2/_e[2],we[Je].y=ce.y+ce.height/2-Xe/2-we[Je].height/2;for(var ze=Je+1;ze0){Xe=ce.height/2/_e[3],we[Je].y=ce.y+Xe/2-we[Je].height/2;for(var ze=Je+1;ze0&&(Fe+=fe.distance*e.options.zoom);var Ie=ue+ye/2,dt=0;if(null!=Oe&&Oe.preventIntersection&&(dt+=xe[Le]),0==je.step||me%je.step==0){var de,De={ref:de=void 0},bt=je.core.renderLabel(fe,e,J,Fe,0,Ie,me,Math.abs(oe),oe,this.getArgumentText(K,me),fe.core.getTag(me),!1,tt,Z,se,De,!1,dt);if(de=De.ref,null!=bt&&(n.createChildGeoms(),n.childGeoms.push(bt)),je.stimulsoft.is(t.IStiOutsidePieLabels)&&je.showValue){var vt={ref:de};bt=je.core.renderLabel(fe,e,J,Fe,0,Ie,me,Math.abs(oe),oe,this.getArgumentText(K,me),fe.core.getTag(me),!1,tt,Z,se,vt,!0,0),de=vt.ref,null!=bt&&(n.createChildGeoms(),n.childGeoms.push(bt))}}}}tt++,ue+=ye,me++,(0!=oe||this.series.chart.seriesLabels.stimulsoft.is(t.StiPieSeriesLabels)&&this.series.chart.seriesLabels.showZeros)&&Le++}}catch(e){G={error:e}}finally{try{gt&&!gt.done&&(X=St.return)&&X.call(St)}finally{if(G)throw G.error}}}}catch(e){E={error:e}}finally{try{mt&&!mt.done&&(V=ft.return)&&V.call(ft)}finally{if(E)throw E.error}}n.area.chart.seriesLabels.preventIntersection&&n.area.chart.seriesLabels.stimulsoft.is(t.IStiTwoColumnsPieLabels)&&this.checkIntersectionTwoColumnsLabels(n,Ae)},d.prototype.checkIntersectionTwoColumnsLabels=function(e,r){var i,n,o=e.childGeoms,a=this.getPointCenter(r),s=[],l=[];try{for(var u=__values(o),c=u.next();!c.done;c=u.next()){var h=c.value;h.stimulsoft.is(t.StiSeriesLabelsGeom)&&(h.clientRectangle.x0?360/o:360/a},d.prototype.getPercentPerValue=function(e){var t,r,i,n,o=0;try{for(var a=__values(e),s=a.next();!s.done;s=a.next()){var l=s.value;try{for(var u=(i=void 0,__values(l.values)),c=u.next();!c.done;c=u.next()){var h=c.value;o+=Math.abs(h)}}catch(e){i={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(i)throw i.error}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return 1/o*100},d.prototype.getPointCenter=function(e){return new f(e.width/2,e.height/2)},d.prototype.getRadius=function(e,t){var r=this.series;if(r.diameter>0)return r.diameter/2*e.options.zoom;return.95*Math.min(t.width/2,t.height/2)},d.prototype.getPoint=function(e,t,r){var i=Math.PI*r/180;return new f(e.x+Math.cos(i)*t,e.y+Math.sin(i)*t)},d.prototype.getArgumentText=function(t,r){var i=t.arguments.stimulsoft.getKeys();if(t.arguments.length>r&&null!=t.arguments.stimulsoft.getByIndex(r,i))return t.arguments.stimulsoft.getByIndex(r,i).toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator);return""},d.prototype.getPieDistance=function(e){return this.getPieDistance2(this.series,e)},d.prototype.getPieDistance2=function(e,t){var r,i;if(0==e.distance)return 0;if(0==e.cutPieListValues.length)return e.distance;try{for(var n=__values(e.cutPieListValues),o=n.next();!o.done;o=n.next()){var a;if(o.value==t+1)return e.distance}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}return 0},d.prototype.getSeriesBrush=function(e,t){var r=y.prototype.getSeriesBrush.call(this,e,t);if(null==r)return this.series.brush;return r},d.prototype.getSeriesBorderColor=function(e,t){var r=y.prototype.getSeriesBorderColor.call(this,e,t);if(null==r)return this.series.borderColor;return r},Object.defineProperty(d.prototype,"localizedName",{get:function(){return h.get("Chart","Pie")},enumerable:!1,configurable:!0}),d}(t.StiSeriesCoreXF);t.StiPieSeriesCoreXF=y}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiArcSegmentGeom,i=e.Base.Drawing.StiGradientBrush,n=e.Base.Drawing.StiGlareBrush,o=e.Base.Context.StiLineSegmentGeom,a=e.System.Drawing.Rectangle,s=e.System.TimeSpan,l=e.Base.Drawing.StiSolidBrush,u=e.Base.Localization.StiLocalization,c=e.System.Drawing.Rectangle,h=e.System.Drawing.Point,p=e.System.Drawing.Color,f=e.Base.Context.Animation.StiOpacityAnimation,m=e.Base.Context.StiSeriesInteractionData,S=function(S){function g(e){return S.call(this,e)||this}return __extends(g,S),g.prototype.renderDoughnutElement=function(e,a,l,u,h,m,S,g,y,d,b,v,C,w){if(u<0&&(u=1),0==g||isNaN(g))return null;var x=new c(a.x-l,a.y-l,2*l,2*l),_=new c(a.x-u,a.y-u,2*u,2*u);if(x.width<=0&&x.height<=0)return null;v||(m.stimulsoft.is(i)&&((m=m.clone()).angle=-45),m.stimulsoft.is(n)&&((m=m.clone()).angle=-45));var A=[],L=null,O=null,P=null,B=null,R=0;b.lighting&&!v&&(P=[],B=[],R=.02*l,L=new i(p.fromArgb(100,p.white),p.fromArgb(50,p.black),45),O=new i(p.fromArgb(50,p.black),p.fromArgb(100,p.white),45));var k=this.series.chart,T;if(A.push(new r(x,S,g)),g-S!=360&&A.push(new o(this.getPoint(a,l,S+g),this.getPoint(a,u,S+g))),A.push(new r(_,S+g,-g)),g-S!=360&&A.push(new o(this.getPoint(a,u,S),this.getPoint(a,l,S))),v)if(k.isAnimation){var j=new f(s.fromSeconds(1),w);e.fillDrawAnimationPath(m,null,A,x,null,j,null)}else e.fillPath(m,A,x,null);if(null==L||v||(P.push(new o(this.getPoint(a,l-R,S),this.getPoint(a,l,S))),P.push(new r(x,S,g)),P.push(new o(this.getPoint(a,l,S+g),this.getPoint(a,l-R,S+g))),P.push(new r(new c(x.x+R,x.y+R,x.width-2*R,x.height-2*R),S+g,-g)),B.push(new o(this.getPoint(a,u+R,S),this.getPoint(a,u,S))),B.push(new r(_,S,g)),B.push(new o(this.getPoint(a,u,S+g),this.getPoint(a,u+R,S+g))),B.push(new r(new c(_.x-R,_.y-R,_.width+2*R,_.height+2*R),S+g,-g))),!v)return new t.StiDoughnutSeriesElementGeom(C,y,d,b,x,A,P,B,h,m,L,O,S,S+g,l,u,w);return null},g.prototype.isNotNullValues=function(e){var t,r,i,n;try{for(var o=__values(e),a=o.next();!a.done;a=o.next()){var s=a.value;try{for(var l=(i=void 0,__values(s.values)),u=l.next();!u.done;u=l.next()){var c;if(null!=u.value)return!0}}catch(e){i={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(i)throw i.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!1},g.prototype.renderSeries=function(e,r,i,n){var o,u,f,S,g,y,d,b,v,C,w,x,_,A,L,O,P,B,R,k,T=this.getRadius(e,r),j=this.getPointCenter(r);if(null==n||0==n.length||null==this.series.chart||null!=n&&!this.isNotNullValues(n))return i.createChildGeoms(),void i.childGeoms.push(new t.StiDoughnutEmptySeriesElementGeom(new a(j.x-T,j.y-T,2*T,2*T)));var F=t.StiChartHelper.globalDurationElement,I=t.StiChartHelper.globalBeginTimeElement,D=T/(n.length+1),N=D,M=0;try{for(var E=__values(n),V=E.next();!V.done;V=E.next()){var G;null!=(G=V.value).values&&(M+=G.values.length),N+=0!=G.width?G.width:D}}catch(e){o={error:e}}finally{try{V&&!V.done&&(u=E.return)&&u.call(E)}finally{if(o)throw o.error}}if(N=G.values.length)continue;var oe=0!=G.width?Y-G.width:Y-D,Oe;null!=(Oe=this.renderDoughnutElement(e,j,Y,oe,Le,Ae,0,360,G.values[Ce],Ce,G,!1,i,new s(I.ticks)))&&(i.createChildGeoms(),i.childGeoms.push(Oe)),Y-=1.2*D;continue}var U=0;try{for(var Pe=(L=void 0,__values(G.values)),Be=Pe.next();!Be.done;Be=Pe.next()){var ee=Be.value,re=K*Math.abs(ee);if(0!=ee){var Ae=G.brush;G.allowApplyStyle&&(Ae=G.core.getSeriesBrush(z,M),Ae=G.processSeriesBrushes(z,Ae));var Le=G.borderColor;G.allowApplyBorderColor&&(Le=G.core.getSeriesBorderColor(z,M));var oe=0!=G.width?Y-G.width:Y-D,Oe;if(null!=(Oe=this.renderDoughnutElement(e,j,Y,oe,Le,Ae,W,re,Math.abs(ee),U,G,!1,i,new s(I.ticks/G.values.length*z)))){if(null!=G.core.interaction){var Re=new m;Re.fill(i.area,G,U),Oe.interaction=Re}i.createChildGeoms(),i.childGeoms.push(Oe)}W+=re}z++,U++}}catch(e){L={error:e}}finally{try{Be&&!Be.done&&(O=Pe.return)&&O.call(Pe)}finally{if(L)throw L.error}}}Y-=0!=G.width?G.width+.2*D:1.2*D}}catch(e){w={error:e}}finally{try{be&&!be.done&&(x=de.return)&&x.call(de)}finally{if(w)throw w.error}}z=0,Y=T;try{for(var ke=__values(n),Te=ke.next();!Te.done;Te=ke.next()){var G=Te.value,U=0;W=G.startAngle;var K=this.getGradPerValue([G]);try{for(var je=(R=void 0,__values(G.values)),Fe=je.next();!Fe.done;Fe=je.next()){var ee=Fe.value,te=this.getPercentPerValue([G]),re=K*Math.abs(ee),ie=null,ne;if(G.showSeriesLabels==t.StiShowSeriesLabels.FromChart&&(ie=this.series.chart.seriesLabels),G.showSeriesLabels==t.StiShowSeriesLabels.FromSeries&&(ie=X.seriesLabels),null!=this.series.chart&&null!=ie&&ie.visible)if(null!=(ne=ie.stimulsoft.as(t.IStiPieSeriesLabels))&&ne.visible&&(0==ne.step||U%ne.step==0)){var ae=void 0,oe=0!=G.width?Y-G.width:Y-D,se={ref:ae},Ie=ne.core.renderLabel(G,e,j,Y,oe,W+re/2,U,Math.abs(ee),ee,this.getArgumentText(G,U),this.getTag(U),!1,z,M,te,se,!1,0);ae=se.ref,null!=Ie&&(Ie.duration=F,Ie.beginTime=new s(I.ticks/G.values.length*z),i.createChildGeoms(),i.childGeoms.push(Ie))}z++,W+=re,U++}}catch(e){R={error:e}}finally{try{Fe&&!Fe.done&&(k=je.return)&&k.call(je)}finally{if(R)throw R.error}}Y-=0!=G.width?G.width+.2*D:1.2*D}}catch(e){P={error:e}}finally{try{Te&&!Te.done&&(B=ke.return)&&B.call(ke)}finally{if(P)throw P.error}}},g.prototype.getGradPerValue=function(e){var t,r,i=0;try{for(var n=__values(e[0].values),o=n.next();!o.done;o=n.next()){var a=o.value;i+=Math.abs(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return 360/i},g.prototype.getPercentPerValue=function(e){var t,r,i=0;try{for(var n=__values(e[0].values),o=n.next();!o.done;o=n.next()){var a=o.value;i+=Math.abs(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return 1/i*100},g.prototype.getArgumentText=function(t,r){if(t.arguments.length>r)return t.arguments[r].toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator);return""},Object.defineProperty(g.prototype,"localizedName",{get:function(){return u.get("Chart","Doughnut")},enumerable:!1,configurable:!0}),g}(t.StiPieSeriesCoreXF);t.StiDoughnutSeriesCoreXF=S}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.TimeSpan,i=e.Base.Drawing.StiSolidBrush,n=e.Base.Drawing.StiBrush,o=e.Base.Localization.StiLocalization,a=e.System.Drawing.Rectangle,s=e.System.Drawing.Color,l=e.Base.Context.StiSeriesInteractionData,u=function(e){function u(t){return e.call(this,t)||this}return __extends(u,e),u.prototype.applyStyle=function(t,r){if(e.prototype.applyStyle.call(this,t,r),this.series.allowApplyStyle){var i=t.core.getColumnBrush(r);this.series.brush=i;var o=t.core.getColumnBorder(r);s.transparent.stimulsoft.equals(o)&&(o=n.toColor(i)),this.series.borderColor=o}},u.prototype.renderSeries=function(e,n,o,s){var u,c,h,p,f,m;if(null==s||0==s.length||null==this.series.chart)return;var S=o.area,g=S.axisCore.getDividerY(),y=t.StiChartHelper.globalBeginTimeElement;try{for(var d=__values(s),b=d.next();!b.done;b=d.next())for(var v=b.value,C=v.valuesOpen,w=v.valuesClose,x=v.valuesHigh,_=v.valuesLow,A=Math.min(Math.min(C.length,w.length),Math.min(x.length,_.length)),L=v.arguments.length,O=Math.min(A,L),P=v.arguments.stimulsoft.getKeys(),B=0;Bk?(E=v.brush,V=v.borderColor,TR&&(j=R),k>T&&(T=k),R=w[B],k=C[B]),S.reverseVert&&R>k){var G=R;R=k,k=G,G=j,j=T,T=G}var X=S.yAxis.info.dpi,z=Math.abs(g-R*X),J=Math.abs(g-k*X),H=Math.abs(g-T*X),W=Math.abs(g-j*X),Y=F*M,Z=new a(Y-M/4,z,M/2,J-z);E=v.processSeriesBrushes(B,E);var q=new t.StiCandlestickSeriesElementGeom(o,v,Z,z,J,H,W,Y,F-1,E,V,new r(y.ticks/A*B));if(null!=q&&null!=v.core.interaction){var U=new l;U.fill(o.area,v,B),q.interaction=U}o.createChildGeoms(),o.childGeoms.push(q)}}catch(e){u={error:e}}finally{try{b&&!b.done&&(c=d.return)&&c.call(d)}finally{if(u)throw u.error}}},Object.defineProperty(u.prototype,"localizedName",{get:function(){return o.get("Chart","Candlestick")},enumerable:!1,configurable:!0}),u}(t.StiSeriesCoreXF);t.StiCandlestickSeriesCoreXF=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.TimeSpan,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Rectangle,o=e.Base.Context.StiSeriesInteractionData,a=function(e){function a(t){return e.call(this,t)||this}return __extends(a,e),a.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r),this.series.allowApplyStyle&&(this.series.lineColor=r)},a.prototype.renderSeries=function(e,i,a,s){var l,u,c,h,p,f;if(null==s||0==s.length||null==this.series.chart)return;var m=a.area,S=m.axisCore.getDividerY(),g=t.StiChartHelper.globalBeginTimeElement;try{for(var y=__values(s),d=y.next();!d.done;d=y.next())for(var b=d.value,v=b.valuesOpen,C=b.valuesClose,w=b.valuesHigh,x=b.valuesLow,_=Math.min(Math.min(v.length,C.length),Math.min(w.length,x.length)),A=b.arguments.length,L=Math.min(_,A),O=0;O0?P+=j:B+=j}if(x.series.stimulsoft.is(t.IStiFullStackedBarSeries)){var F=m.reverseHor?f:c,I=m.reverseHor?c:f;if(F>0&&I>0){var D=new s(-8,O,r.width+8,L),N=new t.StiStackedBarSeriesShadowElementGeom(a[0],D,!1,!1);i.createChildGeoms(),i.childGeoms.push(N)}else if(F>0){var D=new s(m.axisCore.getDividerX()-8,O,r.width-m.axisCore.getDividerX()+8,L),N=new t.StiStackedBarSeriesShadowElementGeom(a[0],D.clone(),!1,!1);i.createChildGeoms(),i.childGeoms.push(N)}else if(I>0){var D=new s(-8,O,m.axisCore.getDividerX()+8,L),N=new t.StiStackedBarSeriesShadowElementGeom(a[0],D.clone(),!1,!1);i.createChildGeoms(),i.childGeoms.push(N)}}else{if(P>0){var D;(D=new s(g,O,P*b,L)).x-=7,D.width+=7;var N=new t.StiStackedBarSeriesShadowElementGeom(a[0],D,!1,!0);i.createChildGeoms(),i.childGeoms.push(N)}if(B<0){var D=new s(g+B*b,O,-B*b,L),N=new t.StiStackedBarSeriesShadowElementGeom(a[0],D,!0,!1);i.createChildGeoms(),i.childGeoms.push(N)}}}P=0,B=0;for(var M=function(S){var C=a[S];if(u0?m.axisCore.getDividerX()/f:(r.width-m.axisCore.getDividerX())/c)),m.reverseHor&&null!=_&&(_=-_);var R=_*b,k=-R+g;_>0?k-=P:(k=B+g,R=-R),!C.showZeros||0!=_&&null!=_||(R=Math.max(e.options.zoom,1),m.reverseHor||(k-=R));var T=new s(k,O,R,L);T=x.correctRect(T,r.clone());var j=i.view.clientRectangle.clone();j.x=0,j.y=0;var F=T.clone();if(F.x+=i.clientRectangle.x,F.y+=i.clientRectangle.y,F.bottom>j.y&&F.y0&&(I=C.brushNegative),I=C.processSeriesBrushes(v-1-u,I);var D=t.StiChartHelper.globalBeginTimeElement;if(0!=T.height&&Math.round2(T.width,2)>0&&null!=I){var N=C.core.getSeriesBorderColor(y,d),M=new t.StiStackedBarSeriesElementGeom(i,_,u,I,N,C,T,new n(D.ticks/m.core.valuesCount*u));if(null!=C.core.interaction){var E=new l;E.fill(m,C,v-1-u),M.interaction=E}p.push(M)}var V=C.core.getSeriesLabels();if(null!=V&&V.visible&&Math.round2(T.width,2)>0){var G=new o(T.x,T.y+T.height/2),X=new o(T.right,T.y+T.height/2);if(_<0&&(X.x=T.x,G.x=T.right),_<0&&(X.x=T.x,G.x=T.right),0==V.step||u%V.step==0){var z=m.xAxis.info.stripLines.count>u?m.xAxis.info.stripLines.getByIndex(u):null,J=_;C.stimulsoft.as(t.StiSeries).isTotalLabel&&(J=w=A);var H=V.core.renderLabel(C,e,G,X,u,J,w,m.axisCore.getArgumentLabel(z,C),C.core.getTag(u),y,d,r);null!=H&&h.push(H)}}}_>0?P+=R:B+=R,y++}},k=0;k=0;L--){var O=p[L];i.createChildGeoms(),i.childGeoms.push(O)}try{for(var P=__values(h),B=P.next();!B.done;B=P.next()){var R=B.value;i.createChildGeoms(),i.childGeoms.push(R),R.clientRectangle=this.checkLabelsRect(R.seriesLabels,i,R.clientRectangle.clone())}}catch(e){u={error:e}}finally{try{B&&!B.done&&(c=P.return)&&c.call(P)}finally{if(u)throw u.error}}},u.prototype.calculateTotalWidth=function(e,r,i,n){var o,a,s=0,l=0;if(this.series.stimulsoft.is(t.IStiFullStackedBarSeries))try{for(var u=__values(e),c=u.next();!c.done;c=u.next()){var h=c.value;if(r0?s+=p:l+=Math.abs(p)}}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}i.ref=s,n.ref=l},u.prototype.correctRect=function(e,t){if(e.x>t.width||e.right<0)return e.width=0,e;if(e.x<0){var r=-e.x;e.x+=r,e.width-=r}if(e.right>t.width){var r=e.right-t.width;e.width-=r}return e},u.prototype.getSeriesBrush=function(t,r){var i=this.series,n=e.prototype.getSeriesBrush.call(this,t,r);if(null==n)return i.brush;return n},u.prototype.getSeriesBorderColor=function(t,r){var i=this.series,n=e.prototype.getSeriesBorderColor.call(this,t,r);if(null==n)return i.borderColor;return n},Object.defineProperty(u.prototype,"localizedName",{get:function(){return a.get("Chart","StackedBar")},enumerable:!1,configurable:!0}),u}(t.StiSeriesCoreXF);t.StiStackedBarSeriesCoreXF=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return r.get("Chart","FullStackedBar")},enumerable:!1,configurable:!0}),t}(t.StiStackedBarSeriesCoreXF);t.StiFullStackedBarSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.System.Collections.Hashtable,n=e.Base.Context.StiPenGeom,o=e.Base.Drawing.StiColorUtils,a=e.Base.Drawing.StiSolidBrush,s=e.System.Drawing.Color,l=e.System.Drawing.Point,u=e.Base.Context.StiSeriesInteractionData,c=function(e){function c(t){return e.call(this,t)||this}return __extends(c,e),c.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r);var i=this.series;i.allowApplyStyle&&(i.lineColor=r,i.lighting=t.core.seriesLighting,i.marker.visible=t.core.markerVisible,null!=i.marker&&(i.marker.brush=new a(o.light(r,100)),i.marker.borderColor=o.dark(r,100)),null!=i.lineMarker&&(i.lineMarker.brush=new a(o.light(r,50)),i.lineMarker.borderColor=o.dark(r,150)))},c.prototype.clipLinePoints=function(e,t,i,n,o,a,s,u){var c,h,p=o.ref,f=a.ref,m=s.ref,S=u.ref;if(this.series.chart.area.xAxis.range.auto)return m=0,S=i.length,p=i,f=n,o.ref=p,a.ref=f,s.ref=m,void(u.ref=S);m=-1,S=-1;var g=t.view.clientRectangle.clone();g.x=0,g.y=0;var y=0;try{for(var d=__values(i),b=d.next();!b.done;b=d.next()){var v=b.value,C=new l(v.x,v.y);if(C.x+=t.clientRectangle.x,C.y+=t.clientRectangle.y,g.x<=C.x&&C.x=i.length&&(S=i.length-1);var w=S-m+1;if(w==i.length)return p=i,f=n,o.ref=p,a.ref=f,s.ref=m,void(u.ref=S);p=r.create(l,w,!0),r.copy(i,m,p,w),null!=n?(f=r.create(l,w,!0),r.copy(n,m,f,w)):f=null,o.ref=p,a.ref=f,s.ref=m,u.ref=S},c.prototype.renderMarkers=function(e,r,i){var o,c,h=r.area,p=this.series;if(0==i.length)return;var f=!p.marker.visible&&p.toolTips.length>0;if(null!=p.marker&&(p.marker.visible||f)){var m=new a(s.fromArgb(55,s.black)),S=new n(p.marker.borderColor),g=0;try{for(var y=__values(i),d=y.next();!d.done;d=y.next()){var b=d.value;if(null!=b){var v=h.reverseHor?this.series.values[this.series.values.length-g-1]:this.series.values[g];null==v&&p.showNulls&&(v=0);var C=r.view.clientRectangle.clone();C.x=0,C.y=0,C.inflate(10,10);var w=new l(b.x,b.y);if(w.x+=r.clientRectangle.x,w.y+=r.clientRectangle.y,C.contains(w.x,w.y)){var x=new t.StiMarkerGeom(this.series,g,v,b,p.marker,this.series.showShadow,e.options.zoom,f);if(null!=x){if(null!=p.core.interaction){var _=new u;_.fill(h,p,g),x.interaction=_}r.createChildGeoms(),r.childGeoms.push(x)}}}g++}}catch(e){o={error:e}}finally{try{d&&!d.done&&(c=y.return)&&c.call(y)}finally{if(o)throw o.error}}}},c.prototype.renderLines=function(e,t,r){},c.prototype.renderAreas=function(e,t,r,i){},c.prototype.renderSeries=function(e,n,o,a){var s,u,c,h,p=this.series,f=[],m=o.area;if(null==a||0==a.length||null==this.series.chart)return;var S=m,g=this.series.yAxis==t.StiSeriesYAxis.LeftYAxis?S.axisCore.getDividerY():S.axisCore.getDividerRightY(),y=S.xAxis.core.getStartFromZero(),d=new i,b=new i,v=[],C=S.yAxis.info.dpi;this.series.yAxis==t.StiSeriesYAxis.RightYAxis&&(C=S.yRightAxis.info.dpi);for(var w=0;w=0?g/R:(n.height-g)/k)),S.reverseVert&&null!=B&&(B=-B);var F=-B*C,I=0;B>=0?null!=d.get(O)&&(I=d.get(O)):null!=b.get(O)&&(I=b.get(O)),F+=I,B>=0?d.set(O,F):b.set(O,F),L[O]=new l(P,I+g),A[O]=new l(P,F+g)}else L[O]=null,A[O]=null}if(A.length>0&&L.length>0){var D,N,M=null,E,V={ref:M},G={ref:E=null},X={ref:D=void 0},z={ref:N=void 0};this.clipLinePoints(e,o,L,A,V,G,X,z),M=V.ref,E=G.ref,D=X.ref,N=z.ref,x.core.renderAreas(e,o,M,E)}v.push(A)}for(var J=0,H=r.create(Number,S.axisCore.valuesCount),W=r.create(Number,S.axisCore.valuesCount),O=0;O0?($=H[O],null!=q[O]&&(H[O]=q[O].y)):($=W[O],null!=q[O]&&(W[O]=q[O].y));var ee=B;S.reverseVert&&null!=B&&(ee=-ee);var te=q[O];if(null!=te){var re=new l(te.x,$),ie;if(0==Q.step||O%Q.step==0)null!=(ie=Q.core.renderLabel(x,e,te,re,O,ee,B,S.axisCore.getArgumentLabel(S.xAxis.info.stripLines.getByIndex(O),x),x.core.getTag(O),0,1,n))&&f.push(ie)}}J++}}catch(e){s={error:e}}finally{try{Z&&!Z.done&&(u=Y.return)&&u.call(Y)}finally{if(s)throw s.error}}try{for(var ne=__values(f),oe=ne.next();!oe.done;oe=ne.next()){var ie=oe.value;o.createChildGeoms(),o.childGeoms.push(ie),ie.clientRectangle=this.checkLabelsRect(ie.seriesLabels,o,ie.clientRectangle.clone())}}catch(e){c={error:e}}finally{try{oe&&!oe.done&&(h=ne.return)&&h.call(ne)}finally{if(c)throw c.error}}},c.prototype.calculateTotalHeight=function(e,t,r,i){var n,o,a=this.series,s=0,l=0;if(a.core.isFullStacked)try{for(var u=__values(e),c=u.next();!c.done;c=u.next()){var h=c.value;if(t0?s+=p:l+=Math.abs(p)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}r.ref=s,i.ref=l},c.prototype.correctPoint=function(e,t){if(e.y<0)return new l(e.x,0);if(e.y>t.height)return new l(e.x,t.height);return e},c.prototype.getSeriesBrush=function(t,r){var i=this.series,n=e.prototype.getSeriesBrush.call(this,t,r);if(null==n)return new a(o.dark(i.lineColor,20));return n},c.prototype.getSeriesBorderColor=function(t,r){var i=this.series,n=e.prototype.getSeriesBorderColor.call(this,t,r);if(null==n)return i.lineColor;return n},Object.defineProperty(c.prototype,"isFullStacked",{get:function(){return this.stimulsoft.is(t.StiFullStackedAreaSeriesCoreXF)||this.stimulsoft.is(t.StiFullStackedLineSeriesCoreXF)||this.stimulsoft.is(t.StiFullStackedSplineSeriesCoreXF)||this.stimulsoft.is(t.StiFullStackedSplineAreaSeriesCoreXF)},enumerable:!1,configurable:!0}),c}(t.StiSeriesCoreXF);t.StiStackedBaseLineSeriesCoreXF=c}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.renderLines=function(e,r,i){if(null==i||i.length<=1)return;var n=new t.StiStackedLineSeriesGeom(r,i,this.series);null!=n&&(r.createChildGeoms(),r.childGeoms.push(n)),this.renderMarkers(e,r,i)},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","StackedLine")},enumerable:!1,configurable:!0}),i}(t.StiStackedBaseLineSeriesCoreXF);t.StiStackedLineSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r);var i=this.series;i.allowApplyStyle&&(i.brush=t.core.getAreaBrush(r))},i.prototype.renderAreas=function(e,r,i,n){if(null==i||i.length<=1)return;if(null==n||n.length<=1)return;var o=new t.StiStackedAreaSeriesGeom(r,i,n,this.series);null!=o&&(r.createChildGeoms(),r.childGeoms.push(o))},i.prototype.getSeriesBrush=function(t,r){var i=this.series,n=e.prototype.getSeriesBrush.call(this,t,r);if(null==n)return i.brush;return n},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","StackedArea")},enumerable:!1,configurable:!0}),i}(t.StiStackedLineSeriesCoreXF);t.StiStackedAreaSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return r.get("Chart","FullStackedArea")},enumerable:!1,configurable:!0}),t}(t.StiStackedAreaSeriesCoreXF);t.StiFullStackedAreaSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.TimeSpan,i=e.System.Drawing.Point,n=e.Base.Localization.StiLocalization,o=e.System.Drawing.Rectangle,a=e.Base.Context.StiSeriesInteractionData,s=function(e){function s(t){return e.call(this,t)||this}return __extends(s,e),s.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r);var i=this.series;i.allowApplyStyle&&(i.brush=t.core.getColumnBrush(r),i.borderColor=t.core.getColumnBorder(r))},s.prototype.renderSeries=function(e,n,s,l){var u,c;if(null==l||0==l.length||null==this.series.chart)return;var h=[],p=[],f,m=s.area,S=this.series,g=m.xAxis.core.getStartFromZero(),y=m.axisCore.getDividerY(),d=0,b=m.axisCore.valuesCount*l.length,v=m.yAxis.info.dpi;this.series.yAxis==t.StiSeriesYAxis.RightYAxis&&(v=m.yRightAxis.info.dpi);for(var C=function(u){var c=0,f=0,C={ref:c},x={ref:f};w.calculateTotalHeight(l,u,C,x),c=C.ref,f=x.ref;var _=g?m.xAxis.info.stripPositions[u+1]:m.xAxis.info.stripPositions[u];_-=m.xAxis.info.step/2;var A=m.xAxis.info.step-m.xAxis.info.step*(1-S.width),L=_+(m.xAxis.info.step-A)/2,O=0,P=0,B;if(0==l.length)return{value:void 0};if(l[0].showShadow){for(var R=0;R0?O+=T:P+=T)}if(w.stimulsoft.is(t.StiFullStackedColumnSeriesCoreXF)){var j=m.reverseVert?f:c,F=m.reverseVert?c:f;if(j>0&&F>0){var I=new o(L,-8,A,n.height+8),D=new t.StiStackedColumnSeriesShadowElementGeom(l[0],I,!1,!1);s.createChildGeoms(),s.childGeoms.push(D)}else if(j>0){var I=new o(L,-8,A,m.axisCore.getDividerY()+8),D=new t.StiStackedColumnSeriesShadowElementGeom(l[0],I,!1,!1);s.createChildGeoms(),s.childGeoms.push(D)}else if(F>0){var I=new o(L,m.axisCore.getDividerY()-8,A,n.height-m.axisCore.getDividerY()+8),D=new t.StiStackedColumnSeriesShadowElementGeom(l[0],I,!1,!1);s.createChildGeoms(),s.childGeoms.push(D)}}else{if(O>0){var I=new o(L,-O*v+y,A,O*v),D=new t.StiStackedColumnSeriesShadowElementGeom(l[0],I,!0,!1);s.createChildGeoms(),s.childGeoms.push(D)}if(P<0){var I;(I=new o(L,y,A,-P*v)).y-=7,I.height+=7;var D=new t.StiStackedColumnSeriesShadowElementGeom(l[0],I,!1,!0);s.createChildGeoms(),s.childGeoms.push(D)}}}O=0,P=0;for(var N=t.StiChartHelper.globalBeginTimeElement,M=function(g){var C=l[g];if(u=0?m.axisCore.getDividerY()/c:(n.height-m.axisCore.getDividerY())/f)),m.reverseVert&&null!=x&&(x=-x);var B=x*v,R=-B+y;x>0?R-=O:(R=P+y,B=-B),!S.showZeros||0!=x&&null!=x||(B=Math.max(e.options.zoom,1),m.reverseVert||(R-=B));var k=new o(L,R,A,B);k=w.correctRect(k,n);var T=s.view.clientRectangle.clone();T.x=0,T.y=0;var j=k.clone();if(j.x+=s.clientRectangle.x,j.y+=s.clientRectangle.y,j.right>T.x&&j.x0&&null!=F){var I=C.core.getSeriesBorderColor(d,b),D=new t.StiStackedColumnSeriesElementGeom(s,x,u,F,I,C,k,new r(N.ticks/m.core.valuesCount*u));if(null!=C.core.interaction){var M=new a;M.fill(m,C,u),D.interaction=M}p.push(D)}var E=C.core.getSeriesLabels();if(null!=E&&E.visible&&Math.round2(k.height,2)>0){var V=new i(k.x+k.width/2,k.y),G=new i(k.x+k.width/2,k.bottom),X=C.values[u];if(m.reverseVert&&null!=X&&(X=-x),x<0&&(G.y=k.y,V.y=k.bottom),0==E.step||u%E.step==0){var z=x;C.stimulsoft.as(t.StiSeries).isTotalLabel&&(z=X=_);var J=E.core.renderLabel(C,e,V,G,u,z,X,m.axisCore.getArgumentLabel(m.xAxis.info.stripLines.getByIndex(u),C),C.core.getTag(u),d,b,n);null!=J&&h.push(J)}}}x>0?O+=B:P+=B,d++}},R=0;R=0;A--){var L=p[A];s.createChildGeoms(),s.childGeoms.push(L)}try{for(var O=__values(h),P=O.next();!P.done;P=O.next()){var B=P.value;s.createChildGeoms(),s.childGeoms.push(B),B.clientRectangle=this.checkLabelsRect(B.seriesLabels,s,B.clientRectangle.clone())}}catch(e){u={error:e}}finally{try{P&&!P.done&&(c=O.return)&&c.call(O)}finally{if(u)throw u.error}}},s.prototype.calculateTotalHeight=function(e,r,i,n){var o,a,s=0,l=0;if(this.series.stimulsoft.is(t.IStiFullStackedColumnSeries))try{for(var u=__values(e),c=u.next();!c.done;c=u.next()){var h=c.value;if(r0?s+=p:l+=Math.abs(p)}}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}i.ref=s,n.ref=l},s.prototype.correctRect=function(e,t){if(e.y>t.height||e.bottom<0)return e.height=0,e;if(e.top<0){var r=-e.top;e.y+=r,e.height-=r}if(e.bottom>t.height){var r=e.bottom-t.height;e.height-=r}return e},s.prototype.getSeriesBrush=function(t,r){var i=this.series,n=e.prototype.getSeriesBrush.call(this,t,r);if(null==n)return i.brush;return n},s.prototype.getSeriesBorderColor=function(t,r){var i=this.series,n=e.prototype.getSeriesBorderColor.call(this,t,r);if(null==n)return i.borderColor;return n},Object.defineProperty(s.prototype,"localizedName",{get:function(){return n.get("Chart","StackedColumn")},enumerable:!1,configurable:!0}),s}(t.StiSeriesCoreXF);t.StiStackedColumnSeriesCoreXF=s}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return r.get("Chart","FullStackedColumn")},enumerable:!1,configurable:!0}),t}(t.StiStackedColumnSeriesCoreXF);t.StiFullStackedColumnSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return r.get("Chart","FullStackedLine")},enumerable:!1,configurable:!0}),t}(t.StiStackedLineSeriesCoreXF);t.StiFullStackedLineSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.renderLines=function(e,r,i){if(null==i||i.length<=1)return;var n=new t.StiStackedSplineSeriesGeom(r,i,this.series);r.createChildGeoms(),r.childGeoms.push(n),this.renderMarkers(e,r,i)},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","StackedSpline")},enumerable:!1,configurable:!0}),i}(t.StiStackedBaseLineSeriesCoreXF);t.StiStackedSplineSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r);var i=this.series;i.allowApplyStyle&&(i.brush=t.core.getAreaBrush(r))},i.prototype.renderAreas=function(e,r,i,n){if(null==i||i.length<=1)return;if(null==n||n.length<=1)return;var o=new t.StiStackedSplineAreaSeriesGeom(r,i,n,this.series);null!=o&&(r.createChildGeoms(),r.childGeoms.push(o))},i.prototype.getSeriesBrush=function(t,r){var i=this.series,n=e.prototype.getSeriesBrush.call(this,t,r);if(null==n)return i.brush;return n},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","StackedSplineArea")},enumerable:!1,configurable:!0}),i}(t.StiStackedSplineSeriesCoreXF);t.StiStackedSplineAreaSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return r.get("Chart","FullStackedSplineArea")},enumerable:!1,configurable:!0}),t}(t.StiStackedSplineAreaSeriesCoreXF);t.StiFullStackedSplineAreaSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return r.get("Chart","FullStackedSpline")},enumerable:!1,configurable:!0}),t}(t.StiStackedSplineSeriesCoreXF);t.StiFullStackedSplineSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiCloseFigureSegmentGeom,i=e.Base.Context.StiLinesSegmentGeom,n=e.System.TimeSpan,o=e.System.Drawing.Point,a=e.Base.Localization.StiLocalization,s=e.System.Collections.List,l=e.Base.Context.StiSeriesInteractionData,u=function(u){function c(e){return u.call(this,e)||this}return __extends(c,u),c.prototype.applyStyle=function(e,t){u.prototype.applyStyle.call(this,e,t);var r=this.series;r.allowApplyStyle&&(r.brush=e.core.getColumnBrush(t),r.borderColor=e.core.getColumnBorder(t))},c.prototype.isNotNullValues=function(e){var t,r,i,n;try{for(var o=__values(e),a=o.next();!a.done;a=o.next()){var s=a.value;try{for(var l=(i=void 0,__values(s.values)),u=l.next();!u.done;u=l.next()){var c;if(null!=u.value)return!0}}catch(e){i={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(i)throw i.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!1},c.prototype.renderSeries=function(e,r,i,o){var a,s,u,c,h,p,f,m;if(null==o||0==o.length||null==this.series.chart||null!=o&&!this.isNotNullValues(o))return void this.renderFunnelEmpty(i,r);var S=o.stimulsoft.toList().cast().stimulsoft.toArray(),g=this.getAllValues(S),y=this.getAllTrueValues(S),d=0;try{for(var b=__values(o),v=b.next();!v.done;v=b.next()){var C;if(null!=(C=v.value).values)try{for(var w=(u=void 0,__values(C.values)),x=w.next();!x.done;x=w.next()){var _;if(0==(_=x.value)&&!C.stimulsoft.as(t.IStiFunnelSeries).showZeros)continue;d++}}catch(e){u={error:e}}finally{try{x&&!x.done&&(c=w.return)&&c.call(w)}finally{if(u)throw u.error}}}}catch(e){a={error:e}}finally{try{v&&!v.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}if(0==d)return void this.renderFunnelEmpty(i,r);var A=this.getSingleValueHeight(d,r),L=this.getSingleValueWidth(g,r);this.labels=this.series.chart.seriesLabels.stimulsoft.as(t.IStiFunnelSeriesLabels);var O=r.clone(),P=r.clone();try{for(var B=__values(o),R=B.next();!R.done;R=B.next()){var C,k=C=R.value;if(null!=this.labels&&this.labels.visible){for(var T=0;TT){var _=k.values[T],j=T==k.values.length-1?_:k.values[T+1];if(0==this.labels.step||T%this.labels.step==0){var F={ref:O},I=this.labels.core.renderLabel(C,e,T,_,j,this.getArgumentText(C,T),C.core.getTag(T),0,d,r,A,L,1,F);P=(O=F.ref).widthr&&null!=t.arguments.stimulsoft.getByIndex(r,i))return t.arguments.stimulsoft.getByIndex(r,i).toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator);return""},c.prototype.renderFunnelEmpty=function(e,r){for(var i=[3,2,1],n=.9*r.height/i.length,o=.9*r.width/i.length,a=0;as?n:s}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return.9*t.width/n},c.prototype.measureFunnelElementCore=function(e,n,a,l,u,c){var h=new s,p=.05*l.height,f;f=null!=this.labels&&this.labels.stimulsoft.is(t.StiOutsideLeftFunnelLabels)?l.width/2+l.x:l.width/2;var m=new o(f-e/2*c,u*a+p),S,g,y,d=[m,new o(f+e/2*c,u*a+p),new o(f+n/2*c,u*(a+1)+p),new o(f-n/2*c,u*(a+1)+p),m];return h.push(new i(d)),h.push(new r),h},Object.defineProperty(c.prototype,"localizedName",{get:function(){return a.get("Chart","Funnel")},enumerable:!1,configurable:!0}),c}(t.StiSeriesCoreXF);t.StiFunnelSeriesCoreXF=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiCloseFigureSegmentGeom,i=e.Base.Context.StiLinesSegmentGeom,n=e.System.TimeSpan,o=e.System.Drawing.Point,a=e.Base.Localization.StiLocalization,s=e.System.Collections.List,l=e.Base.Context.StiSeriesInteractionData,u=function(u){function c(e){return u.call(this,e)||this}return __extends(c,u),c.prototype.applyStyle=function(e,t){u.prototype.applyStyle.call(this,e,t);var r=this.series;r.allowApplyStyle&&(r.brush=e.core.getColumnBrush(t),r.borderColor=e.core.getColumnBorder(t))},c.prototype.isNotNullValues=function(e){var t,r,i,n;try{for(var o=__values(e),a=o.next();!a.done;a=o.next()){var s=a.value;try{for(var l=(i=void 0,__values(s.values)),u=l.next();!u.done;u=l.next()){var c;if(null!=u.value)return!0}}catch(e){i={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(i)throw i.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!1},c.prototype.renderSeries=function(e,r,i,o){var a,u,c,h,p,f,m,S;if(null==o||0==o.length||null==this.series.chart||null!=o&&!this.isNotNullValues(o))return void this.renderFunnelEmpty(i,r);var g=o.stimulsoft.toList().cast().stimulsoft.toArray(),y=0;try{for(var d=__values(o),b=d.next();!b.done;b=d.next()){var v;if(null!=(v=b.value).values)try{for(var C=(c=void 0,__values(v.values)),w=C.next();!w.done;w=C.next()){var x;if(0==(x=w.value)&&!v.stimulsoft.as(t.IStiFunnelSeries).showZeros)continue;y++}}catch(e){c={error:e}}finally{try{w&&!w.done&&(h=C.return)&&h.call(C)}finally{if(c)throw c.error}}}}catch(e){a={error:e}}finally{try{b&&!b.done&&(u=d.return)&&u.call(d)}finally{if(a)throw a.error}}if(0==y)return void this.renderFunnelEmpty(i,r);var _=new s,A=this.getAllValues(g),L=this.getAllTrueValues(g),O=.9*r.height/this.getSumValues(L),P=0;try{for(var B=__values(o),R=B.next();!R.done;R=B.next()){var v,k=v=R.value,T=this.getValues(k);this.labels=this.series.chart.seriesLabels.stimulsoft.as(t.StiFunnelSeriesLabels);var j=void 0;j=null!=this.labels&&this.labels.stimulsoft.is(t.StiOutsideLeftFunnelLabels)?r.width/2+r.x:r.width/2;for(var F=t.StiChartHelper.globalBeginTimeElement,I=0;Ir&&null!=t.arguments.stimulsoft.getByIndex(r,i))return t.arguments.stimulsoft.getByIndex(r,i).toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator);return""},c.prototype.renderFunnelEmpty=function(e,r){for(var i=[3,2,1],n=.9*r.height/this.getSumValues(i),o=0;o=t.length)break;r+=Math.abs(t[i])}return r},c.prototype.measureFunnelElementCore=function(e,n,a,s){var l=[],u=.05*n.height,c,h,p;c=null!=this.labels&&this.labels.stimulsoft.is(t.StiOutsideLeftFunnelLabels)?n.width/2+n.x:n.width/2;var f=new o,m=new o,S,g,y=!1,d=this.getSumLastValues(e,s),b=!1,v=n.height-a*d;v1&&x.actual&&(M=1);for(var E=new n(C.x,C.y),V=0,G=0;G<_.length;G++){var T;if(0==(T=Math.abs(_[G].value)))continue;var X=M*T,z=x.roundValues?this.roundPictirialValue(X,V):X;V+=X-z;var J,H,W=z*m.width*m.height/m.height,Y=[],Z=[];do{var q=0,U=E,K=C.right-E.x;K>W?(q=W,E=new n(E.x+W,E.y)):(q=K,E=new n(C.x,E.y+m.height)),W-=q;var Q=(U.x-C.x)/m.width,$=(Q-Math.floor(Q))*m.width,ee=new i(U.x-$,U.y,q+$,m.height),te=new i(U.x,U.y,q,m.height);Y.push(ee),Z.push(te)}while(W>0&&E.y0?Math.ceil(e):t<0?Math.floor(e):Math.round(e)},s.prototype.getSeriesBrush=function(t,r){var i=e.prototype.getSeriesBrush.call(this,t,r);if(null==i)return this.series.brush;return i},s}(t.StiSeriesCoreXF);t.StiPictorialSeriesCoreXF=s}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiColorUtils,i=e.Base.Drawing.StiSolidBrush,n=e.System.Drawing.Color,o=e.System.Drawing.Point,a=function(a){function s(e){return a.call(this,e)||this}return __extends(s,a),s.prototype.applyStyle=function(e,t){a.prototype.applyStyle.call(this,e,t);var n=this.series;n.allowApplyStyle&&null!=n.marker&&(n.marker.brush=new i(r.light(t,100)),n.marker.borderColor=r.dark(t,100))},s.prototype.renderSeries=function(e,t,r,i){var n,a,s,l,u,c,h,p,f,m;if(null==i||0==i.length||null==this.series.chart)return;var S=r.area,g=S.core,y=[];try{for(var d=__values(i),b=d.next();!b.done;b=d.next()){var v=b.value,C=[];y.push(C);var w=0;try{for(var x=(s=void 0,__values(g.points)),_=x.next();!_.done;_=x.next()){var A=_.value,L=wr?t.arguments.stimulsoft.getByIndex(r,i).toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator):""},s.prototype.getSeriesBrush=function(e,t){var o=a.prototype.getSeriesBrush.call(this,e,t);if(null==o)return new i(r.dark(n.white,20));return o},s.prototype.getSeriesBorderColor=function(e,t){var r=a.prototype.getSeriesBorderColor.call(this,e,t);if(null==r)return n.black;return r},s}(t.StiSeriesCoreXF);t.StiRadarSeriesCoreXF=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=e.System.Drawing.Point,n=function(e){function n(t){return e.call(this,t)||this}return __extends(n,e),n.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r);var i=this.series;i.allowApplyStyle&&(i.brush=t.core.getAreaBrush(r),i.lineColor=r)},Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","RadarArea")},enumerable:!1,configurable:!0}),n.prototype.renderLines=function(e,r,i,n){var o,a=n.area.core,s=new t.StiLineSeriesGeom(n,i.stimulsoft.toArray(),r);null!=n&&(n.createChildGeoms(),n.childGeoms.push(s))},n.prototype.renderAreas=function(e,r,n,o){var a,s=o.area.core,l=new t.StiRadarAreaSeriesGeom(r,n.stimulsoft.toArray(),new i(o.clientRectangle.width/2,o.clientRectangle.height/2));null!=o&&(o.createChildGeoms(),o.childGeoms.push(l))},n}(t.StiRadarSeriesCoreXF);t.StiRadarAreaSeriesCoreXF=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r);var i=this.series;i.allowApplyStyle&&(i.lineColor=r)},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","RadarLine")},enumerable:!1,configurable:!0}),i.prototype.renderLines=function(e,r,i,n){var o=new t.StiLineSeriesGeom(n,i.stimulsoft.toArray(),r);null!=n&&(n.createChildGeoms(),n.childGeoms.push(o))},i}(t.StiRadarSeriesCoreXF);t.StiRadarLineSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.applyStyle=function(r,i){e.prototype.applyStyle.call(this,r,i);var n=this.series.stimulsoft.as(t.StiRadarPointSeries);n.allowApplyStyle&&(r.core.markerVisible||(n.marker.visible=!0))},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","RadarPoint")},enumerable:!1,configurable:!0}),i}(t.StiRadarSeriesCoreXF);t.StiRadarPointSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.TimeSpan,i=e.System.Drawing.Point,n=e.Base.Localization.StiLocalization,o=e.System.Drawing.Rectangle,a=e.Base.Context.StiSeriesInteractionData,s=function(s){function l(e){return s.call(this,e)||this}return __extends(l,s),l.prototype.renderSeries=function(n,s,l,u){var c,h,p,f,m,S,g=[];if(null==u||0==u.length||null==this.series.chart)return;var y=l.area,d=y.axisCore.getDividerX(),b=y.axisCore.getDividerY(),v=t.StiChartHelper.globalBeginTimeElement;try{for(var C=__values(u),w=C.next();!w.done;w=C.next()){var x=w.value,_=x.values.length;x.valuesEnd.length<_&&(_=x.valuesEnd.length);var A=x.arguments.length,L=Math.min(_,A),O=0,P=x.arguments.stimulsoft.getKeys();while(O1){var a=new t.StiLineSeriesGeom(r,i,o);r.createChildGeoms(),r.childGeoms.push(a),null!=this.interaction&&(a.interactions=this.getInteractions(e,r,i))}this.renderMarkers2(e,r,i,n,o)},a.prototype.renderMarkers2=function(e,r,i,n,a){var s,l,u=r.area,c=a;if(0==i.length)return;var h=!c.marker.visible&&c.toolTips.length>0;if(null!=c.marker&&(c.marker.visible||h)){var p=0;try{for(var f=__values(i),m=f.next();!m.done;m=f.next()){var S=m.value;if(null!=S){var g=u.reverseHor?n[c.values.length-p-1]:n[p];null==g&&c.showNulls&&(g=0);var y=r.view.clientRectangle.clone();y.x=0,y.y=0,y.inflate(10,10);var d=S;if(d.x+=r.clientRectangle.x,d.y+=r.clientRectangle.y,y.contains(d.x,d.y)){var b=new t.StiMarkerGeom(a,p,g,S,c.marker,c.showShadow,e.options.zoom,h);if(null!=b){if(null!=c.core.interaction){var v=new o;v.fill(u,c,p),b.interaction=v}r.createChildGeoms(),r.childGeoms.push(b)}}}p++}}catch(e){s={error:e}}finally{try{m&&!m.done&&(l=f.return)&&l.call(f)}finally{if(s)throw s.error}}}},a.prototype.getYPoint=function(e,r,i,o){var a,s=i.xAxis.core.getStartFromZero()?i.xAxis.info.stripPositions[o+1]:i.xAxis.info.stripPositions[o];if(null!=e||r.showNulls){null==e&&r.showNulls&&(e=0),i.reverseVert&&null!=e&&(e=-e);var l=0;l=r.yAxis==t.StiSeriesYAxis.LeftYAxis?-e*i.yAxis.info.dpi+i.axisCore.getDividerY():-e*i.yRightAxis.info.dpi+i.axisCore.getDividerRightY(),a=new n(s,l)}else a=null;return a},a.prototype.renderAreas2=function(e,r,i,n){if(null==r||r.length<=1)return;var o=new t.StiRangeSeriesGeom(e,r,i,n);null!=o&&(e.createChildGeoms(),e.childGeoms.push(o))},Object.defineProperty(a.prototype,"localizedName",{get:function(){return i.get("Chart","Range")},enumerable:!1,configurable:!0}),a}(t.StiLineSeriesCoreXF);t.StiRangeSeriesCoreXF=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.Base.Context.StiPenGeom,n=e.Base.Drawing.StiSolidBrush,o=e.Base.Localization.StiLocalization,a=e.System.Drawing.Point,s=e.System.Drawing.Color,l=e.Base.Context.StiSeriesInteractionData,u=function(e){function u(t){return e.call(this,t)||this}return __extends(u,e),u.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r);var i=this.series;i.allowApplyStyle&&(i.brush=t.core.getAreaBrush(r))},u.prototype.renderSeries=function(e,i,n,o){var s,l;if(null==o||0==o.length||null==this.series.chart)return;var u=n.area,c=0;try{for(var h=__values(o),p=h.next();!p.done;p=h.next()){var f=p.value,m=f.values.length;f.valuesEnd.length1){var a=new t.StiLineSeriesGeom(r,i,o);null!=a&&(r.createChildGeoms(),r.childGeoms.push(a)),null!=this.interaction&&(a.interactions=this.getInteractions(e,r,i))}this.renderMarkers2(e,r,i,n,o)},u.prototype.renderMarkers2=function(e,r,o,a,u){var c,h,p=r.area,f=u;if(0==o.length)return;var m=!f.marker.visible&&f.toolTips.length>0;if(null!=f.marker&&(f.marker.visible||m)){var S=new n(s.fromArgb(55,s.black)),g=new i(f.marker.borderColor),y=0;try{for(var d=__values(o),b=d.next();!b.done;b=d.next()){var v=b.value;if(null!=v){var C=p.reverseHor?a[f.values.length-y-1]:a[y];null==C&&f.showNulls&&(C=0);var w=r.view.clientRectangle.clone();w.x=0,w.y=0,w.inflate(10,10);var x=v;if(x.x+=r.clientRectangle.x,x.y+=r.clientRectangle.y,w.contains(x.x,x.y)){var _=new t.StiMarkerGeom(u,y,C,v,f.marker,f.showShadow,e.options.zoom,m);if(null!=_){if(null!=f.core.interaction){var A=new l;A.fill(p,f,y),_.interaction=A}r.createChildGeoms(),r.childGeoms.push(_)}}}y++}}catch(e){c={error:e}}finally{try{b&&!b.done&&(h=d.return)&&h.call(d)}finally{if(c)throw c.error}}}},u.prototype.getYPoint=function(e,r,i,n){var o,s=i.xAxis.core.getStartFromZero()?i.xAxis.info.stripPositions[n+1]:i.xAxis.info.stripPositions[n];if(null!=e||r.showNulls){null==e&&r.showNulls&&(e=0),i.reverseVert&&null!=e&&(e=-e);var l=0;l=r.yAxis==t.StiSeriesYAxis.LeftYAxis?-e*i.yAxis.info.dpi+i.axisCore.getDividerY():-e*i.yRightAxis.info.dpi+i.axisCore.getDividerRightY(),o=new a(s,l)}else o=null;return o},u.prototype.renderAreas2=function(e,r,i,n,o){if(null==i||i.length<=1)return;var a=new t.StiSplineRangeSeriesGeom(r,i,n,o);null!=a&&(r.createChildGeoms(),r.childGeoms.push(a))},Object.defineProperty(u.prototype,"localizedName",{get:function(){return o.get("Chart","SplineRange")},enumerable:!1,configurable:!0}),u}(t.StiSplineSeriesCoreXF);t.StiSplineRangeSeriesCoreXF=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.Base.Context.StiPenGeom,n=e.Base.Drawing.StiSolidBrush,o=e.Base.Localization.StiLocalization,a=e.System.Drawing.Point,s=e.System.Drawing.Color,l=e.Base.Context.StiSeriesInteractionData,u=function(e){function u(t){return e.call(this,t)||this}return __extends(u,e),u.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r);var i=this.series;i.allowApplyStyle&&(i.brush=t.core.getAreaBrush(r))},u.prototype.renderSeries=function(e,i,n,o){var s,l;if(null==o||0==o.length||null==this.series.chart)return;var u=n.area;try{for(var c=__values(o),h=c.next();!h.done;h=c.next()){var p=h.value,f=p.values.length,m=r.create(a,f,!0),S=r.create(a,f,!0);p.valuesEnd.length1||a.pointAtCenter&&i.length>0){var s=new t.StiSteppedLineSeriesGeom(r,i,o);null!=s&&(r.createChildGeoms(),r.childGeoms.push(s)),null!=this.interaction&&(s.interactions=this.getInteractions(e,r,i))}this.renderMarkers2(e,r,i,n,o)},u.prototype.renderMarkers2=function(e,r,o,u,c){var h,p,f=r.area,m=c;if(0==o.length)return;var S=!m.marker.visible&&m.toolTips.length>0;if(null!=m.marker&&(m.marker.visible||S)){var g=new n(s.fromArgb(55,s.black)),y=new i(m.marker.borderColor),d=0;try{for(var b=__values(o),v=b.next();!v.done;v=b.next()){var C=v.value;if(null!=C){var w=f.reverseHor?u[m.values.length-d-1]:u[d];null==w&&m.showNulls&&(w=0);var x=r.view.clientRectangle.clone();x.x=0,x.y=0,x.inflate(10,10);var _=new a(C.x,C.y);if(_.x+=r.clientRectangle.x,_.y+=r.clientRectangle.y,x.contains(_.x,_.y)){var A=new t.StiMarkerGeom(c,d,w,C,m.marker,m.showShadow,e.options.zoom,S);if(null!=A){if(null!=m.core.interaction){var L=new l;L.fill(f,m,d),A.interaction=L}r.createChildGeoms(),r.childGeoms.push(A)}}}d++}}catch(e){h={error:e}}finally{try{v&&!v.done&&(p=b.return)&&p.call(b)}finally{if(h)throw h.error}}}},u.prototype.getYPoint=function(e,r,i,n){var o,s=i.xAxis.info.stripPositions.stimulsoft.getKeys(),l=i.xAxis.core.getStartFromZero()?i.xAxis.info.stripPositions.stimulsoft.getByIndex(n+1,s):i.xAxis.info.stripPositions.stimulsoft.getByIndex(n,s);if(null!=e||r.showNulls){null==e&&r.showNulls&&(e=0),i.reverseVert&&null!=e&&(e=-e);var u=0;u=r.yAxis==t.StiSeriesYAxis.LeftYAxis?-e*i.yAxis.info.dpi+i.axisCore.getDividerY():-e*i.yRightAxis.info.dpi+i.axisCore.getDividerRightY(),o=new a(l,u)}else o=null;return o},Object.defineProperty(u.prototype,"localizedName",{get:function(){return o.get("Chart","SteppedRange")},enumerable:!1,configurable:!0}),u}(t.StiSteppedLineSeriesCoreXF);t.StiSteppedRangeSeriesCoreXF=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.renderLines=function(e,r,i){if(null==i.points||i.points.length<=1)return;var n=new t.StiLineSeriesGeom(r,i.points,this.series);null!=n&&(r.createChildGeoms(),r.childGeoms.push(n)),this.renderMarkers(e,r,i.points)},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","ScatterLine")},enumerable:!1,configurable:!0}),i}(t.StiScatterSeriesCoreXF);t.StiScatterLineSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.renderLines=function(e,r,i){if(null==i.points||i.points.length<=1)return;var n=new t.StiScatterSplineSeriesGeom(r,i.points,this.series);null!=n&&(r.createChildGeoms(),r.childGeoms.push(n)),this.renderMarkers(e,r,i.points)},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","ScatterSpline")},enumerable:!1,configurable:!0}),i}(t.StiScatterSeriesCoreXF);t.StiScatterSplineSeriesCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.System.Drawing.Rectangle,n=e.System.TimeSpan,o=e.System.Collections.Dictionary,a=e.System.Data.DataTable,s=e.System.Collections.List,l=e.Base.Localization.StiLocalization,u=e.System.Drawing.Color,c=e.System.Drawing.Point,h=e.System.StiString,p=e.Base.Context.StiArcSegmentGeom,f=e.Base.Context.StiLineSegmentGeom,m=e.System.Data.DataColumn,S=e.Base.Helpers.StiValueHelper,g=function(e){function g(t){return e.call(this,t)||this}return __extends(g,e),g.prototype.renderSeries=function(e,t,r,i){var n,a,l,u,c,h,p=this.getDataTable(i);if(p.rows.count<1)return;for(var f=p.columns.count-1,m=0;m0&&i[S].arguments.length>m?p.rows.getByIndex(m).setValue(S+1,i[S].arguments[m]):p.rows.getByIndex(m).setValue(S+1,null);i.length>0&&i[0].values.length>m?p.rows.getByIndex(m).setValue(f,i[0].values[m]):p.rows.getByIndex(m).setValue(f,null)}var g=new o;try{for(var y=__values(p.rows.list),d=y.next();!d.done;d=y.next()){var b=d.value,v=b.gett(1);if(null==v)continue;if(g.contains(v)){var C;g.get(v).loadDataRow(b.itemArray)}else{var w=p.clone();w.loadDataRow(b.itemArray),g.add(v,w)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=y.return)&&a.call(y)}finally{if(n)throw n.error}}var x=this.getRadius(e,t),_=this.getPointCenter(t),A=this.getGradPerValue(p),L=0,O=0,P=new s;try{for(var B=__values(g.values),R=B.next();!R.done;R=B.next()){var k=R.value,T,j=A*this.getSumColumn(k,"Value"),F={ref:P};this.renderComputeSeries(e,r,k,_,x,L,A,O,g.values.length,F),P=F.ref,L+=j,O++}}catch(e){l={error:e}}finally{try{R&&!R.done&&(u=B.return)&&u.call(B)}finally{if(l)throw l.error}}try{for(var I=__values(P),D=I.next();!D.done;D=I.next()){var N=D.value;null!=N&&(r.createChildGeoms(),r.childGeoms.push(N))}}catch(e){c={error:e}}finally{try{D&&!D.done&&(h=I.return)&&h.call(I)}finally{if(c)throw c.error}}},g.prototype.renderComputeSeries=function(e,t,i,n,a,s,l,u,c,h){for(var p,f,m=1,g=a/(i.columns.count-1),y=1;yr&&null!=t.arguments[r])return t.arguments[r].toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator);return""},l.prototype.getSeriesBrush=function(e,t){var r=s.prototype.getSeriesBrush.call(this,e,t);if(null==r)return this.series.brush;return r},l.prototype.getSeriesBorderColor=function(e,t){var r=s.prototype.getSeriesBorderColor.call(this,e,t);if(null==r)return this.series.borderColor;return r},Object.defineProperty(l.prototype,"localizedName",{get:function(){return i.get("Chart","Treemap")}, enumerable:!1,configurable:!0}),l}(t.StiSeriesCoreXF);t.StiTreemapSeriesCoreXF=s}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiString,i=e.System.Globalization.CultureInfo,n=e.System.Drawing.StringTrimming,o=e.System.Drawing.StringFormatFlags,a=e.Base.Drawing.StiColorUtils,s=e.System.DateTime,l=e.Base.Drawing.StiGradientBrush,u=e.Base.Drawing.StiGlareBrush,c=e.System.ICloneable,h=function(){function h(e){this._seriesLabels=e}return h.prototype.implements=function(){return h.implementsStiSeriesLabelsCoreXF||(h.implementsStiSeriesLabelsCoreXF=[c,t.IStiApplyStyle,t.IStiSeriesLabelsCoreXF]),h.implementsStiSeriesLabelsCoreXF},h.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},h.prototype.applyStyle=function(e){this.seriesLabels.allowApplyStyle&&(this.seriesLabels.labelColor=e.core.seriesLabelsColor,this.seriesLabels.borderColor=e.core.seriesLabelsBorderColor,this.seriesLabels.brush=e.core.seriesLabelsBrush,this.seriesLabels.font=e.core.seriesLabelsFont)},Object.defineProperty(h.prototype,"position",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"seriesLabelsType",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"seriesLabels",{get:function(){return this._seriesLabels},set:function(e){this._seriesLabels=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return null},enumerable:!1,configurable:!0}),h.prototype.processSeriesColors=function(e,r,i){var n,o,a=r;if(null==this.seriesLabels)return a;try{for(var s=__values(this.seriesLabels.chart.seriesLabelsConditions.list),c=s.next();!c.done;c=s.next()){var h=c.value;if(null==i.values||i.values.length<=e)continue;var p=i.values[e],f=null;i.stimulsoft.is(t.IStiRangeSeries)&&e1&&(f=p.stimulsoft.remove(0,1).stimulsoft.toNumber()),m=this.recalcValue(o,f)}catch(t){e.System.StiError.showError(t,!1),m=this.recalcValue(o,2)}return r.format("{0:N"+f.toString()+"}{1}",m,"%")}var S=r.format("{0:"+p+"}",c);if(!a&&S==p)return c.toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator);return S}r.isNullOrEmpty(u)||(i.currentCulture=l)}catch(t){e.System.StiError.showError(t,!1)}return this.recalcValue(o,2).toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator)},h.prototype.getFormattedValue=function(e,t){if(null==t)return"";return this.getFormatted(e,t,e.core.isDateTimeValues)},h.prototype.getStringFormatGeom=function(e){var t=e.getGenericStringFormat();return t.trimming=n.None,this.seriesLabels.wordWrap||(t.formatFlags=o.MeasureTrailingSpaces|o.NoWrap),t},h}();t.StiSeriesLabelsCoreXF=h}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(t){function r(e){var r=t.call(this,e)||this;return r.currentIndex=null,r}return __extends(r,t),r.prototype.renderLabel=function(e,t,r,i,n,o,a,s,l,u,c,h,p){return void 0===p&&(p=null),null},r.prototype.renderLabel2=function(e,t,r,i,n,o,a,s,l,u,c,h,p,f){return void 0===f&&(f=null),null},r.prototype.recalcValue=function(t,r){var i,n;if(this.seriesLabels.showInPercent&&this.seriesLabels.chart.area.stimulsoft.is(e.StiFullStackedColumnArea)&&null!=this.currentIndex){var o=this.seriesLabels.chart.area.core.getSeries(),a=0;try{for(var s=__values(o),l=s.next();!l.done;l=s.next()){var u=l.value;this.currentIndex0?e.measureRotatedString3(s,u,new n(i.x,o.y-(Math.abs(h.height*Math.cos(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.sin(this.seriesLabels.angle*Math.PI/180)))),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):e.measureRotatedString3(s,u,new n(i.x,o.y+(Math.abs(h.height*Math.cos(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.sin(this.seriesLabels.angle*Math.PI/180)))),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):a>0?e.measureRotatedString3(s,u,new n(o.x-(Math.abs(h.height*Math.sin(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.cos(this.seriesLabels.angle*Math.PI/180))),i.y),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):e.measureRotatedString3(s,u,new n(o.x+(Math.abs(h.height*Math.sin(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.cos(this.seriesLabels.angle*Math.PI/180))),i.y),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom))},o}(t.StiCenterAxisLabelsCoreXF);t.StiInsideBaseAxisLabelsCoreXF=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Point,o=function(e){function o(t){return e.call(this,t)||this}return __extends(o,e),Object.defineProperty(o.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.InsideEndAxis},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"localizedName",{get:function(){return i.get("Chart","LabelsInsideEnd")},enumerable:!1,configurable:!0}),o.prototype.getLabelRect=function(e,i,o,a,s,l,u,c){var h=e.measureString(s,u),p=2;return this.seriesLabels.chart.area.core.seriesOrientation==t.StiChartSeriesOrientation.Vertical?a>0?e.measureRotatedString3(s,u,new n(i.x,i.y+(Math.abs(h.height*Math.cos(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.sin(this.seriesLabels.angle*Math.PI/180)))),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):e.measureRotatedString3(s,u,new n(i.x,i.y-(Math.abs(h.height*Math.cos(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.sin(this.seriesLabels.angle*Math.PI/180)))),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):a>0?e.measureRotatedString3(s,u,new n(i.x+(Math.abs(h.height*Math.sin(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.cos(this.seriesLabels.angle*Math.PI/180))),i.y),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):e.measureRotatedString3(s,u,new n(i.x-(Math.abs(h.height*Math.sin(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.cos(this.seriesLabels.angle*Math.PI/180))),i.y),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom))},o}(t.StiCenterAxisLabelsCoreXF);t.StiInsideEndAxisLabelsCoreXF=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Point,o=function(e){function o(t){return e.call(this,t)||this}return __extends(o,e),Object.defineProperty(o.prototype,"localizedName",{get:function(){return i.get("PropertyMain","Left")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.Left},enumerable:!1,configurable:!0}),o.prototype.getLabelRect=function(e,t,i,o,a,s,l,u){var c=e.measureString(a,l);return this.seriesLabels.width>0?c.width=this.seriesLabels.width*e.options.zoom:c.width+=2*e.options.zoom,this.seriesLabels.chart.area.reverseHor?e.measureRotatedString3(a,l,new n(t.x+c.width,t.y),u,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):e.measureRotatedString3(a,l,new n(t.x-c.width,t.y),u,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom))},o}(t.StiCenterAxisLabelsCoreXF);t.StiLeftAxisLabelsCoreXF=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiFontGeom,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Rectangle,o=e.System.Drawing.Point,a=function(e){function a(t){return e.call(this,t)||this}return __extends(a,e),a.prototype.renderLabel=function(e,i,a,s,l,u,c,h,p,f,m,S){var g=this.seriesLabels;if(null==u&&!g.showNulls)return null;if(0==u&&!g.showZeros)return null;null==u&&(u=0),null==c&&(c=0);var y=this.getLabelText(e,c,h,p,e.coreTitle),d=90;this.seriesLabels.chart.area.stimulsoft.is(t.IStiStackedBarArea)?(u<=0&&(d=-d),d+=90):u<0&&(d=-d),d*=Math.PI/180;var b=new o(a.x+g.lineLength*Math.cos(d)*i.options.zoom,a.y-g.lineLength*Math.sin(d)*i.options.zoom),v=r.changeFontSize(g.font,g.font.size*i.options.zoom),C=this.getStringFormatGeom(i),w=i.measureString2(y,v,this.seriesLabels.width*i.options.zoom,C),x=new n(b.x-w.width/2,b.y-w.height/2,w.width+1,w.height+1),_=this.getLabelColor(e,f,m),A=this.getBorderColor(e,f,m),L=e.core.getSeriesBorderColor(f,m),O=e.core.getSeriesBrush(f,m);return O=this.processSeriesColors(l,O,e),new t.StiOutsideAxisLabelsGeom(this.seriesLabels,e,l,u,x,y,_,A,O,L,v,b,a)},Object.defineProperty(a.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.OutsideAxis},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"localizedName",{get:function(){return i.get("Chart","LabelsOutside")},enumerable:!1,configurable:!0}),a}(t.StiAxisSeriesLabelsCoreXF);t.StiOutsideAxisLabelsCoreXF=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Point,o=function(e){function o(t){return e.call(this,t)||this}return __extends(o,e),Object.defineProperty(o.prototype,"localizedName",{get:function(){return i.get("Chart","LabelsOutsideBase")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.OutsideBaseAxis},enumerable:!1,configurable:!0}),o.prototype.getLabelRect=function(e,i,o,a,s,l,u,c){var h=e.measureString(s,u),p=2;return this.seriesLabels.chart.area.core.seriesOrientation==t.StiChartSeriesOrientation.Vertical?a>0?e.measureRotatedString3(s,u,new n(i.x,o.y+(Math.abs(h.height*Math.cos(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.sin(this.seriesLabels.angle*Math.PI/180)))),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):e.measureRotatedString3(s,u,new n(i.x,o.y-(Math.abs(h.height*Math.cos(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.sin(this.seriesLabels.angle*Math.PI/180)))),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):a>0?e.measureRotatedString3(s,u,new n(o.x+(Math.abs(h.height*Math.sin(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.cos(this.seriesLabels.angle*Math.PI/180))),i.y),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):e.measureRotatedString3(s,u,new n(o.x-(Math.abs(h.height*Math.sin(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.cos(this.seriesLabels.angle*Math.PI/180))),i.y),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom))},o}(t.StiCenterAxisLabelsCoreXF);t.StiOutsideBaseAxisLabelsCoreXF=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Point,o=function(e){function o(t){return e.call(this,t)||this}return __extends(o,e),Object.defineProperty(o.prototype,"localizedName",{get:function(){return i.get("Chart","LabelsOutsideEnd")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.OutsideEndAxis},enumerable:!1,configurable:!0}),o.prototype.getLabelRect=function(e,i,o,a,s,l,u,c){var h=e.measureString(s,u),p=2;return this.seriesLabels.chart.area.core.seriesOrientation==t.StiChartSeriesOrientation.Vertical?a>=0?e.measureRotatedString3(s,u,new n(i.x,i.y-(Math.abs(h.height*Math.cos(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.sin(this.seriesLabels.angle*Math.PI/180)))),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):e.measureRotatedString3(s,u,new n(i.x,i.y+(Math.abs(h.height*Math.cos(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.sin(this.seriesLabels.angle*Math.PI/180)))),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):a>0?e.measureRotatedString3(s,u,new n(i.x-(Math.abs(h.height*Math.sin(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.cos(this.seriesLabels.angle*Math.PI/180))),i.y),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):e.measureRotatedString3(s,u,new n(i.x+(Math.abs(h.height*Math.sin(this.seriesLabels.angle*Math.PI/180))+Math.abs((h.width/2+p)*Math.cos(this.seriesLabels.angle*Math.PI/180))),i.y),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom))},o}(t.StiCenterAxisLabelsCoreXF);t.StiOutsideEndAxisLabelsCoreXF=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Point,o=function(e){function o(t){return e.call(this,t)||this}return __extends(o,e),Object.defineProperty(o.prototype,"localizedName",{get:function(){return i.get("PropertyMain","Right")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.Right},enumerable:!1,configurable:!0}),o.prototype.getLabelRect=function(e,t,i,o,a,s,l,u){var c=e.measureString(a,l);return this.seriesLabels.width>0?c.width=this.seriesLabels.width*e.options.zoom:c.width+=2*e.options.zoom,this.seriesLabels.chart.area.reverseHor?e.measureRotatedString3(a,l,new n(t.x-c.width,t.y),u,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):e.measureRotatedString3(a,l,new n(t.x+c.width,t.y),u,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom))},o}(t.StiCenterAxisLabelsCoreXF);t.StiRightAxisLabelsCoreXF=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Rectangle,o=e.System.Drawing.Point,a=function(e){function a(t){return e.call(this,t)||this}return __extends(a,e),Object.defineProperty(a.prototype,"localizedName",{get:function(){return i.get("PropertyMain","Value")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.Value},enumerable:!1,configurable:!0}),a.prototype.getLabelRect=function(e,t,i,a,s,l,u,c){var h=e.measureRotatedString3(s,u,new o(0,0),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom));return new n(t.x-h.width/2,t.y-h.height/2,h.width,h.height)},a}(t.StiCenterAxisLabelsCoreXF);t.StiValueAxisLabelsCoreXF=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(t){function r(e){return t.call(this,e)||this}return __extends(r,t),r.prototype.renderLabel=function(e,t,r,i,n,o,a,s,l,u,c,h,p,f){return null},Object.defineProperty(r.prototype,"seriesLabelsType",{get:function(){return e.StiSeriesLabelsType.Funnel},enumerable:!1,configurable:!0}),r}(e.StiSeriesLabelsCoreXF);e.StiFunnelSeriesLabelsCoreXF=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Context.StiFontGeom,n=e.Base.Drawing.StiSolidBrush,o=e.System.Drawing.Point,a=e.Base.Localization.StiLocalization,s=e.System.Collections.List,l=function(e){function l(t){return e.call(this,t)||this}return __extends(l,e),l.prototype.renderLabel=function(e,a,s,l,u,c,h,p,f,m,S,g,y,d){var b=m.clone(),v=this.getLabelText(e,l,c,h,e.coreTitle),C=new n(this.getLabelColor(e,p,f)),w=this.getBorderColor(e,p,f),x=this.getStringFormatGeom(a),_=i.changeFontSize(this.seriesLabels.font,this.seriesLabels.font.size*a.options.zoom),A=e.core.getSeriesBorderColor(p,f),L=e.core.getSeriesBrush(p,f),O;O=e.stimulsoft.is(t.StiFunnelWeightedSlicesSeries)?new o(m.width/2,.05*m.height+S*this.getSumLastValues(e,s)+S*l/2):new o(m.width/2,S*s+S/2+.05*m.height);var P=a.measureRotatedString3(v,_,O,x,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*a.options.zoom));return d.ref=b,new t.StiCenterFunnelLabelsGeom(this.seriesLabels,e,s,l,P,v,L,C,w,A,P)},l.prototype.getSumLastValues=function(e,r){var i,n,o,a,l=new s;try{for(var u=__values(e.chart.series.list),c=u.next();!c.done;c=u.next()){var h,p=c.value.stimulsoft.as(t.IStiFunnelSeries);try{for(var f=(o=void 0,__values(p.values)),m=f.next();!m.done;m=f.next()){var S=m.value;if(!p.showZeros&&0==S)continue;l.push(S)}}catch(e){o={error:e}}finally{try{m&&!m.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}}}catch(e){i={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(i)throw i.error}}for(var g=0,y=0;y=l.length)break;g+=Math.abs(l[y])}return g},Object.defineProperty(l.prototype,"seriesLabelsType",{get:function(){return t.StiSeriesLabelsType.Funnel},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.CenterFunnel},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizedName",{get:function(){return a.get("Chart","LabelsCenter")},enumerable:!1,configurable:!0}),l}(t.StiFunnelSeriesLabelsCoreXF);t.StiCenterFunnelLabelsCoreXF=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Context.StiFontGeom,n=e.Base.Drawing.StiSolidBrush,o=e.System.Drawing.Point,a=e.Base.Localization.StiLocalization,s=function(e){function s(t){return e.call(this,t)||this}return __extends(s,e),s.prototype.renderLabel=function(e,a,s,l,u,c,h,p,f,m,S,g,y,d){var b=m.clone(),v=this.getLabelText(e,l,c,h,e.coreTitle),C=new n(this.getLabelColor(e,p,f)),w=this.getBorderColor(e,p,f),x=this.getStringFormatGeom(a),_=i.changeFontSize(this.seriesLabels.font,this.seriesLabels.font.size*a.options.zoom),A=e.core.getSeriesBorderColor(p,f),L=e.core.getSeriesBrush(p,f),O=a.measureRotatedString3(v,_,new o(0,0),x,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*a.options.zoom));b.width-=O.width,b.x+=O.width;var P=new o(y-(l+u)*g/4,S*s+S/2+.05*m.height),B=new o(.05*m.width+O.width,S*s+S/2+.05*m.height),R=a.measureRotatedString3(v,_,B,x,r.RightCenter,0,Math.trunc(this.seriesLabels.width*a.options.zoom));return d.ref=b,new t.StiOutsideFunnelLabelsGeom(this.seriesLabels,e,s,l,R,v,L,C,w,A,R,P,B)},Object.defineProperty(s.prototype,"seriesLabelsType",{get:function(){return t.StiSeriesLabelsType.Funnel},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.OutsideLeftFunnel},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return a.get("PropertyMain","Left")},enumerable:!1,configurable:!0}),s}(t.StiFunnelSeriesLabelsCoreXF);t.StiOutsideLeftFunnelLabelsCoreXF=s}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Context.StiFontGeom,n=e.System.Drawing.Point,o=e.Base.Drawing.StiSolidBrush,a=e.Base.Localization.StiLocalization,s=function(e){function s(t){return e.call(this,t)||this}return __extends(s,e),s.prototype.renderLabel=function(e,a,s,l,u,c,h,p,f,m,S,g,y,d){var b=m.clone(),v=this.getLabelText(e,l,c,h,e.coreTitle),C=new o(this.getLabelColor(e,p,f)),w=this.getBorderColor(e,p,f),x=this.getStringFormatGeom(a),_=i.changeFontSize(this.seriesLabels.font,this.seriesLabels.font.size*a.options.zoom),A=e.core.getSeriesBorderColor(p,f),L=e.core.getSeriesBrush(p,f),O=a.measureRotatedString3(v,_,new n(0,0),x,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*a.options.zoom));b.width-=O.width+5;var P=new n(y+l+u*g/4,S*s+S/2+.05*m.height),B=new n(.95*m.width-O.width,S*s+S/2+.05*m.height),R=a.measureRotatedString3(v,_,B,x,r.LeftCenter,0,Math.trunc(this.seriesLabels.width*a.options.zoom));return d.ref=b,new t.StiOutsideFunnelLabelsGeom(this.seriesLabels,e,s,l,R,v,L,C,w,A,R,P,B)},Object.defineProperty(s.prototype,"seriesLabelsType",{get:function(){return t.StiSeriesLabelsType.Funnel},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.OutsideRightFunnel},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return a.get("PropertyMain","Right")},enumerable:!1,configurable:!0}),s}(t.StiFunnelSeriesLabelsCoreXF);t.StiOutsideRightFunnelLabelsCoreXF=s}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(t){function r(e){var r=t.call(this,e)||this;return r.percentPerValue=0,r}return __extends(r,t),r.prototype.renderLabel=function(e,t,r,i,n,o,a,s,l,u,c,h,p,f,m,S,g,y){return null},r.prototype.recalcValue=function(t,r){if(this.seriesLabels.showInPercent){var i=this.seriesLabels.chart.area.core.getSeries();if(i.length>0){var n=[];i.stimulsoft.copyTo(n),n.length>0&&n[0].stimulsoft.is(e.StiPieSeries)&&(this.percentPerValue=n[0].core.getPercentPerValue(n))}return Math.round2(t*this.percentPerValue,r)}return t},Object.defineProperty(r.prototype,"seriesLabelsType",{get:function(){return e.StiSeriesLabelsType.Pie},enumerable:!1,configurable:!0}),r}(e.StiSeriesLabelsCoreXF);e.StiPieSeriesLabelsCoreXF=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Context.StiFontGeom,n=e.Base.Drawing.StiSolidBrush,o=e.Base.Localization.StiLocalization,a=e.System.Drawing.Rectangle,s=e.System.Drawing.Point,l=function(e){function l(t){return e.call(this,t)||this}return __extends(l,e),l.prototype.renderLabel=function(e,o,s,l,u,c,h,p,f,m,S,g,y,d,b,v,C,w){var x=a.empty;if(v.ref=x,this.percentPerValue=b,null==f&&!this.seriesLabels.showNulls)return null;if(0==f&&!this.seriesLabels.showZeros)return null;if(null==p&&(p=0),null==f&&(f=0),isNaN(l)||isNaN(u))return null;var _="";_=C?this.getFormattedValue(e,f):this.getLabelText(e,f,m,S,e.coreTitle);var A=Math.PI*c/180,L=this.getLabelPoint(s,(l-u)/1.75+u,A);C||(this.stimulsoft.is(t.StiOutsidePieLabelsCoreXF)&&(L=this.getLabelPoint(s,l+this.seriesLabels.lineLength*o.options.zoom,A)),this.stimulsoft.is(t.StiInsideEndPieLabelsCoreXF)&&(L=this.getLabelPoint(s,(l-u)/1.2+u,A)));var O=i.changeFontSize(this.seriesLabels.font,this.seriesLabels.font.size*o.options.zoom),P=this.getStringFormatGeom(o),B=this.getLabelRect(o,L,_,O,P),R=this.seriesLabels.angle,k=r.CenterCenter,T=B.clone();if(T.x=-T.width/2,T.y=-T.height/2,this.seriesLabels.autoRotate&&((R=c)>0&&R<90||R>270?(this.seriesLabels.stimulsoft.is(t.IStiOutsidePieLabels)&&(k=r.LeftCenter),T.x=0):(this.seriesLabels.stimulsoft.is(t.IStiOutsidePieLabels)&&(k=r.RightCenter),R+=180,T.x=-T.width)),this.stimulsoft.is(t.StiOutsidePieLabelsCoreXF)?this.seriesLabels.autoRotate||(c>337.5||c<22.5?(T.x=0,T.y=-T.height/2,k=r.LeftCenter):c>=22.5&&c<67.5?(T.x=0,T.y=0,k=r.LeftTop):c>=67.5&&c<112.5?(T.x=-T.width/2,T.y=0,k=r.CenterTop):c>=112.5&&c<157.5?(T.x=-T.width,T.y=0,k=r.RightTop):c>=157.5&&c<202.5?(T.x=-T.width,T.y=-T.height/2,k=r.RightCenter):c>=202.5&&c<247.5?(T.x=-T.width,T.y=-T.height,k=r.RightBottom):c>=247.5&&c<292.5?(T.x=-T.width/2,T.y=-T.height,k=r.CenterBottom):c>=292.5&&(T.x=0,T.y=-T.height,k=r.LeftBottom)):(T.x=-T.width/2,T.y=-T.height/2),g)return x=o.measureRotatedString2(_,O,B,P,k,R),v.ref=x,null;var j=this.getBorderColor(e,y,d),F=e.core.getSeriesBorderColor(y,d),I=e.core.getSeriesBrush(y,d),D=new n(this.getLabelColor(e,y,d));I=this.processSeriesColors(h,I,e);var N=this.processSeriesColors(h,this.seriesLabels.brush,e);if(x=a.empty,this.seriesLabels.stimulsoft.is(t.IStiOutsidePieLabels)){var M=this.stimulsoft.as(t.StiOutsidePieLabelsCoreXF),E=M.getLineColor(e,y,d);L=this.getLabelPoint(s,l+M.seriesLabels.lineLength*o.options.zoom,A);var V=this.getLabelPoint(s,l,A);return v.ref=x,new t.StiOutsidePieLabelsGeom(this.seriesLabels,e,h,p,T,_,I,D,N,j,F,k,B,R,E,L,V)}return v.ref=x,new t.StiCenterPieLabelsGeom(this.seriesLabels,e,h,p,T,_,I,D,N,j,F,k,B,R,null)},l.prototype.getLabelPoint=function(e,t,r){return new s(e.x+Math.cos(r)*t,e.y+Math.sin(r)*t)},l.prototype.getLabelRect=function(e,t,i,n,o){return e.measureRotatedString3(i,n,t,o,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom))},Object.defineProperty(l.prototype,"seriesLabelsType",{get:function(){return t.StiSeriesLabelsType.Pie},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.CenterPie},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizedName",{get:function(){return o.get("Chart","LabelsCenter")},enumerable:!1,configurable:!0}),l}(t.StiPieSeriesLabelsCoreXF);t.StiCenterPieLabelsCoreXF=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","LabelsInsideEnd")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.InsideEndPie},enumerable:!1,configurable:!0}),i}(t.StiCenterPieLabelsCoreXF);t.StiInsideEndPieLabelsCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.applyStyle=function(t){e.prototype.applyStyle.call(this,t),this.seriesLabels.allowApplyStyle&&(this.seriesLabels.lineColor=t.core.seriesLabelsBorderColor)},Object.defineProperty(i.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.OutsidePie},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","LabelsOutside")},enumerable:!1,configurable:!0}),i.prototype.getLineColor=function(e,t,r){if(this.seriesLabels.useSeriesColor)return this.getSeriesLabelColor(e,t,r);return this.seriesLabels.lineColor},i}(t.StiCenterPieLabelsCoreXF);t.StiOutsidePieLabelsCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.StringAlignment,i=e.Base.Context.StiFontGeom,n=e.Base.Drawing.StiSolidBrush,o=e.System.Drawing.Point,a=e.Base.Localization.StiLocalization,s=e.System.Drawing.Rectangle,l=function(e){function l(t){return e.call(this,t)||this}return __extends(l,e),l.prototype.renderLabel=function(a,l,u,c,h,p,f,m,S,g,y,d,b,v,C,w,x,_){this.percentPerValue=C;var A=s.empty;if(null==S&&!this.seriesLabels.showNulls)return null;if(0==S&&!this.seriesLabels.showZeros)return null;if(null==m&&(m=0),null==S&&(S=0),isNaN(c)||isNaN(h))return null;if(x)return w.ref=A,e.prototype.renderLabel.call(this,a,l,u,c,h,p,f,m,S,this.getFormattedValue(a,S),y,d,b,v,C,w,x,_);var L=this.getLabelText(a,S,g,y,a.coreTitle),O=Math.PI*p/180,P=this.getLabelPoint(u,c,O),B=this.getLabelPoint(u,c+this.seriesLabels.lineLength*l.options.zoom,O),R=0;R=P.x>B.x?-1:1;var k=new o(u.x+c*R+this.seriesLabels.lineLength*R+10*R,B.y);this.seriesLabels.preventIntersection&&(k.y=P.y),k.y+=_*Math.min(l.options.zoom,1);var T=i.changeFontSize(this.seriesLabels.font,this.seriesLabels.font.size*l.options.zoom),j=this.seriesLabels.core.getStringFormatGeom(l);j.alignment=r.Center,j.lineAlignment=r.Center;var F=this.getLabelRect(l,k,L,T,j),I=s.empty;if(I=new s(R<0?k.x-F.width:k.x,k.y-F.height/2,F.width,F.height),d)return A=I,w.ref=A,null;A=s.empty;var D=this.getBorderColor(a,b,v),N=a.core.getSeriesBorderColor(b,v),M=a.core.getSeriesBrush(b,v);M=this.processSeriesColors(f,M,a);var E=new n(this.getLabelColor(a,b,v)),V=this.getLineColor(a,b,v),G=this.processSeriesColors(f,this.seriesLabels.brush,a);return w.ref=A,new t.StiTwoColumnsPieLabelsGeom(this.seriesLabels,a,f,m,I,L,M,E,G,D,N,I,V,B,k,P,u)},Object.defineProperty(l.prototype,"seriesLabelsType",{get:function(){return t.StiSeriesLabelsType.Pie|t.StiSeriesLabelsType.Doughnut},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.TwoColumnsPie},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizedName",{get:function(){return a.get("Chart","LabelsTwoColumns")},enumerable:!1,configurable:!0}),l}(t.StiOutsidePieLabelsCoreXF);t.StiTwoColumnsPieLabelsCoreXF=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiFontGeom,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Point,o=e.Base.Drawing.StiRotationMode,a=function(e){function a(t){return e.call(this,t)||this}return __extends(a,e),a.prototype.renderLabel=function(e,i,n,o,a,s,l,u,c,h){void 0===h&&(h=null);var p=this.getLabelText(e,o,a,s,e.coreTitle),f=this.getLabelColor(e,l,u),m=this.getBorderColor(e,l,u),S=this.getStringFormatGeom(i),g=r.changeFontSize(this.seriesLabels.font,this.seriesLabels.font.size*i.options.zoom),y=e.core.getSeriesBorderColor(l,u),d=e.core.getSeriesBrush(l,u),b=this.processSeriesColors(n,this.seriesLabels.brush,e),v=this.getLabelRect(i,c,o,p,!0,g,S);return new t.StiCenterTreemapLabelsGeom(this.seriesLabels,e,n,o,v,p,f,m,d,b,y,g,h)},a.prototype.getLabelRect=function(e,t,r,i,a,s,l){return e.measureRotatedString3(i,s,new n(t.x+t.width/2,t.y+t.height/2),l,o.CenterCenter,0,this.seriesLabels.width*e.options.zoom)},Object.defineProperty(a.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.CenterTreemap},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"localizedName",{get:function(){return i.get("Chart","LabelsCenter")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesLabelsType",{get:function(){return t.StiSeriesLabelsType.Treemap},enumerable:!1,configurable:!0}),a}(t.StiSeriesLabelsCoreXF);t.StiCenterTreemapLabelsCoreXF=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"seriesLabelsType",{get:function(){return t.StiSeriesLabelsType.All},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.None},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","LabelsNone")},enumerable:!1,configurable:!0}),i}(t.StiSeriesLabelsCoreXF);t.StiNoneLabelsCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiSolidBrush,i=e.System.Drawing.Color,n=e.System.Drawing.Rectangle,o=e.System.ICloneable,a=function(){function a(e){this._strips=e}return a.prototype.implements=function(){return a.implementsStiStripsCoreXF||(a.implementsStiStripsCoreXF=[t.IStiApplyStyle,o,t.IStiStripsCoreXF]),a.implementsStiStripsCoreXF},a.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},a.prototype.applyStyle=function(e){this.strips.allowApplyStyle&&(this.strips.titleColor=e.core.styleColors[e.core.styleColors.length-1],this.strips.stripBrush=new r(i.fromArgb(150,e.core.styleColors[e.core.styleColors.length-1])))},a.prototype.renderXStrips=function(e,r,i){var o=this.strips.chart.area;if(null==o)return;var a=this.calculateXValue(this.strips.minValue,o,i),s=this.calculateXValue(this.strips.maxValue,o,i);if(a>s){var l=a;a=s,s=l}var u=new n(a,0,s-a,i.height),c=new t.StiStripsXGeom(this.strips,u);r.createChildGeoms(),r.childGeoms.push(c)},a.prototype.calculateXValue=function(t,r,i){var n;try{n=t.stimulsoft.toNumber()}catch(t){e.System.StiError.showError(t,!1),n=0}var o=0;if(r.xAxis.logarithmicScale&&r.xAxis.info.stripLines.count>0){var a=r.xAxis.info.stripLines.count,s=r.reverseHor?a-1:0,l=r.reverseHor?0:a-1,u=r.xAxis.info.stripLines.getByIndex(s).value,c=r.xAxis.info.stripLines.getByIndex(l).value,h=Math.abs(i.width/(Math.log10(c)-Math.log10(u)));o=Math.abs(Math.log10(n)*h-Math.log10(r.xAxis.info.stripLines.getByIndex(s).value)*h)}else o=r.axisCore.getDividerX()+n*r.xAxis.info.dpi;return o},a.prototype.renderYStrips=function(e,r,i){var o=this.strips.chart.area;if(null==o)return;var a=this.calculateYValue(this.strips.minValue,o,i),s=this.calculateYValue(this.strips.maxValue,o,i);if(a>s){var l=a;a=s,s=l}var u=new n(0,a,i.width,s-a),c=new t.StiStripsYGeom(this.strips,u);r.createChildGeoms(),r.childGeoms.push(c)},a.prototype.calculateYValue=function(r,i,n){var o;try{o=r.stimulsoft.toNumber()}catch(t){e.System.StiError.showError(t,!1),o=0}var a=0;if(i.yAxis.logarithmicScale){var s,l=0,u=i.yAxis.info.stripLines.count-1,c=i.yAxis.info.stripLines.getByIndex(l).value,h=i.yAxis.info.stripLines.getByIndex(u).value,p=Math.abs(n.height/(Math.log10(h)-Math.log10(c)));a=Math.abs(Math.log10(i.yAxis.info.stripLines.getByIndex(l).value)*p-Math.log10(o)*p)}else a=this.strips.orientation==t.StiStrips_StiOrientation.Horizontal?i.axisCore.getDividerY()-o*i.yAxis.info.dpi:i.axisCore.getDividerRightY()-o*i.yRightAxis.info.dpi;return a},a.prototype.render=function(e,r,i){if(!this.strips.visible)return;this.strips.orientation==t.StiStrips_StiOrientation.Vertical&&this.renderXStrips(e,r,i),this.strips.orientation!=t.StiStrips_StiOrientation.Horizontal&&this.strips.orientation!=t.StiStrips_StiOrientation.HorizontalRight||this.renderYStrips(e,r,i)},Object.defineProperty(a.prototype,"strips",{get:function(){return this._strips},set:function(e){this._strips=e},enumerable:!1,configurable:!0}),a}();t.StiStripsCoreXF=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.System.Drawing.Font,n=e.Base.Drawing.StiSolidBrush,o=e.System.Drawing.Color,a=e.Base.Drawing.StiGradientBrush,s=e.Base.Drawing.StiColorUtils,l=function(){function e(){this._chart=null,this._markerVisible=!0}return e.prototype.implements=function(){return e.implementsStiStyleCoreXF||(e.implementsStiStyleCoreXF=[t.IStiStyleCoreXF]),e.implementsStiStyleCoreXF},Object.defineProperty(e.prototype,"localizedName",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle01},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"chartBrush",{get:function(){return new n(s.light(this.basicStyleColor,100))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"chartAreaBrush",{get:function(){return new a(s.light(this.basicStyleColor,80),s.light(this.basicStyleColor,40),90)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"chartAreaBorderColor",{get:function(){return s.dark(this.basicStyleColor,150)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"chartAreaShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seriesLabelsBrush",{get:function(){return new n(this.basicStyleColor)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seriesLabelsColor",{get:function(){return s.dark(this.basicStyleColor,150)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seriesLabelsBorderColor",{get:function(){return s.dark(this.basicStyleColor,150)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seriesLabelsLineColor",{get:function(){return s.dark(this.basicStyleColor,150)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seriesLabelsFont",{get:function(){return new i("Arial",7)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trendLineColor",{get:function(){return s.dark(this.basicStyleColor,150)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trendLineShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"legendBrush",{get:function(){return new a(s.light(this.basicStyleColor,80),s.light(this.basicStyleColor,20),90)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"legendLabelsColor",{get:function(){return s.dark(this.basicStyleColor,150)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"legendBorderColor",{get:function(){return s.dark(this.basicStyleColor,150)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"legendTitleColor",{get:function(){return s.dark(this.basicStyleColor,150)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"legendShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"legendFont",{get:function(){return new i("Arial",8)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"axisTitleColor",{get:function(){return s.dark(this.basicStyleColor,150)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"axisLineColor",{get:function(){return s.dark(this.basicStyleColor,150)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"axisLabelsColor",{get:function(){return s.dark(this.basicStyleColor,150)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"interlacingHorBrush",{get:function(){return new n(o.fromArgb(10,s.dark(this.basicStyleColor,100)))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"interlacingVertBrush",{get:function(){return new n(o.fromArgb(10,s.dark(this.basicStyleColor,100)))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"gridLinesHorColor",{get:function(){return o.fromArgb(100,s.dark(this.basicStyleColor,150))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"gridLinesVertColor",{get:function(){return o.fromArgb(100,s.dark(this.basicStyleColor,150))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seriesLighting",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seriesShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seriesShowBorder",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"markerVisible",{get:function(){return this._markerVisible},set:function(e){this._markerVisible=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstStyleColor",{get:function(){return this.styleColors[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastStyleColor",{get:function(){return this.styleColors[this.styleColors.length-1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"styleColors",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"basicStyleColor",{get:function(){return null},enumerable:!1,configurable:!0}),e.prototype.fillColumn=function(e,t,r,i){e.fillRectangle2(r,t.x,t.y,t.width,t.height,i)},e.prototype.getAreaBrush=function(e){return new n(o.fromArgb(200,e))},e.prototype.getColumnBrush=function(e){return new a(e,s.dark(e,50),0)},e.prototype.getColumnBorder=function(e){if(!this.seriesShowBorder)return o.transparent;return s.dark(e,100)},e.prototype.getColors=function(e,t){for(var i=r.create(o,e),n=null!=t?t:this.styleColors,a=0,s=0,l=0;ln?r.push(t.getByIndex(0).arguments[n].toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator)):r.push((n+1).toString());return r},f.prototype.getTableValues=function(){for(var n,o,a=this.chartTable.chart.series,s=this.getArguments(),l=r.create2(String,a.count+1,s.length+1),c=0;c1&&(b=d.stimulsoft.remove(0,1).stimulsoft.toNumber()),v=S.seriesLabels.core.recalcValue(y,b)}catch(t){e.System.StiError.showError(t,!1),v=S.seriesLabels.core.recalcValue(y,2)}l[p][g]=i.format("{0:N"+b.toString()+"}{1}",v,"%")}else{var C=y;S.core.isDateTimeValues&&(C=u.fromOADate(y)),l[p][g]=i.format("{0:"+d+"}",C)}g++}p++}}catch(e){n={error:e}}finally{try{m&&!m.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}return l},f}();t.StiChartTableCoreXF=f}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.ICloneable,i=function(){function e(e){this._trendLine=e}return e.prototype.implements=function(){return e.implementsStiTrendLineCoreXF||(e.implementsStiTrendLineCoreXF=[r,t.IStiTrendLineCoreXF]),e.implementsStiTrendLineCoreXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"localizedName",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"trendLine",{get:function(){return this._trendLine},set:function(e){this._trendLine=e},enumerable:!1,configurable:!0}),e.prototype.renderTrendLine=function(e,t,r){},e.prototype.sum=function(e){var t,r,i=0;try{for(var n=__values(e),o=n.next();!o.done;o=n.next()){var a;i+=o.value}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return i},e.prototype.sumSqr=function(e){var t,r,i=0;try{for(var n=__values(e),o=n.next();!o.done;o=n.next()){var a=o.value;i+=a*a}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return i},e.prototype.sumProductions=function(e,t){for(var r=0,i=0;i0){for(var a=r.create(Number,i.length),s=r.create(Number,i.length),l=i[0].x,u=i[0].x,c=0;ci[c].x&&(u=i[c].x);for(var h=i.length,p=this.sum(a),f=this.sumSqr(a),m=this.sumProductionsXLogY(a,s),S=this.sumLn(s),g=(h*m-p*S)/(h*f-p*p),y=(f*S-p*m)/(h*f-p*p),d=Math.exp(y),b=r.create(n,31,!0),v=0;v<31;v++){var C=u+(l-u)/30*v,w=d*Math.exp(g*C);b[v]=new n(C,o-w)}var x=new t.StiTrendCurveGeom(b,this.trendLine);e.createChildGeoms(),e.childGeoms.push(x)}},o}(t.StiTrendLineCoreXF);t.StiTrendLineExponentialCoreXF=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Point,o=function(e){function o(t){return e.call(this,t)||this}return __extends(o,e),Object.defineProperty(o.prototype,"localizedName",{get:function(){return i.get("PropertyMain","Linear")},enumerable:!1,configurable:!0}),o.prototype.renderTrendLine=function(e,i,o){if(i.length>0){for(var a=r.create(Number,i.length),s=r.create(Number,i.length),l=i[0].x,u=i[0].x,c=0;ca[c]&&(u=a[c]);var h=i.length,p=this.sum(a),f=this.sum(s),m=this.sumSqr(a),S=this.sumProductions(a,s),g=p*p-m*h,y=(f*p-S*h)/g,d=(p*S-m*f)/g,b=new t.StiTrendLineGeom(new n(u,y*u+d),new n(l,y*l+d),this.trendLine);e.createChildGeoms(),e.childGeoms.push(b)}},o}(t.StiTrendLineCoreXF);t.StiTrendLineLinearCoreXF=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Point,o=function(e){function o(t){return e.call(this,t)||this}return __extends(o,e),Object.defineProperty(o.prototype,"localizedName",{get:function(){return i.get("PropertyMain","Logarithmic")},enumerable:!1,configurable:!0}),o.prototype.renderTrendLine=function(e,i,o){if(i.length>0){for(var a=r.create(Number,i.length),s=r.create(Number,i.length),l=i[0].x,u=i[0].x,c=0;ci[c].x&&(u=i[c].x);for(var h=i.length,p=this.sum(a),f=this.sum(s),m=this.sumSqr(a),S=this.sumProductions(a,s),g=p*p-m*h,y=(f*p-S*h)/g,d=(p*S-m*f)/g,b=r.create(n,31,!0),v=0;v<31;v++){var C=u+(l-u)/30*v,w=y*Math.log(C)+d;b[v]=new n(C,w)}var x=new t.StiTrendCurveGeom(b,this.trendLine);e.createChildGeoms(),e.childGeoms.push(x)}},o}(t.StiTrendLineCoreXF);t.StiTrendLineLogarithmicCoreXF=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Localization.StiLocalization,i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),Object.defineProperty(t.prototype,"localizedName",{get:function(){return r.get("Chart","LabelsNone")},enumerable:!1,configurable:!0}),t}(t.StiTrendLineCoreXF);t.StiTrendLineNoneCoreXF=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Rectangle,i=e.Base.Context.StiGeom,n=e.Base.Context.StiGeomType,o=e.Report.Chart.IStiSeriesElement,a=function(e){function i(t){var i=e.call(this)||this;return i._childGeoms=null,i._clientRectangle=r.empty,i._clientRectangle=t.clone(),i}return __extends(i,e),i.prototype.implements=function(){return i.implementsStiCellGeom||(i.implementsStiCellGeom=e.prototype.implements.call(this).concat([t.IStiGeomInteraction,t.IStiCellGeom])),i.implementsStiCellGeom},i.prototype.invokeClick=function(e){},i.prototype.invokeMouseEnter=function(e){},i.prototype.invokeMouseLeave=function(e){},i.prototype.invokeMouseDown=function(e){},i.prototype.invokeMouseUp=function(e){},i.prototype.invokeDrag=function(e){},Object.defineProperty(i.prototype,"invisible",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"type",{get:function(){return n.None},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"childGeoms",{get:function(){return this._childGeoms},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"clientRectangle",{get:function(){return this._clientRectangle},set:function(e){this._clientRectangle=e},enumerable:!1,configurable:!0}),i.prototype.dispose=function(){var e,t;if(null!=this._childGeoms){try{for(var r=__values(this._childGeoms),i=r.next();!i.done;i=r.next())var n=i.value}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this._childGeoms.stimulsoft.clear(),this._childGeoms=null}},i.prototype.contains=function(e,t){if(this.invisible)return!1;return this.clientRectangle.contains(e,t)},i.prototype.getGeomAt=function(e,r,i){var n,o,a=r-e.clientRectangle.x,s=i-e.clientRectangle.y;if(null!=e.childGeoms){var l=e,u=null;try{for(var c=__values(e.childGeoms),h=c.next();!h.done;h=c.next()){var p=h.value;if(null!=l&&l.isChildVisibleInView(p)||null==l)if(p.stimulsoft.is(t.StiAxisAreaGeom)){if(!p.view.contains(r,i))continue;var f;null!=(f=this.getGeomAt(p,a,s))&&(u=f)}else{var f;if(null!=(f=this.getGeomAt(p,a,s))&&(u=f).stimulsoft.is(t.StiMarkerGeom))return u}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}if(null!=u)return u}if(e.contains(r,i))return e;return null},i.prototype.getSeriesGeoms=function(){var e,r,i,n,o=[];if(null==this._childGeoms)return o;try{for(var a=__values(this.childGeoms),s=a.next();!s.done;s=a.next()){var l=s.value;(l.stimulsoft.is(t.StiSeriesGeom)||l.stimulsoft.is(t.StiSeriesElementGeom))&&o.push(l);var u=l.getSeriesGeoms();try{for(var c=(i=void 0,__values(u)),h=c.next();!h.done;h=c.next()){var p=h.value;o.push(p)}}catch(e){i={error:e}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(i)throw i.error}}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return o},i.prototype.getSeriesElementGeoms=function(){var e,t,r,i,n=[];if(null==this.childGeoms)return n;try{for(var a=__values(this.childGeoms),s=a.next();!s.done;s=a.next()){var l=s.value;l.stimulsoft.is(o)&&n.push(l);var u=l.getSeriesElementGeoms();try{for(var c=(r=void 0,__values(u)),h=c.next();!h.done;h=c.next()){var p=h.value;n.push(p)}}catch(e){r={error:e}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return n},i.prototype.getRect=function(e){var t,i,n=r.empty;if(null==this._childGeoms)return n;try{for(var o=__values(this.childGeoms),a=o.next();!a.done;a=o.next()){var s=a.value;if(s==e)return n.x+=s.clientRectangle.x,n.y+=s.clientRectangle.y,n.size=s.clientRectangle.size,n;var l=s.getRect(e);if(!l.isEmpty)return n.x+=s.clientRectangle.x,n.y+=s.clientRectangle.y,n.x+=l.x,n.y+=l.y,n.size=l.size,n}}catch(e){t={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}return n},i.prototype.createChildGeoms=function(){null==this._childGeoms&&(this._childGeoms=[])},i.prototype.draw=function(e){},i.prototype.drawGeom=function(e){this.draw(e),this.drawChildGeoms(e)},i.prototype.drawChildGeoms=function(e){var t,r;if(null!=this.childGeoms){e.pushTranslateTransform(this.clientRectangle.x,this.clientRectangle.y);try{for(var i=__values(this.childGeoms),n=i.next();!n.done;n=i.next()){var o=n.value;this.allowChildDrawing(o)&&o.drawGeom(e)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}e.popTransform()}},i.prototype.allowChildDrawing=function(e){return null!=e},i}(i);t.StiCellGeom=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiShadowSides,i=function(e){function t(t,r){var i=e.call(this,r)||this;return i._area=t,i}return __extends(t,e),Object.defineProperty(t.prototype,"area",{get:function(){return this._area},enumerable:!1,configurable:!0}),t.prototype.draw=function(e){var t=this.clientRectangle.clone();if(t.isEmpty)return;t.width>0&&t.height>0&&(this._area.showShadow&&e.drawCachedShadow(t,r.All,e.options.isPrinting),e.fillRectangle(this._area.brush,t,null))},t}(t.StiCellGeom);t.StiAreaGeom=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.Base.Context.StiPenGeom,n=e.Base.Drawing.StiPenStyle,o=e.System.Drawing.Rectangle,a=function(e){function t(t,r,i){var n=e.call(this,r,i)||this;return n.minWidth=6,n._view=t,n}return __extends(t,e),Object.defineProperty(t.prototype,"view",{get:function(){return this._view},enumerable:!1,configurable:!0}),t.prototype.drawInterlacingHor=function(e,t){var i,n,a,s;t.x=0,t.width=this.view.clientRectangle.width;var l=this.area;if(!l.interlacingHor.visible)return;for(var u=[],c=l.yAxis.info.stripPositions.length,h=r.create(Number,c),p=0;p=0&&O.y0){var A=new o(x+t.x,t.y,_-x,t.height);A.right>=0&&A.x0)continue;m=d;var v=1;if(o.visible&&o.style!=n.None){var C=new i(o.color,v);C.penStyle=o.style;var w=d+t.y;w>=0&&w<=this.clientRectangle.height&&e.drawLine(C,t.x,w,t.right,w)}if(o.minorVisible&&o.minorStyle!=n.None&&S!=c.length-1){var x=c[S+1];if(d-x=0&&B<=this.clientRectangle.height&&e.drawLine(_,t.x,B,t.right,B)}}S++}}catch(e){s={error:e}}finally{try{y&&!y.done&&(l=g.return)&&l.call(g)}finally{if(s)throw s.error}}},t.prototype.drawGridLinesVer=function(e,t,r,o){var a,s;t.y=0,t.height=this.view.clientRectangle.height;var l=this.area,u=o?l.xAxis.info.stripPositions:l.xTopAxis.info.stripPositions,c=0,h=0;try{for(var p=__values(u),f=p.next();!f.done;f=p.next()){var m=f.value,S=m-c;if(S0)continue;c=m;var g=1;if(r.visible&&r.style!=n.None){var y=new i(r.color,g);y.penStyle=r.style;var d=m+t.x;d>=0&&d<=this.clientRectangle.width&&e.drawLine(y,d,t.y,d,t.bottom)}if(r.minorVisible&&r.minorStyle!=n.None&&h!=u.length-1){var b=u[h+1];if(b-m=0&&A<=this.clientRectangle.width&&e.drawLine(v,A,t.y,A,t.bottom)}}h++}}catch(e){a={error:e}}finally{try{f&&!f.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}},t.prototype.allowChildDrawing=function(e){return null!=e&&this.isChildVisibleInView(e)},t.prototype.isChildVisibleInView=function(e){var t=this.view.clientRectangle.clone();t.x=0,t.y=0;var r=e.clientRectangle.clone();return r.x-=this.area.core.scrollDistanceX,r.y-=this.area.core.scrollDistanceY,null!=e&&t.intersectsWith(r)},t.prototype.draw=function(t){e.prototype.draw.call(this,t);var r=this.area,i=this.clientRectangle.clone();if(i.isEmpty)return;var n=r.axisCore.getSeries();n.length>0&&(this.drawInterlacingHor(t,i),this.drawInterlacingVer(t,i)),n.length>0&&(this.drawGridLinesHor(t,i,r.gridLinesHor,!0),this.drawGridLinesHor(t,i,r.gridLinesHorRight,!1),this.drawGridLinesVer(t,i,r.gridLinesVert,!0))},t}(t.StiAreaGeom);t.StiAxisAreaGeom=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=function(e){function i(t,r){return e.call(this,t,r)||this}return __extends(i,e),i.prototype.drawGeom=function(t){e.prototype.drawGeom.call(this,t),this.drawBorder(t)},i.prototype.drawChildGeoms=function(e){var r,i;if(null!=this.childGeoms){var n=this.clientRectangle.clone();n.x=0,n.y=0,e.pushTranslateTransform(this.clientRectangle.x,this.clientRectangle.y);try{for(var o=__values(this.childGeoms),a=o.next();!a.done;a=o.next()){var s=a.value,l=s.stimulsoft.is(t.StiAxisAreaGeom)||s.stimulsoft.is(t.StiXAxisGeom)&&s.isCenterAxis||s.stimulsoft.is(t.StiYAxisGeom)&&s.isCenterAxis;l&&e.pushClip(n),this.allowChildDrawing(s)&&s.drawGeom(e),l&&e.popClip()}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}e.popTransform()}},i.prototype.drawBorder=function(e){var t=this.clientRectangle.clone();if(t.isEmpty)return;var i=new r(this.area.borderColor);e.drawRectangle2(i,t.x,t.y,t.width,t.height)},i}(t.StiAreaGeom);t.StiAxisAreaViewGeom=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Drawing.StiShadowSides,n=function(e){function t(t,r){return e.call(this,t,r)||this}return __extends(t,e),t.prototype.draw=function(e){var t=this.clientRectangle.clone();if(t.width>0&&t.height>0){this.area.showShadow&&e.drawCachedShadow(t,i.All,e.options.isPrinting),e.fillRectangle2(this.area.brush,t.x,t.y,t.width,t.height,null);var n=new r(this.area.borderColor);e.drawRectangle2(n,t.x,t.y,t.width,t.height)}},t}(t.StiAreaGeom);t.StiPieAreaGeom=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(e){function t(t,r){return e.call(this,t,r)||this}return __extends(t,e),t}(e.StiPieAreaGeom);e.StiDoughnutAreaGeom=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(e){function t(t,r){return e.call(this,t,r)||this}return __extends(t,e),t.prototype.draw=function(e){},t}(e.StiAreaGeom);e.StiPictorialAreaGeom=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Context.StiLineSegmentGeom,n=e.System.Drawing.Point,o=e.System.Drawing.Rectangle,a=e.Base.Context.StiArcSegmentGeom,s=function(e){function s(t,r,i){var n=e.call(this,t,r)||this;return n._valuesCount=i,n}return __extends(s,e),Object.defineProperty(s.prototype,"valuesCount",{get:function(){return this._valuesCount},enumerable:!1,configurable:!0}),s.prototype.drawHor=function(e,s,l){var u,c,h,p,f,m,S,g,y=this.clientRectangle.clone(),d=this.area;if(null==d.yAxis.info.stripPositions)return;var b=d.core,v=0;try{for(var C=__values(d.yAxis.info.stripPositions),w=C.next();!w.done;w=C.next()){var x=w.value;if(0!=x){var _=new o(b.centerPoint.x-x,b.centerPoint.y-x,2*x,2*x);if(d.radarStyle==t.StiRadarStyle.Circle){if(s&&d.interlacingHor.visible&&v!=d.yAxis.info.stripPositions.length-1&&0==(1&v)){var A=[],L=d.yAxis.info.stripPositions[v+1],O=new o(b.centerPoint.x-L,b.centerPoint.y-L,2*L,2*L);A.push(new a(_,0,360)),A.push(new a(O,0,360)),e.fillPath(d.interlacingHor.interlacedBrush,A,y,null)}if(l&&d.gridLinesHor.visible){var P=void 0;v==d.yAxis.info.stripPositions.length-1?P=new r(d.borderColor):(P=new r(d.gridLinesHor.color)).penStyle=d.gridLinesHor.style,e.drawEllipse2(P,_)}}else{if(s&&d.interlacingHor.visible&&v!=d.yAxis.info.stripPositions.length-1&&1==(1&v)){var A=[],B=0;try{for(var R=(h=void 0,__values(b.points)),k=R.next();!k.done;k=R.next()){var T=k.value,j=void 0;j=B==b.points.length-1?b.points[0]:b.points[B+1];var F=new n(b.centerPoint.x+x*T.x,b.centerPoint.y+x*T.y),I=new n(b.centerPoint.x+x*j.x,b.centerPoint.y+x*j.y);A.push(new i(F.x,F.y,I.x,I.y)),B++}}catch(e){h={error:e}}finally{try{k&&!k.done&&(p=R.return)&&p.call(R)}finally{if(h)throw h.error}}var L=d.yAxis.info.stripPositions[v+1];B=0;try{for(var D=(f=void 0,__values(b.points)),N=D.next();!N.done;N=D.next()){var T=N.value,j=void 0;j=B==b.points.length-1?b.points[0]:b.points[B+1];var F=new n(b.centerPoint.x+L*T.x,b.centerPoint.y+L*T.y),I=new n(b.centerPoint.x+L*j.x,b.centerPoint.y+L*j.y);A.push(new i(F.x,F.y,I.x,I.y)),B++}}catch(e){f={error:e}}finally{try{N&&!N.done&&(m=D.return)&&m.call(D)}finally{if(f)throw f.error}}e.fillPath(d.interlacingHor.interlacedBrush,A,y,null)}if(l&&d.gridLinesHor.visible){var M=0;try{for(var E=(S=void 0,__values(b.points)),V=E.next();!V.done;V=E.next()){var T=V.value,j=void 0;j=M==b.points.length-1?b.points[0]:b.points[M+1];var P=void 0;v==d.yAxis.info.stripPositions.length-1?P=new r(d.borderColor):(P=new r(d.gridLinesHor.color)).penStyle=d.gridLinesHor.style,e.drawLine(P,b.centerPoint.x+x*T.x,b.centerPoint.y+x*T.y,b.centerPoint.x+x*j.x,b.centerPoint.y+x*j.y),M++}}catch(e){S={error:e}}finally{try{V&&!V.done&&(g=E.return)&&g.call(E)}finally{if(S)throw S.error}}}}}v++}}catch(e){u={error:e}}finally{try{w&&!w.done&&(c=C.return)&&c.call(C)}finally{if(u)throw u.error}}},s.prototype.drawVert=function(e,o,s){var l,u,c=this.clientRectangle.clone(),h=this.area,p=h.core,f=0,m=360/p.points.length,S=0;try{for(var g=__values(p.points),y=g.next();!y.done;y=g.next()){var d=y.value,b=p.centerPoint,v=new n(b.x+c.width/2*d.x,b.y+c.width/2*d.y);if(o&&h.interlacingVert.visible){var C=f0&&t.height>0&&(e.pushSmoothingModeToAntiAlias(),this.drawBackground(e),this.drawVert(e,!0,!1),this.drawHor(e,!0,!1),this.drawVert(e,!1,!0),this.drawHor(e,!1,!0),e.popSmoothingMode())},s}(t.StiAreaGeom);t.StiRadarAreaGeom=s}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(e){function t(t,r){return e.call(this,t,r)||this}return __extends(t,e),t}(e.StiPieAreaGeom);e.StiSunburstAreaGeom=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Drawing.StiShadowSides,n=function(e){function t(t,r){return e.call(this,t,r)||this}return __extends(t,e),t.prototype.draw=function(e){var t=this.clientRectangle.clone();if(t.width>0&&t.height>0){this.area.showShadow&&e.drawCachedShadow(t,i.All,e.options.isPrinting),e.fillRectangle2(this.area.brush,t.x,t.y,t.width,t.height,null);var n=new r(this.area.borderColor);e.drawRectangle2(n,t.x,t.y,t.width,t.height)}},t}(t.StiAreaGeom);t.StiTreemapAreaGeom=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Context.StiLineSegmentGeom,n=e.Base.Drawing.StiColorUtils,o=e.System.TimeSpan,a=e.System.Drawing.Color,s=e.System.Drawing.Point,l=function(e){function l(t,r){var i=e.call(this,r)||this;return i._axis=t,i}return __extends(l,e),l.prototype.invokeMouseEnter=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;this.axis.core.isMouseOverIncreaseButton||(this.axis.core.isMouseOverIncreaseButton=!0,e.updateContext=!0)},l.prototype.invokeMouseLeave=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;this.axis.core.isMouseOverIncreaseButton&&(this.axis.core.isMouseOverIncreaseButton=!1,e.updateContext=!0)},l.prototype.invokeMouseDown=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;e.updateContext=this.moveDown(),e.updateContext&&(e.isRecalled?e.recallTime=o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarOtherRecallTime):e.recallTime=o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarFirstRecallTime),e.recallEvent=!0)},l.prototype.moveDown=function(){var e=this.axis.area.core;return!(e.scrollValueY>=e.scrollRangeY-e.scrollViewY)&&(e.scrollValueY+=e.scrollViewY*t.StiAxisCoreXF.defaultScrollBarSmallFactor,e.scrollValueY>=e.scrollRangeY-e.scrollViewY&&(e.scrollValueY=e.scrollRangeY-e.scrollViewY),e.blockScrollValueY=!0,!0)},Object.defineProperty(l.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),l.prototype.draw=function(e){var t=e.options.zoom,o=this.clientRectangle.clone(),l=o.x+o.width/2,u=a.white;this.axis.core.isMouseOverIncreaseButton?(e.fillRectangle2(n.light(this.axis.lineColor,50),o.x,o.y,o.width,o.height,null),e.drawRectangle2(new r(this.axis.lineColor),o.x,o.y,o.width,o.height)):u=this.axis.lineColor;var c=o.width/3,h=o.height/4,p=new s(o.x+o.width/2,o.y+o.height/2);e.pushSmoothingModeToAntiAlias();var f=[];f.push(new i(p.x-c,p.y-h,p.x,p.y+h)),f.push(new i(p.x,p.y+h,p.x+c,p.y-h)),e.fillPath(u,f,o,null),e.popSmoothingMode()},l}(t.StiCellGeom);t.StiDownButtonGeom=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=function(e){function t(t,r){var i=e.call(this,r)||this;return i._axis=t,i}return __extends(t,e),t.prototype.invokeMouseDown=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;var t=this.axis.area.core;t.blockScrollValueX=!0;var r=this.clientRectangle.height,i=e.mousePoint.x-r,n=this.clientRectangle.width-2*r;t.scrollValueX=i/n*t.scrollRangeX,t.scrollValueX<0&&(t.scrollValueX=0),t.scrollValueX>=t.scrollRangeX-t.scrollViewX&&(t.scrollValueX=t.scrollRangeX-t.scrollViewX),e.updateContext=!0},t.prototype.draw=function(e){var t=this.clientRectangle.clone(),i=new r(this.axis.lineColor);e.drawRectangle2(i,t.x,t.y,t.width,t.height)},Object.defineProperty(t.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),t}(t.StiCellGeom);t.StiHorzScrollBarGeom=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Drawing.StiColorUtils,n=e.System.Drawing.Color,o=function(e){function t(t,r,i){var n=e.call(this,r)||this;return n._axis=t,n._scrollBar=i,n}return __extends(t,e),t.prototype.invokeMouseEnter=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;this.axis.core.isMouseOverTrackBar||(this.axis.core.isMouseOverTrackBar=!0,e.updateContext=!0)},t.prototype.invokeMouseLeave=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;this.axis.core.isMouseOverTrackBar&&(this.axis.core.isMouseOverTrackBar=!1,e.updateContext=!0)},t.prototype.invokeMouseDown=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;var t=this.axis.area.core;e.dragEnabled=!0,t.scrollDragStartValue=t.scrollValueX},t.prototype.invokeDrag=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;var t=this.axis.area.core;t.blockScrollValueX=!0;var r=this.scrollBar.clientRectangle.height,i=this.scrollBar.clientRectangle.width-2*r;t.scrollValueX=e.dragDelta.width/i*t.scrollRangeX+t.scrollDragStartValue,t.scrollValueX<0&&(t.scrollValueX=0),t.scrollValueX>=t.scrollRangeX-t.scrollViewX&&(t.scrollValueX=t.scrollRangeX-t.scrollViewX),e.updateContext=!0},t.prototype.draw=function(e){var t=this.clientRectangle.clone(),o=new r(this.axis.lineColor),a=new r(n.white),s=this.axis.area.core,l=this.axis.area.xAxis;if(this.axis.core.isMouseOverTrackBar?e.fillRectangle2(i.light(this.axis.lineColor,50),t.x,t.y,t.width,t.height,null):e.fillRectangle2(this.axis.lineColor,t.x,t.y,t.width,t.height,null),e.drawRectangle2(o,t.x,t.y,t.width,t.height),t.width>10&&t.height>4){var u=t.x+t.width/2;e.drawLine(a,u-2,t.y+2,u-2,t.bottom-2),e.drawLine(a,u,t.y+2,u,t.bottom-2),e.drawLine(a,u+2,t.y+2,u+2,t.bottom-2)}},Object.defineProperty(t.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollBar",{get:function(){return this._scrollBar},enumerable:!1,configurable:!0}),t}(t.StiCellGeom);t.StiHorzTrackBarGeom=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Context.StiLineSegmentGeom,n=e.Base.Drawing.StiColorUtils,o=e.System.TimeSpan,a=e.System.Drawing.Color,s=e.System.Drawing.Point,l=function(e){function l(t,r){var i=e.call(this,r)||this;return i._axis=t,i}return __extends(l,e),l.prototype.invokeMouseEnter=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;this.axis.core.isMouseOverDecreaseButton||(this.axis.core.isMouseOverDecreaseButton=!0,e.updateContext=!0)},l.prototype.invokeMouseLeave=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;this.axis.core.isMouseOverDecreaseButton&&(this.axis.core.isMouseOverDecreaseButton=!1,e.updateContext=!0)},l.prototype.invokeMouseDown=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;e.updateContext=this.moveLeft(),e.updateContext&&(e.isRecalled?e.recallTime=o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarOtherRecallTime):e.recallTime=o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarFirstRecallTime),e.recallEvent=!0)},l.prototype.moveLeft=function(){var e=this.axis.area.core;return 0!=e.scrollValueX&&(e.scrollValueX-=e.scrollViewX*t.StiAxisCoreXF.defaultScrollBarSmallFactor,e.scrollValueX<0&&(e.scrollValueX=0),e.blockScrollValueX=!0,!0)},Object.defineProperty(l.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),l.prototype.draw=function(e){var t=e.options.zoom,o=this.clientRectangle.clone(),l=o.y+o.height/2,u=a.white;this.axis.core.isMouseOverDecreaseButton?(e.fillRectangle2(n.light(this.axis.lineColor,50),o.x,o.y,o.width,o.height,null),e.drawRectangle2(new r(this.axis.lineColor),o.x,o.y,o.width,o.height)):u=this.axis.lineColor;var c=o.width/4,h=o.height/3,p=new s(o.x+o.width/2,o.y+o.height/2);e.pushSmoothingModeToAntiAlias();var f=[];f.push(new i(p.x+c,p.y-h,p.x-c,p.y)),f.push(new i(p.x-c,p.y,p.x+c,p.y+h)),e.fillPath(u,f,o,null),e.popSmoothingMode()},l}(t.StiCellGeom);t.StiLeftButtonGeom=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Context.StiLineSegmentGeom,n=e.Base.Drawing.StiColorUtils,o=e.System.TimeSpan,a=e.System.Drawing.Color,s=e.System.Drawing.Point,l=function(e){function l(t,r){var i=e.call(this,r)||this;return i._axis=t,i}return __extends(l,e),l.prototype.invokeMouseEnter=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;this.axis.core.isMouseOverIncreaseButton||(this.axis.core.isMouseOverIncreaseButton=!0,e.updateContext=!0)},l.prototype.invokeMouseLeave=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;this.axis.core.isMouseOverIncreaseButton&&(this.axis.core.isMouseOverIncreaseButton=!1,e.updateContext=!0)},l.prototype.invokeMouseDown=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;e.updateContext=this.moveRight(),e.updateContext&&(e.isRecalled?e.recallTime=o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarOtherRecallTime):e.recallTime=o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarFirstRecallTime),e.recallEvent=!0)},l.prototype.moveRight=function(){var e=this.axis.area.core;return!(e.scrollValueX>=e.scrollRangeX-e.scrollViewX)&&(e.scrollValueX+=e.scrollViewX*t.StiAxisCoreXF.defaultScrollBarSmallFactor,e.scrollValueX>=e.scrollRangeX-e.scrollViewX&&(e.scrollValueX=e.scrollRangeX-e.scrollViewX),e.blockScrollValueX=!0,!0)},Object.defineProperty(l.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),l.prototype.draw=function(e){var t=e.options.zoom,o=this.clientRectangle.clone(),l=o.y+o.height/2,u=a.white;this.axis.core.isMouseOverIncreaseButton?(e.fillRectangle2(n.light(this.axis.lineColor,50),o.x,o.y,o.width,o.height,null),e.drawRectangle2(new r(this.axis.lineColor),o.x,o.y,o.width,o.height)):u=this.axis.lineColor;var c=o.width/4,h=o.height/3,p=new s(o.x+o.width/2,o.y+o.height/2);e.pushSmoothingModeToAntiAlias();var f=[];f.push(new i(p.x-c,p.y-h,p.x+c,p.y)),f.push(new i(p.x+c,p.y,p.x-c,p.y+h)),e.fillPath(u,f,o,null),e.popSmoothingMode()},l}(t.StiCellGeom);t.StiRightButtonGeom=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Context.StiLineSegmentGeom,n=e.Base.Drawing.StiColorUtils,o=e.System.TimeSpan,a=e.System.Drawing.Color,s=e.System.Drawing.Point,l=function(e){function l(t,r){var i=e.call(this,r)||this;return i._axis=t,i}return __extends(l,e),l.prototype.invokeMouseEnter=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;this.axis.core.isMouseOverDecreaseButton||(this.axis.core.isMouseOverDecreaseButton=!0,e.updateContext=!0)},l.prototype.invokeMouseLeave=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;this.axis.core.isMouseOverDecreaseButton&&(this.axis.core.isMouseOverDecreaseButton=!1,e.updateContext=!0)},l.prototype.invokeMouseDown=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;e.updateContext=this.moveUp(),e.updateContext&&(e.isRecalled?e.recallTime=o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarOtherRecallTime):e.recallTime=o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarFirstRecallTime),e.recallEvent=!0)},l.prototype.moveUp=function(){var e=this.axis.area.core;return 0!=e.scrollValueY&&(e.scrollValueY-=e.scrollViewY*t.StiAxisCoreXF.defaultScrollBarSmallFactor,e.scrollValueY<0&&(e.scrollValueY=0),e.blockScrollValueY=!0,!0)},Object.defineProperty(l.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),l.prototype.draw=function(e){var t=e.options.zoom,o=this.clientRectangle.clone(),l=o.x+o.width/2,u=a.white;this.axis.core.isMouseOverDecreaseButton?(e.fillRectangle2(n.light(this.axis.lineColor,50),o.x,o.y,o.width,o.height,null),e.drawRectangle2(new r(this.axis.lineColor),o.x,o.y,o.width,o.height)):u=this.axis.lineColor;var c=o.width/3,h=o.height/4,p=new s(o.x+o.width/2,o.y+o.height/2);e.pushSmoothingModeToAntiAlias();var f=[];f.push(new i(p.x-c,p.y+h,p.x,p.y-h)),f.push(new i(p.x,p.y-h,p.x+c,p.y+h)),e.fillPath(u,f,o,null),e.popSmoothingMode()},l}(t.StiCellGeom);t.StiUpButtonGeom=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=function(e){function t(t,r){var i=e.call(this,r)||this;return i._axis=t,i}return __extends(t,e),t.prototype.invokeMouseDown=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;var t=this.axis.area.core;t.blockScrollValueY=!0;var r=this.clientRectangle.width,i=e.mousePoint.y-r,n=this.clientRectangle.height-2*r;t.scrollValueY=i/n*t.scrollRangeY,t.scrollValueY<0&&(t.scrollValueY=0),t.scrollValueY>=t.scrollRangeY-t.scrollViewY&&(t.scrollValueY=t.scrollRangeY-t.scrollViewY),e.updateContext=!0},t.prototype.draw=function(e){var t=this.clientRectangle.clone(),i=new r(this.axis.lineColor);e.drawRectangle2(i,t.x,t.y,t.width,t.height)},Object.defineProperty(t.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),t}(t.StiCellGeom);t.StiVertScrollBarGeom=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Drawing.StiColorUtils,n=e.System.Drawing.Color,o=function(e){function t(t,r,i){var n=e.call(this,r)||this;return n._axis=t,n._scrollBar=i,n}return __extends(t,e),t.prototype.invokeMouseEnter=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;this.axis.core.isMouseOverTrackBar||(this.axis.core.isMouseOverTrackBar=!0,e.updateContext=!0)},t.prototype.invokeMouseLeave=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;this.axis.core.isMouseOverTrackBar&&(this.axis.core.isMouseOverTrackBar=!1,e.updateContext=!0)},t.prototype.invokeMouseDown=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;var t=this.axis.area.core;e.dragEnabled=!0,t.scrollDragStartValue=t.scrollValueY},t.prototype.invokeDrag=function(e){if(!this.axis.interaction.rangeScrollEnabled)return;var t=this.axis.area.core;t.blockScrollValueY=!0;var r=this.scrollBar.clientRectangle.height,i=this.scrollBar.clientRectangle.height-2*r;t.scrollValueY=-e.dragDelta.height/i*t.scrollRangeY+t.scrollDragStartValue,t.scrollValueY<0&&(t.scrollValueY=0),t.scrollValueY>=t.scrollRangeY-t.scrollViewY&&(t.scrollValueY=t.scrollRangeY-t.scrollViewY),e.updateContext=!0},t.prototype.draw=function(e){var t=e.options.zoom,o=this.clientRectangle.clone(),a=new r(this.axis.lineColor),s=new r(n.white),l=this.axis.area.core,u=this.axis.area.xAxis;if(this.axis.core.isMouseOverTrackBar?e.fillRectangle2(i.light(this.axis.lineColor,50),o.x,o.y,o.width,o.height,null):e.fillRectangle2(this.axis.lineColor,o.x,o.y,o.width,o.height,null),e.drawRectangle2(a,o.x,o.y,o.width,o.height),o.height>10&&o.width>4){var c=o.y+o.height/2;e.drawLine(s,o.x+2,c-2,o.right-2,c-2),e.drawLine(s,o.x+2,c,o.right-2,c),e.drawLine(s,o.x+2,c+2,o.right-2,c+2)}},Object.defineProperty(t.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollBar",{get:function(){return this._scrollBar},enumerable:!1,configurable:!0}),t}(t.StiCellGeom);t.StiVertTrackBarGeom=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiSolidBrush,i=function(e){function t(t,r,i,n,o,a,s){var l=e.call(this,r)||this;return l._axis=t,l._text=n,l._stripLine=o,l._textPoint=i,l._angle=a,l._rotationMode=s,l}return __extends(t,e),Object.defineProperty(t.prototype,"rotationMode",{get:function(){return this._rotationMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textPoint",{get:function(){return this._textPoint},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this._angle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this._text},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stripLine",{get:function(){return this._stripLine},enumerable:!1,configurable:!0}),t.prototype.draw=function(e){var t=this.axis.core.getStringFormatGeom(e),i=this.axis.core.getFontGeom(e),n=new r(this.axis.labels.color);e.drawRotatedString9(this.text,i,n,this.textPoint,t,this.rotationMode,this.angle,this.axis.labels.antialiasing,Math.trunc(this.axis.labels.width*e.options.zoom))},t}(t.StiCellGeom);t.StiAxisLabelGeom=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Drawing.StiSolidBrush,n=function(e){function t(t,r,i,n,o){var a=e.call(this,r)||this;return a._angle=0,a._axis=t,a._angle=i,a._font=o,a}return __extends(t,e),Object.defineProperty(t.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this._angle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"font",{get:function(){return this._font},enumerable:!1,configurable:!0}),t.prototype.draw=function(e){var t=new i(this.axis.title.color),n=e.getDefaultStringFormat();e.drawRotatedString5(this.axis.title.text,this.font,t,this.clientRectangle,n,r.CenterCenter,this.angle,this.axis.title.antialiasing)},t}(t.StiCellGeom);t.StiAxisTitleGeom=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPathGeom,i=e.Base.Context.StiPenGeom,n=e.Base.Context.StiLineSegmentGeom,o=e.Base.Context.StiArcSegmentGeom,a=e.System.DateTime,s=e.Base.Drawing.StiSolidBrush,l=e.System.Drawing.Point,u=e.System.Drawing.Rectangle,c=function(e){function c(t,r,i){var n=e.call(this,r)||this;return n._axis=t,n._isCenterAxis=i,n}return __extends(c,e),Object.defineProperty(c.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isCenterAxis",{get:function(){return this._isCenterAxis},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"view",{get:function(){return this._view},set:function(e){this._view=e},enumerable:!1,configurable:!0}),c.prototype.drawArrow=function(e,a){var c=e.options.zoom,h=new i(this.axis.lineColor,this.axis.lineWidth),p=new i(this.axis.lineColor),f=new s(this.axis.lineColor),m=0;this.axis.core.isBottomSide&&(m=a.y),this.axis.core.isTopSide&&(m=a.bottom);var S=l.empty;switch(S=this.axis.area.reverseHor?new l(a.x,m):new l(a.right,m),this.axis.arrowStyle){case t.StiArrowStyle.Triangle:e.drawLine(h,S.x,S.y,S.x+this.axis.core.arrowHeight*c,S.y),e.pushSmoothingModeToAntiAlias();var g=[];g.push(new n(S.x+this.axis.core.arrowHeight*c,S.y-this.axis.core.arrowWidth*c,S.x+4*this.axis.core.arrowHeight*c,S.y)),g.push(new n(S.x+4*this.axis.core.arrowHeight*c,S.y,S.x+this.axis.core.arrowHeight*c,S.y+this.axis.core.arrowWidth*c)),e.fillPath(f,g,a,null),e.popSmoothingMode();break;case t.StiArrowStyle.Lines:e.drawLine(h,S.x,S.y,S.x+4*this.axis.core.arrowHeight*c,S.y),e.pushSmoothingModeToAntiAlias(),e.drawLine(p,S.x+this.axis.core.arrowHeight*c,S.y-this.axis.core.arrowWidth*c,S.x+4*this.axis.core.arrowHeight*c,S.y),e.drawLine(p,S.x+4*this.axis.core.arrowHeight*c,S.y,S.x+this.axis.core.arrowHeight*c,S.y+this.axis.core.arrowWidth*c),e.popSmoothingMode();break;case t.StiArrowStyle.Circle:var y=this.axis.core.arrowHeight*c;e.drawLine(h,S.x,S.y,S.x+2*y,S.y);var d=new l(S.x+2*y,S.y-y/2);e.pushSmoothingModeToAntiAlias();var b=new u(d.x,d.y,y,y);e.drawEllipse2(h,b),e.popSmoothingMode();break;case t.StiArrowStyle.Arc:case t.StiArrowStyle.ArcAndCircle:var v=this.axis.core.arrowHeight*c;e.drawLine(h,S.x,S.y,S.x+2*v,S.y),e.pushSmoothingModeToAntiAlias();var C=[];if(this.axis.area.reverseHor){var w=new l(S.x+3*v,S.y+v/2),x=new u(w.x,w.y,Math.abs(v),Math.abs(v));this.axis.arrowStyle==t.StiArrowStyle.ArcAndCircle&&(x.x-=c,x.inflate(1,1)),C.push(new o(x,270,180))}else{var w=new l(S.x+2*v,S.y-v/2),x=new u(w.x,w.y,Math.abs(v),Math.abs(v));this.axis.arrowStyle==t.StiArrowStyle.ArcAndCircle&&(x.x+=c,x.inflate(1,1)),C.push(new o(x,90,180))}if(e.drawPath(h,C,r.getBoundsState),this.axis.arrowStyle==t.StiArrowStyle.ArcAndCircle){var _=this.axis.core.arrowHeight*c,A=new l(S.x+2*_+c,S.y-_/2),L=new u(A.x,A.y,_,_);this.axis.area.reverseHor?(L.inflate(.5*c,.5*c),L.x-=3*c):(L.inflate(-.5*c,-.5*c),L.x+=c),e.fillEllipse2(f,L,null)}e.popSmoothingMode();break}},c.prototype.drawAxisLine=function(e,r){var n=0;this.axis.core.isTopSide&&(n=r.bottom),this.axis.core.isBottomSide&&(n=r.top);var o=new i(this.axis.lineColor,this.axis.lineWidth);o.penStyle=this.axis.lineStyle,!this.isCenterAxis||this.axis.showXAxis!=t.StiShowXAxis.Both&&this.axis.showXAxis!=t.StiShowXAxis.Center?this.isCenterAxis||this.axis.showXAxis!=t.StiShowXAxis.Both&&this.axis.showXAxis!=t.StiShowXAxis.Bottom||e.drawLine(o,r.x,n,r.right,n):this.axis.area.reverseVert?e.drawLine(o,r.x,n,r.right,n):e.drawLine(o,r.x,n+r.height,r.right,n+r.height)},c.prototype.drawMinorTicks=function(e,t,r,i,n,o){for(var a,s=(i-r)/(o.minorCount+1),l=o.minorLength*e.options.zoom,u=1;u<=o.minorCount;u++){var c=r+s*u,h=this.axis.core.isTopSide||this.isCenterAxis?n-l:n+l;this.axis.area.reverseVert&&this.isCenterAxis&&(h=n+l),e.drawLine(t,c,n,c,h)}},c.prototype.drawTicks=function(e,r,i,n){var o,s;if(!i.visible)return;var l=i.length*e.options.zoom,u=this.axis.core.isTopSide||this.isCenterAxis?r.bottom:r.top,c=this.axis.core.isTopSide||this.isCenterAxis?u-l:u+l;this.isCenterAxis&&this.axis.area.reverseVert&&(c=u+l);var h=this.axis.info.ticksCollection;if(this.isArgumentDateTime(h)&&this.axis.area.xAxis.dateTimeStep.step!=t.StiTimeDateStep.None)for(var p=void 0,f=void 0,m=!0,S="",g=0,y=0;yr.right)},c.prototype.draw=function(e){var t=this.clientRectangle.clone();if(t.width<=0||t.height<=0)return;if(null!=this.view){var r=this.getViewclipRect();e.pushClip(r)}this.drawAxis(e,t),null!=this.view&&e.popClip()},c}(t.StiCellGeom);t.StiXAxisGeom=c}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(t){function r(e,r,i){return t.call(this,e,r,i)||this}return __extends(r,t),r.prototype.drawChildGeoms=function(t){var r,i,n=this.clientRectangle.clone();if(this.isCenterAxis&&(n.y+=this.axis.area.core.getDividerY()-this.axis.area.core.scrollDistanceY),null!=this.childGeoms)try{for(var o=__values(this.childGeoms),a=o.next();!a.done;a=o.next()){var s=a.value;this.allowChildDrawing(s)&&(s.stimulsoft.is(e.StiHorzScrollBarGeom)||t.pushTranslateTransform(-this.axis.area.core.scrollDistanceX,0),t.pushTranslateTransform(n.x,n.y),s.drawGeom(t),t.popTransform(),s.stimulsoft.is(e.StiHorzScrollBarGeom)||t.popTransform())}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}this.draw(t)},r.prototype.draw=function(t){var r=this.clientRectangle.clone();if(this.isCenterAxis&&(r.y+=this.axis.area.core.getDividerY()-this.axis.area.core.scrollDistanceY),r.width<=0||r.height<=0)return;this.axis.arrowStyle==e.StiArrowStyle.None||this.isCenterAxis||this.drawArrow(t,r)},r}(e.StiXAxisGeom);e.StiXAxisViewGeom=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPathGeom,i=e.Base.Context.StiPenGeom,n=e.Base.Context.StiLineSegmentGeom,o=e.Base.Context.StiArcSegmentGeom,a=e.Base.Drawing.StiSolidBrush,s=e.System.Drawing.Point,l=e.System.Drawing.Rectangle,u=function(e){function u(t,r,i){var n=e.call(this,r)||this;return n._axis=t,n._isCenterAxis=i,n}return __extends(u,e),Object.defineProperty(u.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isCenterAxis",{get:function(){return this._isCenterAxis},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"view",{get:function(){return this._view},set:function(e){this._view=e},enumerable:!1,configurable:!0}),u.prototype.drawArrow=function(e,u){var c=e.options.zoom,h=new i(this.axis.lineColor),p=new a(this.axis.lineColor),f=new i(this.axis.lineColor);this.axis.visible||this.drawAxisLine(e,u);var m=s.empty;switch(m=this.axis.area.reverseVert?new s(u.right,u.bottom):new s(u.right,u.y),this.axis.core.isRightSide&&(m.x=u.x),this.axis.arrowStyle){case t.StiArrowStyle.Triangle:e.drawLine(h,m.x,m.y,m.x,m.y-this.axis.core.arrowHeight*c),e.pushSmoothingModeToAntiAlias();var S=[];S.push(new n(m.x-this.axis.core.arrowWidth*c,m.y-this.axis.core.arrowHeight*c,m.x+this.axis.core.arrowWidth*c,m.y-this.axis.core.arrowHeight*c)),S.push(new n(m.x+this.axis.core.arrowWidth*c,m.y-this.axis.core.arrowHeight*c,m.x,m.y-4*this.axis.core.arrowHeight*c)),e.fillPath(p,S,r.getBoundsState,null),e.popSmoothingMode();break;case t.StiArrowStyle.Lines:e.drawLine(h,m.x,m.y,m.x,m.y-4*this.axis.core.arrowHeight*c),e.pushSmoothingModeToAntiAlias(),e.drawLine(f,m.x-this.axis.core.arrowWidth*c,m.y-this.axis.core.arrowHeight*c,m.x,m.y-4*this.axis.core.arrowHeight*c),e.drawLine(f,m.x+this.axis.core.arrowWidth*c,m.y-this.axis.core.arrowHeight*c,m.x,m.y-4*this.axis.core.arrowHeight*c),e.popSmoothingMode();break;case t.StiArrowStyle.Circle:e.drawLine(h,m.x,m.y,m.x,m.y-this.axis.core.arrowHeight*c*2);var g=this.axis.core.arrowHeight*c,y=new s(m.x-g/2,m.y-3*g);e.pushSmoothingModeToAntiAlias();var d=new l(y.x,y.y,this.axis.core.arrowHeight*c,this.axis.core.arrowHeight*c);e.drawEllipse2(h,d),e.popSmoothingMode();break;case t.StiArrowStyle.Arc:case t.StiArrowStyle.ArcAndCircle:var b=this.axis.core.arrowHeight*c;e.drawLine(h,m.x,m.y,m.x,m.y-2*b),e.pushSmoothingModeToAntiAlias();var v=[];if(this.axis.area.reverseVert){var C=new s(m.x+b/2,m.y-2*b),w=new l(C.x,C.y,Math.abs(b),Math.abs(b));this.axis.arrowStyle==t.StiArrowStyle.ArcAndCircle&&(w.y+=c,w.inflate(1,1)),v.push(new o(w,180,180))}else{var C=new s(m.x-b/2,m.y-3*b),w=new l(C.x,C.y,b,b);this.axis.arrowStyle==t.StiArrowStyle.ArcAndCircle&&(w.y-=c,w.inflate(1,1)),v.push(new o(w,0,180))}if(e.drawPath(h,v,r.getBoundsState),this.axis.arrowStyle==t.StiArrowStyle.ArcAndCircle){var x=this.axis.core.arrowHeight*c,_=new s(m.x-x/2,m.y-3*x-c),A=new l(_.x,_.y,x,x);this.axis.area.reverseVert?(A.inflate(.5*c,.5*c),A.y+=3*c):(A.inflate(-.5*c,-.5*c),A.y-=c),e.fillEllipse2(p,A,null)}e.popSmoothingMode();break}},u.prototype.drawAxisLine=function(e,r){var n=r.right;this.axis.core.isRightSide&&(n=r.left),this.isCenterAxis&&this.axis.area.reverseHor&&(n=r.right);var o=new i(this.axis.lineColor,this.axis.lineWidth);o.penStyle=this.axis.lineStyle,(!this.isCenterAxis||this.axis.showYAxis!=t.StiShowYAxis.Both&&this.axis.showYAxis!=t.StiShowYAxis.Center)&&(this.isCenterAxis||this.axis.showYAxis!=t.StiShowYAxis.Both&&this.axis.showYAxis!=t.StiShowYAxis.Left)||e.drawLine(o,n,r.y,n,r.bottom)},u.prototype.drawMinorTicks=function(e,t,r,i,n,o){for(var a,s=(n-i)/(o.minorCount+1),l=o.minorLength*e.options.zoom,u=1;u<=o.minorCount;u++){var c=i+s*u,h=this.axis.core.isLeftSide||this.isCenterAxis?r-l:r+l;this.axis.area.reverseHor&&this.isCenterAxis&&(h=r+l),e.drawLine(t,r,c,h,c)}},u.prototype.drawTicks=function(e,t,r,i){var n,o;if(!r.visible)return;var a=r.length*e.options.zoom,s=this.axis.core.isLeftSide?t.right:t.left,l=this.axis.core.isLeftSide?s-a:s+a;this.isCenterAxis&&this.axis.area.reverseHor&&(s=t.right,l=t.right+a);var u=0;try{for(var c=__values(this.axis.info.ticksCollection),h=c.next();!h.done;h=c.next()){var p,f=h.value.position;if(e.drawLine(i,s,f,l,f),r.minorVisible&&u!=this.axis.info.ticksCollection.length-1){var m=this.axis.info.ticksCollection[u+1].position;this.drawMinorTicks(e,i,s,f,m,r)}u++}}catch(e){n={error:e}}finally{try{h&&!h.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}},u.prototype.drawAxis=function(e,r){var n=new i(this.axis.lineColor,this.axis.lineWidth);n.penStyle=this.axis.lineStyle,!this.isCenterAxis||this.axis.showYAxis!=t.StiShowYAxis.Both&&this.axis.showYAxis!=t.StiShowYAxis.Center?this.isCenterAxis||(!this.axis.core.isLeftSide||this.axis.showYAxis!=t.StiShowYAxis.Both&&this.axis.showYAxis!=t.StiShowYAxis.Left||this.drawTicks(e,r,this.axis.area.yAxis.ticks,n),this.axis.core.isRightSide&&this.drawTicks(e,r,this.axis.area.yRightAxis.ticks,n)):this.drawTicks(e,r,this.axis.ticks,n),this.drawAxisLine(e,r)},u.prototype.getViewclipRect=function(){var e=this.view.clientRectangle.clone();return e.x=0,e.y=this.axis.area.core.scrollDistanceY,e.inflate(1,1),this.isCenterAxis&&e.inflate(2,0),e},u.prototype.allowChildDrawing=function(e){var t=e;if(null==t)return!0;if(null==this.view)return!0;var r=this.getViewclipRect(),i=t.clientRectangle;return!(i.bottomr.bottom)},u.prototype.draw=function(e){var t=this.clientRectangle.clone();if(t.width<=0||t.height<=0)return;if(null!=this.view){var r=this.getViewclipRect();e.pushClip(r)}this.drawAxis(e,t),null!=this.view&&e.popClip()},u}(t.StiCellGeom);t.StiYAxisGeom=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(t){function r(e,r,i){return t.call(this,e,r,i)||this}return __extends(r,t),r.prototype.drawChildGeoms=function(t){var r,i,n=this.clientRectangle.clone();if(this.isCenterAxis&&(n.x+=this.axis.area.core.getDividerX()-this.axis.area.core.scrollDistanceX),null!=this.childGeoms)try{for(var o=__values(this.childGeoms),a=o.next();!a.done;a=o.next()){var s=a.value;this.allowChildDrawing(s)&&(s.stimulsoft.is(e.StiVertScrollBarGeom)||t.pushTranslateTransform(0,-this.axis.area.core.scrollDistanceY),t.pushTranslateTransform(n.x,n.y),s.drawGeom(t),t.popTransform(),s.stimulsoft.is(e.StiVertScrollBarGeom)||t.popTransform())}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}},r.prototype.draw=function(t){var r=this.clientRectangle.clone();if(this.isCenterAxis&&(r.x+=this.axis.area.core.getDividerX()-this.axis.area.core.scrollDistanceX),r.width<=0||r.height<=0)return;this.axis.arrowStyle==e.StiArrowStyle.None||this.isCenterAxis||this.drawArrow(t,r)},r}(e.StiYAxisGeom);e.StiYAxisViewGeom=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.StringTrimming,i=e.System.Drawing.StringFormatFlags,n=e.Base.Context.StiFontGeom,o=e.Base.Drawing.StiRotationMode,a=function(e){function a(t,r){var i=e.call(this,r)||this;return i._title=t,i}return __extends(a,e),Object.defineProperty(a.prototype,"title",{get:function(){return this._title},enumerable:!1,configurable:!0}),a.prototype.draw=function(e){if(this.title.visible){var a=this.title.dock;this.title.dock==t.StiChartTitleDock.Bottom&&(a=0);var s=n.changeFontSize(this.title.font,this.title.font.size*e.options.zoom),l=e.getDefaultStringFormat();l.alignment=this.title.alignment,l.trimming=r.None,l.formatFlags=i.MeasureTrailingSpaces|i.NoWrap|i.NoClip,e.drawRotatedString8(this.title.text,s,this.title.brush,this.clientRectangle,l,o.CenterCenter,a,this.title.antialiasing)}},a}(t.StiCellGeom);t.StiChartTitleGeom=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Context.StiFontGeom,n=e.Base.Drawing.StiSolidBrush,o=function(e){function t(t,r,i,n){var o=e.call(this,r)||this;return o._line=t,o._point=i,o._mode=n,o}return __extends(t,e),Object.defineProperty(t.prototype,"line",{get:function(){return this._line},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"point",{get:function(){return this._point},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this._mode},enumerable:!1,configurable:!0}),t.prototype.draw=function(e){var t=this.clientRectangle.clone(),o=new r(this.line.lineColor,this.line.lineWidth);if(o.penStyle=this.line.lineStyle,e.drawLine(o,t.left,t.top,t.left,t.bottom),this.line.titleVisible){var a=new n(this.line.lineColor),s=i.changeFontSize(this.line.font,this.line.font.size*e.options.zoom),l=e.getGenericStringFormat();e.drawRotatedString9(this.line.text,s,a,this.point,l,this.mode,90,this.line.antialiasing,0)}},t}(t.StiCellGeom);t.StiConstantLinesVerticalGeom=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Context.StiFontGeom,n=e.Base.Drawing.StiSolidBrush,o=function(e){function t(t,r,i,n){var o=e.call(this,r)||this;return o._line=t,o._point=i,o._mode=n,o}return __extends(t,e),Object.defineProperty(t.prototype,"line",{get:function(){return this._line},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"point",{get:function(){return this._point},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this._mode},enumerable:!1,configurable:!0}),t.prototype.draw=function(e){var t=this.clientRectangle.clone(),o=new r(this.line.lineColor,this.line.lineWidth);if(o.penStyle=this.line.lineStyle,e.drawLine(o,t.left,t.top,t.left+t.width,t.top),this.line.titleVisible){var a=new n(this.line.lineColor),s=i.changeFontSize(this.line.font,this.line.font.size*e.options.zoom),l=e.getGenericStringFormat();e.drawRotatedString9(this.line.text,s,a,this.point,l,this.mode,0,this.line.antialiasing,0)}},t}(t.StiCellGeom);t.StiConstantLinesYGeom=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendAreaMarker||(e.implementsStiLegendAreaMarker=[t.IStiLegendMarker]),e.implementsStiLegendAreaMarker},e.prototype.draw=function(e,i,n,o,a){var s=i.stimulsoft.as(t.StiAreaSeries),l=s.marker,u=s.lineStyle,c=s.lineMarker,h=s.lineWidth,p=s.lineColor,f=s.lighting,m=s.brush,S=t.StiLegendMarkerHelper.getAreaMarkerPath(n),g=new r(p);e.pushSmoothingModeToAntiAlias(),e.fillPath(m,S,n,null);var y=t.StiLegendMarkerHelper.getAreaMarkerLinePoints(n);e.drawLines(g,y),e.popSmoothingMode()},e}();t.StiLegendAreaMarker=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.System.Drawing.Point,n=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendCandelstickMarker||(e.implementsStiLegendCandelstickMarker=[t.IStiLegendMarker]),e.implementsStiLegendCandelstickMarker},e.prototype.draw=function(e,t,n,o,a){var s=t,l=s.brush,u=s.borderColor,c=new r(u);e.pushSmoothingModeToAntiAlias();var h=new i(n.left+n.width/4,n.top+n.height/4),p=n.width/2,f=n.height/2;e.fillRectangle2(l,h.x,h.y,p,f,null),e.drawRectangle2(c,h.x,h.y,p,f),e.drawLine(c,n.x+n.width/2,n.y,n.x+n.width/2,n.top+n.height/4),e.drawLine(c,n.x+n.width/2,n.bottom,n.x+n.width/2,n.bottom-n.height/4),e.popSmoothingMode()},e}();t.StiLegendCandelstickMarker=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Drawing.StiSolidBrush,n=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendColumnMarker||(e.implementsStiLegendColumnMarker=[t.IStiLegendMarker]),e.implementsStiLegendColumnMarker},e.prototype.draw=function(e,t,n,o,a){var s=t.legendColor,l=null!=s?new i(s):t.core.getSeriesBrush(o,a),u=new r(t.core.getSeriesBorderColor(o,a));null!=t.chart&&null!=t.chart.style&&t.chart.style.core.fillColumn(e,n,l,null),e.drawRectangle2(u,n.x,n.y,n.width,n.height)},e}();t.StiLegendColumnMarker=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Context.StiLineSegmentGeom,n=e.Base.Context.StiArcSegmentGeom,o=e.System.Drawing.Rectangle,a=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendDoughnutMarker||(e.implementsStiLegendDoughnutMarker=[t.IStiLegendMarker]),e.implementsStiLegendDoughnutMarker},e.prototype.draw=function(e,t,a,s,l){var u=t,c=u.brush;u.allowApplyBrush&&(c=u.core.getSeriesBrush(s,l),c=u.processSeriesBrushes(s,c));var h=u.borderColor;u.allowApplyBorderColor&&(h=u.core.getSeriesBorderColor(s,l));var p=[],f=new r(h);e.pushSmoothingModeToAntiAlias(),p.push(new n(new o(a.x-a.width,a.y,2*a.width,2*a.height),270,90)),p.push(new i(a.right,a.bottom,a.x+a.width/2,a.bottom)),p.push(new n(new o(a.x-a.width/2,a.bottom-a.height/2,a.width,a.height),360,-90)),p.push(new i(a.x,a.y+a.height/2,a.x,a.y)),e.fillPath(c,p,a,null),e.drawPath(f,p,a),e.popSmoothingMode()},e}();t.StiLegendDoughnutMarker=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.System.Drawing.Size,n=e.Base.Drawing.StiSolidBrush,o=e.Report.Chart.IStiFontIconsSeries,a=function(){function e(){}return e.prototype.draw=function(e,r,a,s,l){try{var u,c=r.stimulsoft.as(o).icon,h=r.legendColor,p=null!=h?new n(h):r.core.getSeriesBrush(s,l);t.StiFontIconsHelper.drawDirectionIcons(e,p,a,new i(a.height,a.height),c,null)}catch(e){}},e}();r.StiLegendFontIconMarker=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Context.StiLinesSegmentGeom,n=e.Base.Context.StiCloseFigureSegmentGeom,o=e.System.Drawing.Point,a=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendFunnelMarker||(e.implementsStiLegendFunnelMarker=[t.IStiLegendMarker]),e.implementsStiLegendFunnelMarker},e.prototype.draw=function(e,t,a,s,l){var u=t,c=u.brush;u.allowApplyBrush&&(c=u.core.getSeriesBrush(s,l),c=u.processSeriesBrushes(s,c));var h=u.borderColor;u.allowApplyBorderColor&&(h=u.core.getSeriesBorderColor(s,l));var p=[],f=new r(h);e.pushSmoothingModeToAntiAlias();var m=[new o(a.x,a.y),new o(a.right,a.y),new o(a.x+3*a.width/4,a.top+a.height/2),new o(a.x+3*a.width/4,a.bottom),new o(a.x+1*a.width/4,a.bottom),new o(a.x+1*a.width/4,a.top+a.height/2)];p.push(new i(m)),p.push(new n),e.fillPath(c,p,a,null),e.drawPath(f,p,null),e.popSmoothingMode()},e}();t.StiLegendFunnelMarker=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.Context.StiPenGeom,n=e.System.Drawing.Rectangle,o=e.System.Drawing.Color,a=e.Base.Drawing.StiBrush,s=e.Base.Drawing.StiSolidBrush,l=e.System.Drawing.Size,u=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendLineMarker||(e.implementsStiLegendLineMarker=[r.IStiLegendMarker]),e.implementsStiLegendLineMarker},e.prototype.draw=function(e,u,c,h,p){var f=o.transparent,m=!1,S=!1,g=null,y=u.stimulsoft.as(r.IStiRadarSeries);null!=y&&(f=a.toColor(y.marker.brush),g=y.marker.icon,S=!0);var d=u.stimulsoft.as(r.IStiRadarLineSeries);null!=d&&(f=d.lineColor,S=d.marker.visible,g=d.marker.icon,m=!0);var b=u.stimulsoft.as(r.IStiBaseLineSeries);null!=b&&(f=b.lineColor,S=b.marker.visible,g=b.marker.icon,m=!0);var v=u.stimulsoft.as(r.IStiStackedBaseLineSeries);null!=v&&(f=v.lineColor,S=v.marker.visible,g=v.marker.icon,m=!0);var C=u.stimulsoft.as(r.IStiScatterSeries);null!=C&&(f=a.toColor(C.marker.brush),g=C.marker.icon,S=!0,m=!1);var w=u.stimulsoft.as(r.IStiScatterLineSeries);null!=w&&(f=w.lineColor,S=w.marker.visible,g=w.marker.icon,m=!0);var x=u.stimulsoft.as(r.IStiBubbleSeries);if(null!=x){var _=x.brush;x.allowApplyStyle&&(_=x.core.getSeriesBrush(h,p),_=x.processSeriesBrushes(h,_)),f=a.toColor(_),S=!0,m=!1}if(null!=g)t.StiFontIconsHelper.drawDirectionIcons(e,new s(f),c,new l(c.height,c.height),g,null,!1);else{if(m){var A=new i(f);e.drawRectangle(A,c),e.drawLine(A,c.x,c.y+c.height/2,c.right,c.y+c.height/2)}S&&(m&&(c=new n(c.x+c.width/4,c.y+c.height/4,c.width/2,c.height/2)),e.pushSmoothingModeToAntiAlias(),e.fillEllipse2(new s(f),c,null),e.popSmoothingMode())}},e}();r.StiLegendLineMarker=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Point,i=e.Base.Context.StiLineSegmentGeom,n=e.Base.Context.StiCurveSegmentGeom,o=function(){function e(){}return e.getSteppedMarkerPath=function(e){var t=[];return t.push(new i(e.x,e.y,e.x+e.width,e.y)),t.push(new i(e.x+e.width,e.y,e.x+e.width,e.y+e.height)),t.push(new i(e.x+e.width,e.y+e.height,e.x,e.y+e.height)),t.push(new i(e.x,e.y+e.height,e.x,e.y)),t},e.getAreaMarkerPath=function(e){var t=e.width/5,r=e.height/5,n=[];return n.push(new i(e.x,e.y+3.5*r,e.x,e.y+3.5*r)),n.push(new i(e.x,e.y+3.5*r,e.x+2*t,e.y+.5*r)),n.push(new i(e.x+2*t,e.y+.5*r,e.x+4*t,e.y+2.5*r)),n.push(new i(e.x+4*t,e.y+2.5*r,e.x+5*t,e.y+1.5*r)),n.push(new i(e.x+5*t,e.y+1.5*r,e.x+5*t,e.y+5*r)),n.push(new i(e.x+5*t,e.y+5*r,e.x,e.y+5*r)),n.push(new i(e.x,e.y+5*r,e.x,e.y+3*r)),n},e.getAreaMarkerLinePoints=function(e){var t=e.width/5,i=e.height/5,n=[];return n.push(new r(e.x,e.y+3.5*i)),n.push(new r(e.x+2*t,e.y+.5*i)),n.push(new r(e.x+4*t,e.y+2.5*i)),n.push(new r(e.x+5*t,e.y+1.5*i)),n},e.getSplineAreaMarkerPath=function(t){var r=t.width/5,o=t.height/5,a=[];a.push(new i(t.x,t.y+5*o,t.x,t.y+3.5*o));var s=e.getSplineAreaMarkerLinePoints(t);return a.push(new n(s,.55)),a.push(new i(t.x+5*r,t.y+1.5*o,t.x+5*r,t.y+5*o)),a.push(new i(t.x+5*r,t.y+5*o,t.x,t.y+5*o)),a},e.getSplineAreaMarkerLinePoints=function(e){var t=e.width/5,i=e.height/5,n=[];return n.push(new r(e.x,e.y+3.5*i)),n.push(new r(e.x+2*t,e.y+.5*i)),n.push(new r(e.x+4*t,e.y+2.5*i)),n.push(new r(e.x+5*t,e.y+1.5*i)),n},e}();t.StiLegendMarkerHelper=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function t(){}return t.prototype.implements=function(){return t.implementsStiLegendPictorialMarker||(t.implementsStiLegendPictorialMarker=[e.IStiLegendMarker]),t.implementsStiLegendPictorialMarker},t.prototype.draw=function(e,t,r,i,n){var o=t.core.getSeriesBrush(i,n);e.pushSmoothingModeToAntiAlias(),e.fillEllipse2(o,r,null),e.popSmoothingMode()},t}();e.StiLegendPictorialMarker=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Context.StiLineSegmentGeom,n=e.Base.Context.StiArcSegmentGeom,o=e.System.Drawing.Rectangle,a=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendPieMarker||(e.implementsStiLegendPieMarker=[t.IStiLegendMarker]),e.implementsStiLegendPieMarker},e.prototype.draw=function(e,t,a,s,l){var u=t,c=u.brush;u.allowApplyBrush&&(c=u.core.getSeriesBrush(s,l),c=u.processSeriesBrushes(s,c));var h=u.borderColor;u.allowApplyBorderColor&&(h=t.core.getSeriesBorderColor(s,l));var p=[],f=new r(h);e.pushSmoothingModeToAntiAlias(),p.push(new n(new o(a.x-a.width,a.y,2*a.width,2*a.height),270,90)),p.push(new i(a.right,a.bottom,a.x,a.bottom)),p.push(new i(a.x,a.bottom,a.x,a.y)),e.fillPath(c,p,a,null),e.drawPath(f,p,null),e.popSmoothingMode()},e}();t.StiLegendPieMarker=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Context.StiLineSegmentGeom,n=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendRangeMarker||(e.implementsStiLegendRangeMarker=[t.IStiLegendMarker]),e.implementsStiLegendRangeMarker},e.prototype.draw=function(e,n,o,a,s){var l=n.stimulsoft.as(t.StiRangeSeries),u=l.marker,c=l.lineStyle,h=l.lineMarker,p=l.lineWidth,f=l.lineColor,m=l.lighting,S=l.brush,g=[],y=o.width/5,d=o.height/5;g.push(new i(o.x,o.y+3*d,o.x,o.y+3*d)),g.push(new i(o.x,o.y+3*d,o.x+2*y,o.y)),g.push(new i(o.x+2*y,o.y,o.x+4*y,o.y+2*d)),g.push(new i(o.x+4*y,o.y+2*d,o.x+5*y,o.y+1*d)),g.push(new i(o.x+5*y,o.y+1*d,o.x+5*y,o.y+3*d)),g.push(new i(o.x+5*y,o.y+3*d,o.x+4*y,o.y+4*d)),g.push(new i(o.x+4*y,o.y+4*d,o.x+2*y,o.y+3*d)),g.push(new i(o.x+2*y,o.y+3*d,o.x,o.y+5*d)),g.push(new i(o.x,o.y+5*d,o.x,o.y+3*d));var b=new r(f);e.pushSmoothingModeToAntiAlias(),e.fillPath(S,g,o,null),e.drawPath(b,g,o),e.popSmoothingMode()},e}();t.StiLegendRangeMarker=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendSplineAreaMarker||(e.implementsStiLegendSplineAreaMarker=[t.IStiLegendMarker]),e.implementsStiLegendSplineAreaMarker},e.prototype.draw=function(e,i,n,o,a){var s=i.stimulsoft.as(t.StiSplineAreaSeries),l=s.marker,u=s.lineStyle,c=s.lineMarker,h=s.lineWidth,p=s.lineColor,f=s.lighting,m=s.brush,S=t.StiLegendMarkerHelper.getSplineAreaMarkerPath(n),g=new r(p),y=t.StiLegendMarkerHelper.getSplineAreaMarkerLinePoints(n);e.pushSmoothingModeToAntiAlias(),e.fillPath(m,S,n,null),e.drawLines(g,y),e.popSmoothingMode()},e}();t.StiLegendSplineAreaMarker=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.System.Drawing.Point,n=e.Base.Context.StiLineSegmentGeom,o=e.Base.Context.StiCurveSegmentGeom,a=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendSplineRangeMarker||(e.implementsStiLegendSplineRangeMarker=[t.IStiLegendMarker]),e.implementsStiLegendSplineRangeMarker},e.prototype.draw=function(e,a,s,l,u){var c=a.stimulsoft.as(t.StiSplineRangeSeries),h=c.marker,p=c.lineStyle,f=c.lineMarker,m=c.lineWidth,S=c.lineColor,g=c.lighting,y=c.brush,d=[],b=s.width/5,v=s.height/5;d.push(new n(s.x,s.y+5*v,s.x,s.y+3*v));var C=[];C.push(new i(s.x,s.y+3*v)),C.push(new i(s.x+2*b,s.y)),C.push(new i(s.x+4*b,s.y+2*v)),C.push(new i(s.x+5*b,s.y+1*v)),d.push(new o(C,c.tension)),d.push(new n(s.x+5*b,s.y+1*v,s.x+5*b,s.y+3*v));var w=[];w.push(new i(s.x+5*b,s.y+3*v)),w.push(new i(s.x+4*b,s.y+4*v)),w.push(new i(s.x+2*b,s.y+4*v)),w.push(new i(s.x,s.y+5*v)),d.push(new o(w,c.tension));var x=new r(S);e.pushSmoothingModeToAntiAlias(),e.fillPath(y,d,s,null),e.drawCurve(x,C,c.tension),e.drawCurve(x,w,c.tension),e.popSmoothingMode()},e}();t.StiLegendSplineRangeMarker=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendStackedAreaMarker||(e.implementsStiLegendStackedAreaMarker=[t.IStiLegendMarker]),e.implementsStiLegendStackedAreaMarker},e.prototype.draw=function(e,i,n,o,a){var s=i.stimulsoft.as(t.StiStackedAreaSeries),l=s.marker,u=s.lineStyle,c=s.lineMarker,h=s.lineWidth,p=s.lineColor,f=s.lighting,m=s.brush,S=t.StiLegendMarkerHelper.getAreaMarkerPath(n),g=new r(p);e.pushSmoothingModeToAntiAlias(),e.fillPath(m,S,n,null);var y=t.StiLegendMarkerHelper.getAreaMarkerLinePoints(n);e.drawLines(g,y),e.popSmoothingMode()},e}();t.StiLegendStackedAreaMarker=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendStackedSplineAreaMarker||(e.implementsStiLegendStackedSplineAreaMarker=[t.IStiLegendMarker]),e.implementsStiLegendStackedSplineAreaMarker},e.prototype.draw=function(e,i,n,o,a){var s=i.stimulsoft.as(t.StiStackedSplineAreaSeries),l=s.marker,u=s.lineStyle,c=s.lineMarker,h=s.lineWidth,p=s.lineColor,f=s.lighting,m=s.brush,S=t.StiLegendMarkerHelper.getSplineAreaMarkerPath(n),g=new r(p),y=t.StiLegendMarkerHelper.getSplineAreaMarkerLinePoints(n);e.pushSmoothingModeToAntiAlias(),e.fillPath(m,S,n,null),e.drawLines(g,y),e.popSmoothingMode()},e}();t.StiLegendStackedSplineAreaMarker=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendSteppedAreaMarker||(e.implementsStiLegendSteppedAreaMarker=[t.IStiLegendMarker]),e.implementsStiLegendSteppedAreaMarker},e.prototype.draw=function(e,i,n,o,a){var s=i.stimulsoft.as(t.StiSteppedAreaSeries),l=s.marker,u=s.lineStyle,c=s.lineMarker,h=s.lineWidth,p=s.lineColor,f=s.lighting,m=s.brush,S=t.StiLegendMarkerHelper.getSteppedMarkerPath(n),g=new r(p);e.pushSmoothingModeToAntiAlias(),e.fillPath(m,S,n,null),e.drawPath(g,S,n),e.popSmoothingMode()},e}();t.StiLegendSteppedAreaMarker=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiSteppedRangeSeries||(e.implementsStiSteppedRangeSeries=[t.IStiLegendMarker]),e.implementsStiSteppedRangeSeries},e.prototype.draw=function(e,i,n,o,a){var s=i.stimulsoft.as(t.StiSteppedRangeSeries),l=s.marker,u=s.lineStyle,c=s.lineMarker,h=s.lineWidth,p=s.lineColor,f=s.lighting,m=s.brush,S=t.StiLegendMarkerHelper.getSteppedMarkerPath(n),g=new r(p);e.pushSmoothingModeToAntiAlias(),e.fillPath(m,S,n,null),e.drawPath(g,S,n),e.popSmoothingMode()},e}();t.StiLegendSteppedRangeMarker=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=function(){function e(){}return e.prototype.implements=function(){return e.implementsStiLegendStockMarker||(e.implementsStiLegendStockMarker=[t.IStiLegendMarker]),e.implementsStiLegendStockMarker},e.prototype.draw=function(e,t,i,n,o){var a,s=t.lineColor,l=new r(s);e.pushSmoothingModeToAntiAlias(),e.drawLine(l,i.left+i.width/4,i.top+i.height/4,i.left+i.width/2,i.top+i.height/4),e.drawLine(l,i.left+i.width/2,i.top,i.left+i.width/2,i.bottom),e.drawLine(l,i.left+i.width/2,i.bottom-i.height/4,i.right-i.width/4,i.bottom-i.height/4),e.popSmoothingMode()},e}();t.StiLegendStockMarker=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(){function t(){}return t.createMarker=function(t){if(t.stimulsoft.is(e.IStiFontIconsSeries)&&null!=t.stimulsoft.as(e.IStiFontIconsSeries).icon)return new e.StiLegendFontIconMarker;if(t.stimulsoft.is(e.IStiDoughnutSeries))return new e.StiLegendDoughnutMarker;if(t.stimulsoft.is(e.IStiPieSeries))return new e.StiLegendPieMarker;if(t.stimulsoft.is(e.StiAreaSeries))return new e.StiLegendAreaMarker;if(t.stimulsoft.is(e.StiStackedAreaSeries))return new e.StiLegendStackedAreaMarker;if(t.stimulsoft.is(e.StiSplineAreaSeries))return new e.StiLegendSplineAreaMarker;if(t.stimulsoft.is(e.StiStackedSplineAreaSeries))return new e.StiLegendStackedSplineAreaMarker;if(t.stimulsoft.is(e.StiSteppedAreaSeries))return new e.StiLegendSteppedAreaMarker;if(t.stimulsoft.is(e.StiRangeSeries))return new e.StiLegendRangeMarker;if(t.stimulsoft.is(e.StiSplineRangeSeries))return new e.StiLegendSplineRangeMarker;if(t.stimulsoft.is(e.StiSteppedRangeSeries))return new e.StiLegendSteppedRangeMarker;if(t.stimulsoft.is(e.IStiBaseLineSeries)||t.stimulsoft.is(e.IStiStackedBaseLineSeries)||t.stimulsoft.is(e.IStiRadarSeries))return new e.StiLegendLineMarker;if(t.stimulsoft.is(e.IStiFunnelSeries))return new e.StiLegendFunnelMarker;if(t.stimulsoft.is(e.IStiStockSeries))return new e.StiLegendStockMarker;if(t.stimulsoft.is(e.IStiCandlestickSeries))return new e.StiLegendCandelstickMarker;if(t.stimulsoft.is(e.IStiPictorialSeries))return new e.StiLegendPictorialMarker;return new e.StiLegendColumnMarker},t}();e.StiMarkerLegendFactory=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Drawing.StiShadowSides,n=e.System.TimeSpan,o=e.Base.Context.Animation.StiOpacityAnimation,a=function(e){function t(t,r,i){var n=e.call(this,r)||this;return n._legend=t,n._seriesItems=i,n}return __extends(t,e),Object.defineProperty(t.prototype,"legend",{get:function(){return this._legend},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"seriesItems",{get:function(){return this._seriesItems},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"legendTitleGeom",{get:function(){return this._legendTitleGeom},set:function(e){this._legendTitleGeom=e},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._seriesItems.stimulsoft.clear(),this._seriesItems=null},t.prototype.draw=function(e){if(!this.legend.visible||0==this.seriesItems.length)return;var t=this.clientRectangle.clone();if(null!=this.legendTitleGeom&&(t.y+=this.legendTitleGeom.clientRectangle.height,t.height-=this.legendTitleGeom.clientRectangle.height),t.width>0&&t.height>0){if(this.legend.showShadow)if(this.legend.chart.isAnimation){var a=new o(new n(0),new n(0));e.drawShadowRect(t,6,a)}else e.drawCachedShadow(t,i.All,e.options.isPrinting);e.fillRectangle2(this.legend.brush,t.x,t.y,t.width,t.height,null);var s=new r(this.legend.borderColor);e.drawRectangle2(s,t.x,t.y,t.width,t.height)}},t}(t.StiCellGeom);t.StiLegendGeom=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.StringFormatFlags,i=e.System.Drawing.StringAlignment,n=e.Base.Context.StiFontGeom,o=e.Base.Drawing.StiSolidBrush,a=e.System.Drawing.Rectangle,s=e.Base.Drawing.StiRotationMode,l=e.Base.Context.StiSeriesInteractionData,u=function(e){function u(t,r,i,n,o){var a=e.call(this,i)||this;return a._legend=t,a._item=r,a._colorIndex=n,a._legendItemsCount=o,a}return __extends(u,e),u.prototype.invokeMouseEnter=function(e){if(!this.allowMouseOver)return;this.isMouseOver||(this.isMouseOver=!0,e.updateContext=!0)},u.prototype.invokeMouseLeave=function(e){if(!this.allowMouseOver)return;this.isMouseOver&&(this.isMouseOver=!1,e.updateContext=!0)},u.prototype.invokeClick=function(e){if(null!=this.item.series.interaction&&this.item.series.interaction.drillDownEnabled&&this.item.series.interaction.allowSeries){var t=new l;this.isColorEach?(t.fill(this.item.series.chart.area,this.item.series,this.item.index),t.isElements=!0):(t.series=this.item.series,t.isElements=!1),this.isMouseOver=!1,e.updateContext=!0,e.seriesInteractionData=t}},Object.defineProperty(u.prototype,"allowMouseOver",{get:function(){return null!=this.item&&null!=this.item.series&&null!=this.item.series.interaction&&this.item.series.interaction.allowSeries&&this.item.series.interaction.drillDownEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isColorEach",{get:function(){return this.item.series.chart.area.colorEach},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isMouseOver",{get:function(){if(this.isColorEach){if(-1==this.item.index)return!1;return this.item.series.core.getIsMouseOverSeriesElement(this.item.index)}return this.item.series.core.isMouseOver},set:function(e){this.isColorEach?-1!=this.item.index&&this.item.series.core.setIsMouseOverSeriesElement(this.item.index,e):this.item.series.core.isMouseOver=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"legend",{get:function(){return this._legend},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"item",{get:function(){return this._item},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"colorIndex",{get:function(){return this._colorIndex},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"legendItemsCount",{get:function(){return this._legendItemsCount},enumerable:!1,configurable:!0}),u.prototype.draw=function(e){var l=this.clientRectangle.clone();if(this.legend.markerVisible){var u=new a(this.clientRectangle.x,this.clientRectangle.y+(this.clientRectangle.height-this.legend.markerSize.height*e.options.zoom)/2,this.legend.markerSize.width*e.options.zoom,this.legend.markerSize.height*e.options.zoom),c;this.legend.markerAlignment==t.StiMarkerAlignment.Right&&(u.x=this.clientRectangle.right-u.width),t.StiMarkerLegendFactory.createMarker(this.item.series).draw(e,this.item.series,u,this.colorIndex,this.legendItemsCount),this.legend.markerAlignment==t.StiMarkerAlignment.Left&&(l.x+=this.legend.markerSize.width*e.options.zoom),l.width-=this.legend.markerSize.width*e.options.zoom}this.legend.markerAlignment!=t.StiMarkerAlignment.Right&&(l.x+=2),l.width+=4;var h=new o(this.legend.labelsColor),p=n.changeFontSize(this.legend.font,this.legend.font.size*e.options.zoom),f=e.getDefaultStringFormat();f.alignment=i.Near,f.lineAlignment=i.Center,f.formatFlags=0,this.legend.markerAlignment==t.StiMarkerAlignment.Right&&(f.formatFlags=r.NoWrap),e.drawRotatedString6(this.item.text,p,h,l,f,s.LeftTop,0,!0,0,!1)},u}(t.StiCellGeom);t.StiLegendItemGeom=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.StringAlignment,i=e.Base.Context.StiFontGeom,n=e.Base.Drawing.StiSolidBrush,o=function(e){function t(t,r){var i=e.call(this,r)||this;return i._legend=t,i}return __extends(t,e),Object.defineProperty(t.prototype,"legend",{get:function(){return this._legend},enumerable:!1,configurable:!0}),t.prototype.draw=function(e){var t=new n(this.legend.titleColor),o=i.changeFontSize(this.legend.titleFont,this.legend.titleFont.size*e.options.zoom),a=e.getDefaultStringFormat();a.alignment=r.Center,a.lineAlignment=r.Center,a.formatFlags=0,e.drawString(this.legend.title,o,t,this.clientRectangle,a)},t}(t.StiCellGeom);t.StiLegendTitleGeom=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiString,i=e.System.Drawing.Color,n=e.Base.Context.StiInteractionDataGeom,o=e.Report.Chart.IStiSeriesElement,a=e.Base.Drawing.StiBrush,s=function(s){function l(e,r,i,n,o,a,l,u){var c=s.call(this,t.StiMarkerCoreXF.getMarkerRect(n,o.size,l))||this;return c._series=e,c._index=r,c._value=i,c._point=n,c._marker=o,c._showShadow=a,c._isTooltipMode=u,c}return __extends(l,s),l.prototype.implements=function(){return l.implementsStiMarkerGeom||(l.implementsStiMarkerGeom=s.prototype.implements.call(this).concat([o])),l.implementsStiMarkerGeom},l.prototype.invokeMouseEnter=function(e){if(!this.allowMouseOver)return;this.isMouseOver||(this.isMouseOver=!0,e.updateContext=!0);var t=this.getValueIndex();e.interactionToolTip=this.getToolTip2(t),e.interactionHyperlink=this.getHyperlink2(t)},l.prototype.invokeMouseLeave=function(e){if(!this.allowMouseOver)return;this.isMouseOver&&(this.isMouseOver=!1,e.updateContext=!0)},l.prototype.invokeClick=function(e){var t=this.getValueIndex();null!=this.series.hyperlinks&&t=90&&this.angle<=270&&(f=this.angle+180,p=o.CenterTop),this.axis.labels.rotationLabels||(this.angle>0&&this.angle<180?p=o.LeftCenter:this.angle<360&&this.angle>180?p=o.RightCenter:0==this.angle?p=o.CenterBottom:180==this.angle&&(p=o.CenterTop),f=0),e.drawRotatedString9(this.text,l,this.labelBrush,this.point,u,p,f,this.axis.labels.antialiasing,Math.trunc(this.axis.labels.width*e.options.zoom))},t}(t.StiCellGeom);t.StiXRadarAxisLabelGeom=s}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiSolidBrush,i=function(e){function t(t,r,i,n,o,a,s){var l=e.call(this,r)||this;return l._axis=t,l._text=n,l._stripLine=o,l._textPoint=i,l._angle=a,l._rotationMode=s,l}return __extends(t,e),Object.defineProperty(t.prototype,"rotationMode",{get:function(){return this._rotationMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textPoint",{get:function(){return this._textPoint},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this._angle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this._text},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stripLine",{get:function(){return this._stripLine},enumerable:!1,configurable:!0}),t.prototype.draw=function(e){var t=this.clientRectangle.clone(),i=this.axis.yCore.getStringFormatGeom(e),n=this.axis.yCore.getFontGeom(e),o=new r(this.axis.labels.color);e.drawRotatedString9(this.text,n,o,this.textPoint,i,this.rotationMode,this.angle,this.axis.labels.antialiasing,Math.trunc(this.axis.labels.width*e.options.zoom))},t}(t.StiCellGeom);t.StiYRadarAxisLabelGeom=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiString,i=e.Base.Context.StiInteractionDataGeom,n=e.Report.Chart.IStiSeriesElement,o=function(o){function a(e,t,r,i,n,a){var s=o.call(this,n)||this;return s._seriesBrush=a,s._areaGeom=e,s._series=i,s._value=t,s._index=r,s}return __extends(a,o),a.prototype.implements=function(){return a.implementsStiSeriesElementGeom||(a.implementsStiSeriesElementGeom=o.prototype.implements.call(this).concat([n])),a.implementsStiSeriesElementGeom},a.prototype.invokeMouseEnter=function(e){if(!this.allowMouseOver)return;this.isMouseOver||(this.isMouseOver=!0,e.updateContext=this.series.interaction.drillDownEnabled);var t=this.getValueIndex();e.interactionToolTip=this.getToolTip2(t),e.interactionHyperlink=this.getHyperlink2(t)},a.prototype.invokeMouseLeave=function(e){if(!this.allowMouseOver)return;this.isMouseOver&&(this.isMouseOver=!1,e.updateContext=this.series.interaction.drillDownEnabled)},a.prototype.invokeClick=function(e){var t=this.getValueIndex();null!=this.series.hyperlinks&&t4&&m.height>4){var b=m.clone();this.value>0?(b.y--,e.drawCachedShadow(b,o.Left|o.Bottom,e.options.isPrinting)):this.value<0&&e.drawCachedShadow(new l(b.x-8,b.y,b.width+8,b.height),o.Top|o.Right|o.Edge|o.Bottom,e.options.isPrinting)}var S=new n(this.seriesBorderColor,1);this.series.chart.style.core.fillColumn(e,m,this.seriesBrush,this.getInteractionData());var v=null;(this.isMouseOver||this.series.core.isMouseOver)&&e.fillRectangle2(r.StiMouseOverHelper.getMouseOverColor(),m.x,m.y,m.width,m.height,null),v=this.value>0?[new s(m.right,m.y),new s(m.x,m.y),new s(m.x,m.bottom),new s(m.right,m.bottom)]:[new s(m.x,m.y),new s(m.right,m.y),new s(m.right,m.bottom),new s(m.x,m.bottom)],e.drawLines(S,v)}},h}(r.StiSeriesElementGeom);r.StiClusteredBarSeriesElementGeom=h}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(e){function t(t,r,i){var n=e.call(this,i)||this;return n._areaGeom=t,n._series=r,n}return __extends(t,e),Object.defineProperty(t.prototype,"series",{get:function(){return this._series},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"interactions",{get:function(){return this._interactions},set:function(e){this._interactions=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"areaGeom",{get:function(){return this._areaGeom},set:function(e){this._areaGeom=e},enumerable:!1,configurable:!0}),t.prototype.draw=function(e){var t=this.clientRectangle.clone()},t}(e.StiCellGeom);e.StiSeriesGeom=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Point,i=e.System.Drawing.Rectangle,n=function(e){function n(r,i,o){var a=e.call(this,r,o,n.getClientRectangle(i,o.stimulsoft.is(t.StiBaseLineSeries)?o.stimulsoft.as(t.StiBaseLineSeries).lineWidth:0))||this;return a._points=i,a}return __extends(n,e),n.prototype.invokeMouseEnter=function(e){if(!this.allowMouseOver)return;this.isMouseOver||(this.isMouseOver=!0,e.updateContext=!0)},n.prototype.invokeMouseLeave=function(e){if(!this.allowMouseOver)return;this.isMouseOver&&(this.isMouseOver=!1,e.updateContext=!0)},Object.defineProperty(n.prototype,"allowMouseOver",{get:function(){return this.series.interaction.drillDownEnabled&&this.series.interaction.allowSeries},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isMouseOver",{get:function(){if(null==this.series)return!1;return this.series.core.isMouseOver},set:function(e){null!=this.series&&(this.series.core.isMouseOver=e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"points",{get:function(){return this._points},enumerable:!1,configurable:!0}),n.getClientRectangle=function(e,t){var n,o;if(null==e||0==e.length)return i.empty;var a=r.empty,s=r.empty;try{for(var l=__values(e),u=l.next();!u.done;u=l.next()){var c=u.value;if(null==c)continue;a==r.empty?(a=c,s=c):(a.x=Math.min(a.x,c.x),a.y=Math.min(a.y,c.y),s.x=Math.max(s.x,c.x),s.y=Math.max(s.y,c.y))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return new i(a.x-t/2,a.y-t/2,s.x-a.x+t,s.y-a.y+t)},n.prototype.draw=function(e){},n}(t.StiSeriesGeom);t.StiBaseLineSeriesGeom=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.Base.Context.StiPenLineCap,n=e.Base.Context.StiPenGeom,o=e.Base.Drawing.StiColorUtils,a=e.Base.Drawing.StiPenStyle,s=e.Base.Drawing.StiSolidBrush,l=e.System.Drawing.Color,u=e.System.Drawing.Point,c=e.System.Drawing.Rectangle,h=function(e){function h(t,r,i,n,o){var a=e.call(this,t,r,i)||this;return a.pointsNullConnect=o,a.pointsZeroConnect=n,a}return __extends(h,e),h.prototype.contains=function(e,r){if(this.invisible)return!1;for(var i=0;iM){if(E.push(R),null==X||X.y=2*e.options.zoom&&g){var J=.5*e.options.zoom,H;e.pushTranslateTransform(-J,-J),(H=new n(o.light(I,70),C)).penStyle=v,this.drawLine(e,H,E),e.popTransform()}E.stimulsoft.clear()}}else if(V.push(R),null==X||X.y>M){if(null!=X){var z=this.getPointCross(R,this.points[G+1],M);E.push(z),V.push(z),V.push(X)}if(this.drawLine(e,w,V),C>=2*e.options.zoom&&g){var J=.5*e.options.zoom,H;e.pushTranslateTransform(-J,-J),(H=new n(o.light(f,70),C)).penStyle=v,this.drawLine(e,H,V),e.popTransform()}V.stimulsoft.clear()}}}else if(t.StiNullableDrawing.drawLines(e,w,this.points,x.isAnimation),C>=2*e.options.zoom&&g){var J=.5*e.options.zoom,H;e.pushTranslateTransform(-J,-J),(H=new n(o.light(f,70),C)).penStyle=v,t.StiNullableDrawing.drawLines(e,H,this.points,x.isAnimation),e.popTransform()}if(null!=S&&S.visible){var W=new n(S.borderColor);S.core.drawLines(e,this.points,e.options.zoom,S.brush,W,S.type,S.step,S.size,S.angle)}e.popSmoothingMode()},h.prototype.getPointCross=function(e,t,r){var i=e.y,n=e.x,o=t.y,a=t.x,s=Math.tan(Math.atan((a-n)/(i-o)))*(i-r)+n;return new u(s,r)},h.prototype.drawLine=function(e,i,n){var o=r.create(u,n.length,!0);n.stimulsoft.copyTo(o);var a=this.series.chart;t.StiNullableDrawing.drawLines(e,i,o,a.isAnimation)},h}(t.StiBaseLineSeriesGeom);t.StiLineSeriesGeom=h}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPathGeom,i=e.Base.Context.StiLinesSegmentGeom,n=e.Base.Context.StiLineSegmentGeom,o=e.System.Drawing.Point,a=e.System.Drawing.Rectangle,s=e.Base.Context.Animation.StiOpacityAnimation,l=function(e){function l(t,r,i){return e.call(this,t,r,i)||this}return __extends(l,e),l.prototype.contains=function(e,r){var i,n=this.series.chart.area.axisCore.getDividerY();if(this.invisible)return!1;for(var a=0;a1){var m=new u(r.StiChartHelper.globalDurationElement,new a(this._animation.beginTime.ticks+this._animation.duration.ticks));e.drawShadowRect(h,5,m)}e.drawAnimationColumn(this.seriesBrush,f,h,this.value,this.getToolTip(),this,this._animation,this.getInteractionData())}else{var S=this.clientRectangle.clone();this.series.showShadow&&S.width>4&&S.height>4&&(this.value>0?e.drawCachedShadow(S,o.Top|o.Right,e.options.isPrinting):this.value<0&&e.drawCachedShadow(new l(S.x,S.y-8,S.width,S.height+8),o.Right|o.Edge|o.Bottom|o.Left,e.options.isPrinting));var f=new n(this.seriesBorderColor,1);this.series.chart.style.core.fillColumn(e,S,this.seriesBrush,this.getInteractionData()),(this.isMouseOver||this.series.core.isMouseOver)&&e.fillRectangle2(r.StiMouseOverHelper.getMouseOverColor(),S.x,S.y,S.width,S.height,null);var g=null;g=this.value>0?[new s(S.x,S.bottom),new s(S.x,S.y),new s(S.right,S.y),new s(S.right,S.bottom)]:[new s(S.x,S.y),new s(S.x,S.bottom),new s(S.right,S.bottom),new s(S.right,S.y)],e.drawLines(f,g)}},c}(r.StiSeriesElementGeom);r.StiClusteredColumnSeriesElementGeom=c}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenLineCap,i=e.Base.Context.StiPenGeom,n=e.Base.Drawing.StiColorUtils,o=e.Base.Drawing.StiPenStyle,a=e.System.Drawing.Color,s=e.System.Drawing.Point,l=e.System.Drawing.Rectangle,u=function(e){function u(t,r,i,n,o){var a=e.call(this,t,r,i)||this;return a.pointsNullConnect=o,a.pointsZeroConnect=n,a}return __extends(u,e),u.prototype.contains=function(e,r){if(this.invisible)return!1;for(var i=0;i=2&&m){var j=.5*e.options.zoom,F;e.pushTranslateTransform(-j,-j),(F=new i(n.light(p,70),v)).penStyle=b,t.StiNullableDrawing.drawCurve(e,F,this.points,S,w.isAnimation),e.popTransform()}if(null!=g&&g.allowApplyColorNegative){var I=new i(g.lineColorNegative,v);I.penStyle=b;var D=this.series.chart.area,N=D.axisCore.getDividerY(),M=D.axisCore.scrollRangeX*D.axisCore.scrollDpiX,E=D.axisCore.scrollRangeY*D.axisCore.scrollDpiY-N,V=new l(0,N,M,E);if(e.pushClip(V),t.StiNullableDrawing.drawCurve(e,I,this.points,S,w.isAnimation),v>=2&&m){var j=.5*e.options.zoom,F;e.pushTranslateTransform(-j,-j),(F=new i(n.light(g.lineColorNegative,70),v)).penStyle=b,t.StiNullableDrawing.drawCurve(e,F,this.points,S,w.isAnimation),e.popTransform()}e.popClip()}e.popSmoothingMode()},u}(t.StiBaseLineSeriesGeom);t.StiSplineSeriesGeom=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPathGeom,i=e.Base.Context.StiLineSegmentGeom,n=e.Base.Context.StiCurveSegmentGeom,o=e.System.Drawing.Point,a=e.System.Drawing.Rectangle,s=e.Base.Context.Animation.StiOpacityAnimation,l=function(e){function l(t,r,i){return e.call(this,t,r,i)||this}return __extends(l,e),l.prototype.contains=function(e,r){var i,n=this.series.chart.area.axisCore.getDividerY();if(this.invisible)return!1;for(var a=0;al.x?(h=new u(l.x,l.y,c.x-l.x,1)).inflate(0,5):c.y>l.y?(h=new u(l.x,l.y,1,c.y-l.y)).inflate(5,0):(h=new u(c.x,c.y,1,l.y-c.y)).inflate(5,0),h.contains(e,t))return!0;if(++o==n.length-1)break}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return!1},c.prototype.draw=function(e){var c,h,p,f,m=this.series;e.pushSmoothingModeToAntiAlias();var S=m.lineStyle,g=m.lineWidth*e.options.zoom,y=new n(m.lineColor,g);y.penStyle=S;var d=t.StiNullableDrawing.getNullablePointsList(this.points),b=this.series.chart;try{for(var v=__values(d),C=v.next();!C.done;C=v.next()){var w=C.value,x=this.getConvertedPoints(w);if(m.showShadow){var _=new n(s.fromArgb(50,0,0,0),g+.5*e.options.zoom);if(_.penStyle=S,e.pushTranslateTransform(g,g),t.StiNullableDrawing.drawLines(e,_,x,b.isAnimation),m.lineMarker.visible){var A=new a(s.fromArgb(50,0,0,0));m.lineMarker.core.drawLines(e,x,e.options.zoom,A,null,m.lineMarker.type,m.lineMarker.step,m.lineMarker.size,m.lineMarker.angle)}e.popTransform()}if(this.series.core.isMouseOver){var L=m.lineWidth,O=e.options.zoom,P=11+L;try{for(var B=(p=void 0,__values(this.points)),R=B.next();!R.done;R=B.next()){var k;if(null==(k=R.value))continue;var T=new u(k.x-P/2*O,k.y-P/2*O,P*O,P*O);e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(),T,null)}}catch(e){p={error:e}}finally{try{R&&!R.done&&(f=B.return)&&f.call(B)}finally{if(p)throw p.error}}var j=new n(t.StiMouseOverHelper.getLineMouseOverColor(),(4+L)*e.options.zoom);j.startCap=i.Round,j.endCap=i.Round,t.StiNullableDrawing.drawLines(e,j,x,b.isAnimation)}var F,I=this.series.chart.area.axisCore.getDividerY();if(m.allowApplyColorNegative){var D=new n(m.lineColorNegative,g);D.penStyle=S;for(var N=[],M=[],E=0;EI){if(N.push(k),null==V||V.y<=I){this.intersectionAxis(k,V,N,M,I);var G=r.create(l,N.length,!0);if(N.stimulsoft.copyTo(G),t.StiNullableDrawing.drawLines(e,D,G,b.isAnimation),g>=2&&m.lighting){var X=.5*e.options.zoom,z;e.pushTranslateTransform(-X,-X),(z=new n(o.light(m.lineColorNegative,70),g)).penStyle=S,t.StiNullableDrawing.drawLines(e,z,G,b.isAnimation),e.popTransform()}N.stimulsoft.clear()}}else if(M.push(k),null==V||V.y>I){this.intersectionAxis(k,V,M,N,I);var G=r.create(l,M.length,!0);if(M.stimulsoft.copyTo(G),t.StiNullableDrawing.drawLines(e,y,G,b.isAnimation),g>=2&&m.lighting){var X=.5*e.options.zoom,z;e.pushTranslateTransform(-X,-X),(z=new n(o.light(m.lineColor,70),g)).penStyle=S,t.StiNullableDrawing.drawLines(e,z,G,b.isAnimation),e.popTransform()}M.stimulsoft.clear()}}}else if(t.StiNullableDrawing.drawLines(e,y,x,b.isAnimation),g>=2&&m.lighting){var X=.5*e.options.zoom,z;e.pushTranslateTransform(-X,-X),(z=new n(o.light(m.lineColor,70),1)).penStyle=S,t.StiNullableDrawing.drawLines(e,z,x,b.isAnimation),e.popTransform()}if(m.lineMarker.visible){var J=new n(m.lineMarker.borderColor);m.lineMarker.core.drawLines(e,x,e.options.zoom,m.lineMarker.brush,J,m.lineMarker.type,m.lineMarker.step,m.lineMarker.size,m.lineMarker.angle)}}}catch(e){c={error:e}}finally{try{C&&!C.done&&(h=v.return)&&h.call(v)}finally{if(c)throw c.error}}e.popSmoothingMode()},c.prototype.intersectionAxis=function(e,t,r,i,n){if(null!=t){var o=new l(e.x,n);r.push(o),i.push(o)}},c}(t.StiBaseLineSeriesGeom);t.StiSteppedLineSeriesGeom=c}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPathGeom,i=e.Base.Context.StiLinesSegmentGeom,n=e.Base.Context.StiLineSegmentGeom,o=e.System.Drawing.Point,a=e.System.Drawing.Rectangle,s=e.Base.Context.Animation.StiOpacityAnimation,l=function(e){function l(t,r,i){return e.call(this,t,r,i)||this}return __extends(l,e),l.prototype.contains=function(e,t){var r,i,n,o=this.series.chart.area.axisCore.getDividerY();if(this.invisible)return!1;var s=0;try{for(var l=__values(this.points),u=l.next();!u.done;u=l.next()){var c=u.value;if(this.points.length<=s+1)continue;var h=this.points[s+1],p;if(null==c||null==h)continue;if((o>c.y?new a(c.x,c.y,h.x-c.x,o-c.y):new a(c.x,o,h.x-c.x,c.y-o)).contains(e,t))return!0;if(++s==this.points.length-1)break}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}return!1},l.prototype.draw=function(e){for(var l,u,c=this.series,h=this.series.chart.area,p=h.axisCore.getDividerY(),f=[],m=this.series.chart.area.xAxis.info.dpi/2,S=0;Sthis.radiusFrom)return!1;var a=180*Math.atan2(n,i)/Math.PI;return a<0&&(a+=360),a>=this.startAngle&&a<=this.endAngle},c.prototype.draw=function(e){var l=this.clientRectangle.clone(),c=new a(this.borderColor);c.alignment=n.Inset;var h=this.series.chart,p=this.series.stimulsoft.as(r.IStiFontIconsSeries);if(null!=p&&null!=p.icon){var f=30;return e.pushClipPath(this.path),t.StiFontIconsHelper.drawFillIcons(e,this.seriesBrush,l,new i(f,f),p.icon,this.getToolTip()),void e.popClip()}if(h.isAnimation){var m=new u(s.fromSeconds(1),this.beginTime);e.drawAnimationPathElement(this.brush,c,this.path,l,this.getToolTip(),this,m,this.getInteractionData())}else e.pushSmoothingModeToAntiAlias(),null!=this.path&&(e.fillPath(this.brush,this.path,l,this.getInteractionData()),(this.isMouseOver||this.series.core.isMouseOver)&&e.fillPath(r.StiMouseOverHelper.getMouseOverColor(),this.path,l,null)),null!=this.pathLight&&e.fillPath(this.brushLight,this.pathLight,l,null),null!=this.pathDark&&e.fillPath(this.brushDark,this.pathDark,l,null),e.drawPath(c,this.path,o.getBoundsState),e.popSmoothingMode()},c}(r.StiSeriesElementGeom);r.StiDoughnutSeriesElementGeom=c}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(t){function r(e,r,i,n,o,a,s,l,u){var c=t.call(this,i)||this;return c._areaGeom=e,c._series=r,c._open=n,c._close=o,c._high=a,c._low=s,c._positionX=l,c._index=u,c}return __extends(r,t),r.prototype.invokeMouseEnter=function(e){if(!this.allowMouseOver)return;this.isMouseOver||(this.isMouseOver=!0,e.updateContext=this.series.interaction.drillDownEnabled);var t=this.getValueIndex();e.interactionToolTip=this.getToolTip(t),e.interactionHyperlink=this.getHyperlink(t)},r.prototype.invokeClick=function(e){var t=this.getValueIndex();null!=this.series.hyperlinks&&t4&&l.height>4&&e.drawCachedShadow(l,o.All,e.options.isPrinting);var p=new n(s.borderColor);e.fillRectangle2(c,l.x,l.y,l.width,l.height,this.getInteractionData()),(this.isMouseOver||this.series.core.isMouseOver)&&e.fillRectangle2(r.StiMouseOverHelper.getMouseOverColor(),l.x,l.y,l.width,l.height,null),e.drawRectangle2(p,l.x,l.y,l.width,l.height)}},s}(r.StiSeriesElementGeom);r.StiGanttSeriesElementGeom=s}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.StringTrimming,i=e.System.Drawing.StringFormatFlags,n=e.System.Drawing.StringAlignment,o=e.System.Drawing.Point,a=e.System.Drawing.Rectangle,s=e.Base.Context.StiFontGeom,l=e.Report.StiFontIconsHelper,u=function(t){function u(e,r,i,n,o,a,s,l,u,c){var h=t.call(this,e,r,i,o,u,n)||this;return h._icon=a,h._drawRectangles=s,h._clipRectangles=l,h._seriesBrush=n,h._animation=c,h}return __extends(u,t),Object.defineProperty(u.prototype,"icon",{get:function(){return this._icon},set:function(e){this._icon=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"drawRectangles",{get:function(){return this._drawRectangles},set:function(e){this._drawRectangles=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"clipRectangles",{get:function(){return this._clipRectangles},set:function(e){this._clipRectangles=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"seriesBrush",{get:function(){return this._seriesBrush},set:function(e){this._seriesBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"animation",{get:function(){return this._animation},set:function(e){this._animation=e},enumerable:!1,configurable:!0}),u.prototype.contains=function(e,t){if(this.invisible)return!1;for(var r=0;r=c.right&&(p=!1)}r.popClip()}},u.prototype.getStringFormatGeom=function(e){var t=e.getGenericStringFormat();return t.trimming=r.None,t.formatFlags=i.MeasureTrailingSpaces|i.NoWrap,t.alignment=n.Center,t.lineAlignment=n.Center,t},u}(t.StiSeriesElementGeom);t.StiPictorialSeriesElementGeom=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.System.Drawing.Color,n=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.draw=function(e){var t=this.clientRectangle,n=new r(i.lightGray);e.pushSmoothingModeToAntiAlias(),e.fillEllipse2(i.fromArgb(50,i.lightGray),t,null),e.drawEllipse2(n,t),e.drawLine(n,t.x+t.width/2,t.y+t.height/2,t.right,t.y+t.height/2),e.drawLine(n,t.x+t.width/2,t.y+t.height/2,t.x+t.width/2,t.bottom),e.popSmoothingMode()},t}(t.StiCellGeom);t.StiPieEmptySeriesElementGeom=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.System.Drawing.Size,n=e.Base.Context.StiPenAlignment,o=e.Base.Context.StiPenGeom,a=e.Base.Drawing.StiColorUtils,s=e.Base.Drawing.StiSolidBrush,l=e.System.Drawing.Color,u=e.System.Drawing.Point,c=function(e){function c(t,r,i,n,o,a,s,l,u,c,h,p,f){var m=e.call(this,t,r,i,n,o,u)||this;return m._path=a,m._pathLight=s,m._borderColor=l,m._brush=u,m._startAngle=c,m._endAngle=h,m._radius=p,m._animation=f,m}return __extends(c,e),Object.defineProperty(c.prototype,"path",{get:function(){return this._path},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"pathLight",{get:function(){return this._pathLight},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"borderColor",{get:function(){return this._borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"brush",{get:function(){return this._brush},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startAngle",{get:function(){return this._startAngle},set:function(e){this._startAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"endAngle",{get:function(){return this._endAngle},set:function(e){this._endAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"radius",{get:function(){return this._radius},set:function(e){this._radius=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"beginTime",{get:function(){return this._beginTime},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"animation",{get:function(){return this._animation},set:function(e){this._animation=e},enumerable:!1,configurable:!0}),c.prototype.contains=function(e,t){if(this.invisible)return!1;var r=new u(this.clientRectangle.x+this.clientRectangle.width/2,this.clientRectangle.y+this.clientRectangle.height/2),i=e-r.x,n=t-r.y,o;if(Math.sqrt(i*i+n*n)>=this.radius)return!1;var a=180*Math.atan2(n,i)/Math.PI;return a<0&&(a+=360),a>=this.startAngle&&a<=this.endAngle},c.prototype.draw=function(e){var u=this.clientRectangle.clone(),c=l.transparent.stimulsoft.equals(this.borderColor)?this.borderColor:a.dark(this.borderColor,10),h=new o(c);h.alignment=n.Inset;var p=this.series.chart,f=this.series.stimulsoft.as(r.IStiFontIconsSeries);if(null!=f&&null!=f.icon){var m=30;return e.pushClipPath(this.path),t.StiFontIconsHelper.drawFillIcons(e,this.seriesBrush,u,new i(m,m),f.icon,this.getToolTip()),void e.popClip()}if(p.isAnimation){if(e.drawAnimationPathElement(this.brush,h,this.path,u,this.getToolTip(),this,this.animation,this.getInteractionData()),null!=this.pathLight){var S=new s(l.fromArgb(30,l.black));e.drawAnimationPathElement(S,null,this.pathLight,u,this.getToolTip(),null,this.animation,this.getInteractionData())}}else{if(e.pushSmoothingModeToAntiAlias(),e.fillPath(this.brush,this.path,u,this.getInteractionData()),(this.isMouseOver||this.series.core.isMouseOver)&&e.fillPath(r.StiMouseOverHelper.getMouseOverColor(),this.path,u,null),null!=this.pathLight){var S=new s(l.fromArgb(30,l.black));e.fillPath(S,this.pathLight,u,this.getInteractionData())}l.transparent.stimulsoft.equals(this.borderColor)||e.drawPath(h,this.path,null),e.popSmoothingMode()}},c}(r.StiSeriesElementGeom);r.StiPieSeriesElementGeom=c}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=function(e){function t(t,r,i,n,o,a,s){var l=e.call(this,t,r,i,n,o,a)||this;return l._brush=a,l._borderColor=s,l}return __extends(t,e),Object.defineProperty(t.prototype,"brush",{get:function(){return this._brush},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"borderColor",{get:function(){return this._borderColor},enumerable:!1,configurable:!0}),t.prototype.draw=function(e){var t=this.clientRectangle.clone(),i=new r(this.borderColor);e.fillEllipse2(this.brush,t,null),e.drawEllipse2(i,t)},t}(t.StiSeriesElementGeom);t.StiPieSeriesFullElementGeom=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.Animation.StiOpacityAnimation,i=function(e){function t(t,r,i,n,o,a){var s=e.call(this,r)||this;return s._series=t,s._shadowContext=n,s._radius=i,s._duration=o,s._beginTime=a,s._isAnimation=t.chart.isAnimation,s}return __extends(t,e),Object.defineProperty(t.prototype,"invisible",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"series",{get:function(){return this._series},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shadowContext",{get:function(){return this._shadowContext},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"radius",{get:function(){return this._radius},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function(){return this._duration},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"beginTime",{get:function(){return this._beginTime},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAnimation",{get:function(){return this._isAnimation},enumerable:!1,configurable:!0}),t.prototype.draw=function(e){var t=this.clientRectangle.clone();if(this.isAnimation){var i=new r(this.duration,this.beginTime);e.drawShadowRect2(t,t.height/2,t.width/2,Math.trunc(this.radius),i)}else e.drawShadow(this.shadowContext,t,this.radius)},t}(t.StiCellGeom);t.StiPieSeriesShadowElementGeom=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPathGeom,i=e.Base.Context.StiLineSegmentGeom,n=e.System.Drawing.Point,o=e.System.Drawing.Rectangle,a=e.Base.Context.Animation.StiOpacityAnimation,s=function(e){function s(t,r,i){var n=e.call(this,o.empty)||this;return n._series=t,n._points=r,n._centerPoint=i,n}return __extends(s,e),s.prototype.invokeMouseEnter=function(e){if(!this.allowMouseOver)return;this.isMouseOver||(this.isMouseOver=!0,e.updateContext=!0)},s.prototype.invokeMouseLeave=function(e){if(!this.allowMouseOver)return;this.isMouseOver&&(this.isMouseOver=!1,e.updateContext=!0)},Object.defineProperty(s.prototype,"allowMouseOver",{get:function(){return this.series.interaction.drillDownEnabled&&this.series.interaction.allowSeries},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isMouseOver",{get:function(){if(null==this.series)return!1;return this.series.core.isMouseOver},set:function(e){null!=this.series&&(this.series.core.isMouseOver=e)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"series",{get:function(){return this._series},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"points",{get:function(){return this._points},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"centerPoint",{get:function(){return this._centerPoint},enumerable:!1,configurable:!0}),s.prototype.contains=function(e,r){if(this.invisible)return!1;for(var i,o=this.series.chart.area.core,a=0;a0;if(null!=i.marker&&i.marker.visible){e.pushSmoothingModeToAntiAlias();var o=e.options.zoom;this.isMouseOver&&e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(),this.getMouseOverRect(),null);var a=this.series.chart,s=null;a.isAnimation&&((s=new r).componentName=a.name,s.componentIndex=a.page.components.indexOf(a).toString(),s.pageGuid=this.series.stimulsoft.as(t.StiSeries).drillDownPageGuid,s.pageIndex=a.page.report.renderedPages.indexOf(a.page).toString(),s.elementIndex=this.elementIndex.toString(),s.seriesInteractionData=this.interaction),i.marker.core.draw(e,i.marker,this.point,o,i.showShadow,this.isMouseOver,n,a.isAnimation,this.getToolTip(),this,s),e.popSmoothingMode()}},i}(t.StiSeriesElementGeom);t.StiRadarPointSeriesElementGeom=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.Base.Drawing.StiShadowSides,n=e.System.TimeSpan,o=e.Base.Context.Animation.StiOpacityAnimation,a=function(e){function a(t,r,i,n,o,a,s){var l=e.call(this,t,r,i,n,a,o)||this;return l._beginTime=s,l}return __extends(a,e),Object.defineProperty(a.prototype,"beginTime",{get:function(){return this._beginTime},enumerable:!1,configurable:!0}),a.prototype.draw=function(e){var a=this.series,s=this.clientRectangle.clone(),l;if(this.series.chart.isAnimation){var u=new r(a.borderColor),c=!(this.value<0),h=t.StiChartHelper.globalDurationElement;if(this.series.showShadow){var p=new o(t.StiChartHelper.globalDurationElement,new n(this.beginTime.ticks+t.StiChartHelper.globalDurationElement.ticks));e.drawShadowRect(s,5,p)}var f=new o(t.StiChartHelper.globalDurationElement,this.beginTime);e.drawAnimationColumn(a.brush,u,s,this.value,this.getToolTip(),this,f,this.getInteractionData())}else{a.showShadow&&s.width>4&&s.height>4&&e.drawCachedShadow(s,i.All,e.options.isPrinting);var u=new r(a.borderColor);e.fillRectangle2(a.brush,s.x,s.y,s.width,s.height,this.getInteractionData()),(this.isMouseOver||this.series.core.isMouseOver)&&e.fillRectangle2(t.StiMouseOverHelper.getMouseOverColor(),s.x,s.y,s.width,s.height,null),e.drawRectangle2(u,s.x,s.y,s.width,s.height)}},a}(t.StiSeriesElementGeom);t.StiRangeBarElementGeom=a}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.Base.Context.StiPathGeom,n=e.Base.Context.StiLinesSegmentGeom,o=e.System.Drawing.Point,a=e.Base.Context.Animation.StiOpacityAnimation,s=function(e){function s(t,r,i,n){var o=e.call(this,t,r,n)||this;return o._pointsEnd=i,o}return __extends(s,e),Object.defineProperty(s.prototype,"pointsEnd",{get:function(){return this._pointsEnd},set:function(e){this._pointsEnd=e},enumerable:!1,configurable:!0}),s.prototype.draw=function(e){var r=this.series,i=t.StiNullableDrawing.getPointsList(this.points),n=t.StiNullableDrawing.getPointsList(this.pointsEnd);if(i.length<1||n.length<1)return;for(var o=i[0],a=n[0],s=Math.min(o.length,a.length),l=[],u=[],c=0;c=0;m--){var S=u[m];h[f+l.length+1]=S,f++}if(c.push(new n(h)),this.series.chart.isAnimation){var g=new a(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement);e.fillDrawAnimationPath(s,null,c,i.getBoundsState,null,g,null)}else e.fillPath(s,c,i.getBoundsState,null);(this.isMouseOver||this.series.core.isMouseOver)&&e.fillPath(t.StiMouseOverHelper.getMouseOverColor(),c,i.getBoundsState,null)},s.prototype.intersection=function(e,t,r,i){if(null==r)return!1;return e.y>t.y&&r.yi.y||r.y==i.y},s.prototype.getPointCross2=function(e,t,r,i){if(r==i)return r;var n=e.x,a=e.y,s=r.x,l=r.y,u=t.x,c=t.y,h=i.x,p=i.y,f=-((n*l-s*a)*(h-u)-(u*p-h*c)*(s-n))/((a-l)*(h-u)-(c-p)*(s-n)),m;return f>n&&ft.y&&r.yi.y||r.y==i.y},s}(t.StiSteppedLineSeriesGeom);t.StiSteppedRangeSeriesGeom=s}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenLineCap,i=e.Base.Context.StiPenGeom,n=e.Base.Drawing.StiColorUtils,o=e.System.Drawing.Color,a=e.System.Drawing.Point,s=e.System.Drawing.Rectangle,l=function(e){function l(t,r,i){return e.call(this,t,r,i)||this}return __extends(l,e),l.prototype.contains=function(e,r){if(this.invisible)return!1;for(var i=0;i=2&&u.lighting){var w=.5*e.options.zoom;e.pushTranslateTransform(-w,-w);var x=new i(n.light(u.lineColor,70),1);x.penStyle=c,t.StiNullableDrawing.drawCurve(e,x,this.points,u.tension),e.popTransform()}e.popSmoothingMode()},l}(t.StiBaseLineSeriesGeom);t.StiScatterSplineSeriesGeom=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.System.Drawing.Size,n=e.Base.Context.StiPenGeom,o=e.System.TimeSpan,a=e.System.Drawing.Point,s=e.Base.Context.Animation.StiOpacityAnimation,l=function(e){function l(t,r,i,n,o,a,s,l){var u=e.call(this,t,r,i,a,s,n)||this;return u._seriesBrush=n,u._seriesBorderColor=o,u._beginTime=l,u}return __extends(l,e),Object.defineProperty(l.prototype,"seriesBrush",{get:function(){return this._seriesBrush},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"seriesBorderColor",{get:function(){return this._seriesBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"beginTime",{get:function(){return this._beginTime},enumerable:!1,configurable:!0}),l.prototype.draw=function(e){var l=this.clientRectangle.clone(),u=new n(this.seriesBorderColor,1),c=this.series.chart,h=this.series.stimulsoft.as(r.IStiFontIconsSeries);if(null!=h&&null!=h.icon)return void t.StiFontIconsHelper.drawDirectionIcons(e,this.seriesBrush,l,new i(l.height,l.height),h.icon,this.getToolTip(),!1);if(c.isAnimation){if(this.series.showShadow){var p=new s(r.StiChartHelper.globalDurationElement,new o(this.beginTime.ticks+r.StiChartHelper.globalDurationElement.ticks));e.drawShadowRect(l,5,p)}var f=new s(r.StiChartHelper.globalDurationElement,this.beginTime);e.drawAnimationBar(this.seriesBrush,u,l,this.value,this.getToolTip(),this,f,this.getInteractionData())}else{this.series.chart.style.core.fillColumn(e,l,this.seriesBrush,this.getInteractionData());var m=null;(this.isMouseOver||this.series.core.isMouseOver)&&e.fillRectangle2(r.StiMouseOverHelper.getMouseOverColor(),l.x,l.y,l.width,l.height,null),m=this.value>0?[new a(l.right,l.y),new a(l.x,l.y),new a(l.x,l.bottom),new a(l.right,l.bottom)]:[new a(l.x,l.y),new a(l.right,l.y),new a(l.right,l.bottom),new a(l.x,l.bottom)],e.drawLines(u,m)}},l}(r.StiSeriesElementGeom);r.StiStackedBarSeriesElementGeom=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiShadowSides,i=function(e){function i(t,r,i,n){var o=e.call(this,r)||this;return o._series=t,o._isLeftShadow=i,o._isRightShadow=n,o}return __extends(i,e),Object.defineProperty(i.prototype,"invisible",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"series",{get:function(){return this._series},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isLeftShadow",{get:function(){return this._isLeftShadow},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isRightShadow",{get:function(){return this._isRightShadow},enumerable:!1,configurable:!0}),i.prototype.draw=function(e){var i=this.clientRectangle.clone();this.series.stimulsoft.is(t.IStiFullStackedBarSeries)?e.drawCachedShadow(i,r.Bottom,e.options.isPrinting):(this.isLeftShadow&&e.drawCachedShadow(i,r.Bottom|r.Left,e.options.isPrinting),this.isRightShadow&&e.drawCachedShadow(i,r.Top|r.Right|r.Edge|r.Bottom,e.options.isPrinting))},i}(t.StiCellGeom);t.StiStackedBarSeriesShadowElementGeom=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.Base.Context.StiPathGeom,n=e.Base.Context.StiLinesSegmentGeom,o=e.Base.Context.StiLineSegmentGeom,a=e.System.Drawing.Point,s=e.System.Drawing.Rectangle,l=function(e){function l(t,r,i,n){var o=e.call(this,t,n,l.getClientRectangle(r,i))||this;return o._startPoints=r,o._endPoints=i,o}return __extends(l,e),l.prototype.invokeMouseEnter=function(e){if(!this.allowMouseOver)return;this.isMouseOver||(this.isMouseOver=!0,e.updateContext=!0)},l.prototype.invokeMouseLeave=function(e){if(!this.allowMouseOver)return;this.isMouseOver&&(this.isMouseOver=!1,e.updateContext=!0)},Object.defineProperty(l.prototype,"allowMouseOver",{get:function(){return this.series.interaction.drillDownEnabled&&this.series.interaction.allowSeries},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isMouseOver",{get:function(){if(null==this.series)return!1;return this.series.core.isMouseOver},set:function(e){null!=this.series&&(this.series.core.isMouseOver=e)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"startPoints",{get:function(){return this._startPoints},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"endPoints",{get:function(){return this._endPoints},enumerable:!1,configurable:!0}),l.prototype.contains=function(e,r){var i,n=this.series.chart.area.axisCore.getDividerY();if(this.invisible)return!1;for(var o=0;o0?[new a(l.x,l.bottom),new a(l.x,l.y),new a(l.right,l.y),new a(l.right,l.bottom)]:[new a(l.x,l.y),new a(l.x,l.bottom),new a(l.right,l.bottom),new a(l.right,l.y)],e.drawLines(u,m)}},l}(r.StiSeriesElementGeom);r.StiStackedColumnSeriesElementGeom=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiShadowSides,i=function(e){function i(t,r,i,n){var o=e.call(this,r)||this;return o._series=t,o._isTopShadow=i,o._isBottomShadow=n,o}return __extends(i,e),Object.defineProperty(i.prototype,"invisible",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"series",{get:function(){return this._series},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isTopShadow",{get:function(){return this._isTopShadow},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isBottomShadow",{get:function(){return this._isBottomShadow},enumerable:!1,configurable:!0}),i.prototype.draw=function(e){var i=this.clientRectangle.clone();this.series.stimulsoft.is(t.IStiFullStackedColumnSeries)?e.drawCachedShadow(i,r.Right,e.options.isPrinting):(this.isTopShadow&&e.drawCachedShadow(i,r.Top|r.Right,e.options.isPrinting),this.isBottomShadow&&e.drawCachedShadow(i,r.Right|r.Edge|r.Bottom|r.Left,e.options.isPrinting))},i}(t.StiCellGeom);t.StiStackedColumnSeriesShadowElementGeom=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.Base.Context.StiPenLineCap,n=e.Base.Context.StiPenGeom,o=e.Base.Drawing.StiColorUtils,a=e.System.Drawing.Color,s=e.System.Drawing.Point,l=e.System.Drawing.Rectangle,u=function(e){function u(t,r,i){return e.call(this,t,r,i)||this}return __extends(u,e),u.prototype.contains=function(e,r){if(this.invisible)return!1;for(var i=0;i1){e.pushSmoothingModeToAntiAlias();var h=u.lineStyle,p=u.lineWidth*e.options.zoom,f=new n(u.lineColor,p);f.penStyle=h;var m=u.lighting;if(u.showShadow){var S=new n(a.fromArgb(50,0,0,0),p+.5*e.options.zoom);S.penStyle=h,e.pushTranslateTransform(p,p),t.StiNullableDrawing.drawLines(e,S,this.points,c.isAnimation),e.popTransform()}if(this.series.core.isMouseOver){var g=u.lineWidth,y=e.options.zoom,d=11+g;try{for(var b=__values(this.points),v=b.next();!v.done;v=b.next()){var C;if(null==(C=v.value))continue;var w=new l(C.x-d/2*y,C.y-d/2*y,d*y,d*y);e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(),w,null)}}catch(e){r={error:e}}finally{try{v&&!v.done&&(s=b.return)&&s.call(b)}finally{if(r)throw r.error}}var x=new n(t.StiMouseOverHelper.getLineMouseOverColor(),(4+g)*e.options.zoom);x.startCap=i.Round,x.endCap=i.Round,t.StiNullableDrawing.drawLines(e,x,this.points)}var _=this.series.lineColor;if(this.series.allowApplyColorNegative){var A=this.series.lineColorNegative,L=new n(A,p);L.penStyle=h;for(var O,P=this.series.chart.area.axisCore.getDividerY(),B=[],R=[],k=0;kP){if(B.push(C),null==T||T.y=2*e.options.zoom&&m){var F=.5*e.options.zoom,I;e.pushTranslateTransform(-F,-F),(I=new n(o.light(A,70),p)).penStyle=h,this.drawLine(e,I,B),e.popTransform()}B.stimulsoft.clear()}}else if(R.push(C),null==T||T.y>P){if(null!=T){var j=this.getPointCross(C,this.points[k+1],P);B.push(j),R.push(j),R.push(T)}if(this.drawLine(e,f,R),p>=2*e.options.zoom&&m){var F=.5*e.options.zoom,I;e.pushTranslateTransform(-F,-F),(I=new n(o.light(_,70),p)).penStyle=h,this.drawLine(e,I,R),e.popTransform()}R.stimulsoft.clear()}}}else if(t.StiNullableDrawing.drawLines(e,f,this.points,c.isAnimation),p>=2*e.options.zoom&&u.lighting){var F=.5*e.options.zoom,I;e.pushTranslateTransform(-F,-F),(I=new n(o.light(_,70),p)).penStyle=h,t.StiNullableDrawing.drawLines(e,I,this.points,c.isAnimation),e.popTransform()}e.popSmoothingMode()}},u.prototype.getPointCross=function(e,t,r){var i=e.y,n=e.x,o=t.y,a=t.x,l=Math.tan(Math.atan((a-n)/(i-o)))*(i-r)+n;return new s(l,r)},u.prototype.drawLine=function(e,i,n){var o=this.series.chart,a=r.create(s,n.length,!0);n.stimulsoft.copyTo(a),t.StiNullableDrawing.drawLines(e,i,a,o.isAnimation)},u}(t.StiBaseLineSeriesGeom);t.StiStackedLineSeriesGeom=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t ;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.Base.Context.StiPathGeom,n=e.Base.Context.StiLineSegmentGeom,o=e.Base.Context.StiCurveSegmentGeom,a=e.System.Drawing.Point,s=e.System.Drawing.Rectangle,l=e.Base.Context.Animation.StiOpacityAnimation,u=function(e){function u(t,r,i,n){var o=e.call(this,t,n,u.getClientRectangle(r,i))||this;return o._startPoints=r,o._endPoints=i,o}return __extends(u,e),u.prototype.invokeMouseEnter=function(e){if(!this.allowMouseOver)return;this.isMouseOver||(this.isMouseOver=!0,e.updateContext=!0)},u.prototype.invokeMouseLeave=function(e){if(!this.allowMouseOver)return;this.isMouseOver&&(this.isMouseOver=!1,e.updateContext=!0)},Object.defineProperty(u.prototype,"allowMouseOver",{get:function(){return this.series.interaction.drillDownEnabled&&this.series.interaction.allowSeries},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isMouseOver",{get:function(){if(null==this.series)return!1;return this.series.core.isMouseOver},set:function(e){null!=this.series&&(this.series.core.isMouseOver=e)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"startPoints",{get:function(){return this._startPoints},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"endPoints",{get:function(){return this._endPoints},enumerable:!1,configurable:!0}),u.prototype.contains=function(e,r){var i,n=this.series.chart.area.axisCore.getDividerY();if(this.invisible)return!1;for(var o=0;o1){if(c.showShadow){var m=new i(o.fromArgb(50,0,0,0),p+.5*e.options.zoom);m.penStyle=h,e.pushTranslateTransform(p,p),t.StiNullableDrawing.drawCurve(e,m,this.points,c.tension,u.isAnimation),e.popTransform()}if(this.series.core.isMouseOver){var S=c.lineWidth,g=e.options.zoom,y=11+S;try{for(var d=__values(this.points),b=d.next();!b.done;b=d.next()){var v=b.value;if(null==v)continue;var C=new s(v.x-y/2*g,v.y-y/2*g,y*g,y*g);e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(),C,null)}}catch(e){a={error:e}}finally{try{b&&!b.done&&(l=d.return)&&l.call(d)}finally{if(a)throw a.error}}var w=new i(t.StiMouseOverHelper.getLineMouseOverColor(),(4+S)*e.options.zoom);w.startCap=r.Round,w.endCap=r.Round,t.StiNullableDrawing.drawCurve(e,w,this.points,c.tension)}if(t.StiNullableDrawing.drawCurve(e,f,this.points,c.tension,u.isAnimation),p>=2&&c.lighting){var x=.5*e.options.zoom,_;e.pushTranslateTransform(-x,-x),(_=new i(n.light(c.lineColor,70),p)).penStyle=h,t.StiNullableDrawing.drawCurve(e,_,this.points,c.tension,u.isAnimation),e.popTransform()}if(c.allowApplyColorNegative){var A=new i(c.lineColorNegative,p);A.penStyle=h;var L=this.series.chart.area,O=L.axisCore.getDividerY(),P=L.axisCore.scrollRangeX*L.axisCore.scrollDpiX,B=L.axisCore.scrollRangeY*L.axisCore.scrollDpiY-O,R=new s(0,O,P,B);if(e.pushClip(R),t.StiNullableDrawing.drawCurve(e,A,this.points,c.tension,u.isAnimation),p>=2&&c.lighting){var x=.5*e.options.zoom,_;e.pushTranslateTransform(-x,-x),(_=new i(n.light(c.lineColorNegative,70),p)).penStyle=h,t.StiNullableDrawing.drawCurve(e,_,this.points,c.tension,u.isAnimation),e.popTransform()}e.popClip()}}e.popSmoothingMode()},l}(t.StiBaseLineSeriesGeom);t.StiStackedSplineSeriesGeom=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenAlignment,i=e.Base.Context.StiPathGeom,n=e.Base.Context.StiPenGeom,o=e.System.TimeSpan,a=e.System.Drawing.Point,s=e.Base.Context.Animation.StiOpacityAnimation,l=function(e){function l(t,r,i,n,o,a,s,l,u,c,h,p,f){var m=e.call(this,t,r,i,n,o,l)||this;return m.path=a,m.borderColor=s,m.brush=l,m.startAngle=u,m.endAngle=c,m.radiusFrom=h,m.radiusTo=p,m.beginTime=f,m}return __extends(l,e),l.prototype.contains=function(e,t){if(this.invisible)return!1;var r=new a(this.clientRectangle.x+this.clientRectangle.width/2,this.clientRectangle.y+this.clientRectangle.height/2),i=e-r.x,n=t-r.y,o=Math.sqrt(i*i+n*n);if(othis.radiusFrom)return!1;var s=180*Math.atan2(n,i)/Math.PI;return s<0&&(s+=360),s>=this.startAngle&&s<=this.endAngle},l.prototype.draw=function(e){var a=this.clientRectangle.clone(),l=new n(this.borderColor),u;if(l.alignment=r.Inset,this.series.chart.isAnimation){var c=new s(o.fromSeconds(1),this.beginTime);e.fillDrawAnimationPath(this.brush,l,this.path,a,this,c,this.getInteractionData())}else e.pushSmoothingModeToAntiAlias(),null!=this.path&&(e.fillPath(this.brush,this.path,a,this.getInteractionData()),(this.isMouseOver||this.series.core.isMouseOver)&&e.fillPath(t.StiMouseOverHelper.getMouseOverColor(),this.path,a,null)),e.drawPath(l,this.path,i.getBoundsState),e.popSmoothingMode()},l}(t.StiSeriesElementGeom);t.StiSunburstSeriesElementGeom=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.System.Drawing.Size,n=e.Base.Context.StiPenGeom,o=e.System.Drawing.Rectangle,a=e.System.Drawing.Point,s=function(e){function s(t,r,i,n,o,a,s,l){var u=e.call(this,t,r,i,a,s,n)||this;return u._seriesBrush=n,u._seriesBorderColor=o,u._animation=l,u}return __extends(s,e),Object.defineProperty(s.prototype,"seriesBrush",{get:function(){return this._seriesBrush},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesBorderColor",{get:function(){return this._seriesBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"animation",{get:function(){return this._animation},enumerable:!1,configurable:!0}),s.prototype.draw=function(s){var l=this.series.chart,u=this.clientRectangle.clone(),c=this.series.stimulsoft.as(r.IStiFontIconsSeries);if(null!=c&&null!=c.icon){var h=30;return s.pushClip(u),t.StiFontIconsHelper.drawFillIcons(s,this.seriesBrush,u,new i(h,h),c.icon,this.getToolTip()),void s.popClip()}if(l.isAnimation){var p=new n(this.seriesBorderColor,1);s.drawAnimationRectangle(this.seriesBrush,p,new o(u.x,u.y,u.width,u.height),this,this._animation,this.getInteractionData(),this.getToolTip())}else{e.prototype.draw.call(this,s),this.series.chart.style.core.fillColumn(s,u,this.seriesBrush,this.getInteractionData()),(this.isMouseOver||this.series.core.isMouseOver)&&s.fillRectangle2(r.StiMouseOverHelper.getMouseOverColor(),u.x,u.y,u.width,u.height,null);var p=new n(this.seriesBorderColor,1),f=[new a(u.x,u.bottom),new a(u.x,u.y),new a(u.right,u.y),new a(u.right,u.bottom),new a(u.x,u.bottom)];s.drawLines(p,f)}},s}(r.StiSeriesElementGeom);r.StiTreemapSeriesElementGeom=s}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.System.Drawing.Rectangle,n=e.System.TimeSpan,o=e.System.Drawing.Color,a=e.Base.Context.Animation.StiOpacityAnimation,s=function(e){function s(t,r,i,o,a){var s=e.call(this,a)||this;return s._beginTime=new n(0),s._duration=new n(0),s._seriesLabels=t,s._series=r,s._index=i,s._value=o,s}return __extends(s,e),s.prototype.invokeMouseEnter=function(e){if(!this.allowMouseOver)return;this.isMouseOver||(this.isMouseOver=!0,e.updateContext=!0)},s.prototype.invokeMouseLeave=function(e){if(!this.allowMouseOver)return;this.isMouseOver&&(this.isMouseOver=!1,e.updateContext=!0)},s.prototype.getValueIndex=function(){var e=this.index;return this.series.stimulsoft.is(t.IStiClusteredBarSeries)||this.series.stimulsoft.is(t.IStiStackedBarSeries)||this.series.stimulsoft.is(t.IStiFullStackedBarSeries)?this.series.chart.area.stimulsoft.is(t.IStiAxisArea)&&!this.series.chart.area.reverseVert&&(e=this.series.values.length-e-1):this.series.chart.area.stimulsoft.is(t.IStiAxisArea)&&this.series.chart.area.reverseHor&&(e=this.series.values.length-e-1),e},s.prototype.getHyperlink=function(e){return null!=this.series.hyperlinks&&ethis.startPoint.y&&this.endPoint.y>this.startPoint.y||this.centerPie.ythis.endPoint.x?new l(this.endPoint.x+13,this.startPoint.y):new l(this.endPoint.x-13,this.startPoint.y)),null!=h?e.drawLines(p,[this.endPoint,h,this.startPoint,this.arcPoint]):e.drawLines(p,[this.endPoint,this.startPoint,this.arcPoint])}this.drawMarker(e,a,this.seriesBorderColor,this.seriesBrush),isNaN(a.x)||isNaN(a.y)||isNaN(a.width)||isNaN(a.height)||(e.fillRectangle(this.seriesLabelsBrush,a,null),this.seriesLabels.drawBorder&&e.drawRectangle2(s,a.x,a.y,a.width,a.height)),c.alignment=i.Center,c.lineAlignment=i.Center,e.drawRotatedString6(this.text,u,this.labelBrush,a,c,n.CenterCenter,0,this.seriesLabels.antialiasing,this.seriesLabels.width),this.isMouseOver&&e.fillRectangle(t.StiMouseOverHelper.getLineMouseOverColor(),a,null)},c.prototype.drawMarker=function(i,n,o,l){if(this.seriesLabels.markerVisible){var u=a.empty,c=Math.trunc(n.right+2*i.options.zoom),h=Math.trunc(n.left-(2+this.seriesLabels.markerSize.width)*i.options.zoom);e["StiOptions"].Engine.allowFixPieChartMarkerAlignment?this.seriesLabels.markerAlignment==t.StiMarkerAlignment.Right?u.x=this.clientRectangle.xthis.centerPie.x?c:h:u.x=this.seriesLabels.markerAlignment==t.StiMarkerAlignment.Right?c:h,u.y=Math.trunc(n.y+(n.height-this.seriesLabels.markerSize.height*i.options.zoom)/2),u.width=Math.trunc(this.seriesLabels.markerSize.width*i.options.zoom),u.height=Math.trunc(this.seriesLabels.markerSize.height*i.options.zoom);var p=o.stimulsoft.is(s)?o:s.black,f=new r(p,1);i.fillRectangle2(l,u.x,u.y,u.width,u.height,null),i.drawRectangle2(f,u.x,u.y,u.width,u.height)}},c}(t.StiSeriesLabelsGeom);t.StiTwoColumnsPieLabelsGeom=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.System.Drawing.StringAlignment,n=e.Base.Drawing.StiRotationMode,o=e.Base.Drawing.StiSolidBrush,a=e.Base.Context.Animation.StiOpacityAnimation,s=function(e){function s(t,r,i,n,o,a,s,l,u,c,h,p,f){var m=e.call(this,t,r,i,n,o)||this;return m._text=a,m._labelColor=s,m._labelBorderColor=l,m._seriesBrush=u,m._seriesLabelsBrush=c,m._seriesBorderColor=h,m._font=p,m}return __extends(s,e),Object.defineProperty(s.prototype,"labelColor",{get:function(){return this._labelColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"labelBorderColor",{get:function(){return this._labelBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesBrush",{get:function(){return this._seriesBrush},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBrush",{get:function(){return this._seriesLabelsBrush},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesBorderColor",{get:function(){return this._seriesBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"font",{get:function(){return this._font},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"text",{get:function(){return this._text},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"animation",{get:function(){return this._animation},enumerable:!1,configurable:!0}),s.prototype.draw=function(s){e.prototype.draw.call(this,s);var l=this.clientRectangle.clone(),u=new r(this.labelBorderColor,1),c=new o(this.labelColor),h=this.seriesLabels.core.getStringFormatGeom(s),p;if(h.alignment=i.Center,h.lineAlignment=i.Center,this.series.chart.isAnimation)this.drawMarker(s,l,this.seriesBorderColor,this.seriesBrush),null==this.animation&&(this._animation=new a(this.duration,this.beginTime)),s.drawAnimationLabel(this.text,this.font,c,this.seriesLabelsBrush,u,l,h,n.CenterCenter,this.seriesLabels.angle,this.seriesLabels.drawBorder,this.animation);else{this.drawMarker(s,l,this.seriesBorderColor,this.seriesBrush);var f=l.x+l.width/2,m=l.y+l.height/2;s.pushTranslateTransform(f,m),s.pushRotateTransform(this.seriesLabels.angle);var S=l.clone();S.x=-S.width/2,S.y=-S.height/2,s.fillRectangle(this.seriesLabelsBrush,S,null),this.seriesLabels.drawBorder&&s.drawRectangle2(u,S.x,S.y,S.width,S.height),s.popTransform(),s.popTransform(),s.drawRotatedString6(this.text,this.font,c,l,h,n.CenterCenter,this.seriesLabels.angle,this.seriesLabels.antialiasing,S.width),this.isMouseOver&&s.fillRectangle(t.StiMouseOverHelper.getLineMouseOverColor(),l,null)}},s}(t.StiSeriesLabelsGeom);t.StiCenterTreemapLabelsGeom=s}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.Drawing.Color,i=function(){function e(){}return e.getMouseOverColor=function(){return r.fromArgb(100,r.white)},e.getLineMouseOverColor=function(){return r.fromArgb(100,r.red)},e.mouseOverLineDistance=8,e.mouseOverSplineDistance=15,e}();t.StiMouseOverHelper=i}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Context.StiFontGeom,n=e.Base.Drawing.StiSolidBrush,o=function(e){function t(t,r){var i=e.call(this,r)||this;return i._strip=t,i}return __extends(t,e),Object.defineProperty(t.prototype,"strip",{get:function(){return this._strip},enumerable:!1,configurable:!0}),t.prototype.draw=function(e){var t=this.clientRectangle.clone();if(e.fillRectangle2(this.strip.stripBrush,t.x,t.y,t.width,t.height,null),this.strip.titleVisible){var o=new n(this.strip.titleColor),a=i.changeFontSize(this.strip.font,this.strip.font.size*e.options.zoom),s=e.getGenericStringFormat();e.drawRotatedString6(this.strip.text,a,o,t,s,r.CenterCenter,90,this.strip.antialiasing,0)}},t}(t.StiCellGeom);t.StiStripsXGeom=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Context.StiFontGeom,n=e.Base.Drawing.StiSolidBrush,o=function(e){function t(t,r){var i=e.call(this,r)||this;return i._strip=t,i}return __extends(t,e),Object.defineProperty(t.prototype,"strip",{get:function(){return this._strip},enumerable:!1,configurable:!0}),t.prototype.draw=function(e){var t=this.clientRectangle.clone();if(e.fillRectangle2(this.strip.stripBrush,t.x,t.y,t.width,t.height,null),this.strip.titleVisible){var o=new n(this.strip.titleColor),a=i.changeFontSize(this.strip.font,this.strip.font.size*e.options.zoom),s=e.getGenericStringFormat();e.drawRotatedString5(this.strip.text,a,o,t,s,r.CenterCenter,0,this.strip.antialiasing)}},t}(t.StiCellGeom);t.StiStripsYGeom=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Drawing.StiRotationMode,i=e.Base.Context.StiPenGeom,n=e.System.Drawing.StringAlignment,o=e.System.Drawing.StringTrimming,a=e.System.Drawing.StringFormatFlags,s=e.Base.Context.StiFontGeom,l=e.Base.Drawing.StiSolidBrush,u=e.System.Drawing.Rectangle,c=function(e){function c(t,r,n,o,a){var s=e.call(this,t)||this;return s.widthCellLegendTableChart=n,s.heightCellHeader=o,s.table=r,s.chartTable=a,s.pen=new i(a.gridLineColor),s.labelBrush=new l(a.textColor),s.labelHeaderBrush=new l(a.header.textColor),s}return __extends(c,e),c.prototype.draw=function(e){this.font=s.changeFontSize(this.chartTable.dataCells.font,this.chartTable.dataCells.font.size*e.options.zoom),this.sf=e.getGenericStringFormat(),this.sf.trimming=o.None,this.sf.formatFlags=a.MeasureTrailingSpaces|a.NoWrap,this.sf.alignment=n.Center,this.sf.lineAlignment=n.Center,this.fontHeader=s.changeFontSize(this.chartTable.header.font,this.chartTable.header.font.size*e.options.zoom),this.sfHeader=e.getGenericStringFormat(),this.sf.trimming=o.None,this.chartTable.header.wordWrap||(this.sf.formatFlags=a.MeasureTrailingSpaces|a.NoWrap),this.sfHeader.alignment=n.Center,this.sfHeader.lineAlignment=n.Center;for(var t=this.clientRectangle.clone(),r=this.chartTable.chart.area,i=r.reverseHor?t.x:t.x+this.widthCellLegendTableChart,l=t.y,c=t.width-this.widthCellLegendTableChart,h=this.heightCellHeader,p=new u(i,l,c,h),f=[],m=1;m0){var v=new u(this.trendLine.lineColor),C=l.changeFontSize(this.trendLine.font,this.trendLine.font.size*e.options.zoom),w=e.getGenericStringFormat(),x=s.empty,_=c[0],A=c[c.length-1],L=a.CenterCenter;switch(this.trendLine.position){case t.StiTrendLine_StiTextPosition.LeftBottom:x=_,L=a.LeftTop;break;case t.StiTrendLine_StiTextPosition.LeftTop:x=_,L=a.LeftBottom;break;case t.StiTrendLine_StiTextPosition.RightBottom:x=A,L=a.RightTop;break;case t.StiTrendLine_StiTextPosition.RightTop:x=A,L=a.RightBottom;break}e.drawRotatedString9(this.trendLine.text,C,v,x,w,L,0,!0,0)}e.popSmoothingMode()},c}(t.StiCellGeom);t.StiTrendCurveGeom=c}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.Context.StiPenGeom,i=e.System.Drawing.Color,n=e.System.Drawing.Point,o=e.Base.Drawing.StiRotationMode,a=e.Base.Context.StiFontGeom,s=e.Base.Drawing.StiSolidBrush,l=function(e){function l(r,i,n){var o=e.call(this,t.StiBaseLineSeriesGeom.getClientRectangle(l.getArray(r,i),n.lineWidth))||this;return o.pointStart=r,o.pointEnd=i,o.trendLine=n,o}return __extends(l,e),l.prototype.draw=function(e){var u=this.trendLine.lineColor,c=this.trendLine.lineWidth,h=this.trendLine.lineStyle,p=this.trendLine.showShadow,f=c*e.options.zoom;if(e.pushSmoothingModeToAntiAlias(),p){var m=new r(i.fromArgb(50,0,0,0),f+.5*e.options.zoom);m.penStyle=h,e.pushTranslateTransform(f,f),t.StiNullableDrawing.drawLines(e,m,l.getArray(this.pointStart,this.pointEnd)),e.popTransform()}var S=new r(u,c*e.options.zoom);if(S.penStyle=h,e.drawLine(S,this.pointStart.x,this.pointStart.y,this.pointEnd.x,this.pointEnd.y),this.trendLine.titleVisible){var g=new s(this.trendLine.lineColor),y=a.changeFontSize(this.trendLine.font,this.trendLine.font.size*e.options.zoom),d=e.getGenericStringFormat(),b=n.empty,v=o.CenterCenter;switch(this.trendLine.position){case t.StiTrendLine_StiTextPosition.LeftBottom:b=this.pointStart,v=o.LeftTop;break;case t.StiTrendLine_StiTextPosition.LeftTop:b=this.pointStart,v=o.LeftBottom;break;case t.StiTrendLine_StiTextPosition.RightBottom:b=this.pointEnd,v=o.RightTop;break;case t.StiTrendLine_StiTextPosition.RightTop:b=this.pointEnd,v=o.RightBottom;break}e.drawRotatedString9(this.trendLine.text,y,g,b,d,v,0,!0,0)}e.popSmoothingMode()},l.getArray=function(e,t){var r;return[e,t]},l}(t.StiCellGeom);t.StiTrendLineGeom=l}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(e){var t=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.draw=function(e){},t}(e.StiCellGeom);e.StiChartGeom=t}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.TimeSpan,i=e.Base.Context.Animation.StiTranslationAnimation,n=e.System.Drawing.Point,o=function(){function e(){}return e.drawLines=function(e,o,a,s){var l,u;void 0===s&&(s=!1);var c=[];try{for(var h=__values(a),p=h.next();!p.done;p=h.next()){var f=p.value;if(null!=f)c.push(f);else{if(c.length>1)if(s){var m=new i(n.empty,n.empty,t.StiChartHelper.globalDurationElement,new r(0));e.drawAnimationLines(o,c.stimulsoft.toArray(),m)}else e.drawLines(o,c.stimulsoft.toArray());c.stimulsoft.clear()}}}catch(e){l={error:e}}finally{try{p&&!p.done&&(u=h.return)&&u.call(h)}finally{if(l)throw l.error}}if(c.length>1)if(s){var m=new i(n.empty,n.empty,t.StiChartHelper.globalDurationElement,new r(0));e.drawAnimationLines(o,c.stimulsoft.toArray(),m)}else e.drawLines(o,c.stimulsoft.toArray())},e.drawCurve=function(e,o,a,s,l){var u,c;void 0===l&&(l=!1);var h=[];try{for(var p=__values(a),f=p.next();!f.done;f=p.next()){var m=f.value;if(null!=m)h.push(m);else{if(h.length>1)if(l){var S=new i(n.empty,n.empty,t.StiChartHelper.globalDurationElement,new r(0));e.drawAnimationCurve(o,h.stimulsoft.toArray(),s,S)}else e.drawCurve(o,h.stimulsoft.toArray(),s);h.stimulsoft.clear()}}}catch(e){u={error:e}}finally{try{f&&!f.done&&(c=p.return)&&c.call(p)}finally{if(u)throw u.error}}if(h.length>1)if(l){var S=new i(n.empty,n.empty,t.StiChartHelper.globalDurationElement,new r(0));e.drawAnimationCurve(o,h.stimulsoft.toArray(),s,S)}else e.drawCurve(o,h.stimulsoft.toArray(),s)},e.getPointsList=function(e){var t,r,i=[],n=[];try{for(var o=__values(e),a=o.next();!a.done;a=o.next()){var s=a.value;null!=s?n.push(s):(n.length>1&&i.push(n.stimulsoft.toArray()),n.stimulsoft.clear())}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n.length>1&&i.push(n.stimulsoft.toArray()),i},e.getNullablePointsList=function(e){var t,r,i=[],n=[];try{for(var o=__values(e),a=o.next();!a.done;a=o.next()){var s=a.value;null!=s?n.push(s):(n.length>1&&i.push(n.stimulsoft.toArray()),n.stimulsoft.clear())}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n.length>=1&&i.push(n.stimulsoft.toArray()),i},e.getPointsList2=function(e,t,r,i){var n,o,a=[],s=[],l=[],u=[],c=0;try{for(var h=__values(e),p=h.next();!p.done;p=h.next()){var f=p.value,m=t[c];null!=f&&null!=m?(l.push(f),u.push(m)):(l.length>1&&(a.push(l.stimulsoft.toArray()),s.push(u.stimulsoft.toArray())),l.stimulsoft.clear(),u.stimulsoft.clear()),c++}}catch(e){n={error:e}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}l.length>1&&(a.push(l.stimulsoft.toArray()),s.push(u.stimulsoft.toArray())),r.ref=a,i.ref=s},e}();t.StiNullableDrawing=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiScatterAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiScatterArea||(o.implementsStiScatterArea=e.prototype.implements.call(this).concat([r.IStiScatterArea,r.IStiArea,r.IStiClusteredColumnArea,r.IStiAxisArea,i,n])),o.implementsStiScatterArea},o.prototype.getDefaultSeriesType=function(){return r.StiScatterLineSeries},o.prototype.getSeriesTypes=function(){return[r.StiScatterSeries,r.StiScatterLineSeries,r.StiScatterSplineSeries]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiScatterArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiScatterArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiBubbleAreaCoreXF(t),t.interlacingHor=new r.StiInterlacingHor,t.interlacingVert=new r.StiInterlacingVert,t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiBubbleArea||(o.implementsStiBubbleArea=e.prototype.implements.call(this).concat([r.IStiScatterArea,r.IStiClusteredColumnArea,r.IStiArea,r.IStiAxisArea,i,n,r.IStiBubbleArea])),o.implementsStiBubbleArea},o.prototype.getDefaultSeriesType=function(){return r.StiBubbleSeries},o.prototype.getSeriesTypes=function(){return[r.StiBubbleSeries]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiBubbleArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiScatterArea);r.StiBubbleArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiCandlestickAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiCandlestickArea||(o.implementsStiCandlestickArea=e.prototype.implements.call(this).concat([r.IStiCandlestickArea,r.IStiClusteredColumnArea,r.IStiAxisArea,i,r.IStiArea,n])),o.implementsStiCandlestickArea},o.prototype.getDefaultSeriesType=function(){return r.StiCandlestickSeries},o.prototype.getSeriesTypes=function(){return[r.StiCandlestickSeries]},o.prototype.getSeriesLabelsTypes=function(){return[r.StiNoneLabels]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiCandlestickArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiCandlestickArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiClusteredBarAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiClusteredBarArea||(o.implementsStiClusteredBarArea=e.prototype.implements.call(this).concat([r.IStiArea,r.IStiClusteredBarArea,r.IStiClusteredColumnArea,r.IStiAxisArea,i,n])),o.implementsStiClusteredBarArea},o.prototype.getDefaultSeriesType=function(){return r.StiClusteredBarSeries},o.prototype.getSeriesTypes=function(){return[r.StiClusteredBarSeries]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiClusteredBarArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiClusteredBarArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiAreaAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiAreaArea||(o.implementsStiAreaArea=e.prototype.implements.call(this).concat([r.IStiArea,r.IStiClusteredColumnArea,r.IStiAxisArea,r.IStiAreaArea,i,n])),o.implementsStiAreaArea},o.prototype.getDefaultSeriesType=function(){return r.StiAreaSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiAreaArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiAreaArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(r){function i(){var e=r.call(this)||this;return e.core=new t.StiHistogramAreaCoreXF(e),e}return __extends(i,r),Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiHistorgamArea},enumerable:!1,configurable:!0}),i.prototype.getDefaultSeriesType=function(){return t.StiHistogramSeries},i.prototype.getSeriesTypes=function(){return[t.StiHistogramSeries]},i.prototype.createNew=function(){return new i},i}(t.StiAxisArea);t.StiHistogramArea=r}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiLineAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiLineArea||(o.implementsStiLineArea=e.prototype.implements.call(this).concat([r.IStiArea,r.IStiLineArea,r.IStiClusteredColumnArea,r.IStiAxisArea,i,n])),o.implementsStiLineArea},o.prototype.getDefaultSeriesType=function(){return r.StiLineSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiLineArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiLineArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.yRightAxis.visible=!0,t.yRightAxis.range.auto=!1,t.yRightAxis.range.maximum=100,t.yRightAxis.labels.textAfter="%",t.core=new r.StiParetoAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiParetoArea||(o.implementsStiParetoArea=e.prototype.implements.call(this).concat([r.IStiArea,r.IStiParetoArea,r.IStiClusteredColumnArea,r.IStiAxisArea,i,n])),o.implementsStiParetoArea},o.prototype.getDefaultSeriesType=function(){return r.StiParetoSeries},o.prototype.getSeriesTypes=function(){return[r.StiParetoSeries]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiParetoArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiParetoArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiSplineAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiSplineArea||(o.implementsStiSplineArea=e.prototype.implements.call(this).concat([r.IStiArea,r.IStiSplineArea,r.IStiClusteredColumnArea,r.IStiAxisArea,i,n])),o.implementsStiSplineArea},o.prototype.getDefaultSeriesType=function(){return r.StiSplineSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiSplineArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiSplineArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiSplineAreaAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiSplineAreaArea||(o.implementsStiSplineAreaArea=e.prototype.implements.call(this).concat([r.IStiArea,r.IStiSplineAreaArea,r.IStiClusteredColumnArea,r.IStiAxisArea,i,n])),o.implementsStiSplineAreaArea},o.prototype.getDefaultSeriesType=function(){return r.StiSplineAreaSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiSplineAreaArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiSplineAreaArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiSteppedAreaAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiSteppedAreaArea||(o.implementsStiSteppedAreaArea=e.prototype.implements.call(this).concat([r.IStiArea,r.IStiSteppedAreaArea,r.IStiClusteredColumnArea,r.IStiAxisArea,i,n])),o.implementsStiSteppedAreaArea},o.prototype.getDefaultSeriesType=function(){return r.StiSteppedAreaSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiSteppedAreaArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiSteppedAreaArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiSteppedLineAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiSteppedLineArea||(o.implementsStiSteppedLineArea=e.prototype.implements.call(this).concat([r.IStiArea,r.IStiClusteredColumnArea,r.IStiAxisArea,r.IStiSteppedLineArea,i,n])),o.implementsStiSteppedLineArea},o.prototype.getDefaultSeriesType=function(){return r.StiSteppedLineSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiSteppedLineArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiSteppedLineArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(r){function i(){var e=r.call(this)||this;return e.core=new t.StiWaterfallAreaCoreXF(e),e}return __extends(i,r),i.prototype.implements=function(){return i.implementsStiWaterfallArea||(i.implementsStiWaterfallArea=r.prototype.implements.call(this).concat([t.IStiWaterfallArea])),i.implementsStiWaterfallArea},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiWaterfallArea},enumerable:!1,configurable:!0}),i.prototype.getDefaultSeriesType=function(){return t.StiWaterfallSeries},i.prototype.getSeriesTypes=function(){return[t.StiWaterfallSeries]},i.prototype.getSeriesLabelsTypes=function(){return[t.StiNoneLabels,t.StiInsideBaseAxisLabels,t.StiInsideEndAxisLabels,t.StiCenterAxisLabels,t.StiOutsideBaseAxisLabels,t.StiOutsideEndAxisLabels,t.StiOutsideAxisLabels,t.StiValueAxisLabels]},i.prototype.createNew=function(){return new i},i}(t.StiAxisArea);t.StiWaterfallArea=r}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiPieAreaCoreXF(t),t.colorEach=!0,t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiPieArea||(o.implementsStiPieArea=e.prototype.implements.call(this).concat([i,r.IStiPieArea,r.IStiArea,n])),o.implementsStiPieArea},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.removeProperty("ColorEach"),r},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiPieArea},enumerable:!1,configurable:!0}),o.prototype.getDefaultSeriesLabelsType=function(){return r.StiCenterPieLabels},o.prototype.getSeriesLabelsTypes=function(){return[r.StiNoneLabels,r.StiInsideEndPieLabels,r.StiCenterPieLabels,r.StiOutsidePieLabels,r.StiTwoColumnsPieLabels]},o.prototype.getDefaultSeriesType=function(){return r.StiPieSeries},o.prototype.getSeriesTypes=function(){return[r.StiPieSeries]},o.prototype.createNew=function(){return new o},o}(r.StiArea);r.StiPieArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiDoughnutAreaCoreXF(t),t.colorEach=!0,t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiDoughnutArea||(o.implementsStiDoughnutArea=e.prototype.implements.call(this).concat([i,r.IStiPieArea,r.IStiArea,n,r.IStiDoughnutArea])),o.implementsStiDoughnutArea},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.removeProperty("ColorEach"),r},o.prototype.getDefaultSeriesLabelsType=function(){return r.StiCenterPieLabels},o.prototype.getSeriesLabelsTypes=function(){return[r.StiNoneLabels,r.StiCenterPieLabels]},o.prototype.getDefaultSeriesType=function(){return r.StiDoughnutSeries},o.prototype.getSeriesTypes=function(){return[r.StiDoughnutSeries]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiDoughnutArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiPieArea);r.StiDoughnutArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiStackedBarAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiStackedBarArea||(o.implementsStiStackedBarArea=e.prototype.implements.call(this).concat([r.IStiClusteredBarArea,r.IStiClusteredColumnArea,r.IStiArea,r.IStiAxisArea,i,r.IStiStackedBarArea,n])),o.implementsStiStackedBarArea},o.prototype.getDefaultSeriesType=function(){return r.StiStackedBarSeries},o.prototype.getSeriesTypes=function(){return[r.StiStackedBarSeries]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiStackedBarArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredBarArea);r.StiStackedBarArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiFullStackedBarAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFullStackedBarArea||(o.implementsStiFullStackedBarArea=e.prototype.implements.call(this).concat([r.IStiClusteredBarArea,r.IStiClusteredColumnArea,r.IStiArea,r.IStiAxisArea,r.IStiFullStackedBarArea,r.IStiStackedBarArea,i,n])),o.implementsStiFullStackedBarArea},o.prototype.getDefaultSeriesType=function(){return r.StiFullStackedBarSeries},o.prototype.getSeriesTypes=function(){return[r.StiFullStackedBarSeries]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFullStackedBarArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiStackedBarArea);r.StiFullStackedBarArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiStackedColumnAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiStackedColumnArea||(o.implementsStiStackedColumnArea=e.prototype.implements.call(this).concat([i,r.IStiStackedColumnArea,r.IStiAxisArea,n,r.IStiArea])),o.implementsStiStackedColumnArea},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiStackedColumnArea},enumerable:!1,configurable:!0}),o.prototype.getDefaultSeriesType=function(){return r.StiStackedColumnSeries},o.prototype.getSeriesTypes=function(){return[r.StiStackedColumnSeries,r.StiStackedLineSeries,r.StiStackedSplineSeries,r.StiStackedAreaSeries,r.StiStackedSplineAreaSeries]},o.prototype.createNew=function(){return new o},o}(r.StiAxisArea);r.StiStackedColumnArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiFullStackedColumnAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFullStackedColumnArea||(o.implementsStiFullStackedColumnArea=e.prototype.implements.call(this).concat([r.IStiStackedColumnArea,r.IStiArea,r.IStiAxisArea,r.IStiFullStackedColumnArea,i,n])),o.implementsStiFullStackedColumnArea},o.prototype.getDefaultSeriesType=function(){return r.StiFullStackedColumnSeries},o.prototype.getSeriesTypes=function(){return[r.StiFullStackedColumnSeries,r.StiFullStackedLineSeries,r.StiFullStackedAreaSeries,r.StiFullStackedSplineSeries,r.StiFullStackedSplineAreaSeries]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFullStackedColumnArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiStackedColumnArea);r.StiFullStackedColumnArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiFullStackedAreaAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFullStackedAreaArea||(o.implementsStiFullStackedAreaArea=e.prototype.implements.call(this).concat([r.IStiStackedColumnArea,r.IStiArea,r.IStiAxisArea,r.IStiFullStackedColumnArea,i,n,r.IStiFullStackedAreaArea])),o.implementsStiFullStackedAreaArea},o.prototype.getDefaultSeriesType=function(){return r.StiFullStackedAreaSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFullStackedAreaArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiFullStackedColumnArea);r.StiFullStackedAreaArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiFullStackedLineAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFullStackedLineArea||(o.implementsStiFullStackedLineArea=e.prototype.implements.call(this).concat([r.IStiStackedColumnArea,r.IStiArea,r.IStiAxisArea,r.IStiFullStackedColumnArea,i,n,r.IStiFullStackedLineArea])),o.implementsStiFullStackedLineArea},o.prototype.getDefaultSeriesType=function(){return r.StiFullStackedLineSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFullStackedLineArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiFullStackedColumnArea);r.StiFullStackedLineArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiFullStackedSplineAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFullStackedSplineArea||(o.implementsStiFullStackedSplineArea=e.prototype.implements.call(this).concat([r.IStiFullStackedSplineArea,r.IStiStackedColumnArea,r.IStiArea,r.IStiAxisArea,r.IStiFullStackedColumnArea,i,n])),o.implementsStiFullStackedSplineArea},o.prototype.getDefaultSeriesType=function(){return r.StiFullStackedSplineAreaSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFullStackedSplineArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiFullStackedColumnArea);r.StiFullStackedSplineArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiFullStackedSplineAreaAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFullStackedSplineAreaArea||(o.implementsStiFullStackedSplineAreaArea=e.prototype.implements.call(this).concat([r.IStiStackedColumnArea,r.IStiArea,r.IStiAxisArea,r.IStiFullStackedColumnArea,r.IStiFullStackedSplineAreaArea,i,n])),o.implementsStiFullStackedSplineAreaArea},o.prototype.getDefaultSeriesType=function(){return r.StiFullStackedSplineSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFullStackedSplineAreaArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiFullStackedColumnArea);r.StiFullStackedSplineAreaArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiFunnelAreaCoreXF(t),t.colorEach=!0,t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFunnelArea||(o.implementsStiFunnelArea=e.prototype.implements.call(this).concat([i,r.IStiArea,n,r.IStiFunnelArea])),o.implementsStiFunnelArea},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.removeProperty("ColorEach"),r},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFunnelArea},enumerable:!1,configurable:!0}),o.prototype.getDefaultSeriesType=function(){return r.StiFunnelSeries},o.prototype.getSeriesTypes=function(){return[r.StiFunnelSeries]},o.prototype.getDefaultSeriesLabelsType=function(){return r.StiNoneLabels},o.prototype.getSeriesLabelsTypes=function(){return[r.StiNoneLabels,r.StiCenterFunnelLabels,r.StiOutsideRightFunnelLabels,r.StiOutsideLeftFunnelLabels]},o.prototype.createNew=function(){return new o},o}(r.StiArea);r.StiFunnelArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(e){var t;!function(t){var r=function(r){function i(){var e=r.call(this)||this;return e.core=new t.StiFunnelAreaCoreXF(e),e.colorEach=!0,e}return __extends(i,r),Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiFunnelWeightedSlicesArea},enumerable:!1,configurable:!0}),i.prototype.getDefaultSeriesType=function(){return t.StiFunnelWeightedSlicesSeries},i.prototype.getSeriesTypes=function(){return[t.StiFunnelWeightedSlicesSeries]},i.prototype.getDefaultSeriesLabelsType=function(){return t.StiNoneLabels},i.prototype.getSeriesLabelsTypes=function(){return[t.StiNoneLabels,t.StiCenterFunnelLabels]},i.prototype.createNew=function(){return new i},i}(t.StiFunnelArea);t.StiFunnelWeightedSlicesArea=r}(t=e.Chart||(e.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiGanttAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiGanttArea||(o.implementsStiGanttArea=e.prototype.implements.call(this).concat([r.IStiClusteredBarArea,r.IStiClusteredColumnArea,r.IStiArea,r.IStiAxisArea,i,r.IStiGanttArea,n])),o.implementsStiGanttArea},o.prototype.getDefaultSeriesType=function(){return r.StiGanttSeries},o.prototype.getSeriesTypes=function(){return[r.StiGanttSeries]},o.prototype.getSeriesLabelsTypes=function(){return[r.StiNoneLabels,r.StiValueAxisLabels,r.StiCenterAxisLabels,r.StiOutsideAxisLabels]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiGanttArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredBarArea);r.StiGanttArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t._roundValues=!0,t._actual=!1,t.core=new r.StiPictorialAreaCoreXF(t),t.colorEach=!0,t.roundValues=!0,t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiPictorialArea||(o.implementsStiPictorialArea=e.prototype.implements.call(this).concat([i,r.IStiPictorialArea,r.IStiArea,n])),o.implementsStiPictorialArea},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyBool("RoundValues",this.roundValues),r.addPropertyBool("Actual",this.actual),r},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiPictorialArea},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"roundValues",{get:function(){return this._roundValues},set:function(e){this._roundValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"actual",{get:function(){return this._actual},set:function(e){this._actual=e},enumerable:!1,configurable:!0}),o.prototype.getDefaultSeriesLabelsType=function(){return r.StiNoneLabels},o.prototype.getSeriesLabelsTypes=function(){return[r.StiNoneLabels]},o.prototype.getDefaultSeriesType=function(){return r.StiPictorialSeries},o.prototype.getSeriesTypes=function(){return[r.StiPictorialSeries]},o.prototype.createNew=function(){return new o},o}(r.StiArea);r.StiPictorialArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiRadarAreaAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiRadarAreaArea||(o.implementsStiRadarAreaArea=e.prototype.implements.call(this).concat([i,r.IStiRadarArea,r.IStiArea,r.IStiRadarAreaArea,n])),o.implementsStiRadarAreaArea},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadarAreaArea},enumerable:!1,configurable:!0}),o.prototype.getDefaultSeriesType=function(){return r.StiRadarAreaSeries},o.prototype.getSeriesTypes=function(){return[r.StiRadarPointSeries,r.StiRadarLineSeries,r.StiRadarAreaSeries]},o.prototype.createNew=function(){return new o},o}(r.StiRadarArea);r.StiRadarAreaArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiRadarLineAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiRadarLineArea||(o.implementsStiRadarLineArea=e.prototype.implements.call(this).concat([i,r.IStiRadarArea,r.IStiArea,n,r.IStiRadarLineArea])),o.implementsStiRadarLineArea},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadarLineArea},enumerable:!1,configurable:!0}),o.prototype.getDefaultSeriesType=function(){return r.StiRadarLineSeries},o.prototype.getSeriesTypes=function(){return[r.StiRadarPointSeries,r.StiRadarLineSeries,r.StiRadarAreaSeries]},o.prototype.createNew=function(){return new o},o}(r.StiRadarArea);r.StiRadarLineArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiRadarPointAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiRadarPointArea||(o.implementsStiRadarPointArea=e.prototype.implements.call(this).concat([i,r.IStiRadarPointArea,r.IStiRadarArea,r.IStiArea,n])),o.implementsStiRadarPointArea},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadarPointArea},enumerable:!1,configurable:!0}),o.prototype.getDefaultSeriesType=function(){return r.StiRadarPointSeries},o.prototype.getSeriesTypes=function(){return[r.StiRadarPointSeries,r.StiRadarLineSeries,r.StiRadarAreaSeries]},o.prototype.createNew=function(){return new o},o}(r.StiRadarArea);r.StiRadarPointArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiRangeAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiRangeArea||(o.implementsStiRangeArea=e.prototype.implements.call(this).concat([r.IStiArea,r.IStiRangeArea,r.IStiClusteredColumnArea,r.IStiAxisArea,i,n])),o.implementsStiRangeArea},o.prototype.getDefaultSeriesType=function(){return r.StiRangeSeries},o.prototype.getSeriesTypes=function(){return[r.StiRangeSeries]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiRangeArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiRangeArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiRangeBarAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiRangeBarArea||(o.implementsStiRangeBarArea=e.prototype.implements.call(this).concat([r.IStiArea,r.IStiRangeBarArea,r.IStiClusteredColumnArea,r.IStiAxisArea,i,n])),o.implementsStiRangeBarArea},o.prototype.getDefaultSeriesType=function(){return r.StiRangeBarSeries},o.prototype.getSeriesTypes=function(){return[r.StiRangeBarSeries]},o.prototype.getSeriesLabelsTypes=function(){return[r.StiNoneLabels,r.StiInsideBaseAxisLabels,r.StiOutsideBaseAxisLabels,r.StiOutsideAxisLabels,r.StiLeftAxisLabels,r.StiValueAxisLabels,r.StiRightAxisLabels]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiRangeBarArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiRangeBarArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiSplineRangeAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiSplineRangeArea||(o.implementsStiSplineRangeArea=e.prototype.implements.call(this).concat([r.IStiArea,r.IStiAxisArea,r.IStiClusteredColumnArea,r.IStiSplineRangeArea,i,n])),o.implementsStiSplineRangeArea},o.prototype.getDefaultSeriesType=function(){return r.StiSplineRangeSeries},o.prototype.getSeriesTypes=function(){return[r.StiSplineRangeSeries]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiSplineRangeArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiSplineRangeArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiSteppedRangeAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiSteppedRangeArea||(o.implementsStiSteppedRangeArea=e.prototype.implements.call(this).concat([r.IStiArea,r.IStiClusteredColumnArea,r.IStiSteppedRangeArea,r.IStiAxisArea,i,n])),o.implementsStiSteppedRangeArea},o.prototype.getDefaultSeriesType=function(){return r.StiSteppedRangeSeries},o.prototype.getSeriesTypes=function(){return[r.StiSteppedRangeSeries]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiSteppedRangeArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiSteppedRangeArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiStackedAreaAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiStackedAreaArea||(o.implementsStiStackedAreaArea=e.prototype.implements.call(this).concat([r.IStiStackedColumnArea,r.IStiArea,r.IStiAxisArea,r.IStiStackedAreaArea,i,n])),o.implementsStiStackedAreaArea},o.prototype.getDefaultSeriesType=function(){return r.StiStackedAreaSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiStackedAreaArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiStackedColumnArea);r.StiStackedAreaArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiStackedLineAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiStackedLineArea||(o.implementsStiStackedLineArea=e.prototype.implements.call(this).concat([r.IStiStackedLineArea,r.IStiArea,r.IStiAxisArea,r.IStiStackedColumnArea,i,n])),o.implementsStiStackedLineArea},o.prototype.getDefaultSeriesType=function(){return r.StiStackedLineSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiStackedLineArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiStackedColumnArea);r.StiStackedLineArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiStackedSplineAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiStackedSplineArea||(o.implementsStiStackedSplineArea=e.prototype.implements.call(this).concat([r.IStiStackedSplineArea,r.IStiStackedColumnArea,r.IStiArea,r.IStiAxisArea,i,n])),o.implementsStiStackedSplineArea},o.prototype.getDefaultSeriesType=function(){return r.StiStackedSplineAreaSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiStackedSplineArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiStackedColumnArea);r.StiStackedSplineArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiStackedSplineAreaAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiStackedSplineAreaArea||(o.implementsStiStackedSplineAreaArea=e.prototype.implements.call(this).concat([r.IStiAxisArea,r.IStiStackedColumnArea,r.IStiArea,r.IStiStackedSplineAreaArea,i,n])),o.implementsStiStackedSplineAreaArea},o.prototype.getDefaultSeriesType=function(){return r.StiStackedSplineSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiStackedSplineAreaArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiStackedColumnArea);r.StiStackedSplineAreaArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiStockAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiStockArea||(o.implementsStiStockArea=e.prototype.implements.call(this).concat([r.IStiArea,r.IStiStockArea,r.IStiClusteredColumnArea,r.IStiAxisArea,i,n])),o.implementsStiStockArea},o.prototype.getDefaultSeriesType=function(){return r.StiStockSeries},o.prototype.getSeriesTypes=function(){return[r.StiStockSeries]},o.prototype.getSeriesLabelsTypes=function(){return[r.StiNoneLabels]},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiStockArea},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnArea);r.StiStockArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiSunburstAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiSunburstArea||(o.implementsStiSunburstArea=e.prototype.implements.call(this).concat([i,r.IStiSunburstArea,n])),o.implementsStiSunburstArea},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiSunburstArea},enumerable:!1,configurable:!0}),o.prototype.getDefaultSeriesLabelsType=function(){return r.StiCenterPieLabels},o.prototype.getSeriesLabelsTypes=function(){return[r.StiNoneLabels,r.StiCenterPieLabels]},o.prototype.getDefaultSeriesType=function(){return r.StiSunburstSeries},o.prototype.getSeriesTypes=function(){return[r.StiSunburstSeries]},o.prototype.createNew=function(){return new o},o}(r.StiArea);r.StiSunburstArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiTreemapAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiTreemapArea||(o.implementsStiTreemapArea=e.prototype.implements.call(this).concat([i,r.IStiTreemapArea,n])),o.implementsStiTreemapArea},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiTreemapArea},enumerable:!1,configurable:!0}),o.prototype.getDefaultSeriesLabelsType=function(){return r.StiNoneLabels},o.prototype.getSeriesLabelsTypes=function(){return[r.StiNoneLabels,r.StiCenterTreemapLabels]},o.prototype.getDefaultSeriesType=function(){return r.StiTreemapSeries},o.prototype.getSeriesTypes=function(){return[r.StiTreemapSeries]},o.prototype.createNew=function(){return new o},o}(r.StiArea);r.StiTreemapArea=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.StiJsonReportObjectHelper,i=e.Base.StiJson,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.System.ICloneable,a=e.System.Drawing.StringAlignment,s=e.System.Enum,l=e.System.Drawing.Color,u=e.System.Drawing.Font,c=e.System.Drawing.FontStyle,h=function(){function h(e,r,i,n,o,s,h,p){void 0===e&&(e=new u("Tahoma",12,c.Bold)),void 0===r&&(r=""),void 0===i&&(i=l.black),void 0===n&&(n=!0),void 0===o&&(o=a.Center),void 0===s&&(s=t.StiDirection.LeftToRight),void 0===h&&(h=!0),void 0===p&&(p=t.StiTitlePosition.Outside),this._allowApplyStyle=!0,this._font=new u("Tahoma",12,c.Bold),this._text="",this._color=l.black,this._antialiasing=!0,this._alignment=a.Center,this._position=t.StiTitlePosition.Outside,this._direction=t.StiDirection.LeftToRight,this._font=e,this._text=r,this._color=i,this._antialiasing=n,this._alignment=o,this._direction=s,this._allowApplyStyle=h,this._position=p,this._core=new t.StiAxisTitleCoreXF(this)}return h.prototype.implements=function(){return h.implementsStiAxisTitle||(h.implementsStiAxisTitle=[t.IStiAxisTitle,o,n]),h.implementsStiAxisTitle},h.prototype.saveToJsonObject=function(e){var n=new i;return n.addPropertyBool("AllowApplyStyle",this._allowApplyStyle,!0),n.addPropertyStringNullOrEmpty("Font",r.Serialize.font(this._font,"Tahoma",12,c.Bold)),n.addPropertyStringNullOrEmpty("Text",this._text),n.addPropertyStringNullOrEmpty("Color",r.Serialize.jColor(this._color,l.black)),n.addPropertyBool("Antialiasing",this._antialiasing,!0),n.addPropertyEnum("Alignment",a,this._alignment,a.Center),n.addPropertyEnum("Position",t.StiTitlePosition,this._position,t.StiTitlePosition.Outside),n.addPropertyEnum("Direction",t.StiDirection,this.direction,t.StiDirection.LeftToRight),n},h.prototype.loadFromJsonObject=function(e){var i,n;try{for(var o=__values(e.properties()),l=o.next();!l.done;l=o.next()){var u=l.value;switch(u.name){case"AllowApplyStyle":this._allowApplyStyle=u.value.stimulsoft.toBoolean();break;case"Font":this._font=r.Deserialize.font(u.value.toString(),this._font);break;case"Text":this._text=u.value.toString();break;case"Color":this._color=r.Deserialize.color(u.value.toString());break;case"Antialiasing":this._antialiasing=u.value.stimulsoft.toBoolean();break;case"Alignment":this._alignment=s.parse(a,u.value.toString());break;case"Position":this._position=s.parse(t.StiTitlePosition,u.value.toString());break;case"Direction":this.direction=s.parse(t.StiDirection,u.value.toString());break}}}catch(e){i={error:e}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}},h.prototype.loadFromXml=function(r){for(var i=0;i=.01&&e<=1&&(this._width=e)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"borderColor",{get:function(){return this._borderColor},set:function(e){this._borderColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"brushNegative",{get:function(){return this._brushNegative},set:function(e){this._brushNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"allowApplyBrushNegative",{get:function(){return this._allowApplyBrushNegative},set:function(e){this._allowApplyBrushNegative=e},enumerable:!1,configurable:!0}),h}(r.StiSeries);r.StiClusteredColumnSeries=c}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiClusteredBarSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiClusteredBarSeries||(o.implementsStiClusteredBarSeries=e.prototype.implements.call(this).concat([i,r.IStiClusteredColumnSeries,r.IStiSeries,n,r.IStiClusteredBarSeries,r.IStiAllowApplyBrushNegative])),o.implementsStiClusteredBarSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiClusteredBarSeries},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"xAxis",{get:function(){if(this.yAxis==r.StiSeriesYAxis.LeftYAxis)return r.StiSeriesXAxis.BottomXAxis;return r.StiSeriesXAxis.TopXAxis},set:function(e){this.yAxis=e==r.StiSeriesXAxis.BottomXAxis?r.StiSeriesYAxis.LeftYAxis:r.StiSeriesYAxis.RightYAxis},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiClusteredBarArea},o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnSeries);r.StiClusteredBarSeries=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiLineSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiLineSeries||(o.implementsStiLineSeries=e.prototype.implements.call(this).concat([i,r.IStiBaseLineSeries,r.IStiLineSeries,n,r.IStiSeries,r.IStiAllowApplyColorNegative])),o.implementsStiLineSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiLineSeries},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiClusteredColumnArea},o.prototype.createNew=function(){return new o},o}(r.StiBaseLineSeries);r.StiLineSeries=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.StiJsonReportObjectHelper,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.System.ICloneable,a=e.Base.Drawing.StiSolidBrush,s=e.Base.Drawing.StiBrush,l=e.System.Drawing.Color,u=function(e){function u(){var t=e.call(this)||this;return t._topmostLine=!0,t._brush=new a(l.gainsboro),t._brushNegative=new a(l.firebrick),t._allowApplyBrushNegative=!1,t.core=new r.StiAreaSeriesCoreXF(t),t}return __extends(u,e),u.prototype.implements=function(){return u.implementsStiAreaSeries||(u.implementsStiAreaSeries=e.prototype.implements.call(this).concat([r.IStiLineSeries,r.IStiBaseLineSeries,r.IStiAreaSeries,n,r.IStiSeries,o,r.IStiAllowApplyBrushNegative])),u.implementsStiAreaSeries},u.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyBool("TopmostLine",this._topmostLine,!0),r.addPropertyStringNullOrEmpty("Brush",i.Serialize.jBrush(this._brush)),r.addPropertyStringNullOrEmpty("BrushNegative",i.Serialize.jBrush(this._brushNegative)),r.addPropertyBool("AllowApplyBrushNegative",this._allowApplyBrushNegative),r},u.prototype.loadFromJsonObject=function(t){var r,n;e.prototype.loadFromJsonObject.call(this,t);try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"TopmostLine":this._topmostLine=s.value.stimulsoft.toBoolean();break;case"Brush":this._brush=i.Deserialize.brush(s.value.toString());break;case"BrushNegative":this._brushNegative=i.Deserialize.brush(s.value.toString());break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=s.value.stimulsoft.toBoolean();break}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},u.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r=.01&&e<=1&&(this._width1=e)},enumerable:!1,configurable:!0}),o}(r.StiClusteredColumnSeries);r.StiHistogramSeries=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.StiJsonReportObjectHelper,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.System.ICloneable,a=e.Base.Drawing.StiSolidBrush,s=e.Base.Drawing.StiBrush,l=e.System.Drawing.Color,u=e.Base.Drawing.StiPenStyle,c=e.Base.Drawing.StiColorUtils,h=e.System.Enum,p=function(p){function f(){var e=p.call(this)||this;return e._showZeros=!1,e._width=.9,e._borderColor=l.gray,e._brush=new a(l.gainsboro),e._brushNegative=new a(l.firebrick),e._allowApplyBrushNegative=!1,e._showNulls=!0,e._marker=new r.StiMarker,e._lineMarker=new r.StiLineMarker,e._lineColor=l.black,e._lineStyle=u.Solid,e._lighting=!0,e._lineWidth=2,e._labelsOffset=0,e._lineColorNegative=l.firebrick,e._allowApplyColorNegative=!1,e._allowApplyLineColor=!1,e.showNullsAs=r.StiShowEmptyCellsAs.Gap,e.showZerosAs=r.StiShowEmptyCellsAs.Gap,e.core=new r.StiParetoSeriesCoreXF(e),e}return __extends(f,p),f.prototype.implements=function(){return f.implementsStiParetoSeries||(f.implementsStiParetoSeries=p.prototype.implements.call(this).concat([n,r.IStiParetoSeries,r.IStiBaseLineSeries,r.IStiClusteredColumnSeries,o,r.IStiSeries,r.IStiAllowApplyBrushNegative,r.IStiShowNullsSeries,r.IStiShowZerosSeries])),f.implementsStiParetoSeries},f.prototype.saveToJsonObject=function(e){var t=p.prototype.saveToJsonObject.call(this,e);return t.addPropertyNumber("Width",this._width,.9),t.addPropertyStringNullOrEmpty("BorderColor",i.Serialize.jColor(this._borderColor,l.gray)),t.addPropertyStringNullOrEmpty("Brush",i.Serialize.jBrush(this._brush)),t.removeProperty("Conditions"),t.addPropertyJObject("Marker",this.marker.saveToJsonObject(e)),t.addPropertyJObject("LineMarker",this.lineMarker.saveToJsonObject(e)),t.addPropertyStringNullOrEmpty("LineColor",i.Serialize.jColor(this.lineColor,l.black)),t.addPropertyEnum("LineStyle",u,this.lineStyle,u.Solid),t.addPropertyBool("Lighting",this.lighting,!0),t.addPropertyNumber("LineWidth",this.lineWidth,2),t.addPropertyBool("AllowApplyLineColor",this.allowApplyStyle,!1),null!=this.icon&&t.addPropertyEnum("Icon",StiFontIcons,this.icon),t},f.prototype.loadFromJsonObject=function(e){var t,r;p.prototype.loadFromJsonObject.call(this,e);try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"AllowApplyLineColor":this.allowApplyLineColor=a.value.stimulsoft.toBoolean();break;case"Width":this._width=a.value.stimulsoft.toNumber();break;case"BorderColor":this._borderColor=i.Deserialize.color(a.value.toString());break;case"Brush":this._brush=i.Deserialize.brush(a.value.toString());break;case"Marker":this._marker.loadFromJsonObject(a.value);break;case"LineMarker":this.lineMarker.loadFromJsonObject(a.value);break;case"LineColor":this.lineColor=i.Deserialize.color(a.value.toString());break;case"LineStyle":this.lineStyle=h.parse(u,a.value.toString());break;case"Lighting":this.lighting=a.value.stimulsoft.toBoolean();break;case"LineWidth":this.lineWidth=a.value.stimulsoft.toNumber();break;case"Icon":this.icon=h.parse(StiFontIcons,a.value.toString());break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},f.prototype.loadFromXml=function(t){p.prototype.loadFromXml.call(this,t);for(var r=0;r=.01&&e<=1&&(this._width=e)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"borderColor",{get:function(){return this._borderColor},set:function(e){this._borderColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"brushNegative",{get:function(){return this._brushNegative},set:function(e){this._brushNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"allowApplyBrushNegative",{get:function(){return this._allowApplyBrushNegative},set:function(e){this._allowApplyBrushNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"showNulls",{get:function(){return this._showNulls},set:function(e){this._showNulls=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"showMarker",{get:function(){return this.marker.visible},set:function(e){this.marker.visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"markerColor",{get:function(){return s.toColor(this.marker.brush)},set:function(e){this.marker.brush=new a(e),this.marker.borderColor=c.dark(e,50)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"markerSize",{get:function(){return this.marker.size},set:function(e){this.marker.size=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"markerType",{get:function(){return this.marker.type},set:function(e){this.marker.type=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"marker",{get:function(){return this._marker},set:function(e){this._marker=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"lineMarker",{get:function(){return this._lineMarker},set:function(e){this._lineMarker=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"lineColor",{get:function(){return this.getLineColor()},set:function(e){this.setLineColor(e)},enumerable:!1,configurable:!0}),f.prototype.getLineColor=function(){return this._lineColor},f.prototype.setLineColor=function(e){this._lineColor=e},Object.defineProperty(f.prototype,"lineStyle",{get:function(){return this._lineStyle},set:function(e){this._lineStyle=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"lighting",{get:function(){return this._lighting},set:function(e){this._lighting=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"lineWidth",{get:function(){return this._lineWidth},set:function(e){e>0&&(this._lineWidth=e)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"labelsOffset",{get:function(){return this._labelsOffset},set:function(e){this._labelsOffset=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"lineColorNegative",{get:function(){return this._lineColorNegative},set:function(e){this._lineColorNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"allowApplyColorNegative",{get:function(){return this._allowApplyColorNegative},set:function(e){this._allowApplyColorNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"allowApplyLineColor",{get:function(){return this._allowApplyLineColor},set:function(e){this._allowApplyLineColor=e},enumerable:!1,configurable:!0}),f}(r.StiSeries);r.StiParetoSeries=p}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t._tension=.55,t.core=new r.StiSplineSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiSplineSeries||(o.implementsStiSplineSeries=e.prototype.implements.call(this).concat([i,r.IStiBaseLineSeries,n,r.IStiSeries,r.IStiSplineSeries,r.IStiAllowApplyColorNegative])),o.implementsStiSplineSeries},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.removeProperty("LineMarker"),r.addPropertyNumber("Tension",this._tension,.55),r},o.prototype.loadFromJsonObject=function(t){var r,i;e.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"Tension":this._tension=a.value.stimulsoft.toNumber();break}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},o.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r0&&(this._borderWidth=e)},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"brushNegative",{get:function(){return this._brushNegative},set:function(e){this._brushNegative=e},enumerable:!1,configurable:!0}),S.prototype.onGetValueOpen=function(e){},S.prototype.invokeGetValueOpen=function(r,i){try{if(this.onGetValueOpen(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var n=new u;n.name="**ChartGanttSeriesValueOpen**",n.page=r.report.pages.getByIndex(0);var o=t.Engine.StiParser.StiParser.parseTextValue(this.valueOpen,n);i.value=r.report.toString2(o)}null!=this.getValueOpen&&this.getValueOpen(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series InvokeGetValueOpen...ERROR"),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series "+r)}},S.prototype.onGetListOfValuesOpen=function(e){},S.prototype.invokeGetListOfValuesOpen=function(r,i){try{if(this.onGetListOfValuesOpen(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var n=new u;n.name="**ChartGanttSeriesListOfValuesOpen**",n.page=r.report.pages.getByIndex(0);var o=t.Engine.StiParser.StiParser.parseTextValue(this.listOfValuesOpen,n);i.value=r.report.toString2(o)}null!=this.getListOfValuesOpen&&this.getListOfValuesOpen(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),"InvokeGetListOfValuesOpen...Warning"),t.StiLogService.write(this.stimulsoft.getType(),r)}},S.prototype.onGetValueClose=function(e){},S.prototype.invokeGetValueClose=function(r,i){try{if(this.onGetValueClose(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var n=new u;n.name="**ChartGanttSeriesValueClose**",n.page=r.report.pages.getByIndex(0);var o=t.Engine.StiParser.StiParser.parseTextValue(this.valueClose,n);i.value=r.report.toString2(o)}null!=this.getValueClose&&this.getValueClose(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series InvokeGetValueClose...ERROR"),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series "+r)}},S.prototype.onGetListOfValuesClose=function(e){},S.prototype.invokeGetListOfValuesClose=function(r,i){try{if(this.onGetListOfValuesClose(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var n=new u;n.name="**ChartGanttSeriesListOfValuesClose**",n.page=r.report.pages.getByIndex(0);var o=t.Engine.StiParser.StiParser.parseTextValue(this.listOfValuesClose,n);i.value=r.report.toString2(o)}null!=this.getListOfValuesClose&&this.getListOfValuesClose(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),"InvokeGetListOfValuesClose...Warning"),t.StiLogService.write(this.stimulsoft.getType(),r)}},S.prototype.onGetValueHigh=function(e){},S.prototype.invokeGetValueHigh=function(r,i){try{if(this.onGetValueHigh(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var n=new u;n.name="**ChartGanttSeriesValueHigh**",n.page=r.report.pages.getByIndex(0);var o=t.Engine.StiParser.StiParser.parseTextValue(this.valueHigh,n);i.value=r.report.toString2(o)}null!=this.getValueHigh&&this.getValueHigh(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series InvokeGetValueHigh...ERROR"),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series "+r)}},S.prototype.onGetListOfValuesHigh=function(e){},S.prototype.invokeGetListOfValuesHigh=function(r,i){try{if(this.onGetListOfValuesHigh(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var n=new u;n.name="**ChartGanttSeriesListOfValuesHigh**",n.page=r.report.pages.getByIndex(0);var o=t.Engine.StiParser.StiParser.parseTextValue(this.listOfValuesHigh,n);i.value=r.report.toString2(o)}null!=this.getListOfValuesHigh&&this.getListOfValuesHigh(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),"InvokeGetListOfValuesHigh...Warning"),t.StiLogService.write(this.stimulsoft.getType(),r)}},S.prototype.onGetValueLow=function(e){},S.prototype.invokeGetValueLow=function(r,i){try{if(this.onGetValueLow(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var n=new u;n.name="**ChartGanttSeriesValueLow**",n.page=r.report.pages.getByIndex(0);var o=t.Engine.StiParser.StiParser.parseTextValue(this.valueLow,n);i.value=r.report.toString2(o)}null!=this.getValueLow&&this.getValueLow(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series InvokeGetValueLow...ERROR"),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series "+r)}},S.prototype.onGetListOfValuesLow=function(e){},S.prototype.invokeGetListOfValuesLow=function(r,i){try{if(this.onGetListOfValuesLow(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var n=new u;n.name="**ChartGanttSeriesListOfValuesLow**",n.page=r.report.pages.getByIndex(0);var o=t.Engine.StiParser.StiParser.parseTextValue(this.listOfValuesLow,n);i.value=r.report.toString2(o)}null!=this.getListOfValuesLow&&this.getListOfValuesLow(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),"InvokeGetListOfValuesLow...Warning"),t.StiLogService.write(this.stimulsoft.getType(),r)}},Object.defineProperty(S.prototype,"valueOpen",{get:function(){return this.valueObjOpen},set:function(e){this.valueObjOpen=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"listOfValuesOpen",{get:function(){return this._listOfValuesOpen},set:function(e){this._listOfValuesOpen=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valueClose",{get:function(){return this.valueObjClose},set:function(e){this.valueObjClose=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"listOfValuesClose",{get:function(){return this._listOfValuesClose},set:function(e){this._listOfValuesClose=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valueHigh",{get:function(){return this.valueObjHigh},set:function(e){this.valueObjHigh=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"listOfValuesHigh",{get:function(){return this._listOfValuesHigh},set:function(e){this._listOfValuesHigh=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valueLow",{get:function(){return this.valueObjLow},set:function(e){this.valueObjLow=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"listOfValuesLow",{get:function(){return this._listOfValuesLow},set:function(e){this._listOfValuesLow=e},enumerable:!1,configurable:!0}),S.prototype.createNew=function(){return new S},S}(r.StiSeries);r.StiCandlestickSeries=m}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.StiJsonReportObjectHelper,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.System.ICloneable,a=e.Base.Drawing.StiPenStyle,s=e.System.Enum,l=e.System.Drawing.Color,u=function(u){function c(){var e=u.call(this)||this;return e._lineColor=l.black,e._lineStyle=a.Solid,e._lineWidth=2,e._lineColorNegative=l.firebrick,e._allowApplyColorNegative=!1,e.core=new r.StiStockSeriesCoreXF(e),e}return __extends(c,u),c.prototype.implements=function(){return c.implementsStiStockSeries||(c.implementsStiStockSeries=u.prototype.implements.call(this).concat([n,r.IStiStockSeries,r.IStiFinancialSeries,o,r.IStiSeries,r.IStiAllowApplyColorNegative])),c.implementsStiStockSeries},c.prototype.saveToJsonObject=function(e){var t=u.prototype.saveToJsonObject.call(this,e);return t.removeProperty("BorderColor"),t.removeProperty("BorderWidth"),t.removeProperty("Brush"),t.removeProperty("BrushNegative"),t.addPropertyStringNullOrEmpty("LineColor",i.Serialize.jColor(this.lineColor,l.black)),t.addPropertyEnum("LineStyle",a,this.lineStyle,a.Solid),t.addPropertyNumber("LineWidth",this.lineWidth,2),t.addPropertyStringNullOrEmpty("LineColorNegative",i.Serialize.jColor(this.lineColorNegative,l.firebrick)),t.addPropertyBool("AllowApplyColorNegative",this.allowApplyColorNegative),t},c.prototype.loadFromJsonObject=function(e){var t,r;u.prototype.loadFromJsonObject.call(this,e);try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var l=o.value;switch(l.name){case"LineColor":this.lineColor=i.Deserialize.color(l.value.toString());break;case"LineStyle":this.lineStyle=s.parse(a,l.value.toString());break;case"LineWidth":this.lineWidth=l.value.stimulsoft.toNumber();break;case"LineColorNegative":this.lineColorNegative=i.Deserialize.color(l.value.toString());break;case"AllowApplyColorNegative":this.allowApplyColorNegative=l.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},c.prototype.loadFromXml=function(t){u.prototype.loadFromXml.call(this,t);for(var r=0;r0&&(this._lineWidth=e)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"lineColorNegative",{get:function(){return this._lineColorNegative},set:function(e){this._lineColorNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"allowApplyColorNegative",{get:function(){return this._allowApplyColorNegative},set:function(e){this._allowApplyColorNegative=e},enumerable:!1,configurable:!0}),c.prototype.createNew=function(){return new c},c}(r.StiCandlestickSeries);r.StiStockSeries=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.System.Enum,n=e.Base.StiJsonReportObjectHelper,o=e.Base.JsonReportObject.IStiJsonReportObject,a=e.System.ICloneable,s=e.Base.Drawing.StiSolidBrush,l=e.Base.Drawing.StiBrush,u=e.System.Drawing.Color,c=function(c){function h(){var e=c.call(this)||this;return e._showZeros=!1,e._width=.8,e._borderColor=u.black,e._brush=new s(u.gainsboro),e._brushNegative=new s(u.firebrick),e._allowApplyBrushNegative=!1,e.core=new r.StiStackedBarSeriesCoreXF(e),e}return __extends(h,c),h.prototype.implements=function(){return h.implementsStiStackedBarSeries||(h.implementsStiStackedBarSeries=c.prototype.implements.call(this).concat([o,r.IStiStackedBarSeries,a,r.IStiSeries,r.IStiAllowApplyBrushNegative,r.IStiShowZerosSeries])),h.implementsStiStackedBarSeries},h.prototype.saveToJsonObject=function(e){var t=c.prototype.saveToJsonObject.call(this,e);return t.removeProperty("TrendLine"),t.addPropertyBool("ShowZeros",this.showZeros),t.addPropertyNumber("Width",this._width,.8),t.addPropertyStringNullOrEmpty("BorderColor",n.Serialize.jColor(this._borderColor,u.black)),t.addPropertyStringNullOrEmpty("Brush",n.Serialize.jBrush(this._brush)),t.addPropertyStringNullOrEmpty("BrushNegative",n.Serialize.jBrush(this._brushNegative)),t.addPropertyBool("AllowApplyBrushNegative",this._allowApplyBrushNegative),null!=this.icon&&t.addPropertyEnum("Icon",StiFontIcons,this.icon),t},h.prototype.loadFromJsonObject=function(e){var t,r;c.prototype.loadFromJsonObject.call(this,e);try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"ShowZeros":this.showZeros=s.value.stimulsoft.toBoolean();break;case"Width":this._width=s.value.stimulsoft.toNumber();break;case"BorderColor":this._borderColor=n.Deserialize.color(s.value.toString());break;case"Brush":this._brush=n.Deserialize.brush(s.value.toString());break;case"BrushNegative":this._brushNegative=n.Deserialize.brush(s.value.toString());break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=s.value.stimulsoft.toBoolean();break;case"Icon":this.icon=i.parse(StiFontIcons,s.value.toString());break}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},h.prototype.loadFromXml=function(t){c.prototype.loadFromXml.call(this,t);for(var r=0;r=.01&&e<=1&&(this._width=e)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"borderColor",{get:function(){return this._borderColor},set:function(e){this._borderColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"brushNegative",{get:function(){return this._brushNegative},set:function(e){this.brushNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"allowApplyBrushNegative",{get:function(){return this._allowApplyBrushNegative},set:function(e){this._allowApplyBrushNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"xAxis",{get:function(){if(this.yAxis==r.StiSeriesYAxis.LeftYAxis)return r.StiSeriesXAxis.BottomXAxis;return r.StiSeriesXAxis.TopXAxis},set:function(e){this.yAxis=e==r.StiSeriesXAxis.BottomXAxis?r.StiSeriesYAxis.LeftYAxis:r.StiSeriesYAxis.RightYAxis},enumerable:!1,configurable:!0}),h.prototype.createNew=function(){return new h},h}(r.StiSeries);r.StiStackedBarSeries=c}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiFullStackedBarSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFullStackedBarSeries||(o.implementsStiFullStackedBarSeries=e.prototype.implements.call(this).concat([i,r.IStiStackedBarSeries,n,r.IStiSeries,r.IStiFullStackedBarSeries])),o.implementsStiFullStackedBarSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFullStackedBarSeries},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiFullStackedBarArea},o.prototype.createNew=function(){return new o},o}(r.StiStackedBarSeries);r.StiFullStackedBarSeries=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.Base.StiJsonReportObjectHelper,i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=e.Base.Drawing.StiColorUtils,a=e.Base.Drawing.StiSolidBrush,s=e.Base.Drawing.StiPenStyle,l=e.Base.Drawing.StiBrush,u=e.System.Enum,c=e.System.Drawing.Color,h=function(h){function p(){var e=null!==h&&h.apply(this,arguments)||this;return e._showNulls=!0,e._marker=new t.StiMarker,e._lineMarker=new t.StiLineMarker,e._lighting=!0,e._lineColor=c.mediumBlue,e._lineWidth=2,e._lineStyle=s.Solid,e._lineColorNegative=c.firebrick,e._allowApplyColorNegative=!1,e}return __extends(p,h),p.prototype.implements=function(){return p.implementsStiStackedBaseLineSeries||(p.implementsStiStackedBaseLineSeries=h.prototype.implements.call(this).concat([i,t.IStiStackedBaseLineSeries,n,t.IStiSeries])),p.implementsStiStackedBaseLineSeries},p.prototype.saveToJsonObject=function(e){var t=h.prototype.saveToJsonObject.call(this,e);return t.removeProperty("TrendLine"),t.removeProperty("Conditions"),t.addPropertyBool("ShowNulls",this._showNulls,!0),t.addPropertyJObject("Marker",this._marker.saveToJsonObject(e)),t.addPropertyJObject("LineMarker",this.lineMarker.saveToJsonObject(e)),t.addPropertyBool("Lighting",this._lighting,!0),t.addPropertyStringNullOrEmpty("LineColor",r.Serialize.jColor(this._lineColor,c.mediumBlue)),t.addPropertyNumber("LineWidth",this._lineWidth,2),t.addPropertyEnum("LineStyle",s,this._lineStyle,s.Solid),t.addPropertyStringNullOrEmpty("LineColorNegative",r.Serialize.jColor(this.lineColorNegative,c.firebrick)),t.addPropertyBool("AllowApplyColorNegative",this._allowApplyColorNegative),t},p.prototype.loadFromJsonObject=function(e){var t,i;h.prototype.loadFromJsonObject.call(this,e);try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"ShowNulls":this._showNulls=a.value.stimulsoft.toBoolean();break;case"Marker":this._marker.loadFromJsonObject(a.value);break;case"LineMarker":this.lineMarker.loadFromJsonObject(a.value);break;case"Lighting":this._lighting=a.value.stimulsoft.toBoolean();break;case"LineColor":this._lineColor=r.Deserialize.color(a.value.toString());break;case"LineWidth":this._lineWidth=a.value.stimulsoft.toNumber();break;case"LineStyle":this._lineStyle=u.parse(s,a.value.toString());break;case"LineColorNegative":this.lineColorNegative=r.Deserialize.color(a.value.toString());break;case"AllowApplyColorNegative":this._allowApplyColorNegative=a.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}},p.prototype.loadFromXml=function(t){h.prototype.loadFromXml.call(this,t);for(var r=0;r0&&(this._lineWidth=e)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"lineStyle",{get:function(){return this._lineStyle},set:function(e){this._lineStyle=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"lineColorNegative",{get:function(){return this._lineColorNegative},set:function(e){this._lineColorNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"allowApplyColorNegative",{get:function(){return this._allowApplyColorNegative},set:function(e){this._allowApplyColorNegative=e},enumerable:!1,configurable:!0}),p.prototype.getDefaultAreaType=function(){return t.StiStackedColumnArea},p}(t.StiSeries);t.StiStackedBaseLineSeries=h}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiStackedLineSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiStackedLineSeries||(o.implementsStiStackedLineSeries=e.prototype.implements.call(this).concat([i,r.IStiStackedBaseLineSeries,r.IStiStackedLineSeries,r.IStiSeries,n,r.IStiShowNullsSeries])),o.implementsStiStackedLineSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiStackedLineSeries},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiStackedColumnArea},o.prototype.createNew=function(){return new o},o}(r.StiStackedBaseLineSeries);r.StiStackedLineSeries=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.StiJsonReportObjectHelper,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.System.ICloneable,a=e.Base.Drawing.StiSolidBrush,s=e.Base.Drawing.StiBrush,l=e.System.Drawing.Color,u=function(e){function u(){var t=e.call(this)||this;return t._brush=new a(l.gainsboro),t._brushNegative=new a(l.firebrick),t._allowApplyBrushNegative=!1,t.core=new r.StiStackedAreaSeriesCoreXF(t),t}return __extends(u,e),u.prototype.implements=function(){return u.implementsStiStackedAreaSeries||(u.implementsStiStackedAreaSeries=e.prototype.implements.call(this).concat([o,r.IStiStackedBaseLineSeries,r.IStiStackedLineSeries,n,r.IStiSeries,r.IStiStackedAreaSeries,r.IStiAllowApplyBrushNegative])),u.implementsStiStackedAreaSeries},u.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyStringNullOrEmpty("Brush",i.Serialize.jBrush(this._brush)),r.addPropertyStringNullOrEmpty("BrushNegative",i.Serialize.jBrush(this._brushNegative)),r.addPropertyBool("AllowApplyBrushNegative",this._allowApplyBrushNegative),r},u.prototype.loadFromJsonObject=function(t){var r,n;e.prototype.loadFromJsonObject.call(this,t);try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"Brush":this._brush=i.Deserialize.brush(s.value.toString());break;case"BrushNegative":this._brushNegative=i.Deserialize.brush(s.value.toString());break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=s.value.stimulsoft.toBoolean();break}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},u.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r=.01&&e<=1&&(this._width=e)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"borderColor",{get:function(){return this._borderColor},set:function(e){this._borderColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"brushNegative",{get:function(){return this._brushNegative},set:function(e){this._brushNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"allowApplyBrushNegative",{get:function(){return this._allowApplyBrushNegative},set:function(e){this._allowApplyBrushNegative=e},enumerable:!1,configurable:!0}),h.prototype.getDefaultAreaType=function(){return r.StiStackedColumnArea},h.prototype.createNew=function(){return new h},h}(r.StiSeries);r.StiStackedColumnSeries=c}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiFullStackedColumnSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFullStackedColumnSeries||(o.implementsStiFullStackedColumnSeries=e.prototype.implements.call(this).concat([r.IStiFullStackedColumnSeries,r.IStiStackedColumnSeries,n,r.IStiSeries,i,r.IStiAllowApplyBrushNegative])),o.implementsStiFullStackedColumnSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFullStackedColumnSeries},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiFullStackedColumnArea},o.prototype.createNew=function(){return new o},o}(r.StiStackedColumnSeries);r.StiFullStackedColumnSeries=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiFullStackedLineSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFullStackedLineSeries||(o.implementsStiFullStackedLineSeries=e.prototype.implements.call(this).concat([i,r.IStiStackedBaseLineSeries,r.IStiStackedLineSeries,r.IStiSeries,n])),o.implementsStiFullStackedLineSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFullStackedLineSeries},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiFullStackedColumnArea},o.prototype.createNew=function(){return new o},o}(r.StiStackedLineSeries);r.StiFullStackedLineSeries=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t._tension=.55,t.core=new r.StiStackedSplineSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiStackedSplineSeries||(o.implementsStiStackedSplineSeries=e.prototype.implements.call(this).concat([i,r.IStiStackedBaseLineSeries,n,r.IStiSeries,r.IStiStackedSplineSeries,r.IStiAllowApplyColorNegative])),o.implementsStiStackedSplineSeries},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.removeProperty("LineMarker"),r.addPropertyNumber("Tension",this._tension,.55),r},o.prototype.loadFromJsonObject=function(t){var r,i;e.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"Tension":this._tension=a.value.stimulsoft.toNumber();break}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},o.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r0&&(this._lineWidth=e)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),p.prototype.getDefaultAreaType=function(){return r.StiRadarAreaArea},p.prototype.createNew=function(){return new p},p}(r.StiRadarSeries);r.StiRadarAreaSeries=h}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.StiJsonReportObjectHelper,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.System.ICloneable,a=e.Base.Drawing.StiPenStyle,s=e.System.Enum,l=e.System.Drawing.Color,u=function(u){function c(){var e=u.call(this)||this;return e._lineColor=l.black,e._lineStyle=a.Solid,e._lighting=!0,e._lineWidth=2,e.core=new r.StiRadarLineSeriesCoreXF(e),e}return __extends(c,u),c.prototype.implements=function(){return c.implementsStiRadarLineSeries||(c.implementsStiRadarLineSeries=u.prototype.implements.call(this).concat([n,r.IStiRadarLineSeries,o,r.IStiSeries,r.IStiRadarSeries])),c.implementsStiRadarLineSeries},c.prototype.saveToJsonObject=function(e){var t=u.prototype.saveToJsonObject.call(this,e);return t.addPropertyStringNullOrEmpty("LineColor",i.Serialize.jColor(this.lineColor,l.black)),t.addPropertyEnum("LineStyle",a,this.lineStyle,a.Solid),t.addPropertyBool("Lighting",this.lighting,!0),t.addPropertyNumber("LineWidth",this.lineWidth,2),t},c.prototype.loadFromJsonObject=function(e){var t,r;u.prototype.loadFromJsonObject.call(this,e);try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var l=o.value;switch(l.name){case"LineColor":this.lineColor=i.Deserialize.color(l.value.toString());break;case"LineStyle":this.lineStyle=s.parse(a,l.value.toString());break;case"Lighting":this.lighting=l.value.stimulsoft.toBoolean();break;case"LineWidth":this.lineWidth=l.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},c.prototype.loadFromXml=function(t){u.prototype.loadFromXml.call(this,t);for(var r=0;r0&&(this._lineWidth=e)},enumerable:!1,configurable:!0}),c.prototype.getDefaultAreaType=function(){return r.StiRadarLineArea},c.prototype.createNew=function(){return new c},c}(r.StiRadarSeries);r.StiRadarLineSeries=u}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiRadarPointSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiRadarPointSeries||(o.implementsStiRadarPointSeries=e.prototype.implements.call(this).concat([i,r.IStiRadarPointSeries,n,r.IStiSeries,r.IStiRadarSeries])),o.implementsStiRadarPointSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadarPointSeries},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiRadarPointArea},o.prototype.createNew=function(){return new o},o}(r.StiRadarSeries);r.StiRadarPointSeries=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.System.StiArray,n=e.System.StiString,o=e.Report.Expressions.StiExpression,a=e.Base.JsonReportObject.IStiJsonReportObject,s=e.System.ICloneable,l=e.Report.Components.StiText,u=e.System.Text.StringBuilder,c=function(c){function h(){var e=c.call(this)||this;return e._valuesEnd=[3,5,9],e._valueDataColumnEnd="",e.valueObjEnd="",e._listOfValuesEnd="",e.core=new r.StiRangeBarSeriesCoreXF(e),e}return __extends(h,c),h.prototype.implements=function(){return h.implementsStiRangeBarSeries||(h.implementsStiRangeBarSeries=c.prototype.implements.call(this).concat([r.IStiRangeBarSeries,r.IStiClusteredColumnSeries,r.IStiRangeSeries,a,r.IStiSeries,s,r.IStiAllowApplyBrushNegative])),h.implementsStiRangeBarSeries},h.prototype.saveToJsonObject=function(e){var t=c.prototype.saveToJsonObject.call(this,e);return t.removeProperty("TopN"),t.removeProperty("TrendLine"),t.addPropertyStringNullOrEmpty("ValueDataColumnEnd",this._valueDataColumnEnd),t.addPropertyJObject("Value",new o(this.value).saveToJsonObject(e)),t.addPropertyJObject("ValueEnd",new o(this.valueEnd).saveToJsonObject(e)),t.addPropertyJObject("ListOfValues",new o(this.listOfValues).saveToJsonObject(e)),t.addPropertyJObject("ListOfValuesEnd",new o(this.listOfValuesEnd).saveToJsonObject(e)),t},h.prototype.loadFromJsonObject=function(e){var t,r;c.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var a=n.value;switch(a.name){case"ValueDataColumnEnd":this._valueDataColumnEnd=a.value.toString();break;case"GetValueEndEvent":break;case"GetListOfValuesEndEvent":break;case"Value":var s;(s=new o).loadFromJsonObject(a.value),this.value=s.value;break;case"ValueEnd":var s;(s=new o).loadFromJsonObject(a.value),this.valueEnd=s.value;break;case"ListOfValues":var s;(s=new o).loadFromJsonObject(a.value),this.listOfValues=s.value;break;case"ListOfValuesEnd":var s;(s=new o).loadFromJsonObject(a.value),this.listOfValuesEnd=s.value;break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},h.prototype.loadFromXml=function(e){c.prototype.loadFromXml.call(this,e);for(var t=0;t0)return n.Left;if(s<0)return n.Right;if(o.x*a.x<0||o.y*a.y<0)return n.Behind;if(Math.sqrt(o.x*o.x+o.y*o.y)u?(s.push(new i(n,o)),s.push(new i(n+t/2,a))):(s.push(new i(n,a)),s.push(new i(n+t/2,o)))}else s.push(l)}return s.stimulsoft.toArray()},e}();t.StiPointHelper=o}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r=e.System.StiArray,i=e.System.Drawing.Point,n=function(){function e(){}return e.getSquareDistance=function(e,t){var r=e.x-t.x,i=e.y-t.y;return r*r+i*i},e.getSquareSegmentDistance=function(e,t,r){var i=t.x,n=t.y,o=r.x-i,a=r.y-n;if(0!==o||0!==a){var s=((e.x-i)*o+(e.y-n)*a)/(o*o+a*a);s>1?(i=r.x,n=r.y):s>0&&(i+=o*s,n+=a*s)}return(o=e.x-i)*o+(a=e.y-n)*a},e.simplifyRadialDistance=function(t,r){var n=t[0],o=[];o.push(n);for(var a=new i,s=1;sr&&(o.push(a),n=a);return n!=a&&o.push(a),o},e.simplifyDouglasPeucker=function(t,i){var n=t.length,o=r.create(Number,n),a=0,s=n-1,l=0,u=[],c=[];o[a]=o[s]=1;while(null!=s){for(var h=0,p=a+1;ph&&(l=p,h=f)}if(h>i){o[l]=1;var m=[a,l,l,s];u.stimulsoft.addRange(m)}u.length>0?(s=u[u.length-1],u.stimulsoft.removeAt(u.length-1)):s=null,u.length>0?(a=u[u.length-1],u.stimulsoft.removeAt(u.length-1)):a=null}for(var p=0;p