44 lines
1.2 MiB
44 lines
1.2 MiB
/*
|
|
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;r<e.childNodes.length;r++){var i=e.childNodes[r];switch(i.nodeName){case"Condition":this._condition=u.parse(c,i.textContent.toString());break;case"DataType":this._dataType=u.parse(a,i.textContent.toString());break;case"Item":this._item=u.parse(o,i.textContent.toString());break;case"Value":this._valueObj=i.textContent.toString();break}}},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"index",{get:function(){if(null==this.filters)return-1;var e;return this.filters.indexOf(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"condition",{get:function(){return this._condition},set:function(e){this._condition=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dataType",{get:function(){return this._dataType},set:function(e){this._dataType=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"item",{get:function(){return this._item},set:function(e){this._item=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.prototype.toString=function(){var e="";switch(this.condition){case c.EqualTo:e="=";break;case c.NotEqualTo:e="<>";break;case c.GreaterThan:e=">";break;case c.GreaterThanOrEqualTo:e=">=";break;case c.LessThan:e="<";break;case c.LessThanOrEqualTo:e="=<";break}var t=l.get("PropertyMain","Argument");switch(u.parse(o,t)){case o.Value:t=l.get("PropertyMain","Value");break;case o.ValueEnd:t=l.get("PropertyMain","Value");break}return r.format("{0} {1} {2}",t,e,this.value)},e}();t.StiChartFilter=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.System.Enum,i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.Base.StiJsonReportObjectHelper,o=e.Report.Components.StiFilterCondition,a=e.Report.Components.StiFilterDataType,s=e.Report.Components.StiFilterItem,l=e.System.Drawing.Color,u=function(u){function c(e,r,i,n,c,h,p){void 0===e&&(e=l.white),void 0===r&&(r=s.Argument),void 0===i&&(i=a.String),void 0===n&&(n=o.EqualTo),void 0===c&&(c="");var f=u.call(this,r,i,n,c)||this;return f._color=l.white,f._markerType=t.StiMarkerType.Circle,f._markerAngle=0,f.conditions=null,f.color=e,null!=h&&(f.markerType=h),null!=p&&(f.markerAngle=p),f}return __extends(c,u),c.prototype.implements=function(){return c.implementsStiChartCondition||(c.implementsStiChartCondition=u.prototype.implements.call(this).concat([t.IStiChartCondition,t.IStiChartFilter,i])),c.implementsStiChartCondition},c.prototype.saveToJsonObject=function(e){var r=u.prototype.saveToJsonObject.call(this,e);return r.addPropertyStringNullOrEmpty("Color",n.Serialize.jColor(this.color,l.white)),r.addPropertyEnum("MarkerType",t.StiMarkerType,this.markerType,t.StiMarkerType.Circle),r.addPropertyNumber("MarkerAngle",this.markerAngle,0),r},c.prototype.loadFromJsonObject=function(e){var i,o;u.prototype.loadFromJsonObject.call(this,e);try{for(var a=__values(e.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"Color":this._color=n.Deserialize.color(l.value.toString());break;case"MarkerType":this.markerType=r.parse(t.StiMarkerType,l.value.toString());break;case"MarkerAngle":this.markerAngle=l.value.stimulsoft.toNumber();break}}}catch(e){i={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},c.prototype.loadFromXml=function(i,n){u.prototype.loadFromXml.call(this,i,n);for(var o=0;o<i.childNodes.length;o++){var a=i.childNodes[o];switch(a.nodeName){case"Color":this.color=e.System.Text.StiReportObjectStringConverter.convertStringToColor(a.textContent);break;case"MarkerType":this.markerType=r.parse(t.StiMarkerType,a.textContent);break;case"MarkerAngle":this.markerAngle=a.textContent.stimulsoft.toNumber();break}}},c.prototype.clone=function(){return u.prototype.clone.call(this)},Object.defineProperty(c.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"markerType",{get:function(){return this._markerType},set:function(e){this._markerType=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"markerAngle",{get:function(){return this._markerAngle},set:function(e){this._markerAngle=e},enumerable:!1,configurable:!0}),c}(t.StiChartFilter);t.StiChartCondition=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.StiJson,i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=e.System.Collections.CollectionBase,a=e.System.Enum,s=e.System.Text.XMLConvert,l=e.Report.Components.StiFilterCondition,u=e.Report.Components.StiFilterItem,c=e.Report.Components.StiFilterDataType,h=function(o){function h(){return null!==o&&o.apply(this,arguments)||this}return __extends(h,o),h.prototype.implements=function(){return h.implementsStiChartConditionsCollection||(h.implementsStiChartConditionsCollection=[i,n,t.IStiChartConditionsCollection]),h.implementsStiChartConditionsCollection},h.prototype.saveToJsonObject=function(e){var t,i;if(0==this.list.length)return null;var n=new r,o=0;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l=s.value;n.addPropertyJObject(o.toString(),l.saveToJsonObject(e)),o++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}return n},h.prototype.loadFromJsonObject=function(e){var r,i;try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value,s=new t.StiChartCondition;s.loadFromJsonObject(a.value),this.list.push(s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},h.prototype.loadFromXml=function(r){for(var i=0;i<r.childNodes.length;i++){var n=r.childNodes[i];if("value"==n.nodeName){var o=n.textContent.split(","),h=o[3];"GreaterThen"==h?h="GreaterThan":"GreaterThenOrEqualTo"==h?h="GreaterThanOrEqualTo":"LessThen"==h?h="LessThan":"LessThenOrEqualTo"==h&&(h="LessThanOrEqualTo");var p=new t.StiChartCondition(e.System.Text.StiReportObjectStringConverter.convertStringToColor(o[0]),a.parse(u,o[1]),a.parse(c,o[2]),a.parse(l,h),s.decodeName(o[4]));this.add(p)}}},h.prototype.clone=function(){var e,t,r=new h;try{for(var i=__values(this.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.add(o.clone())}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return r},h.prototype.add=function(e){this.list.push(e),null==e.conditions&&(e.conditions=this)},h}(o);t.StiChartConditionsCollection=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.System.StiArray,n=e.System.StiString,o=e.System.DateTime,a=e.Report.Expressions.StiExpression,s=e.System.Text.XMLConvert,l=e.Base.StiJson,u=e.Base.StiJsonSaveMode,c=e.Base.JsonReportObject.IStiJsonReportObject,h=e.System.ICloneable,p=e.System.Text.StringBuilder,f=e.Report.Components.StiText,m=e.Report.Components.StiFilterMode,S=e.Base.StiGuidUtils,g=e.Base.Drawing.StiSolidBrush,y=e.Base.Drawing.StiGradientBrush,d=e.Base.Drawing.StiGlareBrush,b=e.System.Enum,v=e.Base.Services.StiService,C=e.Base.StiJsonReportObjectHelper,w=function(v){function w(){var e=v.call(this)||this;return e._allowApplyStyle=!0,e._format="",e._sortBy=r.StiSeriesSortType.None,e._sortDirection=r.StiSeriesSortDirection.Ascending,e._showInLegend=!0,e._showSeriesLabels=r.StiShowSeriesLabels.FromChart,e._showShadow=!0,e._filterMode=m.And,e._filters=new r.StiChartFiltersCollection,e._conditions=new r.StiChartConditionsCollection,e._topN=new r.StiSeriesTopN,e._yAxis=r.StiSeriesYAxis.LeftYAxis,e.valuesOld=null,e._values=[1,3,2],e._valueDataColumn="",e._arguments=[],e._argumentDataColumn="",e._autoSeriesTitleDataColumn="",e._autoSeriesKeyDataColumn="",e._autoSeriesColorDataColumn="",e._toolTips=[],e._toolTipDataColumn="",e._tags=[],e._tagDataColumn="",e._hyperlinks=[],e._hyperlinkDataColumn="",e._drillDownEnabled=!1,e._drillDownReport="",e._drillDownPageGuid=null,e._allowSeries=!0,e._allowSeriesElements=!0,e.valueObj="",e._listOfValues="",e._argument="",e._listOfArguments="",e._titleValue=null,e._title="",e._toolTip="",e._listOfToolTips="",e._tag="",e._listOfTags="",e._hyperlink="",e._listOfHyperlinks="",e.seriesLabels=new r.StiCenterAxisLabels,e.trendLine=new r.StiTrendLineNone,e.interaction=new r.StiSeriesInteraction,e}return __extends(w,v),w.prototype.implements=function(){return w.implementsStiSeries||(w.implementsStiSeries=v.prototype.implements.call(this).concat([c,h,r.IStiSeries,c])),w.implementsStiSeries},w.prototype.saveToJsonObject=function(e){var t=new l;return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyBool("AllowApplyStyle",this.allowApplyStyle,!0),t.addPropertyStringNullOrEmpty("Format",this._format),t.addPropertyEnum("SortBy",r.StiSeriesSortType,this._sortBy,r.StiSeriesSortType.None),t.addPropertyEnum("SortDirection",r.StiSeriesSortDirection,this._sortDirection,r.StiSeriesSortDirection.Ascending),t.addPropertyBool("ShowInLegend",this._showInLegend,!0),t.addPropertyEnum("ShowSeriesLabels",r.StiShowSeriesLabels,this._showSeriesLabels,r.StiShowSeriesLabels.FromChart),t.addPropertyBool("ShowShadow",this._showShadow,!0),t.addPropertyEnum("FilterMode",m,this._filterMode,m.And),t.addPropertyJObject("Filters",this._filters.saveToJsonObject(e)),t.addPropertyJObject("Conditions",this._conditions.saveToJsonObject(e)),t.addPropertyJObject("TopN",this.topN.saveToJsonObject(e)),t.addPropertyEnum("YAxis",r.StiSeriesYAxis,this._yAxis,r.StiSeriesYAxis.LeftYAxis),t.addPropertyJObject("SeriesLabels",this._seriesLabels.saveToJsonObject(e)),t.addPropertyJObject("TrendLine",this.trendLine.saveToJsonObject(e)),t.addPropertyStringNullOrEmpty("ValueDataColumn",this.valueDataColumn),t.addPropertyStringNullOrEmpty("ArgumentDataColumn",this._argumentDataColumn),t.addPropertyStringNullOrEmpty("AutoSeriesTitleDataColumn",this._autoSeriesTitleDataColumn),t.addPropertyStringNullOrEmpty("AutoSeriesKeyDataColumn",this._autoSeriesKeyDataColumn),t.addPropertyStringNullOrEmpty("AutoSeriesColorDataColumn",this._autoSeriesColorDataColumn),t.addPropertyStringNullOrEmpty("ToolTipDataColumn",this._toolTipDataColumn),t.addPropertyStringNullOrEmpty("TagDataColumn",this._tagDataColumn),t.addPropertyStringNullOrEmpty("HyperlinkDataColumn",this._hyperlinkDataColumn),t.addPropertyBool("DrillDownEnabled",this.drillDownEnabled),t.addPropertyStringNullOrEmpty("DrillDownReport",this.drillDownReport),t.addPropertyStringNullOrEmpty("DrillDownPageGuid",this._drillDownPageGuid),t.addPropertyBool("AllowSeries",this._allowSeries,!0),t.addPropertyBool("AllowSeriesElements",this._allowSeriesElements,!0),t.addPropertyJObject("Interaction",this.interaction.saveToJsonObject(e)),t.addPropertyJObject("Value",new a(this.value).saveToJsonObject(e)),t.addPropertyJObject("ListOfValues",new a(this.listOfValues).saveToJsonObject(e)),t.addPropertyJObject("Argument",new a(this.argument).saveToJsonObject(e)),t.addPropertyJObject("ListOfArguments",new a(this.listOfArguments).saveToJsonObject(e)),t.addPropertyJObject("Title",new a(this.title).saveToJsonObject(e)),t.addPropertyJObject("ToolTip",new a(this.toolTip).saveToJsonObject(e)),t.addPropertyJObject("ListOfToolTips",new a(this.listOfToolTips).saveToJsonObject(e)),t.addPropertyJObject("Tag",new a(this.tag).saveToJsonObject(e)),t.addPropertyJObject("ListOfTags",new a(this.listOfTags).saveToJsonObject(e)),t.addPropertyJObject("Hyperlink",new a(this.hyperlink).saveToJsonObject(e)),t.addPropertyJObject("ListOfHyperlinks",new a(this.listOfHyperlinks).saveToJsonObject(e)),e==u.Document&&(t.addPropertyStringNullOrEmpty("ValuesString",this.valuesString),t.addPropertyStringNullOrEmpty("ArgumentsString",this.argumentsString),t.addPropertyStringNullOrEmpty("ToolTipsString",this.toolTipsString),t.addPropertyStringNullOrEmpty("TagString",this.tagString),t.addPropertyStringNullOrEmpty("HyperlinkString",this.hyperlinkString),t.addPropertyStringNullOrEmpty("TitleValue",this.titleValue),t.addPropertyStringNullOrEmpty("LegendColor",C.Serialize.jColor(this.legendColor,null))),t},w.prototype.loadFromJsonObject=function(e){var t,i;try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var s=o.value;switch(s.name){case"AllowApplyStyle":this.allowApplyStyle=s.value.stimulsoft.toBoolean();break;case"Format":this._format=s.value.toString();break;case"SortBy":this._sortBy=b.parse(r.StiSeriesSortType,s.value.toString());break;case"SortDirection":this._sortDirection=b.parse(r.StiSeriesSortDirection,s.value.toString());break;case"ShowInLegend":this._showInLegend=s.value.stimulsoft.toBoolean();break;case"ShowSeriesLabels":this._showSeriesLabels=b.parse(r.StiShowSeriesLabels,s.value.toString());break;case"ShowShadow":this._showShadow=s.value.stimulsoft.toBoolean();break;case"FilterMode":this._filterMode=b.parse(m,s.value.toString());break;case"Filters":this._filters.loadFromJsonObject(s.value);break;case"Conditions":this._conditions.loadFromJsonObject(s.value);break;case"TopN":this.topN.loadFromJsonObject(s.value);break;case"YAxis":this._yAxis=b.parse(r.StiSeriesYAxis,s.value.toString());break;case"SeriesLabels":this._seriesLabels=r.StiSeriesLabels.loadFromJsonObjectInternal(s.value,this.chart);break;case"TrendLine":this.trendLine=r.StiTrendLine.loadFromJsonObjectInternal(s.value);break;case"ValueDataColumn":this.valueDataColumn=s.value.toString();break;case"ArgumentDataColumn":this._argumentDataColumn=s.value.toString();break;case"AutoSeriesTitleDataColumn":this._autoSeriesTitleDataColumn=s.value.toString();break;case"AutoSeriesKeyDataColumn":this._autoSeriesKeyDataColumn=s.value.toString();break;case"AutoSeriesColorDataColumn":this._autoSeriesColorDataColumn=s.value.toString();break;case"ToolTipDataColumn":this._toolTipDataColumn=s.value.toString();break;case"TagDataColumn":this._tagDataColumn=s.value.toString();break;case"HyperlinkDataColumn":this._hyperlinkDataColumn=s.value.toString();break;case"DrillDownEnabled":this.drillDownEnabled=s.value.stimulsoft.toBoolean();break;case"DrillDownReport":this.drillDownReport=s.value.toString();break;case"DrillDownPageGuid":this._drillDownPageGuid=s.value.toString();break;case"AllowSeries":this._allowSeries=s.value.stimulsoft.toBoolean();break;case"AllowSeriesElements":this._allowSeriesElements=s.value.stimulsoft.toBoolean();break;case"Interaction":this.interaction.loadFromJsonObject(s.value);break;case"NewAutoSeriesEvent":break;case"GetValueEvent":break;case"GetListOfValuesEvent":break;case"GetArgumentEvent":break;case"GetListOfArgumentsEvent":break;case"GetTitleEvent":break;case"GetToolTipEvent":break;case"GetListOfToolTipsEvent":break;case"GetTagEvent":break;case"GetListOfTagsEvent":break;case"GetHyperlinkEvent":break;case"GetListOfHyperlinksEvent":break;case"Value":var l=new a;l.loadFromJsonObject(s.value),this.value=l.value;break;case"ListOfValues":var u;(u=new a).loadFromJsonObject(s.value),this.listOfValues=u.value;break;case"Argument":var c=new a;c.loadFromJsonObject(s.value),this.argument=c.value;break;case"ListOfArguments":var h=new a;h.loadFromJsonObject(s.value),this.listOfArguments=h.value;break;case"Title":var p=new a;p.loadFromJsonObject(s.value),this.title=p.value;break;case"ToolTip":var f=new a;f.loadFromJsonObject(s.value),this.toolTip=f.value;break;case"ListOfToolTips":var S=new a;S.loadFromJsonObject(s.value),this.listOfToolTips=S.value;break;case"Tag":var g=new a;g.loadFromJsonObject(s.value),this.tag=g.value;break;case"ListOfTags":var y=new a;y.loadFromJsonObject(s.value),this.listOfTags=y.value;break;case"Hyperlink":var d=new a;d.loadFromJsonObject(s.value),this.hyperlink=d.value;break;case"ListOfHyperlinks":var u;(u=new a).loadFromJsonObject(s.value),this.listOfHyperlinks=u.value;break;case"ValuesString":this.valuesString=s.value.toString();break;case"ArgumentsString":this.argumentsString=s.value.toString();break;case"ToolTipsString":this.toolTipsString=s.value.toString();break;case"TagString":this.tagString=s.value.toString();break;case"HyperlinkString":this.hyperlinkString=s.value.toString();break;case"TitleValue":this.titleValue=s.value.toString();break;case"LegendColor":this.legendColor=C.Deserialize.color(s.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}}},w.prototype.loadFromXml=function(t){for(var i=0;i<t.childNodes.length;i++){var n=t.childNodes[i];switch(n.nodeName){case"AllowApplyStyle":this.allowApplyStyle=n.textContent.stimulsoft.toBoolean();break;case"Format":this._format=n.textContent.toString();break;case"SortBy":this._sortBy=b.parse(r.StiSeriesSortType,n.textContent);break;case"SortDirection":this._sortDirection=b.parse(r.StiSeriesSortDirection,n.textContent);break;case"ValuesString":this.valuesString=n.textContent;break;case"ArgumentsString":this.argumentsString=n.textContent;break;case"ShowInLegend":this._showInLegend=n.textContent.stimulsoft.toBoolean();break;case"ShowSeriesLabels":this._showSeriesLabels=b.parse(r.StiShowSeriesLabels,n.textContent);break;case"ShowShadow":this._showShadow=n.textContent.stimulsoft.toBoolean();break;case"FilterMode":this._filterMode=b.parse(m,n.textContent);break;case"Filters":this._filters.loadFromXml(n);break;case"Conditions":this._conditions.loadFromXml(n);break;case"TopN":this.topN.loadFromXml(n);break;case"YAxis":this._yAxis=b.parse(r.StiSeriesYAxis,n.textContent);break;case"SeriesLabels":this._seriesLabels=r.StiSeriesLabels.loadLabelsFromXml(n,this._chart);break;case"TrendLine":this.trendLine=r.StiTrendLine.loadTrendLineFromXml(n);break;case"ValueDataColumn":this.valueDataColumn=n.textContent;break;case"ArgumentDataColumn":this._argumentDataColumn=n.textContent;break;case"AutoSeriesTitleDataColumn":this._autoSeriesTitleDataColumn=n.textContent;break;case"AutoSeriesKeyDataColumn":this._autoSeriesKeyDataColumn=n.textContent;break;case"AutoSeriesColorDataColumn":this._autoSeriesColorDataColumn=n.textContent;break;case"ToolTipDataColumn":this._toolTipDataColumn=n.textContent;break;case"TagDataColumn":this._tagDataColumn=n.textContent;break;case"HyperlinkDataColumn":this._hyperlinkDataColumn=n.textContent;break;case"DrillDownEnabled":this.drillDownEnabled=n.textContent.stimulsoft.toBoolean();break;case"DrillDownReport":this.drillDownReport=n.textContent;break;case"DrillDownPageGuid":this._drillDownPageGuid=n.textContent;break;case"AllowSeries":this._allowSeries=n.textContent.stimulsoft.toBoolean();break;case"AllowSeriesElements":this._allowSeriesElements=n.textContent.stimulsoft.toBoolean();break;case"Interaction":this.interaction.loadFromXml(n);break;case"NewAutoSeriesEvent":break;case"GetValueEvent":break;case"GetListOfValuesEvent":break;case"GetArgumentEvent":break;case"GetListOfArgumentsEvent":break;case"GetTitleEvent":break;case"GetToolTipEvent":break;case"GetListOfToolTipsEvent":break;case"GetTagEvent":break;case"GetListOfTagsEvent":break;case"GetHyperlinkEvent":break;case"GetListOfHyperlinksEvent":break;case"Value":var o=new a;o.loadFromXml(n),this.value=o.value;break;case"ListOfValues":var s;(s=new a).loadFromXml(n),this.listOfValues=s.value;break;case"Argument":var l=new a;l.loadFromXml(n),this.argument=l.value;break;case"ListOfArguments":var u=new a;u.loadFromXml(n),this.listOfArguments=u.value;break;case"Title":var c=new a;c.loadFromXml(n),this.title=c.value;break;case"ToolTip":var h=new a;h.loadFromXml(n),this.toolTip=h.value;break;case"ListOfToolTips":var p=new a;p.loadFromXml(n),this.listOfToolTips=p.value;break;case"Tag":var f=new a;f.loadFromXml(n),this.tag=f.value;break;case"ListOfTags":var S=new a;S.loadFromXml(n),this.listOfTags=S.value;break;case"Hyperlink":var g=new a;g.loadFromXml(n),this.hyperlink=g.value;break;case"ListOfHyperlinks":var s;(s=new a).loadFromXml(n),this.listOfHyperlinks=s.value;break;case"TitleValue":var y=new a;y.loadFromXml(n),this.titleValue=y.value;break;case"LegendColor":this.legendColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break}}},Object.defineProperty(w.prototype,"componentId",{get:function(){return t.StiComponentId.StiSeries},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),w.prototype.clone=function(){var e=v.prototype.clone.call(this);return e.title=this.title,e.values=this.values.stimulsoft.clone(),e.arguments=this.arguments.stimulsoft.clone(),e.tags=this.tags.stimulsoft.clone(),e.toolTips=this.toolTips.stimulsoft.clone(),e.hyperlinks=this.hyperlinks.stimulsoft.clone(),e.topN=this.topN.clone(),e.interaction=this.interaction.clone(),e.seriesLabels=this.seriesLabels.clone(),e.trendLine=this.trendLine.clone(),null!=this.core&&(e.core=this.core.clone(),e.core.series=e),e},w.prototype.baseTransform=function(e,t,r,i,n,o){},Object.defineProperty(w.prototype,"parent",{get:function(){return this.chart},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"serviceName",{get:function(){return this.core.localizedName},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"serviceCategory",{get:function(){return"Chart"},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"serviceType",{get:function(){return w},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"format",{get:function(){return this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"sortBy",{get:function(){return this._sortBy},set:function(e){this._sortBy=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"sortDirection",{get:function(){return this._sortDirection},set:function(e){this._sortDirection=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"showInLegend",{get:function(){return this._showInLegend},set:function(e){this._showInLegend=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"showLabels",{get:function(){return!0},set:function(e){e&&(this.showSeriesLabels=r.StiShowSeriesLabels.FromChart)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"showSeriesLabels",{get:function(){return this._showSeriesLabels},set:function(e){this._showSeriesLabels=e==r.StiShowSeriesLabels.None?r.StiShowSeriesLabels.FromChart:e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"showShadow",{get:function(){return this._showShadow},set:function(e){this._showShadow=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"filterMode",{get:function(){return this._filterMode},set:function(e){this._filterMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"filters",{get:function(){return this._filters},set:function(e){this._filters=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"conditions",{get:function(){return this._conditions},set:function(e){this._conditions=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"topN",{get:function(){return this._topN},set:function(e){this._topN=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"yAxis",{get:function(){return this._yAxis},set:function(e){this._yAxis=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"seriesLabels",{get:function(){return this._seriesLabels},set:function(e){this._seriesLabels=e,this._seriesLabels.chart=this.chart},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"trendLine",{get:function(){return this._trendLine},set:function(e){this._trendLine=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isTotalLabel",{get:function(){return this._isTotalLabel},set:function(e){this._isTotalLabel=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart!=e&&(this._chart=e,null!=e&&(this.seriesLabels.chart=e))},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"valuesStart",{get:function(){return this.valuesOld},set:function(e){this.valuesOld=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"values",{get:function(){if(null==this.chart||null!=this.chart&&!this.chart.isDesigning||this.isDashboard)return this._values;var e=this.stimulsoft.as(r.StiWaterfallSeries);if(null!=e)return e.total.visible?[3,-1,2,4]:[3,-1,2];if(this.stimulsoft.is(r.IStiHistogramSeries))return[4,2,1];if(!n.isNullOrEmpty(this.listOfValues)&&!this.listOfValues.stimulsoft.contains("{"))return w.getNullableValuesFromString(this,this.listOfValues);var t=this.chart.series.indexOf(this);if(this.stimulsoft.is(r.IStiSteppedRangeSeries))return[1+3*t,3+4*t,2+3*t,3+3*t,3+3*t];if(this.stimulsoft.is(r.IStiFunnelSeries))return[3,2,1];if(this.stimulsoft.is(r.IStiGanttSeries))return[1+3*t,3+4*t,7+3*t];if(this.stimulsoft.is(r.IStiScatterSeries))return[1+t,6+t,2+t];if(this.stimulsoft.is(r.IStiPieSeries)){if(0==t)return[1,3,2];return[1+t,3+t,4+t]}if(this.stimulsoft.is(r.StiRadarSeries))return[1+t,2+t,3+t,4+t,5+t];if(0==t)return this._values;return[1+t,3+t,2.5+t]},set:function(e){this._values=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"valueDataColumn",{get:function(){return this._valueDataColumn},set:function(e){this._valueDataColumn=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"valuesString",{get:function(){var e,t,r=new p,i=!0;try{for(var n=__values(this._values),o=n.next();!o.done;o=n.next()){var a=o.value;i?r.appendFormat("{0}",null==a?0:a):r.appendFormat(";{0}",null==a?0:a),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._values=[];else{var n=e.split(";");this._values=i.create(Number,n.length);var o=0;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;this._values[o++]=l.stimulsoft.toNumber()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"arguments",{get:function(){return this.getArguments()},set:function(e){this.setArguments(e)},enumerable:!1,configurable:!0}),w.prototype.getArguments=function(){if(null==this.chart||!this.chart.isDesigning||this.isDashboard)return this._arguments;if(!n.isNullOrEmpty(this.listOfArguments))return w.getArgumentsFromString(this.listOfArguments);var e=this.stimulsoft.as(r.StiWaterfallSeries);if(null!=e&&(null==this._arguments||0==this._arguments.length))return e.total.visible?["A","B","C",e.total.text]:["A","B","C"];if(this.stimulsoft.is(r.IStiHistogramSeries))return["[1, 2]","(2, 3]","(3, 4]"];if((this.stimulsoft.is(r.IStiGanttSeries)||this.stimulsoft.is(r.IStiRangeBarSeries)||this.stimulsoft.is(r.IStiCandlestickSeries)||this.stimulsoft.is(r.StiSunburstSeries))&&(null==this._arguments||0==this._arguments.length))return["A","B","C"];if((this.stimulsoft.is(r.IStiScatterSeries)||this.stimulsoft.is(r.IStiScatterLineSeries)||this.stimulsoft.is(r.IStiScatterSplineSeries))&&(null==this._arguments||0==this._arguments.length))return["1","5","4"];return this._arguments},w.prototype.setArguments=function(e){this._arguments=e},Object.defineProperty(w.prototype,"argumentDataColumn",{get:function(){return this._argumentDataColumn},set:function(e){this._argumentDataColumn=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"argumentsString",{get:function(){var e,t,r=new p,i=!0;try{for(var n=__values(this._arguments),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._arguments=[];else{var n=e.split(";");this._arguments=i.create(Object,n.length);var o=0;try{for(var a=__values(n),l=a.next();!l.done;l=a.next()){var u=l.value;this._arguments[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,"autoSeriesTitleDataColumn",{get:function(){return this._autoSeriesTitleDataColumn},set:function(e){this._autoSeriesTitleDataColumn=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"autoSeriesKeyDataColumn",{get:function(){return this._autoSeriesKeyDataColumn},set:function(e){this._autoSeriesKeyDataColumn=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"autoSeriesColorDataColumn",{get:function(){return this._autoSeriesColorDataColumn},set:function(e){this._autoSeriesColorDataColumn=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"toolTips",{get:function(){if((null!=this.chart&&this.chart.isDesigning||this.isDashboard)&&!n.isNullOrEmpty(this.listOfToolTips))return w.getStringsFromString(this.listOfToolTips);return this._toolTips},set:function(e){this._toolTips=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"toolTipDataColumn",{get:function(){return this._toolTipDataColumn},set:function(e){this._toolTipDataColumn=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"toolTipsString",{get:function(){var e,t,r=new p,i=!0;try{for(var n=__values(this._toolTips),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._toolTips=[];else{var n=e.split(";");this._toolTips=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._toolTips[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,"tags",{get:function(){if((null!=this.chart&&this.chart.isDesigning||this.isDashboard)&&!n.isNullOrEmpty(this.listOfTags))return w.getArgumentsFromString(this.listOfTags);return this._tags},set:function(e){this._tags=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"tagDataColumn",{get:function(){return this._tagDataColumn},set:function(e){this._tagDataColumn=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"tagString",{get:function(){var e,t,r=new p,i=!0;try{for(var n=__values(this.tags),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._tags=[];else{var n=e.split(";");this._tags=i.create(Object,n.length);var o=0;try{for(var a=__values(n),l=a.next();!l.done;l=a.next()){var u=l.value;this._tags[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,"hyperlinks",{get:function(){if((null!=this.chart&&this.chart.isDesigning||this.isDashboard)&&null!=this.listOfHyperlinks&&this.listOfHyperlinks.length>0)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&&e<this.values.length&&(i=this.values[this.values.length-e-1]),this.stimulsoft.is(r.IStiRangeSeries)&&e<this.stimulsoft.as(r.IStiRangeSeries).valuesEnd.length&&(n=this.stimulsoft.as(r.IStiRangeSeries).valuesEnd[this.stimulsoft.as(r.IStiRangeSeries).valuesEnd.length-e-1]),this.stimulsoft.is(r.IStiFinancialSeries)&&(e<this.stimulsoft.as(r.IStiFinancialSeries).valuesOpen.length&&(o=this.stimulsoft.as(r.IStiFinancialSeries).valuesOpen[this.stimulsoft.as(r.IStiFinancialSeries).valuesOpen.length-e-1]),e<this.stimulsoft.as(r.IStiFinancialSeries).valuesClose.length&&(a=this.stimulsoft.as(r.IStiFinancialSeries).valuesClose[this.stimulsoft.as(r.IStiFinancialSeries).valuesClose.length-e-1]),e<this.stimulsoft.as(r.IStiFinancialSeries).valuesLow.length&&(s=this.stimulsoft.as(r.IStiFinancialSeries).valuesLow[this.stimulsoft.as(r.IStiFinancialSeries).valuesLow.length-e-1]),e<this.stimulsoft.as(r.IStiFinancialSeries).valuesHigh.length&&(l=this.stimulsoft.as(r.IStiFinancialSeries).valuesHigh[this.stimulsoft.as(r.IStiFinancialSeries).valuesHigh.length-e-1])),null!=this.arguments&&e<this.arguments.length&&(u=this.arguments[this.arguments.length-e-1])):(null!=this.values&&e<this.values.length&&(i=this.values[e]),this.stimulsoft.is(r.IStiRangeSeries)&&e<this.stimulsoft.as(r.IStiRangeSeries).valuesEnd.length&&(n=this.stimulsoft.as(r.IStiRangeSeries).valuesEnd[e]),this.stimulsoft.is(r.IStiFinancialSeries)&&(e<this.stimulsoft.as(r.IStiFinancialSeries).valuesOpen.length&&(o=this.stimulsoft.as(r.IStiFinancialSeries).valuesOpen[e]),e<this.stimulsoft.as(r.IStiFinancialSeries).valuesClose.length&&(a=this.stimulsoft.as(r.IStiFinancialSeries).valuesClose[e]),e<this.stimulsoft.as(r.IStiFinancialSeries).valuesLow.length&&(s=this.stimulsoft.as(r.IStiFinancialSeries).valuesLow[e]),e<this.stimulsoft.as(r.IStiFinancialSeries).valuesHigh.length&&(l=this.stimulsoft.as(r.IStiFinancialSeries).valuesHigh[e])),null!=this.arguments&&e<this.arguments.length&&(u=this.arguments[e]));var c=r.StiChartHelper.getFilterData(null,t,null);return r.StiChartHelper.getFilterResult(t,u,i,n,o,a,s,l,c)},w.prototype.toString=function(){return this.serviceName},w.getNullableValuesFromString=function(t,r){var i,n,a=[],s=r.split(";");try{for(var l=__values(s),u=l.next();!u.done;u=l.next()){var c=u.value;if(null!=c&&c.trim().length>0){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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"ShowZeros":this.showZeros=i.textContent.stimulsoft.toBoolean();break;case"ShowNulls":this.showNulls=i.textContent.stimulsoft.toBoolean();break;case"Marker":this._marker.loadFromXml(i);break;case"LineMarker":this.lineMarker.loadFromXml(i);break;case"LineColor":this.lineColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"LineStyle":this.lineStyle=u.parse(s,i.textContent);break;case"Lighting":this.lighting=i.textContent.stimulsoft.toBoolean();break;case"LineWidth":this.lineWidth=i.textContent.stimulsoft.toNumber();break;case"LabelsOffset":this._labelsOffset=i.textContent.stimulsoft.toNumber();break;case"LineColorNegative":this.lineColorNegative=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"AllowApplyColorNegative":this.allowApplyColorNegative=i.textContent.stimulsoft.toBoolean();break;case"ShowNullsAs":this.showNullsAs=u.parse(h,i.textContent);break;case"ShowZerosAs":this.showZerosAs=u.parse(h,i.textContent);break}}},f.prototype.clone=function(){var e=p.prototype.clone.call(this);return e.marker=this.marker.clone(),e.lineStyle=this.lineStyle,e},Object.defineProperty(f.prototype,"showNulls",{get:function(){return this._showNulls},set:function(e){this._showNulls=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"showZeros",{get:function(){return this._showZeros},set:function(e){this._showZeros=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 l.toColor(this.marker.brush)},set:function(e){this.marker.brush=new a(e),this.marker.borderColor=o.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}),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.top<r.top&&(j=Math.abs(r.top-A.top)),r.bottom<A.bottom&&(F=Math.abs(A.bottom-r.bottom))),(L=p.yAxis.core.getCenterAxisRect(e,r,!0,!0,!1)).isEmpty||(L.x+=r.x,L.y+=r.y),(O=p.reverseHor?p.yAxis.core.getAxisRect(e,r,!0,!0,!1,!0):p.yRightAxis.core.getAxisRect(e,r,!0,!0,!1,!0)).isEmpty||(O.x+=r.x,O.y+=r.y),O.isEmpty||(D=O.width,O.top<r.top&&(j=Math.max(j,Math.abs(r.top-O.top))),r.bottom<O.bottom&&(F=Math.max(F,Math.abs(O.bottom-r.bottom)))),(P=p.xTopAxis.core.getAxisRect(e,r,!0,!0,!1,!0)).isEmpty||(P.x+=r.x,P.y+=r.y),P.isEmpty||(j=Math.max(P.height,j),P.x<r.x&&(I=Math.max(I,Math.abs(r.left-P.left))),r.right<P.right&&(D=Math.max(D,Math.abs(P.right-r.right)))),(B=p.xAxis.core.getCenterAxisRect(e,r,!0,!0,!1)).isEmpty||(B.x+=r.x,B.y+=r.y),p.reverseHor){var M={ref:I},E={ref:D};this.swap(M,E),I=M.ref,D=E.ref}var V=new n(r.x+I,r.y,r.width-I-D,r.height);p.xAxis.info.dpi=V.width/p.xAxis.info.range,this.calculateStepX(p.xAxis,V.left,V.right);var G={ref:p.xAxis.info.labelsCollection};if(this.calculatePositions(p.xAxis,G,p.xAxis.labels.step>0?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.x<r.x&&(I=Math.max(I,Math.abs(r.left-R.left))),r.right<R.right&&(D=Math.max(D,Math.abs(R.right-r.right)))),p.reverseHor){var M={ref:I},E={ref:D};this.swap(M,E),I=M.ref,D=E.ref}if(p.reverseVert){var X={ref:j},z={ref:F};this.swap(X,z),j=X.ref,F=z.ref}r.x+=I,r.width-=I+D,r.y+=j,r.height-=j+F,this.prepareInfo(r),f=p.yAxis.core.renderView(e,r),m=p.yAxis.core.renderCenterView(e,r),S=p.yRightAxis.core.renderView(e,r),g=p.xTopAxis.core.renderView(e,r),y=p.xAxis.core.renderCenterView(e,r),d=p.xAxis.core.renderView(e,r)}k=r.clone();var J=this.calculateScrollValuesX(r.clone(),p),H=this.calculateScrollValuesY(r.clone(),p);r.x=-this.scrollDistanceX,r.y=-this.scrollDistanceY,r.width*=J,r.height*=H,this.prepareInfo(r.clone()),T.length>0&&(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;c<r.length;c++){var h=r[c].values;r[c].stimulsoft.is(t.StiCandlestickSeries)&&(h=r[c].valuesOpen),null!=h&&(this.valuesCount=Math.max(h.length,this.valuesCount)),r[c].core.isDateTimeValues&&(u=!0)}this.prepareRange(n,a,s,l),!s.range.auto&&s.range.maximum>s.info.maximum&&(s.info.maximum=s.range.maximum),!s.range.auto&&s.range.minimum<s.info.minimum&&(s.info.minimum=s.range.minimum),(!l.range.auto&&l.range.maximum>l.info.maximum||i.stimulsoft.is(t.StiParetoArea))&&(l.info.maximum=l.range.maximum),!l.range.auto&&l.range.minimum<l.info.minimum&&(l.info.minimum=l.range.minimum);var p=this.area.chart.series.count>0&&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;a<this.valuesCount;a++){var h=null;if(null!=c.arguments&&a<c.arguments.length&&null==(h=c.arguments[a]))continue;if(null!=h){var p=i?1+a:a;p<e.info.stripLines.count&&(e.info.stripLines.getByIndex(p).valueObject=h)}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}},o.prototype.checkShowEdgeValues=function(e){var r;e.info.stripLines.count>0&&((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;c<u;c++){if(0==l){var h,p=s?u-c-1:c;(h=new t.StiStripPositionXF).stripLine=e.info.stripLines.getByIndex(p),h.position=e.info.stripPositions[p],s?o.stimulsoft.insert(0,h):o.push(h)}if(this.area.core.stimulsoft.is(t.StiScatterAreaCoreXF)&&e.stimulsoft.is(t.IStiXAxis)&&!e.logarithmicScale)continue;if(this.area.core.stimulsoft.is(t.StiClusteredBarAreaCoreXF)&&e.stimulsoft.is(t.IStiXAxis)&&!n)continue;if(!this.area.core.stimulsoft.is(t.StiClusteredBarAreaCoreXF)&&e.stimulsoft.is(t.IStiYAxis)&&!n)continue;if(c==u-1&&0!=l){var f=e;if(null!=e&&e.showEdgeValues){var h,p=s?0:u-1;(h=new t.StiStripPositionXF).stripLine=e.info.stripLines.getByIndex(p),h.position=e.info.stripPositions[p],s?o.stimulsoft.insert(0,h):o.push(h)}}++l==i&&(l=0)}r.ref=o},o.prototype.calculateDivider=function(e){var r,i,n=this.area,o=0;if(null!=e.info.stripLines)try{for(var a=__values(e.info.stripLines.list),s=a.next();!s.done;s=a.next()){var l;if(0==s.value.value)return e.info.stripPositions[o];o++}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return e.stimulsoft.is(t.IStiYAxis)?n.reverseVert?-e.info.minimum*e.info.dpi:null==e.info.stripPositions||0==e.info.stripPositions.length?e.info.minimum*e.info.dpi:e.info.stripPositions[e.info.stripPositions.length-1]+e.info.minimum*e.info.dpi:e.stimulsoft.is(t.IStiXAxis)?n.reverseHor?null==e.info.stripPositions||0==e.info.stripPositions.length?e.info.minimum*e.info.dpi:e.info.stripPositions[e.info.stripPositions.length-1]+e.info.minimum*e.info.dpi:-e.info.minimum*e.info.dpi:0},o.rotateStripLines=function(e){var r,i,n=new t.StiStripLinesXF;try{for(var o=__values(e.info.stripLines.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.insert(0,s)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}e.info.stripLines=n},o.prototype.getDividerX=function(){var e=this.area;if(this.stimulsoft.is(t.StiClusteredBarAreaCoreXF)||this.stimulsoft.is(t.StiScatterAreaCoreXF))return this.calculateDivider(e.xAxis);return 0},o.prototype.getDividerTopX=function(){var e=this.area;if(this.stimulsoft.is(t.StiClusteredBarAreaCoreXF))return this.calculateDivider(e.xTopAxis);return 0},o.prototype.getDividerY=function(){var e=this.area;return this.stimulsoft.is(t.StiClusteredBarAreaCoreXF)&&!this.stimulsoft.is(t.StiGanttAreaCoreXF)?0:this.calculateDivider(e.yAxis)},o.prototype.getDividerRightY=function(){var e=this.area;return this.stimulsoft.is(t.StiClusteredBarAreaCoreXF)&&!this.stimulsoft.is(t.StiGanttAreaCoreXF)?0:this.calculateDivider(e.yRightAxis)},Object.defineProperty(o.prototype,"scrollDistanceX",{get:function(){return this.scrollDpiX*this.scrollValueX},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scrollDistanceY",{get:function(){return this.scrollDpiY*this.scrollValueY},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scrollRangeX",{get:function(){return this._scrollRangeX},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scrollRangeY",{get:function(){return this._scrollRangeY},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scrollViewX",{get:function(){return this._scrollViewX},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scrollViewY",{get:function(){return this._scrollViewY},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"blockScrollValueX",{get:function(){return this._blockScrollValueX},set:function(e){this._blockScrollValueX=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"blockScrollValueY",{get:function(){return this._blockScrollValueY},set:function(e){this._blockScrollValueY=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scrollValueX",{get:function(){return this._scrollValueX},set:function(e){this._scrollValueX=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scrollValueY",{get:function(){return this._scrollValueY},set:function(e){this._scrollValueY=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scrollDpiX",{get:function(){return this._scrollDpiX},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scrollDpiY",{get:function(){return this._scrollDpiY},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"scrollDragStartValue",{get:function(){return this._scrollDragStartValue},set:function(e){this._scrollDragStartValue=e},enumerable:!1,configurable:!0}),o}(t.StiAreaCoreXF);t.StiAxisAreaCoreXF=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 i(t){return e.call(this,t)||this}return __extends(i,e),i.prototype.prepareRange=function(e,r,i,n){var o,a,s=!0,l=!0,u=!1,c=!1;i.info.maximum=0,i.info.minimum=0,n.info.maximum=0,n.info.minimum=0;for(var h=this.getSeries(),p=0;p<h.length;p++){var f=h[p],m=f.values;try{for(var S=(o=void 0,__values(m)),g=S.next();!g.done;g=S.next()){var y=g.value;f.yAxis==t.StiSeriesYAxis.LeftYAxis?null!=y&&(s?(u=!0,i.info.maximum=y,i.info.minimum=y,s=!1):(u=!0,i.info.maximum=Math.max(y,i.info.maximum),i.info.minimum=Math.min(y,i.info.minimum))):null!=y&&(l?(c=!0,n.info.maximum=y,n.info.minimum=y,l=!1):(c=!0,n.info.maximum=Math.max(y,n.info.maximum),n.info.minimum=Math.min(y,n.info.minimum)))}}catch(e){o={error:e}}finally{try{g&&!g.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}}u||(i.info.maximum=n.info.maximum,i.info.minimum=n.info.minimum),c||(n.info.maximum=i.info.maximum,n.info.minimum=i.info.minimum)},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","ClusteredColumn")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.ClusteredColumn},enumerable:!1,configurable:!0}),i}(t.StiAxisAreaCoreXF);t.StiClusteredColumnAreaCoreXF=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.Localization.StiLocalization,n=e.System.DateTime,o=function(o){function a(e){var t=o.call(this,e)||this;return t.isArgumentDateTime=!1,t}return __extends(a,o),a.prototype.isXAxisAutoRange=function(e){var t=this.area;return e.range.auto||t.xAxis.range.maximum==t.xAxis.range.minimum||e.logarithmicScale},a.prototype.prepareRange=function(t,r,i,a){var s,l,u,c;o.prototype.prepareRange.call(this,t,r,i,a);var h=!0;t.info.maximum=0,t.info.minimum=0,this.isArgumentDateTime=!1;var p=this.getSeries();try{for(var f=__values(p),m=f.next();!m.done;m=f.next()){var S=m.value;if(S.arguments.length>0&&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;y<S.arguments.length;y++){var d=n.fromString(S.arguments[y].toString(),!1);null!=d&&(S.arguments[y]=d)}}try{for(var b=(u=void 0,__values(S.arguments)),v=b.next();!v.done;v=b.next()){var C=v.value,w=0;if(C.stimulsoft.is(n))this.isArgumentDateTime=!0,w=C.toOADate();else try{w=C.stimulsoft.toNumber()}catch(t){e.System.StiError.showError(t,!1),w=0}h?(h=!1,t.info.maximum=w,t.info.minimum=w):(t.info.maximum=Math.max(t.info.maximum,w),t.info.minimum=Math.min(t.info.minimum,w))}}catch(e){u={error:e}}finally{try{v&&!v.done&&(c=b.return)&&c.call(b)}finally{if(u)throw u.error}}}}catch(e){s={error:e}}finally{try{m&&!m.done&&(l=f.return)&&l.call(f)}finally{if(s)throw s.error}}},a.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)},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<o.length;a++)if(o[a].core.isDateTimeValues){i=!0;break}var s=e.labels.step,l;0==s&&(s=t.StiStripLineCalculatorXF.getInterval(e.info.minimum,e.info.maximum,6)),l=e.logarithmicScale?t.StiStripLineCalculatorXF.getStripLinesLogScale(e.info.minimum,e.info.maximum):t.StiStripLineCalculatorXF.getStripLines(e.info.minimum,e.info.maximum,s,i),e.info.stripLines.clear();for(var u=l.count-1;u>=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;l<s.length;l++)for(var u=s[l],c=u.total.visible?1:0,h=0;h<u.values.length-c;h++){var p=u.values[h];u.yAxis==t.StiSeriesYAxis.LeftYAxis&&null!=p&&(o?(a=p,i.info.maximum=Math.max(0,p),i.info.minimum=Math.min(0,p),o=!1):(a+=p,i.info.maximum=Math.max(a,i.info.maximum),i.info.minimum=Math.min(a,i.info.minimum)))}},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","Waterfall")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.Waterfall},enumerable:!1,configurable:!0}),i}(t.StiAxisAreaCoreXF);t.StiWaterfallAreaCoreXF=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){var r=e.call(this,t)||this;return r.valuesCount=0,r}return __extends(n,e),n.prototype.render=function(e,r){this.prepareInfo(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,i,n){var o,a,s,l,u=[],c=new r;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,i,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){this.valuesCount=0;var t=this.getSeries();if(t.length>0)for(var r=0;r<t.length;r++){var i=t[r].values;null!=i&&(this.valuesCount=Math.max(i.length,this.valuesCount))}},Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("Chart","Pie")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"position",{get:function(){return t.StiChartAreaPosition.Pie},enumerable:!1,configurable:!0}),n}(t.StiAreaCoreXF);t.StiPieAreaCoreXF=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.render=function(e,r){this.prepareInfo(r);var i=new t.StiDoughnutAreaGeom(this.area,r),n=this.getSeries();return this.renderSeries(e,r,i,n),i},Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","Doughnut")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.Doughnut},enumerable:!1,configurable:!0}),i}(t.StiPieAreaCoreXF);t.StiDoughnutAreaCoreXF=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;u<this.valuesCount;u++)try{for(var c=(r=void 0,__values(l)),h=c.next();!h.done;h=c.next()){var p=h.value,f,f;if(p.stimulsoft.getType()==e)if(p.yAxis==t.StiSeriesYAxis.LeftYAxis){if(n.push(0),o.push(0),u<p.values.length)(f=p.values[u])>0?o[u]=o[u]+f:n[u]=n[u]+f}else if(a.push(0),s.push(0),u<p.values.length)(f=p.values[u])>0?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;u<this.valuesCount;u++)try{for(var c=(r=void 0,__values(l)),h=c.next();!h.done;h=c.next()){var p=h.value,f,f;if(p.stimulsoft.getType()==e)if(p.yAxis==t.StiSeriesYAxis.LeftYAxis){if(n.push(0),o.push(0),u<p.values.length)(f=p.values[u])>0?o[u]=o[u]+f:n[u]=n[u]+f}else if(a.push(0),s.push(0),u<p.values.length)(f=p.values[u])>0?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=l<this.arguments.length?this.arguments[l]:null,g=new a(this.centerPoint.x+s*m.x,this.centerPoint.y+s*m.y),y=n.xAxis.core.getLabelText(S),d=n.xAxis.xCore.getLabelRect(e,g,y,c).clone();d.isEmpty||(h=o.union(h,d)),c+=u,l++}}catch(e){r={error:e}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}var b=t.left-h.left,v=h.right-t.right,C=t.top-h.top,w=h.bottom-t.bottom;b>0&&(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=l<this.arguments.length?this.arguments[l]:null,S=new a(this.centerPoint.x+s*f.x,this.centerPoint.y+s*f.y);S.x-=t.clientRectangle.x,S.y-=t.clientRectangle.y;var g=o.xAxis.xCore.renderLabel(e,r,S,m,c,l,this.valuesCount);null!=g&&(t.createChildGeoms(),t.childGeoms.push(g)),c+=u,l++}}catch(e){i={error:e}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(i)throw i.error}}}},l.prototype.renderSeries=function(e,t,r,i){var o,a,s,l,u=[],c=new n;try{for(var h=__values(i),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}}},l.prototype.prepareInfo=function(t){var r,i,n,o,s=this.area;this.valuesCount=0;var l=this.getSeries(),u;if(l.length>0)for(var c=0;c<l.length;c++){var h;null!=(h=l[c].values)&&(this.valuesCount=Math.max(h.length,this.valuesCount))}if(this.arguments=[],l.length>0){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;c<this.valuesCount;c++)c<p.arguments.length&&this.arguments.push(p.arguments[c].toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator))}else this.arguments.push("1"),this.arguments.push("2"),this.arguments.push("3"),this.arguments.push("4"),this.arguments.push("5");this.centerPoint=new a(t.x+t.width/2,t.y+t.height/2),u=this.valuesCount>0?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;c<l.length;c++){var h;if(null!=(h=l[c].values))try{for(var w=(n=void 0,__values(h)),x=w.next();!x.done;x=w.next()){var _=x.value;if(null==_)continue;C?(b=_,v=_,C=!1):(b=Math.min(b,_),v=Math.max(v,_))}}catch(e){n={error:e}}finally{try{x&&!x.done&&(o=w.return)&&o.call(w)}finally{if(n)throw n.error}}}0==l.length&&(v=1),Math.abs(b)>v&&(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;l<s;l++){if(0==a){var u=new t.StiStripPositionXF,c=l;u.stripLine=e.info.stripLines.getByIndex(c),u.position=e.info.stripPositions[c],n.push(u)}++a==i&&(a=0)}r.ref=n},l}(t.StiAreaCoreXF);t.StiRadarAreaCoreXF=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 i(t){return e.call(this,t)||this}return __extends(i,e),Object.defineProperty(i.prototype,"localizedName",{get:function(){return r.get("Chart","RadarArea")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.RadarArea},enumerable:!1,configurable:!0}),i}(t.StiRadarAreaCoreXF);t.StiRadarAreaAreaCoreXF=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","RadarLine")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.RadarLine},enumerable:!1,configurable:!0}),i}(t.StiRadarAreaCoreXF);t.StiRadarLineAreaCoreXF=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","RadarPoint")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.RadarPoint},enumerable:!1,configurable:!0}),i}(t.StiRadarAreaCoreXF);t.StiRadarPointAreaCoreXF=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("PropertyMain","Range")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.Range},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;c<u.length;c++)for(var h=u[c],p=h.values,f=h.valuesEnd,m=Math.min(p.length,f.length),S=0;S<m;S++){var g=null!=p[S]?p[S].stimulsoft.toNumber():0,y=null!=f[S]?f[S].stimulsoft.toNumber():0,d=Math.max(g,y),b=Math.min(g,y);h.yAxis==t.StiSeriesYAxis.LeftYAxis?o?(s=!0,i.info.maximum=d,i.info.minimum=b,o=!1):(s=!0,i.info.maximum=Math.max(d,i.info.maximum),i.info.minimum=Math.min(b,i.info.minimum)):a?(l=!0,n.info.maximum=d,n.info.minimum=b,a=!1):(l=!0,n.info.maximum=Math.max(d,n.info.maximum),n.info.minimum=Math.min(b,n.info.minimum))}s||(i.info.maximum=n.info.maximum,i.info.minimum=n.info.minimum),l||(n.info.maximum=i.info.maximum,n.info.minimum=i.info.minimum)},i}(t.StiClusteredColumnAreaCoreXF);t.StiRangeAreaCoreXF=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.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),e.info.stripLines.count>0&&(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;c<u.length;c++)for(var h=u[c],p=h.values,f=h.valuesEnd,m=Math.min(p.length,f.length),S=0;S<m;S++){var g=null!=p[S]?p[S].stimulsoft.toNumber():0,y=null!=f[S]?f[S].stimulsoft.toNumber():0,d=Math.max(g,y),b=Math.min(g,y);h.yAxis==t.StiSeriesYAxis.LeftYAxis?o?(s=!0,i.info.maximum=d,i.info.minimum=b,o=!1):(s=!0,i.info.maximum=Math.max(d,i.info.maximum),i.info.minimum=Math.min(b,i.info.minimum)):a?(l=!0,n.info.maximum=d,n.info.minimum=b,a=!1):(l=!0,n.info.maximum=Math.max(d,n.info.maximum),n.info.minimum=Math.min(b,n.info.minimum))}s||(i.info.maximum=n.info.maximum,i.info.minimum=n.info.minimum),l||(n.info.maximum=i.info.maximum,n.info.minimum=i.info.minimum)},i}(t.StiClusteredColumnAreaCoreXF);t.StiSplineRangeAreaCoreXF=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","SteppedRange")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.SteppedRange},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;c<u.length;c++)for(var h=u[c],p=h.values,f=h.valuesEnd,m=Math.min(p.length,f.length),S=0;S<m;S++){var g=null!=p[S]?p[S].stimulsoft.toNumber():0,y=null!=f[S]?f[S].stimulsoft.toNumber():0,d=Math.max(g,y),b=Math.min(g,y);h.yAxis==t.StiSeriesYAxis.LeftYAxis?o?(s=!0,i.info.maximum=d,i.info.minimum=b,o=!1):(s=!0,i.info.maximum=Math.max(d,i.info.maximum),i.info.minimum=Math.min(b,i.info.minimum)):a?(l=!0,n.info.maximum=d,n.info.minimum=b,a=!1):(l=!0,n.info.maximum=Math.max(d,n.info.maximum),n.info.minimum=Math.min(b,n.info.minimum))}s||(i.info.maximum=n.info.maximum,i.info.minimum=n.info.minimum),l||(n.info.maximum=i.info.maximum,n.info.minimum=i.info.minimum)},i}(t.StiClusteredColumnAreaCoreXF);t.StiSteppedRangeAreaCoreXF=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","StackedArea")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.StackedArea},enumerable:!1,configurable:!0}),i}(t.StiStackedColumnAreaCoreXF);t.StiStackedAreaAreaCoreXF=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","StackedLine")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.StackedLine},enumerable:!1,configurable:!0}),i}(t.StiStackedColumnAreaCoreXF);t.StiStackedLineAreaCoreXF=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","StackedSplineArea")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.StackedSplineArea},enumerable:!1,configurable:!0}),i}(t.StiStackedColumnAreaCoreXF);t.StiStackedSplineAreaAreaCoreXF=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","StackedSpline")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.StackedSpline},enumerable:!1,configurable:!0}),i}(t.StiStackedColumnAreaCoreXF);t.StiStackedSplineAreaCoreXF=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","Stock")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return t.StiChartAreaPosition.Stock},enumerable:!1,configurable:!0}),i}(t.StiCandlestickAreaCoreXF);t.StiStockAreaCoreXF=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.render=function(e,r){var i=new t.StiSunburstAreaGeom(this.area,r),n=this.getSeries();return n.length>0&&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<n.length;o++)t.length-1>=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.length;o++)r.push(e[o]*n);return r},n.prototype.getCoordinates=function(e,t){var i=[],n=e.x,o=e.y,a=t.stimulsoft.toList().sum()/e.height,s=t.stimulsoft.toList().sum()/e.width;if(e.width>=e.height)for(var l=0;l<t.length;l++)i.push(new r(n,o,a,t[l]/a)),o+=t[l]/a;else for(var l=0;l<t.length;l++)i.push(new r(n,o,t[l]/s,s)),n+=t[l]/s;return i},n.prototype.prepareInfo=function(e){},Object.defineProperty(n.prototype,"localizedName",{get:function(){return i.get("Chart","Treemap")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"position",{get:function(){return t.StiChartAreaPosition.Treemap},enumerable:!1,configurable:!0}),n}(t.StiAreaCoreXF);t.StiTreemapAreaCoreXF=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.DateTime,i=function(){function i(){}return i.getInterval1=function(e){var t=Math.abs(e),r=0;if(e>1){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(l<h+c)h-=c;var p=this.getCountAfterComma(c),f=this.getCountAfterComma(h),m=Math.max(p,f);while(h<u)h+=c,m>0&&(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(0<r&&r<1)while(o<s)s/=10;if(r>1){while(o>s)s*=10;s/=10}if(0<a&&a<1){while(l>a)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;u<this.axis.info.stripPositions.length-1;u++){var c=this.axis.info.stripLines.getByIndex(u).value,h=Math.abs(Math.log10(Math.abs(this.axis.info.stripLines.getByIndex(u).value))*l-Math.log10(Math.abs(this.axis.info.stripLines.getByIndex(u-1).value))*l);this.axis.info.stripPositions[u]=e+h,e=this.axis.info.stripPositions[u]}}else{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 u=1;u<this.axis.info.stripPositions.length-1;u++)this.axis.info.stripPositions[u]=e+u*this.axis.info.step}}},e.prototype.getTicksMaxLength=function(e){return this.axis.core.ticksMaxLength*e.options.zoom},e.prototype.getArrowHeight=function(e){return 4*this.axis.core.arrowHeight*e.options.zoom},e.prototype.getLabelsSpaceAxis=function(e){return 5*e.options.zoom},e.prototype.getLabelsTwoLinesDestination=function(e){return 2*this.axis.labels.font.sizeInPoints*e.options.zoom},e.prototype.getFontGeom=function(e){var t;return s.changeFontSize(this.axis.labels.font,this.axis.labels.font.size*e.options.zoom)},e.prototype.getTextAlignment=function(){if(this.axis.stimulsoft.is(t.IStiYAxis)){var e=this.axis;if(this.axis.labels.placement==t.StiLabelsPlacement.TwoLines){if(e.core.isLeftSide)return l.Right;if(e.core.isRightSide)return l.Left}}return this.axis.labels.textAlignment},e.prototype.getStringFormatGeom=function(e){var t=e.getGenericStringFormat();if(t.trimming=n.None,this.axis.labels.wordWrap||(t.formatFlags=o.MeasureTrailingSpaces|o.NoWrap),this.axis.labels.width>0){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<r.width&&(i=e.width/r.width*i);break;case t.StiDirection.BottomToTop:case t.StiDirection.TopToBottom:e.height<r.height&&(i=e.height/r.height*i);break}return i},e.prototype.checkUseMaxWidth=function(e,r,i){switch(i.ref=0,this.axis.title.direction){case t.StiDirection.LeftToRight:case t.StiDirection.RightToLeft:if(e.width<r.width)return i.ref=e.width,!0;break;case t.StiDirection.BottomToTop:case t.StiDirection.TopToBottom:if(e.height<r.height)return i.ref=e.width,!0;break}return!1},Object.defineProperty(e.prototype,"ticksMaxLength",{get:function(){return this.axis.visible?Math.max(this.axis.ticks.visible?this.axis.ticks.length:0,this.axis.ticks.minorVisible?this.axis.ticks.minorLength:0):0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"arrowWidth",{get:function(){return 3},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"arrowHeight",{get:function(){if(this.stimulsoft.is(t.StiXAxisCoreXF))return this.axis.area.reverseHor?-5:5;if(this.stimulsoft.is(t.StiYAxisCoreXF))return this.axis.area.reverseVert?-5:5;return 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis},set:function(e){this._axis=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"info",{get:function(){return this.axis.info},set:function(e){this.axis.info=e},enumerable:!1,configurable:!0}),e.defaultScrollBarSize=12,e.defaultScrollBarSmallFactor=.01,e.defaultScrollBarFirstRecallTime=.3,e.defaultScrollBarOtherRecallTime=.05,e}();t.StiAxisCoreXF=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.System.ICloneable,i=function(){function e(){this.dpi=0,this.step=0,this.stripPositions=null,this.ticksCollection=null,this.labelsCollection=null,this.minimum=0,this._maximum=0}return e.prototype.implements=function(){return e.implementsStiAxisInfoXF||(e.implementsStiAxisInfoXF=[r,t.IStiAxisInfoXF]),e.implementsStiAxisInfoXF},e.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.stripLines=this.stripLines.clone(),e},Object.defineProperty(e.prototype,"range",{get:function(){return this.maximum-this.minimum},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maximum",{get:function(){return this._maximum},set:function(e){this._maximum=e},enumerable:!1,configurable:!0}),e}();t.StiAxisInfoXF=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.Drawing.Point,n=function(){function e(){this.clientRectangle=r.empty,this.textPoint=i.empty}return e}();t.StiAxisLabelInfoXF=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.ICloneable,i=function(){function e(e){this._labels=e}return e.prototype.implements=function(){return e.implementsStiAxisLabelsCoreXF||(e.implementsStiAxisLabelsCoreXF=[t.IStiApplyStyle,r,t.IStiAxisLabelsCoreXF]),e.implementsStiAxisLabelsCoreXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e.prototype.applyStyle=function(e){this.labels.allowApplyStyle&&(this.labels.color=e.core.axisLabelsColor)},Object.defineProperty(e.prototype,"labels",{get:function(){return this._labels},set:function(e){this._labels=e},enumerable:!1,configurable:!0}),e}();t.StiAxisLabelsCoreXF=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._title=e}return e.prototype.implements=function(){return e.implementsStiAxisTitleCoreXF||(e.implementsStiAxisTitleCoreXF=[t.IStiApplyStyle,r,t.IStiAxisTitleCoreXF]),e.implementsStiAxisTitleCoreXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e.prototype.applyStyle=function(e){this.title.allowApplyStyle&&(this.title.color=e.core.axisTitleColor)},Object.defineProperty(e.prototype,"title",{get:function(){return this._title},set:function(e){this._title=e},enumerable:!1,configurable:!0}),e}();t.StiAxisTitleCoreXF=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.System.Drawing.StringAlignment,n=e.Base.Drawing.StiRotationMode,o=e.Base.Context.StiFontGeom,a=e.System.DateTime,s=e.System.Drawing.Point,l=e.Base.Localization.StiLocalization,u=e.System.Drawing.Rectangle,c=e.System.Globalization.CultureInfo,h=function(h){function p(e){return h.call(this,e)||this}return __extends(p,h),p.prototype.getStartFromZero=function(){if(null!=this.axis.info.labelsCollection&&this.isArgumentDateTime1(this.axis.info.labelsCollection)&&(this.axis.area.stimulsoft.is(t.StiScatterArea)||this.axis.area.stimulsoft.is(t.StiGanttArea)))return!1;return h.prototype.getStartFromZero.call(this)},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.IStiXBottomAxis)&&!this.axis.area.reverseVert||this.axis.stimulsoft.is(t.IStiXTopAxis)&&this.axis.area.reverseVert)&&(i.y+=t.StiAxisCoreXF.defaultScrollBarSize*e.options.zoom);var n=new t.StiXAxisGeom(this.axis,i,!1);return this.renderLabels(e,i,n),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.StiXAxisViewGeom(this.axis,i,!1)},p.prototype.renderScrollBar=function(e,r,i){if(this.axis.interaction.showScrollBar){var n=r.clone();n.x=0,n.height=t.StiAxisCoreXF.defaultScrollBarSize*e.options.zoom,this.axis.stimulsoft.is(t.IStiXTopAxis)&&!this.axis.area.reverseVert||this.axis.stimulsoft.is(t.IStiXBottomAxis)&&this.axis.area.reverseVert?n.y=r.height-n.height:n.y=0;var o=new t.StiHorzScrollBarGeom(this.axis,n);if(i.createChildGeoms(),i.childGeoms.push(o),n.x=0,n.y=0,n.inflate(-2,-2),this.axis.interaction.rangeScrollEnabled){var a=n.clone();a.width=n.height;var s=new t.StiLeftButtonGeom(this.axis,a);o.createChildGeoms(),o.childGeoms.push(s);var l=n.clone();l.width=n.height,l.x=n.right-l.width;var c=new t.StiRightButtonGeom(this.axis,l);o.createChildGeoms(),o.childGeoms.push(c),n.inflate(-n.height-2,0)}var h=n.clone(),p=this.axis.area.xAxis,f=this.axis.area.core;if(!p.range.auto){var m=n.width/f.scrollRangeX,S=f.scrollValueX*m,g=f.scrollViewX<f.scrollRangeX?f.scrollViewX*m:f.scrollRangeX*m;h=new u(S+n.x,n.y,g,n.height)}var y=new t.StiHorzTrackBarGeom(this.axis,h,o);o.createChildGeoms(),o.childGeoms.push(y)}},p.prototype.renderCenter=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();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;A<l.length;A++){var L=l[A-1].clientRectangle,O=new u(L.x,L.y,Math.ceil(L.width),Math.ceil(L.height)),P=l[A].clientRectangle,B;if(L.height/Math.sqrt(2)+L.width/Math.sqrt(2)>this.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<S.length;v++){if(null==S[v].stripLine.valueObject)continue;switch(f=S[v].stripLine.valueObject,m=v<S.length-2&&!p.area.stimulsoft.is(t.StiScatterArea)?S[v+1].stripLine.valueObject:f,d&&(b=S[v].position,d=!1),this.axis.area.xAxis.dateTimeStep.step){case t.StiTimeDateStep.Day:f.toString("yyyyMMMMdd")==m.toString("yyyyMMMMdd")&&v!=S.length-2||(y=f.toString("dd"));break;case t.StiTimeDateStep.Hour:f.toString("yyyyMMMMddHH")==m.toString("yyyyMMMMddHH")&&v!=S.length-2||(y=f.toString("HH"));break;case t.StiTimeDateStep.Minute:f.toString("yyyyMMMMddHHmm")==m.toString("yyyyMMMMddHHmm")&&v!=S.length-2||(y=f.toString("mm"));break;case t.StiTimeDateStep.Month:f.toString("yyyyMMMM")==m.toString("yyyyMMMM")&&v!=S.length-2||(y=l.get("A_WebViewer","Month"+f.toString("MMMM")));break;case t.StiTimeDateStep.Second:f.toString("yyyyMMMMddHHmmss")==m.toString("yyyyMMMMddHHmmss")&&v!=S.length-2||(y=f.toString("ss"));break;case t.StiTimeDateStep.Year:f.toString("yyyy")==m.toString("yyyy")&&v!=S.length-2||(y=f.toString("yyyy"));break}if(""!=y){var C=new s((S[v].position+b)/2,this.getTicksMaxLength(e)+this.getLabelsSpaceAxis(e)),w=0,x;(x=new t.StiAxisLabelInfoXF).angle=w,x.clientRectangle=e.measureRotatedString3(y,this.getFontGeom(e),C,this.getStringFormatGeom(e),n.CenterCenter,w,Math.trunc(this.axis.labels.width*e.options.zoom)),x.rotationMode=n.CenterCenter,x.stripLine=S[v].stripLine,x.text=y,x.textPoint=C,g.push(x),d=!0,y=""}}d=!0;for(var _=[],v=0;v<g.length-1;v++){switch(f=g[v].stripLine.valueObject,m=g[v+1].stripLine.valueObject,d&&(b=g[v].textPoint.x,d=!1),this.axis.area.xAxis.dateTimeStep.step){case t.StiTimeDateStep.Day:f.toString("yyyyMMMM")==m.toString("yyyyMMMM")&&v!=g.length-2||(y=l.get("A_WebViewer","Month"+f.toString("MMMM")));break;case t.StiTimeDateStep.Hour:f.toString("yyyyMMMMdd")==m.toString("yyyyMMMMdd")&&v!=g.length-2||(y=f.toString("dd"));break;case t.StiTimeDateStep.Minute:f.toString("yyyyMMMMddhh")==m.toString("yyyyMMMMddhh")&&v!=g.length-2||(y=f.toString("hh"));break;case t.StiTimeDateStep.Month:f.toString("yyyy")==m.toString("yyyy")&&v!=g.length-2||(y=f.toString("yyyy"));break;case t.StiTimeDateStep.Second:f.toString("yyyyMMMMddhhmm")==m.toString("yyyyMMMMddhhmm")&&v!=g.length-2||(y=f.toString("mm"));break;case t.StiTimeDateStep.Year:if(f.toString("yyyy")!=m.toString("yyyy")||v==g.length-2)continue;break}if(""!=y){var C=new s((g[v+1].textPoint.x+b)/2,this.getTicksMaxLength(e)+2*this.getLabelsSpaceAxis(e)),w=0,x;(x=new t.StiAxisLabelInfoXF).angle=w,x.clientRectangle=e.measureRotatedString3(y,this.getFontGeom(e),C,this.getStringFormatGeom(e),n.CenterCenter,w,Math.trunc(this.axis.labels.width*e.options.zoom)),x.rotationMode=n.CenterTop,x.stripLine=g[v].stripLine,x.text=y,x.textPoint=C,_.push(x),d=!0,y=""}}g.stimulsoft.addRange(_);try{for(var A=__values(g),L=A.next();!L.done;L=A.next()){var x;if(!(x=L.value).clientRectangle.isEmpty){var O=new t.StiAxisLabelGeom(this.axis,x.clientRectangle,x.textPoint,x.text,x.stripLine,x.angle,x.rotationMode);i.childGeoms.push(O)}}}catch(e){o={error:e}}finally{try{L&&!L.done&&(a=A.return)&&a.call(A)}finally{if(o)throw o.error}}}else try{for(var P=__values(h),B=P.next();!B.done;B=P.next()){var x;if(!(x=B.value).clientRectangle.isEmpty){var O=new t.StiAxisLabelGeom(this.axis,x.clientRectangle,x.textPoint,x.text,x.stripLine,x.angle,x.rotationMode);i.childGeoms.push(O)}}}catch(e){u={error:e}}finally{try{B&&!B.done&&(c=P.return)&&c.call(P)}finally{if(u)throw u.error}}}},p.prototype.renderTitle=function(e,n,a){if(r.isNullOrEmpty(this.axis.title.text))return;var s=this.getAxisTitleSize(e),l=u.empty;if(this.isTopSide){switch(this.axis.title.alignment){case i.Near:l=new u(0,0,s.width,s.height);break;case i.Center:l=new u((n.width-s.width)/2,0,s.width,s.height);break;case i.Far:l=new u(n.width-s.width,0,s.width,s.height);break}this.axis.title.position==t.StiTitlePosition.Inside&&(l.y+=n.height)}if(this.isBottomSide){switch(this.axis.title.alignment){case i.Near:l=new u(0,n.height-s.height,s.width,s.height);break;case i.Center:l=new u((n.width-s.width)/2,n.height-s.height,s.width,s.height);break;case i.Far:l=new u(n.width-s.width,n.height-s.height,s.width,s.height);break}this.axis.title.position==t.StiTitlePosition.Inside&&(l.y-=n.height)}var c=this.axis.title.font.size*e.options.zoom,h={ref:0};this.axis.area.chart.isDashboard&&this.checkUseMaxWidth(n,l,h)&&(c=this.getCorrectionFontSize(n,l,c));var p=o.changeFontSize(this.axis.title.font,c),f=this.getAngleTitle(),m=new t.StiAxisTitleGeom(this.axis,l,f,this.axis.title.alignment,p);a.createChildGeoms(),a.childGeoms.push(m)},p.prototype.isArgumentDateTime1=function(e){var t,r;try{for(var i=__values(e),n=i.next();!n.done;n=i.next()){var o=n.value;if(null!=o.stripLine.valueObject&&o.stripLine.valueObject.stimulsoft.is(a))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},p.prototype.isArgumentDateTime2=function(e){var t,r;try{for(var i=__values(e),n=i.next();!n.done;n=i.next()){var o=n.value;if(null!=o.stripLine.valueObject&&o.stripLine.valueObject.stimulsoft.is(a))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},Object.defineProperty(p.prototype,"dock",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isTopSide",{get:function(){return this.dock==t.StiXAxisDock.Top&&!this.axis.area.reverseVert||this.dock==t.StiXAxisDock.Bottom&&this.axis.area.reverseVert},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isBottomSide",{get:function(){return this.dock==t.StiXAxisDock.Bottom&&!this.axis.area.reverseVert||this.dock==t.StiXAxisDock.Top&&this.axis.area.reverseVert},enumerable:!1,configurable:!0}),p}(t.StiAxisCoreXF);t.StiXAxisCoreXF=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.StiXAxisDock.Bottom},enumerable:!1,configurable:!0}),r}(e.StiXAxisCoreXF);e.StiXBottomAxisCoreXF=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.StiXAxisDock.Top},enumerable:!1,configurable:!0}),r}(e.StiXAxisCoreXF);e.StiXTopAxisCoreXF=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,i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._series=null,t}return __extends(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.valueObject},set:function(e){this.valueObject=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this._index},set:function(e){this._index=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"series",{get:function(){return this._series},set:function(e){this._series=e},enumerable:!1,configurable:!0}),t}(e.System.EventArgs);t.StiGetTitleEventArgs=i}(r=t.Events||(t.Events={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(t){var r,i=function(e){function t(t,r,i){var n=e.call(this)||this;return n._seriesIndex=t,n._series=r,n._color=i,n}return __extends(t,e),Object.defineProperty(t.prototype,"seriesIndex",{get:function(){return this._seriesIndex},set:function(e){this._seriesIndex=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"series",{get:function(){return this._series},set:function(e){this._series=e},enumerable:!1,configurable:!0}),t}(e.System.EventArgs);t.StiNewAutoSeriesEventArgs=i}(r=t.Events||(t.Events={}))}(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.Events.StiNewAutoSeriesEventArgs,a=e.Report.Events.StiGetTitleEventArgs,s=e.System.Data.DBNull,l=e.Report.Events.StiValueEventArgs,u=e.Report.Events.StiGetValueEventArgs,c=e.Report.Components.StiFilterMode,h=e.Report.Dictionary.StiDataColumn,p=e.System.DateTime,f=e.System.Char,m=e.System.Drawing.Color,S=e.Report.Components.StiFilterCondition,g=e.Report.Components.StiFilterDataType,y=e.Report.Components.StiFilterItem,d=e.System.Collections.Hashtable,b=e.System.TimeSpan,v=e.System.Drawing.Point,C=e.Report.Components.StiText,w=e.Report.Engine.StiParser.StiParser,x=e.System.Collections.List,_=function(){function _(){}return _.fillSeriesData=function(e,t){e.values=i.create(Number,t.length),e.arguments=i.create(Object,t.length),e.tags=i.create(Object,t.length);for(var n=0;n<t.length;n++){var o=t[n];e.values[n]=null!=o.value&&o.value.stimulsoft.is(Number)?o.value.stimulsoft.toNumber():0,e.arguments[n]=o.argument,e.tags[n]=o.tag,e.stimulsoft.is(r.IStiRangeSeries)&&(e.stimulsoft.as(r.IStiRangeSeries).valuesEnd[n]=o.valueEnd.stimulsoft.is(Number)?o.valueEnd.stimulsoft.toNumber():0),e.stimulsoft.is(r.IStiFinancialSeries)&&(e.stimulsoft.as(r.IStiFinancialSeries).valuesOpen[n]=o.valueOpen.stimulsoft.is(Number)?o.valueOpen.stimulsoft.toNumber():0,e.stimulsoft.as(r.IStiFinancialSeries).valuesClose[n]=o.valueClose.stimulsoft.is(Number)?o.valueClose.stimulsoft.toNumber():0,e.stimulsoft.as(r.IStiFinancialSeries).valuesLow[n]=o.valueLow.stimulsoft.is(Number)?o.valueLow.stimulsoft.toNumber():0,e.stimulsoft.as(r.IStiFinancialSeries).valuesHigh[n]=o.valueHigh.stimulsoft.is(Number)?o.valueHigh.stimulsoft.toNumber():0)}},_.getFilterData=function(t,r,i){try{if(r.item==y.Expression){var n=i.substr(0,1).toLowerCase()+i.substr(1);if(null!=t[i])return t[i]();if(null!=t[n])return t[n]();var o=new C,a;return o.name="*Chart_Filter*",o.page=t.pages.getByIndex(0),w.parseTextValue("{"+r.value+"}",o)}switch(r.dataType){case g.String:return r.value;case g.Numeric:return null!=r.value?r.value.stimulsoft.toNumber():0;case g.DateTime:var s=p.fromString(r.value);if(null!=s)return s;break;case g.Boolean:return"true"==r.value.toLowerCase()}}catch(t){e.System.StiError.showError(t.message,!1)}return null},_.getFilterResult=function(t,r,i,n,o,a,s,l,u){if(t.item==y.Expression)return u.stimulsoft.toBoolean();var c=null;switch(t.item){case y.Argument:c=r;break;case y.Value:c=i;break;case y.ValueEnd:c=n;break;case y.ValueOpen:c=o;break;case y.ValueClose:c=a;break;case y.ValueLow:c=s;break;case y.ValueHigh:c=l;break}var h=!1;if(null!=c){if(t.dataType==g.Numeric)c=null==c?0:c.stimulsoft.toNumber();else if(t.dataType==g.DateTime){var f=p.fromString(c.toString(),!1);c=null!=f?f:p.fromOADate(c.stimulsoft.toNumber())}var m=c;if(null!=m&&null!=u){c.stimulsoft.getType()!=u.stimulsoft.getType()&&(c=c.toString(),u=u.toString(),m=c);try{switch(t.condition){case S.EqualTo:return 0==m.stimulsoft.compareTo(u);case S.NotEqualTo:return 0!=m.stimulsoft.compareTo(u);case S.GreaterThan:return 1==m.stimulsoft.compareTo(u);case S.GreaterThanOrEqualTo:return m.stimulsoft.compareTo(u)>=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;a<r.length;a++)if(!f.isDigit(r[a])&&!f.isWhitespace(r[a])){o=r[a];break}var s=r.split(o);if(3==s.length||4==s.length)try{i=3==s.length?m.fromArgb(parseInt(s[0].trim()),parseInt(s[1].trim()),parseInt(s[2].trim())):m.fromArgb(parseInt(s[0].trim()),parseInt(s[1].trim()),parseInt(s[2].trim()),parseInt(s[3].trim()))}catch(i){e.System.StiError.showError(i,!1);var l=n.format("Can't get color from {0}",r);t.StiLogService.write1("StiChartHelper.ConvertStringToColor "+l)}else try{var u=parseInt(r)}catch(i){e.System.StiError.showError(i,!1);var l=n.format("Can't get color from {0}",r);t.StiLogService.write1("StiChartHelper.ConvertStringToColor "+l)}}return i},_.createChart=function(t,a){var s,l,u,p,f,S,g,b,v,C,w,x,_,A,L,O,P,B,R,k,T,j,F,I,D,N,M=new d,E=!1,V=0;while(V<a.series.count){var G=a.series.getByIndex(V);this.setTitle(t,V,G),G.values=this.checkValueNaN(this.getValues(t,G));var X=a.series.getByIndex(V).stimulsoft.as(r.StiGanttSeries);null!=X&&(X.valuesEnd=this.getValuesEnd(t,X,X.valueDataColumnEnd,X.invokeGetListOfValuesEnd,X.invokeGetValueEnd));var z=a.series.getByIndex(V).stimulsoft.as(r.StiRangeSeries);null!=z&&(z.valuesEnd=this.getValuesEnd(t,z,z.valueDataColumnEnd,z.invokeGetListOfValuesEnd,z.invokeGetValueEnd));var J=a.series.getByIndex(V).stimulsoft.as(r.StiSteppedRangeSeries);null!=J&&(J.valuesEnd=this.getValuesEnd(t,J,J.valueDataColumnEnd,J.invokeGetListOfValuesEnd,J.invokeGetValueEnd));var H=a.series.getByIndex(V).stimulsoft.as(r.StiRangeBarSeries);null!=H&&(H.valuesEnd=this.getValuesEnd(t,H,H.valueDataColumnEnd,H.invokeGetListOfValuesEnd,H.invokeGetValueEnd));var W=a.series.getByIndex(V).stimulsoft.as(r.StiSplineRangeSeries);null!=W&&(W.valuesEnd=this.getValuesEnd(t,H,W.valueDataColumnEnd,W.invokeGetListOfValuesEnd,W.invokeGetValueEnd));var Y=a.series.getByIndex(V).stimulsoft.as(r.StiCandlestickSeries);null!=Y&&(Y.valuesHigh=this.getValuesHigh(t,Y),Y.valuesLow=this.getValuesLow(t,Y),Y.valuesClose=this.getValuesClose(t,Y),Y.valuesOpen=this.getValuesOpen(t,Y));var Z=a.series.getByIndex(V).stimulsoft.as(r.StiBubbleSeries);null!=Z&&(Z.weights=this.getWeights(t,Z));var q=G.stimulsoft.as(r.StiPieSeries);if(null!=q&&this.setCutPieList(t,q),t.cacheValues(!0),G.arguments=this.getArguments(t,G),G.tags=this.getTags(t,G),G.hyperlinks=this.getHyperlinks(t,G),G.toolTips=this.getToolTips(t,G),this.checkParetoValues(G),G.stimulsoft.is(r.StiHistogramSeries)){var U=G.chart.area.xAxis.labels.formatService;r.StiHistogramHelper.checkValuesAndArguments(G,U)}t.cacheValues(!1);var K=this.getAutoSeriesKeysFromAutoSeriesKeyDataColumn(t,G),Q=this.getAutoSeriesTitleFromAutoSeriesTitleDataColumn(t,G),$=this.getAutoSeriesColorFromautoSeriesColorDataColumn(t,G);if(G.sortBy!=r.StiSeriesSortType.None||G.filters.count>0||K.length>0){for(var ee=G.values.length>G.arguments.length?G.values.length:G.arguments.length,te=[],re=0;re<ee;re++){var ie=G.values.length>re?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;re<Ze;re++)Ee[re]=re.toString()}var $e=new d;try{for(var et=(R=void 0,__values(K)),tt=et.next();!tt.done;tt=et.next()){var oe=tt.value;$e.set(oe,oe)}}catch(e){R={error:e}}finally{try{tt&&!tt.done&&(k=et.return)&&k.call(et)}finally{if(R)throw R.error}}var rt=i.create(String,$e.count);$e.keys.copyTo(rt,0);var it={ref:rt};this.sortArray(it),rt=it.ref;for(var nt=i.create2(r.StiDataItem,Ee.length,rt.length),ot=new d,re=0;re<Ee.length;re++)ot.set(Ee[re],re);for(var at=new d,re=0;re<rt.length;re++)at.set(rt[re],re);var st=new d,lt=new d;try{for(var ut=(T=void 0,__values(te)),ct=ut.next();!ct.done;ct=ut.next()){var Oe=ct.value,oe=this.getKey(Oe.key),ne=Oe.argument;null!=G.arguments&&0!=G.arguments.length||(ne=Me.get(Oe));var ht=at.get(oe),pt=ot.get(ne),Ye;if(null!=Oe.title?st.set(oe,Oe.title):st.set(oe,Oe.key),lt.set(oe,Oe.color),null!=nt[pt][ht])nt[pt][ht].push(Oe);else(Ye=[]).push(Oe),nt[pt][ht]=Ye}}catch(e){T={error:e}}finally{try{ct&&!ct.done&&(j=ut.return)&&j.call(ut)}finally{if(T)throw T.error}}var ft=null;null!=Z&&(ft=Z.clone());for(var re=0;re<rt.length;re++){var oe=rt[re],mt=null;0==re?mt=G:(mt=G.clone(),a.series.insert(V+re,mt)),mt.coreTitle=st.get(oe);var se=lt.get(oe);M.set(mt,se);for(var St=[],gt=[],yt=[],dt=[],bt=[],vt=[],Ct=0,wt=0;wt<Ee.length;wt++){var Ye;if(null==(Ye=nt[wt][re])){if(mt.stimulsoft.is(r.IStiScatterSeries))continue;St.push(null),dt.push(0),bt.push(null),vt.push(null),mt.stimulsoft.is(r.IStiRangeSeries)&>.push(null),yt.push(Ee[wt]),Ct++}else try{for(var xt=(F=void 0,__values(Ye)),_t=xt.next();!_t.done;_t=xt.next()){var At=_t.value,ie=null,Lt=mt.stimulsoft.is(r.IStiScatterSeries);if(null!=At&&null!=At.value&&At.value.stimulsoft.is(Number)&&(ie=At.value.stimulsoft.toNumber(),Lt=!1),mt.stimulsoft.is(r.IStiScatterSeries)&&null==Ee[wt])continue;St.push(ie),Lt||yt.push(Ee[wt]),mt.stimulsoft.is(r.IStiRangeSeries)&>.push(At.valueEnd.stimulsoft.toNumber()),null!=ft&&dt.push(At.weight.stimulsoft.toNumber()),null!=At.toolTip&&bt.push(At.toolTip.toString()),null!=At.tag&&vt.push(At.tag),Ct++}}catch(e){F={error:e}}finally{try{_t&&!_t.done&&(I=xt.return)&&I.call(xt)}finally{if(F)throw F.error}}}var Ot=i.create(Number,St.length);St.stimulsoft.copyTo(Ot),mt.values=Ot;var Pt=i.create(Object,yt.length);if(yt.stimulsoft.copyTo(Pt),mt.arguments=Pt,mt.stimulsoft.is(r.IStiRangeSeries)){var Bt=i.create(Number,gt.length);gt.stimulsoft.copyTo(Bt),mt.stimulsoft.as(r.IStiRangeSeries).valuesEnd=Bt}if(mt.stimulsoft.is(r.StiBubbleSeries)){var Rt=i.create(Number,dt.length);dt.stimulsoft.copyTo(Rt),mt.weights=Rt}mt.toolTips=bt.stimulsoft.toArray(),mt.tags=vt.stimulsoft.toArray(),this.checkArgumentsDateTimeStep(mt),this.createValuesTopN(mt),this.checkWaterfallTotal(mt),mt.filters=G.filters,E=!0}V+=rt.length-1}}else this.checkArgumentsDateTimeStep(G),this.createValuesTopN(G),this.checkWaterfallTotal(G);V++}if(e["StiOptions"].Engine.allowInvokeProcessChartEventForTemplateOfChart&&a.invokeEvents(),E&&e["StiOptions"].Engine.applyStylesInAutoSeries){a.series.applyStyle(a.style);var re=0;try{for(var kt=__values(a.series.list),Tt=kt.next();!Tt.done;Tt=kt.next()){var G=Tt.value,se=this.convertStringToColor(M.get(G)),jt=new o(re,G,null);null!=se&&(jt.color=se),G.invokeNewAutoSeries(jt),null!=jt.color&&jt.color.stimulsoft.is(m)&&G.core.applyStyle(a.style,jt.color),re++}}catch(e){D={error:e}}finally{try{Tt&&!Tt.done&&(N=kt.return)&&N.call(kt)}finally{if(D)throw D.error}}}},_.getShorterListPoints=function(e){for(var t=[],i=0;i<e.values.length;i++)t[i]=new v(e.values[i],i);for(var n=[.3,.6,1,5,9,15,20,25,30,40],o=[],a=[],i=0;i<e.values.length;i++){if((o=r.StiSimplifyHelper.simplify(t,n[i],!0)).length/t.length<.02&&o.length<900&&null!=a){o=a;break}a=o}return o},_.checkParetoValues=function(e){var t=e.stimulsoft.as(r.StiParetoSeries);if(null!=t){for(var i=new x,n=new x,o=0;o<e.values.length;o++){var a=e.values[o];a>0&&(i.push(a),null!=e.arguments&&o<e.arguments.length?n.push(e.arguments[o]):n.push(o+1))}t.values=i.stimulsoft.toArray(),t.arguments=n.stimulsoft.toArray()}},_.checkValueNaN=function(e){for(var t=0;t<e.length;t++)null!=e[t]&&isNaN(e[t])&&(e[t]=null);return e},_.checkArgumentsDateTimeStep=function(e){var t=e.arguments;if(e.chart.area.stimulsoft.is(r.StiAxisArea)){var n=e.chart.area.xAxis.dateTimeStep,o=n.step,a=n.numberOfValues;if(this.isArgumentsDateTime(t)&&o!=r.StiTimeDateStep.None){for(var s=i.create(p,t.length),l=0;l<t.length;l++)s[l]=p.fromString(t[l].toString());for(var u=this.maximumDate(s),c=this.minimumDate(s),h=Math.trunc(this.getTotalTimeSpans(o,u,c))+1,f=[],m=[],S=c,g=this.getNextDate(c,o),l=0;l<h;l++){for(var y=(g.ticks-S.ticks)/a,d=new b(y/2),v=0;v<a;v++){var C=new b(y*v);if(C.ticks>u.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;l<L.length;l++){if(null!=L[l]&&null==B){O=l,B=L[l];continue}if(null!=L[l]&&null!=B){P=l;for(var k=((B=L[O])-(R=L[P]))/(P-O),T=O+1;T<P;T++)n.interpolation?L[T]=L[T-1]-k:L[T]=0;O=0,B=null,l--}}e.arguments=A,e.values=L}}},_.checkWaterfallTotal=function(e){var t=e.stimulsoft.as(r.StiWaterfallSeries);if(null!=t&&t.total.visible){for(var i=[],n=[],o=0,a=0;a<t.values.length;a++)i.push(t.values[a]),a<t.arguments.length?n.push(t.arguments[a]):n.push(a),o+=t.values[a];i.push(o),n.push(t.total.text),t.values=i,t.arguments=n}},_.createValuesTopN=function(e){if(e.topN.mode!=r.StiTopNMode.None&&e.values.length>e.topN.count){for(var t=e.topN.count,n=e.values.stimulsoft.clone(),o=i.create(Number,e.values.length),a=0;a<e.values.length;a++)o[a]=a;i.sti_sort(n),e.topN.mode==r.StiTopNMode.Top&&(i.reverse(n),i.reverse(o));var s=i.create(Number,t),l=i.create(Number,t);i.copy(n,0,s,t),i.copy(o,0,l,t);for(var u=[],c=[],h=0,p=0;p<e.values.length;p++)this.findIndex(l,p)?(u.push(e.values[p]),p<e.arguments.length&&c.push(e.arguments[p])):h+=e.values[p];e.topN.showOthers&&(e.stimulsoft.is(r.StiClusteredBarSeries)?(u.stimulsoft.insert(0,h),c.stimulsoft.insert(0,e.topN.othersText)):(u.push(h),c.push(e.topN.othersText)));var f=i.create(Number,u.length);u.stimulsoft.copyTo(f);var m=i.create(Object,c.length);c.stimulsoft.copyTo(m),e.values=f,e.arguments=m}},_.getNextDate=function(e,t){switch(t){case r.StiTimeDateStep.Second:return e.addSeconds(1);case r.StiTimeDateStep.Minute:return e.addMinutes(1);case r.StiTimeDateStep.Day:return e.addDays(1);case r.StiTimeDateStep.Hour:return e.addHours(1);case r.StiTimeDateStep.Month:return e.addMonths(1);case r.StiTimeDateStep.Year:return e.addYears(1)}return e},_.getKey=function(e){var t=e.stimulsoft.toNumber();if(!isNaN(t))return t.toString();return e.toString()},_.sortArray=function(e){for(var t,r,n,o,a=e.ref,s=[],l=[],u=0;u<a.length;u++){var c=a[u].stimulsoft.toNumber();isNaN(c)?l.push(a[u]):s.push(c)}s.sort(),l.sort();var h=i.create(String,a.length),p=0;try{for(var f=__values(s),m=f.next();!m.done;m=f.next()){var c=m.value;h[p]=c.toString(),p++}}catch(e){t={error:e}}finally{try{m&&!m.done&&(r=f.return)&&r.call(f)}finally{if(t)throw t.error}}try{for(var S=__values(l),g=S.next();!g.done;g=S.next()){var y=g.value;h[p]=y,p++}}catch(e){n={error:e}}finally{try{g&&!g.done&&(o=S.return)&&o.call(S)}finally{if(n)throw n.error}}a=h,e.ref=a},_.findIndex=function(e,t){for(var r=0;r<e.length;r++)if(e[r]==t)return!0;return!1},_.getValueForDate=function(e,t,r,i){for(var n=0,o=0,a=null,s=0;s<r.length;s++){var l=r[s];l>e&&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)<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},_.getAutoSeriesColorFromautoSeriesColorDataColumn=function(e,t){if(null!=t.autoSeriesColorDataColumn&&t.autoSeriesColorDataColumn.trim().length>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;o<r.count;o++){var a;a=null==(a=h.getDataFromDataColumn(e.report.dictionary,t.autoSeriesColorDataColumn))?"":a.toString(),n[o]=a,r.next()}return r.restoreState("ChartRender_DataColumn"),n}var s=h.getBusinessObjectFromDataColumn(e.report.dictionary,t.autoSeriesColorDataColumn);if(null!=s){s.saveState("ChartRender_DataColumn");var n=i.create(String,s.count);s.first();for(var o=0;o<s.count;o++){var a;a=null==(a=h.getDataFromBusinessObject(e.report.dictionary,t.autoSeriesColorDataColumn))?"":a.toString(),n[o]=a,s.next()}return s.restoreState("ChartRender_DataColumn"),n}}return[]},_.getAutoSeriesTitleFromAutoSeriesTitleDataColumn=function(e,t){if(null!=t.autoSeriesTitleDataColumn&&t.autoSeriesTitleDataColumn.trim().length>0){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;o<r.count;o++){var a;a=null==(a=h.getDataFromDataColumn(e.report.dictionary,t.autoSeriesTitleDataColumn))?"":a.toString(),n[o]=a,r.next()}return r.restoreState("ChartRender_DataColumn"),n}var s=h.getBusinessObjectFromDataColumn(e.report.dictionary,t.autoSeriesTitleDataColumn);if(null!=s){s.saveState("ChartRender_DataColumn");var n=i.create(String,s.count);s.first();for(var o=0;o<s.count;o++){var a;a=null==(a=h.getDataFromBusinessObject(e.report.dictionary,t.autoSeriesTitleDataColumn))?"":a.toString(),n[o]=a,s.next()}return s.restoreState("ChartRender_DataColumn"),n}}return[]},_.getAutoSeriesKeysFromAutoSeriesKeyDataColumn=function(e,t){if(null!=t.autoSeriesKeyDataColumn&&t.autoSeriesKeyDataColumn.trim().length>0){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;o<r.count;o++){var a;a=null==(a=h.getDataFromDataColumn(e.report.dictionary,t.autoSeriesKeyDataColumn))?"":a.toString(),n[o]=a,r.next()}return r.restoreState("ChartRender_DataColumn"),n}var s=h.getBusinessObjectFromDataColumn(e.report.dictionary,t.autoSeriesKeyDataColumn);if(null!=s){s.saveState("ChartRender_DataColumn");var n=i.create(String,s.count);s.first();for(var o=0;o<s.count;o++){var a;a=null==(a=h.getDataFromBusinessObject(e.report.dictionary,t.autoSeriesKeyDataColumn))?"":a.toString(),n[o]=a,s.next()}return s.restoreState("ChartRender_DataColumn"),n}}return[]},_.setTitle=function(e,t,r){var i=new a;i.series=r,i.index=t,r.invokeGetTitle(e,i),n.isNullOrEmpty(i.value)||(r.coreTitle=i.value)},_.setCutPieList=function(e,t){var i=new u;t.invokeGetCutPieList(e,i),n.isNullOrEmpty(i.value)||(t.cutPieListValues=r.StiSeries.getValuesFromString(i.value))},_.getArguments=function(e,t){var r=this.getArgumentsFromListOfArguments(e,t);if(null!=r)return r;if(null!=(r=this.getArgumentsFromArgumentDataColumn(e,t)))return r;if(null!=(r=this.getArgumentsFromArgumentExpression(e,t)))return r;return[]},_.getArgumentsFromArgumentExpression=function(e,t){var r=i.create(Object,e.count);e.first();for(var n=0;n<e.count;n++){var o=new l;t.invokeGetArgument(e,o),r[n]=o.value,e.next()}return r},_.getArgumentsFromArgumentDataColumn=function(e,t){var r,n;if(null!=t.argumentDataColumn&&t.argumentDataColumn.trim().length>0){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;s<o.count;s++)a[s]=h.getDataFromDataColumn(e.report.dictionary,t.argumentDataColumn),null!=a&&(null===(r=a[s])||void 0===r?void 0:r.stimulsoft.is(p))&&(t.core.isDateTimeArguments=!0),o.next();return o.restoreState("ChartRender_DataColumn"),a}var l=h.getBusinessObjectFromDataColumn(e.report.dictionary,t.argumentDataColumn);if(null!=l){l.saveState("ChartRender_DataColumn");var a=i.create(Object,l.count);l.first();for(var s=0;s<l.count;s++)a[s]=h.getDataFromBusinessObject(e.report.dictionary,t.argumentDataColumn),(null===(n=a[s])||void 0===n?void 0:n.stimulsoft.is(p))&&(t.core.isDateTimeArguments=!0),l.next();return l.restoreState("ChartRender_DataColumn"),a}}return null},_.getArgumentsFromListOfArguments=function(e,t){var i=new u;if(t.invokeGetListOfArguments(e,i),null!=i.value&&i.value.length>0)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;n<e.count;n++){var o=new u;o.value="0",t.invokeGetValue(e,o),r[n]=o.value.stimulsoft.toNumber(),e.next()}return r},_.getValuesFromValueDataColumn=function(e,t){if(null!=t.valueDataColumn&&t.valueDataColumn.trim().length>0){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;a<n.count;a++){var l=h.getDataFromDataColumn(e.report.dictionary,t.valueDataColumn);t.stimulsoft.is(r.StiGanttSeries)&&!l.stimulsoft.is(p)&&null!=p.fromString(l.toString(),!1)&&(l=p.fromString(l.toString()));var u=null;null!=l&&l.stimulsoft.is(p)?(u=l.toOADate2(!1),t.core.isDateTimeValues=!0):null!=l&&l!=s.value&&(u=l.stimulsoft.toNumber()),o[a]=u,n.next()}return n.restoreState("ChartRender_DataColumn"),o}var c=h.getBusinessObjectFromDataColumn(e.report.dictionary,t.valueDataColumn);if(null!=c){c.saveState("ChartRender_DataColumn");var o=i.create(Number,c.count);c.first();for(var a=0;a<c.count;a++){var l;(l=h.getDataFromBusinessObject(e.report.dictionary,t.valueDataColumn)).stimulsoft.is(p)||null==p.fromString(l.toString(),!1)||(l=p.fromString(l.toString()));var u=null;l.stimulsoft.is(p)?(t.core.isDateTimeValues=!0,u=l.toOADate2(!1)):null!=l&&l!=s.value&&(u=l.stimulsoft.toNumber()),o[a]=u,c.next()}return c.restoreState("ChartRender_DataColumn"),o}}return null},_.getValuesFromListOfValues=function(e,t){var i=new u;if(t.invokeGetListOfValues(e,i,t),null!=i.value&&i.value.length>0)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;o<e.count;o++){var a=new u;a.value="0",t(e,a,r),n[o]=a.value.stimulsoft.toNumber(),e.next()}return n},_.getValuesEndFromValueDataColumnEnd=function(e,t,n){if(null!=n&&n.trim().length>0){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;l<o.count;l++){var u=h.getDataFromDataColumn(e.report.dictionary,n);t.stimulsoft.is(r.StiGanttSeries)&&!u.stimulsoft.is(p)&&null!=p.fromString(u.toString(),!1)&&(u=p.fromString(u.toString()));var c=null;u.stimulsoft.is(p)?(t.core.isDateTimeValues=!0,c=u.toOADate2(!1)):null!=u&&u!=s.value&&(c=u.stimulsoft.toNumber()),a[l]=c,o.next()}return o.restoreState("ChartRender_DataColumn"),a}var f=h.getBusinessObjectFromDataColumn(e.report.dictionary,n);if(null!=f){f.saveState("ChartRender_DataColumn");var a=i.create(Number,f.count);f.first();for(var l=0;l<f.count;l++){var u;(u=h.getDataFromBusinessObject(e.report.dictionary,n)).stimulsoft.is(p)||null==p.fromString(u.toString(),!1)||(u=p.fromString(u.toString()));var c=null;u.stimulsoft.is(p)?(t.core.isDateTimeValues=!0,c=u.toOADate2(!1)):null!=u&&u!=s.value&&(c=u.stimulsoft.toNumber()),a[l]=c,f.next()}return f.restoreState("ChartRender_DataColumn"),a}}return null},_.getValuesEndFromListOfValuesEnd=function(e,t,i){var n=new u;if(i(e,n,t),null!=n.value&&n.value.length>0)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;n<e.count;n++){var o=new u;o.value="0",t.invokeGetValueOpen(e,o),r[n]=o.value.stimulsoft.toNumber(),e.next()}return r},_.getValuesOpenFromValueDataColumnOpen=function(e,t){if(null!=t.valueDataColumnOpen&&t.valueDataColumnOpen.trim().length>0){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;o<r.count;o++){var a;(a=h.getDataFromDataColumn(e.report.dictionary,t.valueDataColumnOpen)).stimulsoft.is(p)||null==p.fromString(a.toString(),!1)||(a=p.fromString(a.toString()));var s=0;a.stimulsoft.is(p)?(t.core.isDateTimeValues=!0,s=a.toOADate2(!1)):s=a.stimulsoft.toNumber(),n[o]=s,r.next()}return r.restoreState("ChartRender_DataColumn"),n}var l=h.getBusinessObjectFromDataColumn(e.report.dictionary,t.valueDataColumnOpen);if(null!=l){l.saveState("ChartRender_DataColumn");var n=i.create(Number,l.count);l.first();for(var o=0;o<l.count;o++){var a;(a=h.getDataFromBusinessObject(e.report.dictionary,t.valueDataColumnOpen)).stimulsoft.is(p)||null==p.fromString(a.toString(),!1)||(a=p.fromString(a.toString()));var s=0;a.stimulsoft.is(p)?(t.core.isDateTimeValues=!0,s=a.toOADate2(!1)):s=a.stimulsoft.toNumber(),n[o]=s,l.next()}return l.restoreState("ChartRender_DataColumn"),n}}return null},_.getValuesOpenFromListOfValuesOpen=function(e,t){var i=new u;if(t.invokeGetListOfValuesOpen(e,i),null!=i.value&&i.value.length>0)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;n<e.count;n++){var o=new u;o.value="0",t.invokeGetValueClose(e,o),r[n]=o.value.stimulsoft.toNumber(),e.next()}return r},_.getValuesCloseFromValueDataColumnClose=function(e,t){if(null!=t.valueDataColumnClose&&t.valueDataColumnClose.trim().length>0){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;o<r.count;o++){var a;(a=h.getDataFromDataColumn(e.report.dictionary,t.valueDataColumnClose)).stimulsoft.is(p)||null==p.fromString(a.toString(),!1)||(a=p.fromString(a.toString()));var s=0;a.stimulsoft.is(p)?(t.core.isDateTimeValues=!0,s=a.toOADate2(!1)):s=a.stimulsoft.toNumber(),n[o]=s,r.next()}return r.restoreState("ChartRender_DataColumn"),n}var l=h.getBusinessObjectFromDataColumn(e.report.dictionary,t.valueDataColumnClose);if(null!=l){l.saveState("ChartRender_DataColumn");var n=i.create(Number,l.count);l.first();for(var o=0;o<l.count;o++){var a;(a=h.getDataFromBusinessObject(e.report.dictionary,t.valueDataColumnClose)).stimulsoft.is(p)||null==p.fromString(a.toString(),!1)||(a=p.fromString(a.toString()));var s=0;a.stimulsoft.is(p)?(t.core.isDateTimeValues=!0,s=a.toOADate2(!1)):s=a.stimulsoft.toNumber(),n[o]=s,l.next()}return l.restoreState("ChartRender_DataColumn"),n}}return null},_.getValuesCloseFromListOfValuesClose=function(e,t){var i=new u;if(t.invokeGetListOfValuesClose(e,i),null!=i.value&&i.value.length>0)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;n<e.count;n++){var o=new u;o.value="0",t.invokeGetValueHigh(e,o),r[n]=o.value.stimulsoft.toNumber(),e.next()}return r},_.getValuesHighFromValueDataColumnHigh=function(e,t){if(null!=t.valueDataColumnHigh&&t.valueDataColumnHigh.trim().length>0){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;o<r.count;o++){var a;(a=h.getDataFromDataColumn(e.report.dictionary,t.valueDataColumnHigh)).stimulsoft.is(p)||null==p.fromString(a.toString(),!1)||(a=p.fromString(a.toString()));var s=0;a.stimulsoft.is(p)?(t.core.isDateTimeValues=!0,s=a.toOADate2(!1)):s=a.stimulsoft.toNumber(),n[o]=s,r.next()}return r.restoreState("ChartRender_DataColumn"),n}var l=h.getBusinessObjectFromDataColumn(e.report.dictionary,t.valueDataColumnHigh);if(null!=l){l.saveState("ChartRender_DataColumn");var n=i.create(Number,l.count);l.first();for(var o=0;o<l.count;o++){var a;(a=h.getDataFromBusinessObject(e.report.dictionary,t.valueDataColumnHigh)).stimulsoft.is(p)||null==p.fromString(a.toString(),!1)||(a=p.fromString(a.toString()));var s=0;a.stimulsoft.is(p)?(t.core.isDateTimeValues=!0,s=a.toOADate2(!1)):s=a.stimulsoft.toNumber(),n[o]=s,l.next()}return l.restoreState("ChartRender_DataColumn"),n}}return null},_.getValuesHighFromListOfValuesHigh=function(e,t){var i=new u;if(t.invokeGetListOfValuesHigh(e,i),null!=i.value&&i.value.length>0)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;n<e.count;n++){var o=new u;o.value="0",t.invokeGetValueLow(e,o),r[n]=o.value.stimulsoft.toNumber(),e.next()}return r},_.getValuesLowFromValueDataColumnLow=function(e,t){if(null!=t.valueDataColumnLow&&t.valueDataColumnLow.trim().length>0){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;o<r.count;o++){var a;(a=h.getDataFromDataColumn(e.report.dictionary,t.valueDataColumnLow)).stimulsoft.is(p)||null==p.fromString(a.toString(),!1)||(a=p.fromString(a.toString()));var s=0;a.stimulsoft.is(p)?(t.core.isDateTimeValues=!0,s=a.toOADate2(!1)):s=a.stimulsoft.toNumber(),n[o]=s,r.next()}return r.restoreState("ChartRender_DataColumn"),n}var l=h.getBusinessObjectFromDataColumn(e.report.dictionary,t.valueDataColumnLow);if(null!=l){l.saveState("ChartRender_DataColumn");var n=i.create(Number,l.count);l.first();for(var o=0;o<l.count;o++){var a;(a=h.getDataFromBusinessObject(e.report.dictionary,t.valueDataColumnLow)).stimulsoft.is(p)||null==p.fromString(a.toString(),!1)||(a=p.fromString(a.toString()));var s=0;a.stimulsoft.is(p)?(t.core.isDateTimeValues=!0,s=a.toOADate2(!1)):s=a.stimulsoft.toNumber(),n[o]=s,l.next()}return l.restoreState("ChartRender_DataColumn"),n}}return null},_.getValuesLowFromListOfValuesLow=function(e,t){var i=new u;if(t.invokeGetListOfValuesLow(e,i),null!=i.value&&i.value.length>0)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;n<e.count;n++){var o=new u;o.value="0",t.invokeGetWeight(e,o),r[n]=o.value.stimulsoft.toNumber(),e.next()}return r},_.getWeightsFromWeightDataColumn=function(e,t){if(null!=t.weightDataColumn&&t.weightDataColumn.trim().length>0){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;o<r.count;o++){var a;(a=h.getDataFromDataColumn(e.report.dictionary,t.weightDataColumn)).stimulsoft.is(p)||null==p.fromString(a.toString(),!1)||(a=p.fromString(a.toString()));var s=0;a.stimulsoft.is(p)?(t.core.isDateTimeValues=!0,s=a.toOADate2(!1)):s=a.stimulsoft.toNumber(),n[o]=s,r.next()}return r.restoreState("ChartRender_DataColumn"),n}var l=h.getBusinessObjectFromDataColumn(e.report.dictionary,t.weightDataColumn);if(null!=l){l.saveState("ChartRender_DataColumn");var n=i.create(Number,l.count);l.first();for(var o=0;o<l.count;o++){var a;(a=h.getDataFromBusinessObject(e.report.dictionary,t.weightDataColumn)).stimulsoft.is(p)||null==p.fromString(a.toString(),!1)||(a=p.fromString(a.toString()));var s=0;a.stimulsoft.is(p)?(t.core.isDateTimeValues=!0,s=a.toOADate2(!1)):s=a.stimulsoft.toNumber(),n[o]=s,l.next()}return l.restoreState("ChartRender_DataColumn"),n}}return null},_.getWeightsFromListOfWeights=function(e,t){var i=new u;if(t.invokeGetListOfWeights(e,i,t),null!=i.value&&i.value.length>0)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;n<e.count;n++){var o=new l;o.value=null,t.invokeGetHyperlink(e,o),null!=o.value&&(r[n]=o.value.toString()),e.next()}return r},_.getHyperlinksFromHyperlinkDataColumn=function(e,t){if(null!=t.hyperlinkDataColumn&&t.hyperlinkDataColumn.trim().length>0){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;o<r.count;o++){var a;null!=(a=h.getDataFromDataColumn(e.report.dictionary,t.hyperlinkDataColumn))&&(n[o]=a.toString()),r.next()}return r.restoreState("ChartRender_DataColumn"),n}var s=h.getBusinessObjectFromDataColumn(e.report.dictionary,t.hyperlinkDataColumn);if(null!=s){s.saveState("ChartRender_DataColumn");var n=i.create(String,s.count);s.first();for(var o=0;o<s.count;o++){var a;null!=(a=h.getDataFromBusinessObject(e.report.dictionary,t.hyperlinkDataColumn))&&(n[o]=a.toString()),s.next()}return s.restoreState("ChartRender_DataColumn"),n}}return null},_.getHyperlinksFromListOfHyperlinks=function(e,t){var i=new u;if(t.invokeGetListOfHyperlinks(e,i),null!=i.value&&i.value.length>0)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;n<e.count;n++){var o=new l;o.value=null,t.invokeGetTag(e,o),r[n]=o.value,e.next()}return r},_.getTagsFromTagDataColumn=function(e,t){if(null!=t.tagDataColumn&&t.tagDataColumn.trim().length>0){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;o<r.count;o++){var a=h.getDataFromDataColumn(e.report.dictionary,t.tagDataColumn);n[o]=a,r.next()}return r.restoreState("ChartRender_DataColumn"),n}var s=h.getBusinessObjectFromDataColumn(e.report.dictionary,t.tagDataColumn);if(null!=s){s.saveState("ChartRender_DataColumn");var n=i.create(Object,s.count);s.first();for(var o=0;o<s.count;o++)n[o]=h.getDataFromBusinessObject(e.report.dictionary,t.tagDataColumn),s.next();return s.restoreState("ChartRender_DataColumn"),n}}return null},_.getTagsFromListOfTags=function(e,t){var i=new u;if(t.invokeGetListOfTags(e,i),null!=i.value&&i.value.length>0)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;n<e.count;n++){var o=new l;o.value=null,t.invokeGetToolTip(e,o),null!=o.value&&(r[n]=o.value.toString()),e.next()}return r},_.getToolTipsFromToolTipDataColumn=function(e,t){if(null!=t.toolTipDataColumn&&t.toolTipDataColumn.trim().length>0){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;o<r.count;o++){var a;null!=(a=h.getDataFromDataColumn(e.report.dictionary,t.toolTipDataColumn))&&(n[o]=a.toString()),r.next()}return r.restoreState("ChartRender_DataColumn"),n}var s=h.getBusinessObjectFromDataColumn(e.report.dictionary,t.toolTipDataColumn);if(null!=s){s.saveState("ChartRender_DataColumn");var n=i.create(String,s.count);s.first();for(var o=0;o<s.count;o++){var a;null!=(a=h.getDataFromBusinessObject(e.report.dictionary,t.toolTipDataColumn))&&(n[o]=a.toString()),s.next()}return s.restoreState("ChartRender_DataColumn"),n}}return null},_.getToolTipsFromListOfToolTips=function(e,t){var i=new u;if(t.invokeGetListOfToolTips(e,i),null!=i.value&&i.value.length>0)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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"AllowApplyStyle":this._allowApplyStyle=i.textContent.stimulsoft.toBoolean();break;case"ColorEach":this.colorEach=i.textContent.stimulsoft.toBoolean();break;case"ShowShadow":this._showShadow=i.textContent.stimulsoft.toBoolean();break;case"BorderColor":this._borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"Brush":case"bh":this._brush=l.convertToBrush(i.textContent);break}}},h.loadFromJsonObjectInternal=function(t){var i=t.properties().firstOrDefault((function(e){return"Ident"==e.name})).value.toString(),n=e["StiOptions"].Services.chartAreas.firstOrDefault((function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==i}));if(null==n)throw r.format("Type {0} is not found!",i);var o=n.createNew();return o.loadFromJsonObject(t),o},h.loadAreaFromXml=function(e,r){switch(e.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Chart.StiClusteredColumnArea":var i=new t.StiClusteredColumnArea;return i.chart=r,i.loadFromXml(e),i;case"Stimulsoft.Report.Chart.StiLineArea":var n=new t.StiLineArea;return n.chart=r,n.loadFromXml(e),n;case"Stimulsoft.Report.Chart.StiAreaArea":var o=new t.StiAreaArea;return o.chart=r,o.loadFromXml(e),o;case"Stimulsoft.Report.Chart.StiSplineArea":var a=new t.StiSplineArea;return a.chart=r,a.loadFromXml(e),a;case"Stimulsoft.Report.Chart.StiSplineAreaArea":var s=new t.StiSplineAreaArea;return s.chart=r,s.loadFromXml(e),s;case"Stimulsoft.Report.Chart.StiStackedColumnArea":var l=new t.StiStackedColumnArea;return l.chart=r,l.loadFromXml(e),l;case"Stimulsoft.Report.Chart.StiStackedLineArea":var u=new t.StiStackedLineArea;return u.chart=r,u.loadFromXml(e),u;case"Stimulsoft.Report.Chart.StiStackedAreaArea":var c=new t.StiStackedAreaArea;return c.chart=r,c.loadFromXml(e),c;case"Stimulsoft.Report.Chart.StiStackedSplineArea":var h=new t.StiStackedSplineArea;return h.chart=r,h.loadFromXml(e),h;case"Stimulsoft.Report.Chart.StiStackedSplineAreaArea":var p=new t.StiStackedSplineAreaArea;return p.chart=r,p.loadFromXml(e),p;case"Stimulsoft.Report.Chart.StiSteppedLineArea":var f=new t.StiSteppedLineArea;return f.chart=r,f.loadFromXml(e),f;case"Stimulsoft.Report.Chart.StiSteppedAreaArea":var m=new t.StiSteppedAreaArea;return m.chart=r,m.loadFromXml(e),m;case"Stimulsoft.Report.Chart.StiFullStackedColumnArea":var S=new t.StiFullStackedColumnArea;return S.chart=r,S.loadFromXml(e),S;case"Stimulsoft.Report.Chart.StiFullStackedLineArea":var g=new t.StiFullStackedLineArea;return g.chart=r,g.loadFromXml(e),g;case"Stimulsoft.Report.Chart.StiFullStackedAreaArea":var y=new t.StiFullStackedAreaArea;return y.chart=r,y.loadFromXml(e),y;case"Stimulsoft.Report.Chart.StiFullStackedSplineArea":var d=new t.StiFullStackedSplineArea;return d.chart=r,d.loadFromXml(e),d;case"Stimulsoft.Report.Chart.StiFullStackedSplineAreaArea":var b=new t.StiFullStackedSplineAreaArea;return b.chart=r,b.loadFromXml(e),b;case"Stimulsoft.Report.Chart.StiClusteredBarArea":var v=new t.StiClusteredBarArea;return v.chart=r,v.loadFromXml(e),v;case"Stimulsoft.Report.Chart.StiStackedBarArea":var C=new t.StiStackedBarArea;return C.chart=r,C.loadFromXml(e),C;case"Stimulsoft.Report.Chart.StiFullStackedBarArea":var w=new t.StiFullStackedBarArea;return w.chart=r,w.loadFromXml(e),w;case"Stimulsoft.Report.Chart.StiPieArea":var x=new t.StiPieArea;return x.chart=r,x.loadFromXml(e),x;case"Stimulsoft.Report.Chart.StiDoughnutArea":var _=new t.StiDoughnutArea;return _.chart=r,_.loadFromXml(e),_;case"Stimulsoft.Report.Chart.StiRadarPointArea":var A=new t.StiRadarPointArea;return A.chart=r,A.loadFromXml(e),A;case"Stimulsoft.Report.Chart.StiRadarLineArea":var L=new t.StiRadarLineArea;return L.chart=r,L.loadFromXml(e),L;case"Stimulsoft.Report.Chart.StiRadarAreaArea":var O=new t.StiRadarAreaArea;return O.chart=r,O.loadFromXml(e),O;case"Stimulsoft.Report.Chart.StiGanttArea":var P=new t.StiGanttArea;return P.chart=r,P.loadFromXml(e),P;case"Stimulsoft.Report.Chart.StiScatterArea":var B=new t.StiScatterArea;return B.chart=r,B.loadFromXml(e),B;case"Stimulsoft.Report.Chart.StiBubbleArea":var R=new t.StiBubbleArea;return R.chart=r,R.loadFromXml(e),R;case"Stimulsoft.Report.Chart.StiRangeArea":var k=new t.StiRangeArea;return k.chart=r,k.loadFromXml(e),k;case"Stimulsoft.Report.Chart.StiSplineRangeArea":var T=new t.StiSplineRangeArea;return T.chart=r,T.loadFromXml(e),T;case"Stimulsoft.Report.Chart.StiSteppedRangeArea":var j=new t.StiSteppedRangeArea;return j.chart=r,j.loadFromXml(e),j;case"Stimulsoft.Report.Chart.StiRangeBarArea":var F=new t.StiRangeBarArea;return F.chart=r,F.loadFromXml(e),F;case"Stimulsoft.Report.Chart.StiCandlestickArea":var I=new t.StiCandlestickArea;return I.chart=r,I.loadFromXml(e),I;case"Stimulsoft.Report.Chart.StiStockArea":var D=new t.StiStockArea;return D.chart=r,D.loadFromXml(e),D;case"Stimulsoft.Report.Chart.StiFunnelArea":var N=new t.StiFunnelArea;return N.chart=r,N.loadFromXml(e),N;case"Stimulsoft.Report.Chart.StiFunnelWeightedSlicesArea":var M=new t.StiFunnelWeightedSlicesArea;return M.chart=r,M.loadFromXml(e),M;case"Stimulsoft.Report.Chart.StiTreemapArea":var E=new t.StiTreemapArea;return E.chart=r,E.loadFromXml(e),E;case"Stimulsoft.Report.Chart.StiPictorialArea":var V=new t.StiPictorialArea;return V.chart=r,V.loadFromXml(e),V;case"Stimulsoft.Report.Chart.StiParetoArea":var G=new t.StiParetoArea;return G.chart=r,G.loadFromXml(e),G;case"Stimulsoft.Report.Chart.StiWaterfallArea":var X=new t.StiWaterfallArea;return X.chart=r,X.loadFromXml(e),X;case"Stimulsoft.Report.Chart.StiHistogramArea":var z=new t.StiHistogramArea;return z.chart=r,z.loadFromXml(e),z}return null},Object.defineProperty(h.prototype,"componentId",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),h.prototype.clone=function(){var e=c.prototype.clone.call(this);return e.brush=this.brush.clone(),null!=this.core&&(e.core=this.core.clone(),e.core.area=e),e},h.prototype.createNew=function(){return null},h.prototype.toString=function(){return this.serviceName},h.prototype.getDefaultSeriesType=function(){return null},h.prototype.getSeriesTypes=function(){return null},h.prototype.getDefaultSeriesLabelsType=function(){return null},h.prototype.getSeriesLabelsTypes=function(){return null},Object.defineProperty(h.prototype,"serviceCategory",{get:function(){return"Chart"},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"serviceType",{get:function(){return h},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"isDefaultSeriesTypeFullStackedColumnSeries",{get:function(){return this.getDefaultSeriesType()==t.StiFullStackedColumnSeries},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"isDefaultSeriesTypeFullStackedBarSeries",{get:function(){return this.getDefaultSeriesType()==t.StiFullStackedBarSeries},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e,e&&null!=this.chart&&this.core.applyStyle(this.chart.style))},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"colorEach",{get:function(){return this._colorEach},set:function(e){this._colorEach=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"showShadow",{get:function(){return this._showShadow},set:function(e){this._showShadow=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}),h}(e.Base.Services.StiService);t.StiArea=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.JsonReportObject.IStiJsonReportObject,i=e.System.ICloneable,n=e.System.Enum,o=function(e){function o(){var r=e.call(this)||this;return r._radarStyle=t.StiRadarStyle.Circle,r.xAxis=new t.StiXRadarAxis,r.yAxis=new t.StiYRadarAxis,r.interlacingHor=new t.StiInterlacingHor,r.interlacingVert=new t.StiInterlacingVert,r.gridLinesHor=new t.StiRadarGridLinesHor,r.gridLinesVert=new t.StiRadarGridLinesVert,r}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiRadarArea||(o.implementsStiRadarArea=e.prototype.implements.call(this).concat([r,t.IStiRadarArea,t.IStiArea,i])),o.implementsStiRadarArea},o.prototype.saveToJsonObject=function(r){var i=e.prototype.saveToJsonObject.call(this,r);return i.addPropertyJObject("InterlacingHor",this._interlacingHor.saveToJsonObject(r)),i.addPropertyJObject("InterlacingVert",this._interlacingVert.saveToJsonObject(r)),i.addPropertyJObject("GridLinesHor",this._gridLinesHor.saveToJsonObject(r)),i.addPropertyJObject("GridLinesVert",this._gridLinesHor.saveToJsonObject(r)),i.addPropertyEnum("RadarStyle",t.StiRadarStyle,this._radarStyle,t.StiRadarStyle.Circle),i.addPropertyJObject("XAxis",this._xAxis.saveToJsonObject(r)),i.addPropertyJObject("YAxis",this._yAxis.saveToJsonObject(r)),i},o.prototype.loadFromJsonObject=function(r){var i,o;e.prototype.loadFromJsonObject.call(this,r);try{for(var a=__values(r.properties()),s=a.next();!s.done;s=a.next()){var l=s.value;switch(l.name){case"InterlacingHor":this._interlacingHor.loadFromJsonObject(l.value);break;case"InterlacingVert":this._interlacingVert.loadFromJsonObject(l.value);break;case"GridLinesHor":this._gridLinesHor.loadFromJsonObject(l.value);break;case"GridLinesVert":this._gridLinesVert.loadFromJsonObject(l.value);break;case"RadarStyle":this._radarStyle=n.parse(t.StiRadarStyle,l.value.toString());break;case"XAxis":this._xAxis.loadFromJsonObject(l.value),this._xAxis.stimulsoft.as(t.StiRadarAxis).jsonLoadFromJsonObjectArea&&(this._xAxis.stimulsoft.as(t.StiRadarAxis).jsonLoadFromJsonObjectArea=!1,this._xAxis.area=this);break;case"YAxis":this._yAxis.loadFromJsonObject(l.value),this._yAxis.stimulsoft.as(t.StiRadarAxis).jsonLoadFromJsonObjectArea&&(this._yAxis.stimulsoft.as(t.StiRadarAxis).jsonLoadFromJsonObjectArea=!1,this._yAxis.area=this);break}}}catch(e){i={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},o.prototype.loadFromXml=function(r){e.prototype.loadFromXml.call(this,r);for(var i=0;i<r.childNodes.length;i++){var o=r.childNodes[i];switch(o.nodeName){case"InterlacingHor":this._interlacingHor.loadFromXml(o);break;case"InterlacingVert":this._interlacingVert.loadFromXml(o);break;case"GridLinesHor":this._gridLinesHor.loadFromXml(o);break;case"GridLinesVert":this._gridLinesVert.loadFromXml(o);break;case"RadarStyle":this._radarStyle=n.parse(t.StiRadarStyle,o.textContent);break;case"XAxis":this._xAxis.loadFromXml(o),this._xAxis.area=this;break;case"YAxis":this._yAxis.loadFromXml(o),this._yAxis.area=this;break}}},o.prototype.clone=function(){var t=e.prototype.clone.call(this);return t.interlacingHor=this.interlacingHor.clone(),t.interlacingVert=this.interlacingVert.clone(),t.gridLinesHor=this.gridLinesHor.clone(),t.gridLinesVert=this.gridLinesVert.clone(),t.xAxis=this.xAxis.clone(),t.yAxis=this.yAxis.clone(),t},o.prototype.getDefaultSeriesLabelsType=function(){return t.StiNoneLabels},o.prototype.getSeriesLabelsTypes=function(){return[t.StiNoneLabels,t.StiOutsideBaseAxisLabels,t.StiOutsideEndAxisLabels,t.StiOutsideAxisLabels,t.StiValueAxisLabels]},Object.defineProperty(o.prototype,"interlacingHor",{get:function(){return this._interlacingHor},set:function(e){this._interlacingHor=e,null!=this._interlacingHor&&(this._interlacingHor.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"interlacingVert",{get:function(){return this._interlacingVert},set:function(e){this._interlacingVert=e,null!=this._interlacingVert&&(this._interlacingVert.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"gridLinesHor",{get:function(){return this._gridLinesHor},set:function(e){this._gridLinesHor=e,null!=this._gridLinesHor&&(this._gridLinesHor.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"gridLinesVert",{get:function(){return this._gridLinesVert},set:function(e){this._gridLinesVert=e,null!=this._gridLinesVert&&(this._gridLinesVert.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"radarStyle",{get:function(){return this._radarStyle},set:function(e){this._radarStyle!=e&&(this._radarStyle=e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"xAxis",{get:function(){return this._xAxis},set:function(e){this._xAxis=e,null!=this._xAxis&&(this._xAxis.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"yAxis",{get:function(){return this._yAxis},set:function(e){this._yAxis=e,null!=this._yAxis&&(this._yAxis.area=this)},enumerable:!1,configurable:!0}),o}(t.StiArea);t.StiRadarArea=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.Drawing.Rectangle,i=e.System.ICloneable,n=e.Report.Chart.IStiSeriesElement,o=function(){function e(e){this._chart=e}return e.prototype.implements=function(){return e.implementsStiChartCoreXF||(e.implementsStiChartCoreXF=[i,t.IStiApplyStyle,t.IStiChartCoreXF]),e.implementsStiChartCoreXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e.prototype.applyStyle=function(e){this.chart.style=e,this.chart.allowApplyStyle&&(this.chart.brush=e.core.chartBrush),null!=this.chart.title&&this.chart.title.core.applyStyle(e),null!=this.chart.area&&this.chart.area.core.applyStyle(e),null!=this.chart.legend&&this.chart.legend.core.applyStyle(e),null!=this.chart.seriesLabels&&this.chart.seriesLabels.core.applyStyle(e),null!=this.chart.series&&this.chart.series.applyStyle(e),null!=this.chart.constantLines&&this.chart.constantLines.applyStyle(e),null!=this.chart.strips&&this.chart.strips.applyStyle(e),null!=this.chart.table&&this.chart.table.core.applyStyle(e)},e.prototype.render=function(e,i,o){var a=new t.StiChartGeom(i),s;if(a.createChildGeoms(),o){var l=e.options.zoom;s=new r(i.x+this._chart.horSpacing*l,i.y+this._chart.vertSpacing*l,i.width-2*this._chart.horSpacing*l,i.height-2*this._chart.vertSpacing*l)}else s=i.clone();this._fullRectangle=s;var u=this._chart.title.core.render(e,this._chart.title,s);if(null!=u){switch(this._chart.title.dock){case t.StiChartTitleDock.Top:s.y+=u.clientRectangle.height,s.height-=u.clientRectangle.height;break;case t.StiChartTitleDock.Right:s.width-=u.clientRectangle.width;break;case t.StiChartTitleDock.Bottom:s.height-=u.clientRectangle.height;break;case t.StiChartTitleDock.Left:s.x+=u.clientRectangle.width,s.width-=u.clientRectangle.width;break}a.childGeoms.push(u)}var c=null,h=null,p=s.clone();if(null!=this._chart.legend&&(c=this._chart.area.core.render(e,p.clone()),null!=(h=this._chart.legend.core.render(e,c.clientRectangle.clone())))){var f,m={ref:s},S={ref:p},g={ref:f=h.clientRectangle.clone()};this.setLegendRect(e,this._chart,m,S,g),s=m.ref,f=g.ref,p=S.ref}var y=0,d=0;this._chart.table.core.showTable()&&(c=this._chart.area.core.render(e,p.clone()),y=this._chart.table.core.getWidthCellLegend(e)+c.clientRectangle.width,d=this._chart.table.core.getHeightTable(e,y),p.height-=d),null!=this._chart.area&&null!=(c=this._chart.area.core.render(e,p.clone()))&&a.childGeoms.push(c);for(var b=a.getSeriesElementGeoms(),v=0;v<b.length;v++){var C=b[v].stimulsoft.as(n);null!=C&&(C.elementIndex=v.toString())}if(this._chart.table.core.showTable()){var w=this._chart.series,x=this.chart.area;if(null!=w&&w.count>0){var _=p.x;this._chart.table.core.getWidthCellLegend(e)<c.clientRectangle.x-p.x&&(_=c.clientRectangle.x-this._chart.table.core.getWidthCellLegend(e)),x.reverseHor&&x.yRightAxis.visible&&(_=c.clientRectangle.left);var A=c.clientRectangle.bottom;this._chart.table.chart.area.stimulsoft.is(t.IStiClusteredBarArea)&&(A=p.bottom);var L=new r(_,A,y,d),O=this._chart.table.core.render(e,L);a.childGeoms.push(O)}}if(a.createChildGeoms(),null!=h){var f,m={ref:s},S={ref:p=c.clientRectangle.clone()},g={ref:f=h.clientRectangle.clone()};this.setLegendRect(e,this._chart,m,S,g),s=m.ref,f=g.ref,p=S.ref,h.clientRectangle=f.clone(),a.childGeoms.push(h)}return a},e.prototype.setLegendRect=function(e,r,i,n,o){var a=i.ref,s=n.ref,l=o.ref,u=r.horSpacing*e.options.zoom,c=r.vertSpacing*e.options.zoom;switch(r.legend.horAlignment){case t.StiLegendHorAlignment.LeftOutside:l.x=a.x,s.width-=l.width+u,s.x+=l.width+u;break;case t.StiLegendHorAlignment.Left:l.x=s.x+u;break;case t.StiLegendHorAlignment.Center:l.x=s.x+(s.width-l.width)/2;break;case t.StiLegendHorAlignment.Right:l.x=s.right-u-l.width,r.legend.showShadow&&r.legend.vertAlignment==t.StiLegendVertAlignment.BottomOutside&&(l.x-=5,s.width-=5);break;case t.StiLegendHorAlignment.RightOutside:l.x=a.right-l.width,s.width-=l.width+u,r.legend.showShadow&&(l.x-=5,s.width-=5);break}switch(r.legend.vertAlignment){case t.StiLegendVertAlignment.TopOutside:l.y=a.y,s.height-=l.height+c,s.y+=l.height+c;break;case t.StiLegendVertAlignment.Top:l.y=s.y+c;break;case t.StiLegendVertAlignment.Center:l.y=s.y+(s.height-l.height)/2;break;case t.StiLegendVertAlignment.Bottom:l.y=s.bottom-c-l.height,!r.legend.showShadow||r.legend.horAlignment!=t.StiLegendHorAlignment.LeftOutside&&r.legend.horAlignment!=t.StiLegendHorAlignment.RightOutside||(l.y-=5,s.height-=5);break;case t.StiLegendVertAlignment.BottomOutside:l.y=a.bottom-l.height,s.height-=l.height+c,r.legend.showShadow&&(l.y-=5,s.height-=5);break}r.legend.vertAlignment==t.StiLegendVertAlignment.BottomOutside||r.legend.vertAlignment==t.StiLegendVertAlignment.TopOutside?(r.legend.horAlignment==t.StiLegendHorAlignment.Left&&(l.x-=u),r.legend.horAlignment==t.StiLegendHorAlignment.Right&&(l.x+=u)):r.legend.horAlignment!=t.StiLegendHorAlignment.RightOutside&&r.legend.horAlignment!=t.StiLegendHorAlignment.LeftOutside||(r.legend.vertAlignment==t.StiLegendVertAlignment.Top&&(l.y-=c),r.legend.vertAlignment==t.StiLegendVertAlignment.Bottom&&(l.y+=c)),i.ref=a,n.ref=s,o.ref=l},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fullRectangle",{get:function(){return this._fullRectangle},enumerable:!1,configurable:!0}),e}();t.StiChartCoreXF=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.StiJson,o=e.Base.JsonReportObject.IStiJsonReportObject,a=e.System.ICloneable,s=e.System.Drawing.Color,l=function(){function l(){this._visible=!1,this._allowApplyStyle=!0,this._markerVisible=!0,this._gridLineColor=s.gray,this._gridLinesHor=!0,this._gridLinesVert=!0,this._gridOutline=!0,this._format="",this._chart=null,this.header=new r.StiChartTableHeader,this.dataCells=new r.StiChartTableDataCells,this.core=new r.StiChartTableCoreXF(this)}return l.prototype.implements=function(){return l.implementsStiChartTable||(l.implementsStiChartTable=[o,r.IStiChartTable,a]),l.implementsStiChartTable},l.prototype.saveToJsonObject=function(e){var t=new n;return t.addPropertyBool("Visible",this._visible),t.addPropertyBool("AllowApplyStyle",this._allowApplyStyle,!0),t.addPropertyBool("MarkerVisible",this._markerVisible,!0),t.addPropertyStringNullOrEmpty("GridLineColor",i.Serialize.jColor(this._gridLineColor,s.gray)),t.addPropertyBool("GridLinesHor",this._gridLinesHor,!0),t.addPropertyBool("GridLinesVert",this._gridLinesVert,!0),t.addPropertyBool("GridOutline",this._gridOutline,!0),t.addPropertyStringNullOrEmpty("Format",this._format),t.addPropertyJObject("Header",this._header.saveToJsonObject(e)),t.addPropertyJObject("DataCells",this._dataCells.saveToJsonObject(e)),t},l.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"Font":this.dataCells.font=i.Deserialize.font(a.value.toString(),this.dataCells.font);break;case"Visible":this._visible=a.value.stimulsoft.toBoolean();break;case"AllowApplyStyle":this._allowApplyStyle=a.value.stimulsoft.toBoolean();break;case"MarkerVisible":this._markerVisible=a.value.stimulsoft.toBoolean();break;case"GridLineColor":this._gridLineColor=i.Deserialize.color(a.value.toString());break;case"TextColor":this.dataCells.textColor=i.Deserialize.color(a.value.toString());break;case"GridLinesHor":this._gridLinesHor=a.value.stimulsoft.toBoolean();break;case"GridLinesVert":this._gridLinesVert=a.value.stimulsoft.toBoolean();break;case"GridOutline":this._gridOutline=a.value.stimulsoft.toBoolean();break;case"Format":this._format=a.value.toString();break;case"Header":this._header.loadFromJsonObject(a.value);break;case"DataCells":this._dataCells.loadFromJsonObject(a.value);break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},l.prototype.loadFromXml=function(t){for(var i=0;i<t.childNodes.length;i++){var n=t.childNodes[i];switch(n.nodeName){case"Font":case"fn":this.dataCells.font=e.System.Convert.toFont(n.textContent);break;case"Visible":this._visible=n.textContent.stimulsoft.toBoolean();break;case"AllowApplyStyle":this._allowApplyStyle=n.textContent.stimulsoft.toBoolean();break;case"MarkerVisible":this._markerVisible=n.textContent.stimulsoft.toBoolean();break;case"GridLineColor":this._gridLineColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"TextColor":this.dataCells.textColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"GridLinesHor":this._gridLinesHor=n.textContent.stimulsoft.toBoolean();break;case"GridLinesVert":this._gridLinesVert=n.textContent.stimulsoft.toBoolean();break;case"GridOutline":this._gridOutline=n.textContent.stimulsoft.toBoolean();break;case"Format":this._format=n.textContent;break;case"Header":var o=new r.StiChartTableHeader;o.loadFromXml(n),this._header=o;break;case"DataCells":var a=new r.StiChartTableDataCells;a.loadFromXml(n),this._dataCells=a;break}}},Object.defineProperty(l.prototype,"componentId",{get:function(){return t.StiComponentId.StiChartTable},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),l.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.font=this.font.clone(),e.header=this.header.clone(),e.dataCells=this.dataCells.clone(),null!=this.core&&(e.core=this.core.clone(),e.core.chartTable=e),e},Object.defineProperty(l.prototype,"font",{get:function(){return this.dataCells.font},set:function(e){this.dataCells.font=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"markerVisible",{get:function(){return this._markerVisible},set:function(e){this._markerVisible=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"gridLineColor",{get:function(){return this._gridLineColor},set:function(e){this._gridLineColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"textColor",{get:function(){return this.dataCells.textColor},set:function(e){this.dataCells.textColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"gridLinesHor",{get:function(){return this._gridLinesHor},set:function(e){this._gridLinesHor=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"gridLinesVert",{get:function(){return this._gridLinesVert},set:function(e){this._gridLinesVert=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"gridOutline",{get:function(){return this._gridOutline},set:function(e){this._gridOutline=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"format",{get:function(){return this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"header",{get:function(){return this._header},set:function(e){this._header=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"dataCells",{get:function(){return this._dataCells},set:function(e){this._dataCells=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart=e},enumerable:!1,configurable:!0}),l}();r.StiChartTable=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.Base.StiJsonReportObjectHelper,n=e.Base.StiJson,o=e.Base.JsonReportObject.IStiJsonReportObject,a=e.System.ICloneable,s=e.System.Drawing.StringAlignment,l=e.Base.Drawing.StiSolidBrush,u=e.Base.Drawing.StiBrush,c=e.System.Enum,h=e.System.Drawing.Color,p=e.System.Drawing.Font,f=e.System.Drawing.FontStyle,m=function(){function m(e,t,i,n,o,a,u,c,m){void 0===e&&(e=new p("Tahoma",12,f.Bold)),void 0===t&&(t=""),void 0===i&&(i=new l(h.saddleBrown)),void 0===n&&(n=!0),void 0===o&&(o=s.Center),void 0===a&&(a=r.StiChartTitleDock.Top),void 0===u&&(u=2),void 0===c&&(c=!1),void 0===m&&(m=!0),this._allowApplyStyle=!0,this._font=new p("Tahoma",12,f.Bold),this._text="",this._brush=new l(h.saddleBrown),this._antialiasing=!0,this._alignment=s.Center,this._dock=r.StiChartTitleDock.Top,this._spacing=2,this._visible=!1,this._chart=null,this.core=new r.StiChartTitleCoreXF(this),this.font=e,this.text=t,this.brush=i,this.antialiasing=n,this.alignment=o,this.dock=a,this.spacing=u,this.visible=c,this.allowApplyStyle=m}return m.prototype.implements=function(){return m.implementsStiChartTitle||(m.implementsStiChartTitle=[r.IStiChartTitle,a,o]),m.implementsStiChartTitle},m.prototype.saveToJsonObject=function(e){var t=new n;return t.addPropertyBool("AllowApplyStyle",this._allowApplyStyle,!0),t.addPropertyStringNullOrEmpty("Font",i.Serialize.font(this._font,"Tahoma",12,f.Bold)),t.addPropertyStringNullOrEmpty("Text",this._text),t.addPropertyStringNullOrEmpty("Brush",i.Serialize.jBrush(this._brush)),t.addPropertyBool("Antialiasing",this._antialiasing,!0),t.addPropertyEnum("Alignment",s,this._alignment,s.Center),t.addPropertyEnum("Dock",r.StiChartTitleDock,this._dock,r.StiChartTitleDock.Top),t.addPropertyNumber("Spacing",this._spacing,2),t.addPropertyBool("Visible",this._visible),t},m.prototype.loadFromJsonObject=function(e){var t,n;try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var l=a.value;switch(l.name){case"AllowApplyStyle":this.allowApplyStyle=l.value.stimulsoft.toBoolean();break;case"Font":this._font=i.Deserialize.font(l.value.toString(),this._font);break;case"Text":this._text=l.value.toString();break;case"Brush":this._brush=i.Deserialize.brush(l.value.toString());break;case"Antialiasing":this._antialiasing=l.value.stimulsoft.toBoolean();break;case"Alignment":this._alignment=c.parse(s,l.value.toString());break;case"Dock":this._dock=c.parse(r.StiChartTitleDock,l.value.toString());break;case"Spacing":this._spacing=l.value.stimulsoft.toNumber();break;case"Visible":this._visible=l.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},m.prototype.loadFromXml=function(t){for(var i=0;i<t.childNodes.length;i++){var n=t.childNodes[i];switch(n.nodeName){case"AllowApplyStyle":this.allowApplyStyle=n.textContent.stimulsoft.toBoolean();break;case"Font":case"fn":this._font=e.System.Convert.toFont(n.textContent);break;case"Text":case"text":this._text=n.textContent;break;case"Brush":case"bh":this._brush=u.convertToBrush(n.textContent);break;case"Antialiasing":this._antialiasing=n.textContent.stimulsoft.toBoolean();break;case"Alignment":this._alignment=c.parse(s,n.textContent);break;case"Dock":this._dock=c.parse(r.StiChartTitleDock,n.textContent);break;case"Spacing":this._spacing=n.textContent.stimulsoft.toNumber();break;case"Visible":this._visible=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(m.prototype,"componentId",{get:function(){return t.StiComponentId.StiChartTitle},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),m.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.alignment=this.alignment,e.font=this.font.clone(),e.brush=this.brush.clone(),null!=this.core&&(e.core=this.core.clone(),e.core.chartTitle=e),e},Object.defineProperty(m.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e,e&&null!=this.chart&&this.core.applyStyle(this.chart.style))},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"antialiasing",{get:function(){return this._antialiasing},set:function(e){this._antialiasing=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"alignment",{get:function(){return this._alignment},set:function(e){this._alignment=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"dock",{get:function(){return this._dock},set:function(e){this._dock=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"spacing",{get:function(){return this._spacing},set:function(e){this._spacing=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart=e},enumerable:!1,configurable:!0}),m}();r.StiChartTitle=m}(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.Base.Localization.StiLocalization,a,s=function(e){function a(){var t=null!==e&&e.apply(this,arguments)||this;return t.chart=null,t}return __extends(a,e),a.prototype.implements=function(){return a.implementsStiStripsCollection||(a.implementsStiStripsCollection=[n,t.IStiApplyStyle,t.IStiStripsCollection]),a.implementsStiStripsCollection},a.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var n=new i,o=0;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l=s.value;n.addPropertyJObject(o.toString(),l.saveToJsonObject(e)),o++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},a.prototype.loadFromJsonObject=function(e){var r,i;try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value,s=new t.StiStrips;s.chart=this.chart,this.add(s),s.loadFromJsonObject(a.value)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},a.prototype.loadFromXml=function(e){for(var r=0;r<e.childNodes.length;r++){var i=e.childNodes[r],n;if(null==i.attributes)continue;if(null!=i.attributes.getNamedItem("type")&&"Stimulsoft.Report.Chart.StiStrips"==i.attributes.getNamedItem("type").value){var o=new t.StiStrips;o.chart=this.chart,this.add(o),o.loadFromXml(i)}}},a.prototype.applyStyle=function(e){var t,r;try{for(var i=__values(this.list),n=i.next();!n.done;n=i.next()){var o;n.value.core.applyStyle(e)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},a.prototype.getStripsTitle=function(){var e,t,r=o.get("Chart","Strip"),i=r,n=1,a=!0;while(a){i=r+" "+n.toString(),a=!1;try{for(var s=(e=void 0,__values(this.list)),l=s.next();!l.done;l=s.next()){var u;if(l.value.text==i){a=!0;break}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}n++}return i},a.prototype.add=function(t){null!=this.chart&&(r.isNullOrEmpty(t.text)&&(t.text=this.getStripsTitle()),t.chart=this.chart),e.prototype.add.call(this,t)},a}(e.System.Collections.CollectionBase);t.StiStripsCollection=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.Base.StiJson,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.Base.Localization.StiLocalization,a,s=function(e){function a(){var t=null!==e&&e.apply(this,arguments)||this;return t.chart=null,t}return __extends(a,e),a.prototype.implements=function(){return a.implementsStiConstantLinesCollection||(a.implementsStiConstantLinesCollection=[n,t.IStiApplyStyle,t.IStiConstantLinesCollection]),a.implementsStiConstantLinesCollection},a.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var n=new i,o=0;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l=s.value;n.addPropertyJObject(o.toString(),l.saveToJsonObject(e)),o++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},a.prototype.loadFromJsonObject=function(e){var r,i;try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value,s=new t.StiConstantLines;s.chart=this.chart,this.add(s),s.loadFromJsonObject(a.value)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},a.prototype.loadFromXml=function(e){for(var r=0;r<e.childNodes.length;r++){var i=e.childNodes[r],n;if(null==i.attributes)continue;if(null!=i.attributes.getNamedItem("type")&&"Stimulsoft.Report.Chart.StiConstantLines"==i.attributes.getNamedItem("type").value){var o=new t.StiConstantLines;o.chart=this.chart,this.add(o),o.loadFromXml(i)}}},a.prototype.applyStyle=function(e){var t,r;try{for(var i=__values(this.list),n=i.next();!n.done;n=i.next()){var o;n.value.core.applyStyle(e)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},a.prototype.getConstantLineTitle=function(){var e,t,r=o.get("Chart","ConstantLine"),i=r,n=1,a=!0;while(a){i=r+" "+n.toString(),a=!1;try{for(var s=(e=void 0,__values(this.list)),l=s.next();!l.done;l=s.next()){var u;if(l.value.text==i){a=!0;break}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}n++}return i},a.prototype.add=function(t){null!=this.chart&&(r.isNullOrEmpty(t.text)&&(t.text=this.getConstantLineTitle()),t.chart=this.chart),e.prototype.add.call(this,t)},a}(e.System.Collections.CollectionBase);t.StiConstantLinesCollection=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.System.StiString,n=e.Base.StiJsonReportObjectHelper,o=e.Base.StiJson,a=e.Base.JsonReportObject.IStiJsonReportObject,s=e.System.ICloneable,l=e.System.Drawing.Size,u=e.Base.Drawing.StiSolidBrush,c=e.Base.Drawing.StiBrush,h=e.System.Enum,p=e.System.Drawing.Color,f=e.Base.Services.StiService,m=e.System.Drawing.Font,S=e.Report.Components.TextFormats.StiFormatService,g=e.Report.Components.TextFormats.StiGeneralFormatService,y=function(f){function y(){var e=null!==f&&f.apply(this,arguments)||this;return e._preventIntersection=!1,e._allowApplyStyle=!0,e._showZeros=!1,e._showNulls=!0,e._markerVisible=!1,e._markerSize=new l(8,6),e._markerAlignment=r.StiMarkerAlignment.Left,e._step=0,e._valueType=r.StiSeriesLabelsValueType.Value,e._valueTypeSeparator="-",e._legendValueType=r.StiSeriesLabelsValueType.Value,e._textBefore="",e._textAfter="",e._angle=0,e._format="",e._antialiasing=!0,e._visible=!0,e._drawBorder=!0,e._useSeriesColor=!1,e._labelColor=p.black,e._borderColor=p.black,e._brush=new u(p.white),e._font=new m("Arial",7),e._chart=null,e._wordWrap=!1,e._width=0,e}return __extends(y,f),y.prototype.implements=function(){return y.implementsStiSeriesLabels||(y.implementsStiSeriesLabels=f.prototype.implements.call(this).concat([a,r.IStiSeriesLabels,s])),y.implementsStiSeriesLabels},y.prototype.saveToJsonObject=function(e){var t=new o;return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyBool("PreventIntersection",this._preventIntersection),t.addPropertyBool("AllowApplyStyle",this.allowApplyStyle,!0),t.addPropertyBool("ShowZeros",this.showZeros),t.addPropertyBool("ShowNulls",this._showNulls,!0),t.addPropertyBool("MarkerVisible",this._markerVisible),t.addPropertyJObject("MarkerSize",n.Serialize.size(this._markerSize)),t.addPropertyEnum("MarkerAlignment",r.StiMarkerAlignment,this.markerAlignment,r.StiMarkerAlignment.Left),t.addPropertyNumber("Step",this._step),t.addPropertyEnum("ValueType",r.StiSeriesLabelsValueType,this.valueType,r.StiSeriesLabelsValueType.Value),t.addPropertyStringNullOrEmpty("ValueTypeSeparator",this.valueTypeSeparator),t.addPropertyEnum("LegendValueType",r.StiSeriesLabelsValueType,this.legendValueType,r.StiSeriesLabelsValueType.Value),t.addPropertyStringNullOrEmpty("TextBefore",this._textBefore),t.addPropertyStringNullOrEmpty("TextAfter",this._textAfter),t.addPropertyNumber("Angle",this.angle,0),t.addPropertyStringNullOrEmpty("Format",this._format),t.addPropertyBool("Antialiasing",this.antialiasing,!0),t.addPropertyBool("Visible",this.visible,!0),t.addPropertyBool("DrawBorder",this.drawBorder,!0),t.addPropertyBool("UseSeriesColor",this.useSeriesColor),t.addPropertyStringNullOrEmpty("LabelColor",n.Serialize.jColor(this.labelColor,p.black)),t.addPropertyStringNullOrEmpty("BorderColor",n.Serialize.jColor(this.borderColor,p.black)),t.addPropertyStringNullOrEmpty("Brush",n.Serialize.jBrush(this.brush)),t.addPropertyStringNullOrEmpty("Font",n.Serialize.font(this.font,"Arial",7)),t.addPropertyBool("WordWrap",this._wordWrap),t.addPropertyNumber("Width",this._width),null==this.formatService||this.formatService.stimulsoft.is(g)||t.addPropertyJObject("FormatService",this.formatService.saveToJsonObject(e)),t},y.prototype.loadFromJsonObject=function(e){var t,i;try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"PreventIntersection":this._preventIntersection=s.value.stimulsoft.toBoolean();break;case"AllowApplyStyle":this.allowApplyStyle=s.value.stimulsoft.toBoolean();break;case"ShowZeros":this._showZeros=s.value.stimulsoft.toBoolean();break;case"ShowNulls":this._showNulls=s.value.stimulsoft.toBoolean();break;case"MarkerVisible":this._markerVisible=s.value.stimulsoft.toBoolean();break;case"MarkerSize":this._markerSize=n.Deserialize.size(s.value);break;case"MarkerAlignment":this.markerAlignment=h.parse(r.StiMarkerAlignment,s.value.toString());break;case"Step":this._step=s.value.stimulsoft.toNumber();break;case"ValueType":this.valueType=h.parse(r.StiSeriesLabelsValueType,s.value.toString());break;case"ValueTypeSeparator":this.valueTypeSeparator=s.value.toString();break;case"LegendValueType":this.legendValueType=h.parse(r.StiSeriesLabelsValueType,s.value.toString());break;case"TextBefore":this._textBefore=s.value.toString();break;case"TextAfter":this._textAfter=s.value.toString();break;case"Angle":this.angle=s.value.stimulsoft.toNumber();break;case"Format":this._format=s.value.toString();break;case"Antialiasing":this.antialiasing=s.value.stimulsoft.toBoolean();break;case"Visible":this.visible=s.value.stimulsoft.toBoolean();break;case"DrawBorder":this.drawBorder=s.value.stimulsoft.toBoolean();break;case"UseSeriesColor":this.useSeriesColor=s.value.stimulsoft.toBoolean();break;case"LabelColor":this.labelColor=n.Deserialize.color(s.value.toString());break;case"BorderColor":this.borderColor=n.Deserialize.color(s.value.toString());break;case"Brush":this.brush=n.Deserialize.brush(s.value.toString());break;case"Font":this.font=n.Deserialize.font(s.value.toString(),this.font);break;case"WordWrap":this._wordWrap=s.value.stimulsoft.toBoolean();break;case"Width":this._width=s.value.stimulsoft.toNumber();break;case"FormatService":this.formatService=S.createFromJsonObject(s.value);break}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}},y.prototype.loadFromXml=function(t){for(var i=0;i<t.childNodes.length;i++){var n=t.childNodes[i];switch(n.nodeName){case"PreventIntersection":this._preventIntersection=n.textContent.stimulsoft.toBoolean();break;case"AllowApplyStyle":this.allowApplyStyle=n.textContent.stimulsoft.toBoolean();break;case"ShowZeros":this._showZeros=n.textContent.stimulsoft.toBoolean();break;case"ShowNulls":this._showNulls=n.textContent.stimulsoft.toBoolean();break;case"MarkerVisible":this._markerVisible=n.textContent.stimulsoft.toBoolean();break;case"MarkerSize":this._markerSize=l.convertFromXml(n.textContent);break;case"MarkerAlignment":this.markerAlignment=h.parse(r.StiMarkerAlignment,n.textContent);break;case"Step":this._step=n.textContent.stimulsoft.toNumber();break;case"ValueType":this.valueType=h.parse(r.StiSeriesLabelsValueType,n.textContent);break;case"ValueTypeSeparator":this.valueTypeSeparator=n.textContent.toString();break;case"LegendValueType":this.legendValueType=h.parse(r.StiSeriesLabelsValueType,n.textContent);break;case"TextBefore":this._textBefore=n.textContent;break;case"TextAfter":this._textAfter=n.textContent;break;case"Angle":this.angle=n.textContent.stimulsoft.toNumber();break;case"Format":this._format=n.textContent;break;case"Antialiasing":this.antialiasing=n.textContent.stimulsoft.toBoolean();break;case"Visible":this.visible=n.textContent.stimulsoft.toBoolean();break;case"DrawBorder":this.drawBorder=n.textContent.stimulsoft.toBoolean();break;case"UseSeriesColor":this.useSeriesColor=n.textContent.stimulsoft.toBoolean();break;case"LabelColor":this.labelColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"BorderColor":this.borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Brush":case"bh":this.brush=c.convertToBrush(n.textContent);break;case"Font":case"fn":this.font=e.System.Convert.toFont(n.textContent);break;case"WordWrap":this._wordWrap=n.textContent.stimulsoft.toBoolean();break;case"Width":this._width=n.textContent.stimulsoft.toNumber();break}}},y.loadFromJsonObjectInternal=function(t,r){var n=t.properties().firstOrDefault((function(e){return"Ident"==e.name})).value.toString(),o=e["StiOptions"].Services.chartSerieLabels.firstOrDefault((function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==n}));if(null==o)throw i.format("Type {0} is not found!",n);var a=o.createNew();return a.chart=r,a.loadFromJsonObject(t),a},y.loadLabelsFromXml=function(e,t){var n=e.attributes.getNamedItem("type").value;switch(n){case"Stimulsoft.Report.Chart.StiNoneLabels":var o=new r.StiNoneLabels;return o.chart=t,o.loadFromXml(e),o;case"Stimulsoft.Report.Chart.StiCenterAxisLabels":var a=new r.StiCenterAxisLabels;return a.chart=t,a.loadFromXml(e),a;case"Stimulsoft.Report.Chart.StiOutsideAxisLabels":var s=new r.StiOutsideAxisLabels;return s.chart=t,s.loadFromXml(e),s;case"Stimulsoft.Report.Chart.StiInsideBaseAxisLabels":var l=new r.StiInsideBaseAxisLabels;return l.chart=t,l.loadFromXml(e),l;case"Stimulsoft.Report.Chart.StiInsideEndAxisLabels":var u=new r.StiInsideEndAxisLabels;return u.chart=t,u.loadFromXml(e),u;case"Stimulsoft.Report.Chart.StiOutsideBaseAxisLabels":var c=new r.StiOutsideBaseAxisLabels;return c.chart=t,c.loadFromXml(e),c;case"Stimulsoft.Report.Chart.StiOutsideEndAxisLabels":var h=new r.StiOutsideEndAxisLabels;return h.chart=t,h.loadFromXml(e),h;case"Stimulsoft.Report.Chart.StiLeftAxisLabels":var p=new r.StiLeftAxisLabels;return p.chart=t,p.loadFromXml(e),p;case"Stimulsoft.Report.Chart.StiValueAxisLabels":var f=new r.StiValueAxisLabels;return f.chart=t,f.loadFromXml(e),f;case"Stimulsoft.Report.Chart.StiRightAxisLabels":var m=new r.StiRightAxisLabels;return m.chart=t,m.loadFromXml(e),m;case"Stimulsoft.Report.Chart.StiInsideEndPieLabels":var S=new r.StiInsideEndPieLabels;return S.chart=t,S.loadFromXml(e),S;case"Stimulsoft.Report.Chart.StiCenterPieLabels":var g=new r.StiCenterPieLabels;return g.chart=t,g.loadFromXml(e),g;case"Stimulsoft.Report.Chart.StiOutsidePieLabels":var y=new r.StiOutsidePieLabels;return y.chart=t,y.loadFromXml(e),y;case"Stimulsoft.Report.Chart.StiTwoColumnsPieLabels":var d=new r.StiTwoColumnsPieLabels;return d.chart=t,d.loadFromXml(e),d;case"Stimulsoft.Report.Chart.StiCenterFunnelLabels":var b=new r.StiCenterFunnelLabels;return b.chart=t,b.loadFromXml(e),b;case"Stimulsoft.Report.Chart.StiOutsideRightFunnelLabels":var v=new r.StiOutsideRightFunnelLabels;return v.chart=t,v.loadFromXml(e),v;case"Stimulsoft.Report.Chart.StiOutsideLeftFunnelLabels":var C=new r.StiOutsideLeftFunnelLabels;return C.chart=t,C.loadFromXml(e),C;case"Stimulsoft.Report.Chart.StiCenterTreemapLabels":var w=new r.StiCenterTreemapLabels;return w.chart=t,w.loadFromXml(e),w}throw i.format("Type {0} is not found!",n)},Object.defineProperty(y.prototype,"componentId",{get:function(){return t.StiComponentId.StiSeriesLabels},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),y.prototype.clone=function(){var e=f.prototype.clone.call(this);return e.brush=this.brush.clone(),e.font=this.font.clone(),null!=this.core&&(e.core=this.core.clone(),e.core.seriesLabels=e),e},Object.defineProperty(y.prototype,"serviceName",{get:function(){return this.core.localizedName},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"serviceCategory",{get:function(){return"Chart"},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"serviceType",{get:function(){return y},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"preventIntersection",{get:function(){return this._preventIntersection},set:function(e){this._preventIntersection=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"axisCore",{get:function(){return this.core},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"pieCore",{get:function(){return this.core},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e,e&&null!=r&&this.core.applyStyle(this.chart.style))},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"conditions",{get:function(){if(null==this.chart)return null;return this.chart.seriesLabelsConditions},set:function(e){if(null==this.chart)return;this.chart.seriesLabelsConditions=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"showOnZeroValues",{get:function(){return this.showZeros},set:function(e){this.showZeros=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"showZeros",{get:function(){return this._showZeros},set:function(e){this._showZeros=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"showNulls",{get:function(){return this._showNulls},set:function(e){this._showNulls=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"markerVisible",{get:function(){return this._markerVisible},set:function(e){this._markerVisible=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"markerSize",{get:function(){return this._markerSize},set:function(e){this._markerSize=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"markerAlignment",{get:function(){return this._markerAlignment},set:function(e){this._markerAlignment=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"step",{get:function(){return this._step},set:function(e){this._step=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"valueType",{get:function(){return this._valueType},set:function(e){this._valueType!=e&&(this._valueType=e)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"valueTypeSeparator",{get:function(){return this._valueTypeSeparator},set:function(e){this._valueTypeSeparator!=e&&(this._valueTypeSeparator=e)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"legendValueType",{get:function(){return this._legendValueType},set:function(e){this._legendValueType=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"textBefore",{get:function(){return this._textBefore},set:function(e){this._textBefore=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"textAfter",{get:function(){return this._textAfter},set:function(e){this._textAfter=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"format",{get:function(){return this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"antialiasing",{get:function(){return this._antialiasing},set:function(e){this._antialiasing=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"drawBorder",{get:function(){return this._drawBorder},set:function(e){this._drawBorder=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"useSeriesColor",{get:function(){return this._useSeriesColor},set:function(e){this._useSeriesColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"labelColor",{get:function(){return this._labelColor},set:function(e){this._labelColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"borderColor",{get:function(){return this._borderColor},set:function(e){this._borderColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"wordWrap",{get:function(){return this._wordWrap},set:function(e){this._wordWrap=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"formatService",{get:function(){return this._formatService},set:function(e){this._formatService=e},enumerable:!1,configurable:!0}),y.prototype.toString=function(){return this.serviceName},y.prototype.createNew=function(){return null},y}(f);r.StiSeriesLabels=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.JsonReportObject.IStiJsonReportObject,i=e.System.ICloneable,n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._showInPercent=!1,t}return __extends(n,e),n.prototype.implements=function(){return n.implementsStiAxisSeriesLabels||(n.implementsStiAxisSeriesLabels=e.prototype.implements.call(this).concat([r,t.IStiSeriesLabels,i,t.IStiAxisSeriesLabels])),n.implementsStiAxisSeriesLabels},n.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyBool("ShowInPercent",this._showInPercent),r},n.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"ShowInPercent":this._showInPercent=a.value.stimulsoft.toBoolean();break}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},n.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"ShowInPercent":this._showInPercent=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(n.prototype,"showInPercent",{get:function(){return this._showInPercent},set:function(e){this._showInPercent=e,this._showInPercent&&!this.format.stimulsoft.startsWith("P")&&(this.format="P2"),this._showInPercent||(this.format="")},enumerable:!1,configurable:!0}),n}(t.StiSeriesLabels);t.StiAxisSeriesLabels=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.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiCenterAxisLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiCenterAxisLabels||(o.implementsStiCenterAxisLabels=e.prototype.implements.call(this).concat([i,r.IStiSeriesLabels,r.IStiCenterAxisLabels,r.IStiAxisSeriesLabels,n])),o.implementsStiCenterAxisLabels},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiCenterAxisLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiAxisSeriesLabels);r.StiCenterAxisLabels=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=e.Base.Drawing.StiPenStyle,a=e.System.Drawing.Color,s=e.System.Enum,l=e.Base.StiJsonReportObjectHelper,u=function(){function u(e,r,i,n,s,l,u,c,h,p,f,m,S){void 0===e&&(e=new t.StiAxisLabels),void 0===r&&(r=new t.StiAxisRange),void 0===i&&(i=null),void 0===n&&(n=new t.StiAxisTicks),void 0===s&&(s=new t.StiAxisInteraction),void 0===l&&(l=t.StiArrowStyle.None),void 0===u&&(u=o.Solid),void 0===c&&(c=a.gray),void 0===h&&(h=1),void 0===p&&(p=!0),void 0===f&&(f=!0),void 0===m&&(m=!0),void 0===S&&(S=!1),this._logarithmicScale=!1,this._allowApplyStyle=!0,this._startFromZero=!0,this._interaction=new t.StiAxisInteraction,this._labels=new t.StiAxisLabels,this._range=new t.StiAxisRange,this._ticks=new t.StiAxisTicks,this._arrowStyle=t.StiArrowStyle.None,this._lineStyle=o.Solid,this._lineColor=a.gray,this._lineWidth=1,this._visible=!0,this._info=new t.StiAxisInfoXF,this._labels=e,this._range=r,this._title=i,this._ticks=n,this._interaction=s,this._arrowStyle=l,this._lineStyle=u,this._lineColor=c,this._lineWidth=h,this._visible=p,this._startFromZero=f,this._allowApplyStyle=m,this._logarithmicScale=S}return u.prototype.implements=function(){return u.implementsStiAxis||(u.implementsStiAxis=[i,n,t.IStiAxis,i]),u.implementsStiAxis},u.prototype.saveToJsonObject=function(e){var i=new r;return i.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),i.addPropertyBool("LogarithmicScale",this.logarithmicScale),i.addPropertyBool("AllowApplyStyle",this.allowApplyStyle,!0),i.addPropertyBool("StartFromZero",this.startFromZero,!0),i.addPropertyJObject("Interaction",this._interaction.saveToJsonObject(e)),i.addPropertyJObject("Labels",this._labels.saveToJsonObject(e)),i.addPropertyJObject("Range",this.range.saveToJsonObject(e)),i.addPropertyBool("Visible",this._visible,!0),i.addPropertyEnum("ArrowStyle",t.StiArrowStyle,this._arrowStyle,t.StiArrowStyle.None),i.addPropertyEnum("LineStyle",o,this._arrowStyle,o.Solid),i.addPropertyStringNullOrEmpty("LineColor",l.Serialize.jColor(this._lineColor,a.gray)),i.addPropertyNumber("LineWidth",this._lineWidth,1),null!=this._title&&i.addPropertyJObject("Title",this._title.saveToJsonObject(e)),null!=this._ticks&&i.addPropertyJObject("Ticks",this._ticks.saveToJsonObject(e)),i},u.prototype.loadFromJsonObject=function(e){var r,i;try{for(var n=__values(e.properties()),a=n.next();!a.done;a=n.next()){var u=a.value;switch(u.name){case"LogarithmicScale":this.logarithmicScale=u.value.stimulsoft.toBoolean();break;case"AllowApplyStyle":this.allowApplyStyle=u.value.stimulsoft.toBoolean();break;case"StartFromZero":this.startFromZero=u.value.stimulsoft.toBoolean();break;case"Interaction":this._interaction.loadFromJsonObject(u.value);break;case"Labels":this._labels.loadFromJsonObject(u.value);break;case"Range":this.range.loadFromJsonObject(u.value);break;case"Title":this.title.loadFromJsonObject(u.value);break;case"Ticks":this.ticks.loadFromJsonObject(u.value);break;case"Visible":this._visible=u.value.stimulsoft.toBoolean();break;case"ArrowStyle":this._arrowStyle=s.parse(t.StiArrowStyle,u.value.toString());break;case"LineStyle":this._lineStyle=s.parse(o,u.value.toString());break;case"LineColor":this._lineColor=l.Deserialize.color(u.value.toString());break;case"LineWidth":this._lineWidth=u.value.stimulsoft.toNumber();break}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},u.prototype.loadFromXml=function(r){for(var i=0;i<r.childNodes.length;i++){var n=r.childNodes[i];switch(n.nodeName){case"LogarithmicScale":this.logarithmicScale=n.textContent.stimulsoft.toBoolean();break;case"AllowApplyStyle":this.allowApplyStyle=n.textContent.stimulsoft.toBoolean();break;case"StartFromZero":this.startFromZero=n.textContent.stimulsoft.toBoolean();break;case"Interaction":this._interaction.loadFromXml(n);break;case"Labels":this._labels.loadFromXml(n);break;case"Range":this.range.loadFromXml(n);break;case"Title":this.title.loadFromXml(n);break;case"Ticks":this.ticks.loadFromXml(n);break;case"Visible":this._visible=n.textContent.stimulsoft.toBoolean();break;case"ArrowStyle":this._arrowStyle=s.parse(t.StiArrowStyle,n.textContent);break;case"LineStyle":this._lineStyle=s.parse(o,n.textContent);break;case"LineColor":this._lineColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"LineWidth":this._lineWidth=n.textContent.stimulsoft.toNumber();break}}},u.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.arrowStyle=this.arrowStyle,e.lineStyle=this.lineStyle,e.labels=this.labels.clone(),e.range=this.range.clone(),e.title=this.title.clone(),e.ticks=this.ticks.clone(),null!=this.core&&(e.core=this.core.clone(),e.core.axis=e),e},Object.defineProperty(u.prototype,"logarithmicScale",{get:function(){return this._logarithmicScale},set:function(e){this._logarithmicScale=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e,e&&null!=this.area&&null!=this.area.chart&&this.core.applyStyle(this.area.chart.style))},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"startFromZero",{get:function(){return this._startFromZero},set:function(e){this._startFromZero=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"step",{get:function(){if(null==this.labels)return 0;return this.labels.step},set:function(e){null!=this.labels&&(this.labels.step=e)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"interaction",{get:function(){return this._interaction},set:function(e){this._interaction=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"labels",{get:function(){return this._labels},set:function(e){this._labels=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"range",{get:function(){return this._range},set:function(e){this._range=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"title",{get:function(){return null==this._title&&(this._title=new t.StiAxisTitle,this.stimulsoft.is(t.StiXBottomAxis)||this.stimulsoft.is(t.StiXTopAxis)?this._title.direction=t.StiDirection.LeftToRight:this.stimulsoft.is(t.StiYRightAxis)?this._title.direction=t.StiDirection.TopToBottom:this.stimulsoft.is(t.StiYLeftAxis)&&(this._title.direction=t.StiDirection.BottomToTop)),this._title},set:function(e){null==this._title&&(this._title=new t.StiAxisTitle,this.stimulsoft.is(t.StiXBottomAxis)||this.stimulsoft.is(t.StiXTopAxis)?this._title.direction=t.StiDirection.LeftToRight:this.stimulsoft.is(t.StiYRightAxis)?this._title.direction=t.StiDirection.TopToBottom:this.stimulsoft.is(t.StiYLeftAxis)&&(this._title.direction=t.StiDirection.BottomToTop)),this._title=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"ticks",{get:function(){return this._ticks},set:function(e){this._ticks=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"arrowStyle",{get:function(){return this._arrowStyle},set:function(e){this._arrowStyle=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"lineStyle",{get:function(){return this._lineStyle},set:function(e){this._lineStyle=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"lineColor",{get:function(){return this._lineColor},set:function(e){this._lineColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"lineWidth",{get:function(){return this._lineWidth},set:function(e){this._lineWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"titleDirection",{get:function(){if(null==this.title)return t.StiLegendDirection.BottomToTop;switch(this.title.direction){case t.StiDirection.BottomToTop:return t.StiLegendDirection.BottomToTop;case t.StiDirection.LeftToRight:return t.StiLegendDirection.LeftToRight;case t.StiDirection.RightToLeft:return t.StiLegendDirection.RightToLeft;case t.StiDirection.TopToBottom:return t.StiLegendDirection.TopToBottom}return t.StiLegendDirection.BottomToTop},set:function(e){if(null==this.title)return;switch(e){case t.StiLegendDirection.BottomToTop:this.title.direction=t.StiDirection.BottomToTop;break;case t.StiLegendDirection.LeftToRight:this.title.direction=t.StiDirection.LeftToRight;break;case t.StiLegendDirection.RightToLeft:this.title.direction=t.StiDirection.RightToLeft;break;case t.StiLegendDirection.TopToBottom:this.title.direction=t.StiDirection.TopToBottom;break}},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"area",{get:function(){return this._area},set:function(e){this._area=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"info",{get:function(){return this._info},set:function(e){this._info=e},enumerable:!1,configurable:!0}),u}();t.StiAxis=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=e.Base.Drawing.StiPenStyle,a=e.System.Enum,s=e.System.Drawing.Color,l=function(e){function l(t,i,n,a,l,u,c,h,p,f,m,S,g,y){void 0===t&&(t=new r.StiAxisLabels),void 0===i&&(i=new r.StiAxisRange),void 0===n&&(n=null),void 0===a&&(a=new r.StiAxisTicks),void 0===l&&(l=new r.StiAxisInteraction),void 0===u&&(u=r.StiArrowStyle.None),void 0===c&&(c=o.Solid),void 0===h&&(h=s.gray),void 0===p&&(p=1),void 0===f&&(f=!0),void 0===m&&(m=!0),void 0===S&&(S=r.StiShowYAxis.Both),void 0===g&&(g=!0),void 0===y&&(y=!1);var d=e.call(this,t,i,n,a,l,u,c,h,p,f,m,g,y)||this;return d._showYAxis=r.StiShowYAxis.Both,d._showYAxis=S,d}return __extends(l,e),l.prototype.implements=function(){return l.implementsStiYAxis||(l.implementsStiYAxis=e.prototype.implements.call(this).concat([i,r.IStiYAxis,n,r.IStiAxis])),l.implementsStiYAxis},l.prototype.saveToJsonObject=function(t){var i=e.prototype.saveToJsonObject.call(this,t);return i.addPropertyEnum("ShowYAxis",r.StiShowYAxis,this.showYAxis,r.StiShowYAxis.Both),i},l.prototype.loadFromJsonObject=function(t){var i,n;e.prototype.loadFromJsonObject.call(this,t);try{for(var o=__values(t.properties()),s=o.next();!s.done;s=o.next()){var l=s.value;switch(l.name){case"ShowYAxis":this.showYAxis=a.parse(r.StiShowYAxis,l.value.toString());break}}}catch(e){i={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}},l.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var i=0;i<t.childNodes.length;i++){var n=t.childNodes[i];switch(n.nodeName){case"ShowYAxis":this.showYAxis=a.parse(r.StiShowYAxis,n.textContent);break}}},Object.defineProperty(l.prototype,"componentId",{get:function(){return t.StiComponentId.StiYAxis},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"showYAxis",{get:function(){return this._showYAxis},set:function(e){this._showYAxis=e},enumerable:!1,configurable:!0}),l}(r.StiAxis);r.StiYAxis=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.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=e.Base.Drawing.StiPenStyle,a=e.Base.Drawing.StiHorAlignment,s=e.System.Drawing.Color,l=function(e){function l(t,i,n,l,u,c,h,p,f,m,S,g,y){void 0===t&&(t=new r.StiAxisLabels),void 0===i&&(i=new r.StiAxisRange),void 0===n&&(n=null),void 0===l&&(l=new r.StiAxisTicks),void 0===u&&(u=new r.StiAxisInteraction),void 0===c&&(c=r.StiArrowStyle.None),void 0===h&&(h=o.Solid),void 0===p&&(p=s.gray),void 0===f&&(f=1),void 0===m&&(m=!0),void 0===S&&(S=!0),void 0===g&&(g=!0),void 0===y&&(y=!1);var d=e.call(this,t,i,n,l,u,c,h,p,f,m,S,r.StiShowYAxis.Both,g,y)||this;return d.visible=!1,d.labels.textAlignment=a.Left,d.core=new r.StiYRightAxisCoreXF(d),d}return __extends(l,e),l.prototype.implements=function(){return l.implementsStiYRightAxis||(l.implementsStiYRightAxis=e.prototype.implements.call(this).concat([i,r.IStiYAxis,n,r.IStiAxis,r.IStiYRightAxis])),l.implementsStiYRightAxis},l.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.removeProperty("ShowYAxis"),r.addPropertyBool("Visible",this.visible),r},Object.defineProperty(l.prototype,"componentId",{get:function(){return t.StiComponentId.StiYRightAxis},enumerable:!1,configurable:!0}),l}(r.StiYAxis);r.StiYRightAxis=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.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=e.Base.Drawing.StiPenStyle,a=e.System.Enum,s=e.System.Drawing.Color,l=function(e){function l(t,i,n,a,l,u,c,h,p,f,m,S,g,y,d,b){void 0===t&&(t=new r.StiAxisLabels),void 0===i&&(i=new r.StiAxisRange),void 0===n&&(n=null),void 0===a&&(a=new r.StiAxisTicks),void 0===l&&(l=new r.StiAxisInteraction),void 0===u&&(u=r.StiArrowStyle.None),void 0===c&&(c=o.Solid),void 0===h&&(h=s.gray),void 0===p&&(p=1),void 0===f&&(f=!0),void 0===m&&(m=!0),void 0===S&&(S=r.StiShowXAxis.Both),void 0===g&&(g=!1),void 0===y&&(y=!0),void 0===d&&(d=new r.StiAxisDateTimeStep),void 0===b&&(b=!1);var v=e.call(this,t,i,n,a,l,u,c,h,p,f,m,y,b)||this;return v._showEdgeValues=!1,v._showXAxis=r.StiShowXAxis.Both,v._dateTimeStep=new r.StiAxisDateTimeStep,v._showXAxis=S,v._dateTimeStep=d,v._showEdgeValues=g,v}return __extends(l,e),l.prototype.implements=function(){return l.implementsStiXAxis||(l.implementsStiXAxis=e.prototype.implements.call(this).concat([i,r.IStiAxis,r.IStiXAxis,n])),l.implementsStiXAxis},l.prototype.saveToJsonObject=function(t){var i=e.prototype.saveToJsonObject.call(this,t);return i.addPropertyBool("ShowEdgeValues",this._showEdgeValues),i.addPropertyEnum("ShowXAxis",r.StiShowXAxis,this.showXAxis,r.StiShowXAxis.Both),i.addPropertyJObject("DateTimeStep",this.dateTimeStep.saveToJsonObject(t)),i},l.prototype.loadFromJsonObject=function(t){var i,n;e.prototype.loadFromJsonObject.call(this,t);try{for(var o=__values(t.properties()),s=o.next();!s.done;s=o.next()){var l=s.value;switch(l.name){case"ShowEdgeValues":this.showEdgeValues=l.value.stimulsoft.toBoolean();break;case"ShowXAxis":this.showXAxis=a.parse(r.StiShowXAxis,l.value.toString());break;case"DateTimeStep":this.dateTimeStep.loadFromJsonObject(l.value);break}}}catch(e){i={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}},l.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var i=0;i<t.childNodes.length;i++){var n=t.childNodes[i];switch(n.nodeName){case"ShowEdgeValues":this.showEdgeValues=n.textContent.stimulsoft.toBoolean();break;case"ShowXAxis":this.showXAxis=a.parse(r.StiShowXAxis,n.textContent);break;case"DateTimeStep":this.dateTimeStep.loadFromXml(n);break}}},Object.defineProperty(l.prototype,"componentId",{get:function(){return t.StiComponentId.StiXAxis},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"showEdgeValues",{get:function(){return this._showEdgeValues},set:function(e){this._showEdgeValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"showXAxis",{get:function(){return this._showXAxis},set:function(e){this._showXAxis=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"dateTimeStep",{get:function(){return this._dateTimeStep},set:function(e){this._dateTimeStep=e},enumerable:!1,configurable:!0}),l}(r.StiAxis);r.StiXAxis=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.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=e.Base.Drawing.StiPenStyle,a=e.System.Drawing.Color,s=function(e){function s(t,i,n,s,l,u,c,h,p,f,m,S,g,y,d){void 0===t&&(t=new r.StiAxisLabels),void 0===i&&(i=new r.StiAxisRange),void 0===n&&(n=null),void 0===s&&(s=new r.StiAxisTicks),void 0===l&&(l=new r.StiAxisInteraction),void 0===u&&(u=r.StiArrowStyle.None),void 0===c&&(c=o.Solid),void 0===h&&(h=a.gray),void 0===p&&(p=1),void 0===f&&(f=!1),void 0===m&&(m=!0),void 0===S&&(S=r.StiShowXAxis.Both),void 0===g&&(g=!1),void 0===y&&(y=!0),void 0===d&&(d=!1);var b=e.call(this,t,i,n,s,l,u,c,h,p,f,m,r.StiShowXAxis.Both,g,y,new r.StiAxisDateTimeStep,d)||this;return b.core=new r.StiXTopAxisCoreXF(b),b}return __extends(s,e),s.prototype.implements=function(){return s.implementsStiXTopAxis||(s.implementsStiXTopAxis=e.prototype.implements.call(this).concat([r.IStiXTopAxis,n,r.IStiAxis,r.IStiXAxis,i])),s.implementsStiXTopAxis},s.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.removeProperty("Range"),r.removeProperty("ShowXAxis"),r.removeProperty("DateTimeStep"),r.addPropertyBool("Visible",this.visible),r},Object.defineProperty(s.prototype,"componentId",{get:function(){return t.StiComponentId.StiXTopAxis},enumerable:!1,configurable:!0}),s}(r.StiXAxis);r.StiXTopAxis=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.JsonReportObject.IStiJsonReportObject,i=e.System.ICloneable,n=e.Base.Drawing.StiPenStyle,o=e.System.Drawing.Color,a=function(e){function a(r,i,a,s,l,u,c,h,p,f,m,S,g,y){void 0===r&&(r=new t.StiAxisLabels),void 0===i&&(i=new t.StiAxisRange),void 0===a&&(a=null),void 0===s&&(s=new t.StiAxisTicks),void 0===l&&(l=new t.StiAxisInteraction),void 0===u&&(u=t.StiArrowStyle.None),
|
|
void 0===c&&(c=n.Solid),void 0===h&&(h=o.gray),void 0===p&&(p=1),void 0===f&&(f=!0),void 0===m&&(m=!0),void 0===S&&(S=t.StiShowYAxis.Both),void 0===g&&(g=!0),void 0===y&&(y=!1);var d=e.call(this,r,i,a,s,l,u,c,h,p,f,m,S,g,y)||this;return d.core=new t.StiYLeftAxisCoreXF(d),d}return __extends(a,e),a.prototype.implements=function(){return a.implementsStiYLeftAxis||(a.implementsStiYLeftAxis=e.prototype.implements.call(this).concat([r,t.IStiYAxis,i,t.IStiAxis,t.IStiYLeftAxis])),a.implementsStiYLeftAxis},a}(t.StiYAxis);t.StiYLeftAxis=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.StiJsonReportObjectHelper,i=e.Base.StiJson,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.System.ICloneable,a=e.Base.Drawing.StiHorAlignment,s=e.System.Enum,l=e.System.Drawing.Color,u=e.System.Drawing.Font,c=function(){function c(e,r,i,n,o,s,c,h,p,f,m,S,g){void 0===e&&(e=""),void 0===r&&(r=""),void 0===i&&(i=""),void 0===n&&(n=0),void 0===o&&(o=new u("Tahoma",8)),void 0===s&&(s=!0),void 0===c&&(c=t.StiLabelsPlacement.OneLine),void 0===h&&(h=l.black),void 0===p&&(p=0),void 0===f&&(f=a.Right),void 0===m&&(m=0),void 0===S&&(S=!0),void 0===g&&(g=!1),this._allowApplyStyle=!0,this._format="",this._angle=0,this._width=0,this._textBefore="",this._textAfter="",this._font=new u("Tahoma",8),this._antialiasing=!0,this._placement=t.StiLabelsPlacement.OneLine,this._color=l.black,this._textAlignment=a.Right,this._step=0,this._wordWrap=!1,this._format=e,this._textBefore=r,this._textAfter=i,this._angle=n,this._font=o,this._antialiasing=s,this._placement=c,this._color=h,this._width=p,this._textAlignment=f,this._step=m,this._allowApplyStyle=S,this._wordWrap=g,this._core=new t.StiAxisLabelsCoreXF(this)}return c.prototype.implements=function(){return c.implementsStiAxisLabels||(c.implementsStiAxisLabels=[n,t.IStiAxisLabels,o]),c.implementsStiAxisLabels},c.prototype.saveToJsonObject=function(e){var n=new i;return n.addPropertyBool("AllowApplyStyle",this._allowApplyStyle,!0),n.addPropertyStringNullOrEmpty("Format",this._format),n.addPropertyNumber("Angle",this._angle,0),n.addPropertyNumber("Width",this._width,0),n.addPropertyStringNullOrEmpty("TextBefore",this._textBefore),n.addPropertyStringNullOrEmpty("TextAfter",this._textAfter),n.addPropertyStringNullOrEmpty("Font",r.Serialize.font(this._font,"Tahoma",8)),n.addPropertyBool("Antialiasing",this._antialiasing,!0),n.addPropertyEnum("Placement",t.StiLabelsPlacement,this._placement,t.StiLabelsPlacement.OneLine),n.addPropertyStringNullOrEmpty("Color",r.Serialize.jColor(this._color,l.black)),n.addPropertyEnum("TextAlignment",a,this.textAlignment,a.Right),n.addPropertyNumber("Step",this.step,0),n.addPropertyBool("WordWrap",this._wordWrap,!1),n},c.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"Format":this._format=u.value.toString();break;case"Angle":this._angle=u.value.stimulsoft.toNumber();break;case"Width":this._width=u.value.stimulsoft.toNumber();break;case"TextBefore":this._textBefore=u.value.toString();break;case"TextAfter":this._textAfter=u.value.toString();break;case"Font":this._font=r.Deserialize.font(u.value.toString(),this._font);break;case"Antialiasing":this._antialiasing=u.value.stimulsoft.toBoolean();break;case"Placement":this._placement=s.parse(t.StiLabelsPlacement,u.value.toString());break;case"Color":this._color=r.Deserialize.color(u.value.toString());break;case"TextAlignment":this.textAlignment=s.parse(a,u.value.toString());break;case"Step":this.step=u.value.stimulsoft.toNumber();break;case"WordWrap":this.wordWrap=u.value.stimulsoft.toBoolean();break}}}catch(e){i={error:e}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}},c.prototype.loadFromXml=function(r){for(var i=0;i<r.childNodes.length;i++){var n=r.childNodes[i];switch(n.nodeName){case"AllowApplyStyle":this._allowApplyStyle=n.textContent.stimulsoft.toBoolean();break;case"Format":this._format=n.textContent.toString();break;case"Angle":this._angle=n.textContent.stimulsoft.toNumber();break;case"Width":this._width=n.textContent.stimulsoft.toNumber();break;case"TextBefore":this._textBefore=n.textContent.toString();break;case"TextAfter":this._textAfter=n.textContent.toString();break;case"Font":case"fn":this._font=e.System.Convert.toFont(n.textContent);break;case"Antialiasing":this._antialiasing=n.textContent.stimulsoft.toBoolean();break;case"Placement":this._placement=s.parse(t.StiLabelsPlacement,n.textContent);break;case"Color":this._color=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"TextAlignment":this.textAlignment=s.parse(a,n.textContent);break;case"Step":this.step=n.textContent.stimulsoft.toNumber();break;case"WordWrap":this.wordWrap=n.textContent.stimulsoft.toBoolean();break}}},c.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.placement=this.placement,e.font=this.font.clone(),null!=this.core&&(e.core=this.core.clone(),e.core.labels=e),e},Object.defineProperty(c.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"format",{get:function(){return this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"textBefore",{get:function(){return this._textBefore},set:function(e){this._textBefore=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"textAfter",{get:function(){return this._textAfter},set:function(e){this._textAfter=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"antialiasing",{get:function(){return this._antialiasing},set:function(e){this._antialiasing=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"placement",{get:function(){return this._placement},set:function(e){this._placement=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"textAlignment",{get:function(){return this._textAlignment},set:function(e){this._textAlignment=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"step",{get:function(){return this._step},set:function(e){this._step=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"wordWrap",{get:function(){return this._wordWrap},set:function(e){this._wordWrap=e},enumerable:!1,configurable:!0}),c}();t.StiAxisLabels=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.StiJson,i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(){function e(e,t,r){void 0===e&&(e=!0),void 0===t&&(t=0),void 0===r&&(r=0),this._minimum=0,this._maximum=0,this._auto=!0,this._auto=e,this._minimum=t,this._maximum=r}return e.prototype.implements=function(){return e.implementsStiAxisRange||(e.implementsStiAxisRange=[i,n,t.IStiAxisRange]),e.implementsStiAxisRange},e.prototype.saveToJsonObject=function(e){var t=new r;return t.addPropertyNumber("Minimum",this._minimum,0),t.addPropertyNumber("Maximum",this._maximum,0),t.addPropertyBool("Auto",this._auto,!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"Minimum":this._minimum=o.value.stimulsoft.toNumber();break;case"Maximum":this._maximum=o.value.stimulsoft.toNumber();break;case"Auto":this._auto=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<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Minimum":this._minimum=r.textContent.stimulsoft.toNumber();break;case"Maximum":this._maximum=r.textContent.stimulsoft.toNumber();break;case"Auto":this._auto=r.textContent.stimulsoft.toBoolean();break}}},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"minimum",{get:function(){return this._minimum},set:function(e){this._minimum=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maximum",{get:function(){return this._maximum},set:function(e){this._maximum=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"auto",{get:function(){return this._auto},set:function(e){this._auto=e},enumerable:!1,configurable:!0}),e}();t.StiAxisRange=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,r,i,n,o,a){void 0===e&&(e=!0),void 0===t&&(t=5),void 0===r&&(r=!1),void 0===i&&(i=2),void 0===n&&(n=4),void 0===o&&(o=0),void 0===a&&(a=5),this._lengthUnderLabels=5,this._length=5,this._minorLength=2,this._minorCount=4,this._step=0,this._minorVisible=!1,this._visible=!0,this._visible=e,this._length=t,this._minorVisible=r,this._minorLength=i,this._minorCount=n,this._step=o,this._lengthUnderLabels=a}return e.prototype.implements=function(){return e.implementsStiAxisTicks||(e.implementsStiAxisTicks=[i,t.IStiAxisTicks,n]),e.implementsStiAxisTicks},e.prototype.saveToJsonObject=function(e){var t=new r;return t.addPropertyNumber("LengthUnderLabels",this._lengthUnderLabels,5),t.addPropertyNumber("Length",this._length,5),t.addPropertyNumber("MinorLength",this._minorLength,2),t.addPropertyNumber("MinorCount",this._minorCount,4),t.addPropertyNumber("Step",this._step),t.addPropertyBool("MinorVisible",this.minorVisible),t.addPropertyBool("Visible",this.visible,!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"LengthUnderLabels":this._lengthUnderLabels=o.value.stimulsoft.toNumber();break;case"Length":this._length=o.value.stimulsoft.toNumber();break;case"MinorLength":this._minorLength=o.value.stimulsoft.toNumber();break;case"MinorCount":this._minorCount=o.value.stimulsoft.toNumber();break;case"Step":this._step=o.value.stimulsoft.toNumber();break;case"MinorVisible":this.minorVisible=o.value.stimulsoft.toBoolean();break;case"Visible":this._visible=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<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"LengthUnderLabels":this._lengthUnderLabels=r.textContent.stimulsoft.toNumber();break;case"Length":this._length=r.textContent.stimulsoft.toNumber();break;case"MinorLength":this._minorLength=r.textContent.stimulsoft.toNumber();break;case"MinorCount":this._minorCount=r.textContent.stimulsoft.toNumber();break;case"Step":this._step=r.textContent.stimulsoft.toNumber();break;case"MinorVisible":this.minorVisible=r.textContent.stimulsoft.toBoolean();break;case"Visible":this._visible=r.textContent.stimulsoft.toBoolean();break}}},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"lengthUnderLabels",{get:function(){return this._lengthUnderLabels},set:function(e){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<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"ShowScrollBar":this._showScrollBar=r.textContent.stimulsoft.toBoolean();break;case"RangeScrollEnabled":this._rangeScrollEnabled=r.textContent.stimulsoft.toBoolean();break}}},e.prototype.clone=function(){var e;return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"showScrollBar",{get:function(){return this._showScrollBar},set:function(e){this._showScrollBar!=e&&(this._showScrollBar=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rangeScrollEnabled",{get:function(){return this._rangeScrollEnabled},set:function(e){this._rangeScrollEnabled!=e&&(this._rangeScrollEnabled=e)},enumerable:!1,configurable:!0}),e}();t.StiAxisInteraction=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=e.System.Enum,a=function(){function e(e,r,i){void 0===e&&(e=t.StiTimeDateStep.None),void 0===r&&(r=1),void 0===i&&(i=!1),this._step=t.StiTimeDateStep.None,this._numberOfValues=1,this._interpolation=!1,this._step=e,this._numberOfValues=r,this._interpolation=i}return e.prototype.implements=function(){return e.implementsStiAxisDateTimeStep||(e.implementsStiAxisDateTimeStep=[i,n,t.IStiAxisDateTimeStep,i]),e.implementsStiAxisDateTimeStep},e.prototype.saveToJsonObject=function(e){var i=new r;return i.addPropertyEnum("Step",t.StiTimeDateStep,this._step,t.StiTimeDateStep.None),i.addPropertyNumber("NumberOfValues",this._numberOfValues,1),i.addPropertyBool("Interpolation",this._interpolation),i},e.prototype.loadFromJsonObject=function(e){var r,i;try{for(var n=__values(e.properties()),a=n.next();!a.done;a=n.next()){var s=a.value;switch(s.name){case"Step":this._step=o.parse(t.StiTimeDateStep,s.value.toString());break;case"NumberOfValues":this._numberOfValues=s.value.stimulsoft.toNumber();break;case"Interpolation":this._interpolation=s.value.stimulsoft.toBoolean();break}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},e.prototype.loadFromXml=function(e){for(var r=0;r<e.childNodes.length;r++){var i=e.childNodes[r];switch(i.nodeName){case"Step":this._step=o.parse(t.StiTimeDateStep,i.textContent);break;case"NumberOfValues":this._numberOfValues=i.textContent.stimulsoft.toNumber();break;case"Interpolation":this._interpolation=i.textContent.stimulsoft.toBoolean();break}}},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"step",{get:function(){return this._step},set:function(e){this._step=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"numberOfValues",{get:function(){return this._numberOfValues},set:function(e){this._numberOfValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"interpolation",{get:function(){return this._interpolation},set:function(e){this._interpolation=e},enumerable:!1,configurable:!0}),e}();t.StiAxisDateTimeStep=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(r,i,a,s,l,u,c,h,p,f,m,S,g,y,d,b){void 0===r&&(r=new t.StiAxisLabels),void 0===i&&(i=new t.StiAxisRange),void 0===a&&(a=null),void 0===s&&(s=new t.StiAxisTicks),void 0===l&&(l=new t.StiAxisInteraction),void 0===u&&(u=t.StiArrowStyle.None),void 0===c&&(c=n.Solid),void 0===h&&(h=o.gray),void 0===p&&(p=1),void 0===f&&(f=!0),void 0===m&&(m=!0),void 0===S&&(S=t.StiShowXAxis.Both),void 0===g&&(g=!1),void 0===y&&(y=!0),void 0===d&&(d=new t.StiAxisDateTimeStep),void 0===b&&(b=!1);var v=e.call(this,r,i,a,s,l,u,c,h,p,f,m,S,g,y,d,b)||this;return v.dateTimeStep=d,v.core=new t.StiXBottomAxisCoreXF(v),v}return __extends(a,e),a.prototype.implements=function(){return a.implementsStiXBottomAxis||(a.implementsStiXBottomAxis=e.prototype.implements.call(this).concat([r,t.IStiXAxis,i,t.IStiXBottomAxis,t.IStiAxis])),a.implementsStiXBottomAxis},a}(t.StiXAxis);t.StiXBottomAxis=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.StiPenStyle,l=e.System.Enum,u=e.System.Drawing.Color,c=function(){function c(e,t,i,n,o,a,l,c){void 0===e&&(e=u.silver),void 0===t&&(t=s.Dot),void 0===i&&(i=!0),void 0===n&&(n=u.gainsboro),void 0===o&&(o=s.Dot),void 0===a&&(a=!1),void 0===l&&(l=0),void 0===c&&(c=!0),this.needSetAreaJsonPropertyInternal=!1,this._allowApplyStyle=!0,this._color=u.silver,this._minorColor=u.gainsboro,this._style=s.Dot,this._minorStyle=s.Dot,this._visible=!0,this._minorVisible=!1,this._minorCount=0,this._color=e,this._style=t,this._visible=i,this._minorColor=n,this._minorStyle=o,this._minorVisible=a,this._minorCount=l,this._allowApplyStyle=c,this._core=new r.StiGridLinesCoreXF(this)}return c.prototype.implements=function(){return c.implementsStiGridLines||(c.implementsStiGridLines=[o,r.IStiGridLines,a]),c.implementsStiGridLines},c.prototype.saveToJsonObject=function(e){var t=new n;return t.addPropertyBool("AllowApplyStyle",this._allowApplyStyle,!0),t.addPropertyStringNullOrEmpty("Color",i.Serialize.jColor(this._color,u.silver)),t.addPropertyStringNullOrEmpty("MinorColor",i.Serialize.jColor(this._minorColor,u.gainsboro)),t.addPropertyEnum("Style",s,this._style,s.Dot),t.addPropertyEnum("MinorStyle",s,this._minorStyle,s.Dot),t.addPropertyBool("Visible",this._visible,!0),t.addPropertyBool("MinorVisible",this._minorVisible),t.addPropertyNumber("MinorCount",this._minorCount),null!=this.area&&t.addPropertyBool("Area",!0),t},c.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"Color":this._color=i.Deserialize.color(a.value.toString());break;case"MinorColor":this._minorColor=i.Deserialize.color(a.value.toString());break;case"Style":this._style=l.parse(s,a.value.toString());break;case"MinorStyle":this._minorStyle=l.parse(s,a.value.toString());break;case"Visible":this._visible=a.value.stimulsoft.toBoolean();break;case"MinorVisible":this._minorVisible=a.value.stimulsoft.toBoolean();break;case"MinorCount":this._minorCount=a.value.stimulsoft.toNumber();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}}},c.prototype.loadFromXml=function(t){for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"AllowApplyStyle":this._allowApplyStyle=i.textContent.stimulsoft.toBoolean();break;case"Color":this._color=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"MinorColor":this._minorColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"Style":this._style=l.parse(s,i.textContent);break;case"MinorStyle":this._minorStyle=l.parse(s,i.textContent);break;case"Visible":this._visible=i.textContent.stimulsoft.toBoolean();break;case"MinorVisible":this._minorVisible=i.textContent.stimulsoft.toBoolean();break;case"MinorCount":this._minorCount=i.textContent.stimulsoft.toNumber();break;case"Area":this.needSetAreaJsonPropertyInternal=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return t.StiComponentId.StiGridLines},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),c.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.style=this.style,e.minorStyle=this.minorStyle,null!=this.core&&(e.core=this.core.clone(),e.core.gridLines=e),e},Object.defineProperty(c.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e,e&&null!=this.area&&null!=this.area.chart&&this.core.applyStyle(this.area.chart.style))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"minorColor",{get:function(){return this._minorColor},set:function(e){this._minorColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"style",{get:function(){return this._style},set:function(e){this._style=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"minorStyle",{get:function(){return this._minorStyle},set:function(e){this._minorStyle=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"minorVisible",{get:function(){return this._minorVisible},set:function(e){this._minorVisible=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"minorCount",{get:function(){return this._minorCount},set:function(e){e>=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<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"AllowApplyStyle":this._allowApplyStyle=r.textContent.stimulsoft.toBoolean();break;case"InterlacedBrush":this._interlacedBrush=l.convertToBrush(r.textContent);break;case"Visible":this._visible=r.textContent.stimulsoft.toBoolean();break;case"Area":this.needSetAreaJsonPropertyInternal=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(e.prototype,"componentId",{get:function(){return t.StiComponentId.StiInterlacing},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),e.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.interlacedBrush=this.interlacedBrush.clone(),null!=this.core&&(e.core=this.core.clone(),e.core.interlacing=e),e},Object.defineProperty(e.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e,e&&null!=this.area&&null!=this.area.chart&&this.core.applyStyle(this.area.chart.style))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"interlacedBrush",{get:function(){return this._interlacedBrush},set:function(e){this._interlacedBrush=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}),Object.defineProperty(e.prototype,"area",{get:function(){return this._area},set:function(e){this._area=e},enumerable:!1,configurable:!0}),e}();r.StiInterlacing=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.System.Drawing.Color,o=e.Base.Drawing.StiSolidBrush,a=function(e){function a(t,r,i){return void 0===t&&(t=new o(n.transparent)),void 0===r&&(r=!0),void 0===i&&(i=!0),e.call(this,t,r,i)||this}return __extends(a,e),a.prototype.implements=function(){return a.implementsStiInterlacingVert||(a.implementsStiInterlacingVert=e.prototype.implements.call(this).concat([t.IStiInterlacing,t.IStiInterlacingVert,i,r])),a.implementsStiInterlacingVert},a}(t.StiInterlacing);t.StiInterlacingVert=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.System.Drawing.Color,o=e.Base.Drawing.StiSolidBrush,a=function(e){function a(t,r,i){return void 0===t&&(t=new o(n.transparent)),void 0===r&&(r=!0),void 0===i&&(i=!0),e.call(this,t,r,i)||this}return __extends(a,e),a.prototype.implements=function(){return a.implementsStiInterlacingHor||(a.implementsStiInterlacingHor=e.prototype.implements.call(this).concat([t.IStiInterlacing,t.IStiInterlacingHor,r,i])),a.implementsStiInterlacingHor},a}(t.StiInterlacing);t.StiInterlacingHor=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=function(e){function n(){var r=e.call(this)||this;return r._reverseHor=!1,r._reverseVert=!1,r.interlacingHor=new t.StiInterlacingHor,r.interlacingVert=new t.StiInterlacingVert,r.gridLinesHor=new t.StiGridLinesHor,r.gridLinesHorRight=new t.StiGridLinesHor,r.gridLinesVert=new t.StiGridLinesVert,r.gridLinesHorRight.visible=!1,r.xAxis=new t.StiXBottomAxis,r.yAxis=new t.StiYLeftAxis,r.xTopAxis=new t.StiXTopAxis,r.yRightAxis=new t.StiYRightAxis,r}return __extends(n,e),n.prototype.implements=function(){return n.implementsStiAxisArea||(n.implementsStiAxisArea=e.prototype.implements.call(this).concat([r,t.IStiAxisArea,t.IStiArea,i])),n.implementsStiAxisArea},n.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyJObject("InterlacingHor",this._interlacingHor.saveToJsonObject(t)),r.addPropertyJObject("InterlacingVert",this._interlacingVert.saveToJsonObject(t)),r.addPropertyJObject("GridLinesHor",this._gridLinesHor.saveToJsonObject(t)),r.addPropertyJObject("GridLinesHorRight",this._gridLinesHorRight.saveToJsonObject(t)),r.addPropertyJObject("GridLinesVert",this._gridLinesVert.saveToJsonObject(t)),r.addPropertyJObject("YAxis",this._yAxis.saveToJsonObject(t)),r.addPropertyJObject("YRightAxis",this._yRightAxis.saveToJsonObject(t)),r.addPropertyJObject("XAxis",this._xAxis.saveToJsonObject(t)),r.addPropertyJObject("XTopAxis",this._xTopAxis.saveToJsonObject(t)),r.addPropertyBool("ReverseHor",this.reverseHor),r.addPropertyBool("ReverseVert",this.reverseVert),r},n.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"InterlacingHor":this._interlacingHor.loadFromJsonObject(a.value),this._interlacingHor.needSetAreaJsonPropertyInternal&&(this._interlacingHor.needSetAreaJsonPropertyInternal=!1,this._interlacingHor.area=this);break;case"InterlacingVert":this._interlacingVert.loadFromJsonObject(a.value),this._interlacingVert.needSetAreaJsonPropertyInternal&&(this._interlacingVert.needSetAreaJsonPropertyInternal=!1,this._interlacingVert.area=this);break;case"GridLinesHor":this._gridLinesHor.loadFromJsonObject(a.value),this._gridLinesHor.needSetAreaJsonPropertyInternal&&(this._gridLinesHor.needSetAreaJsonPropertyInternal=!1,this._gridLinesHor.area=this);break;case"GridLinesHorRight":this._gridLinesHorRight.loadFromJsonObject(a.value),this._gridLinesHorRight.needSetAreaJsonPropertyInternal&&(this._gridLinesHorRight.needSetAreaJsonPropertyInternal=!1,this._gridLinesHorRight.area=this);break;case"GridLinesVert":this._gridLinesVert.loadFromJsonObject(a.value),this._gridLinesVert.needSetAreaJsonPropertyInternal&&(this._gridLinesVert.needSetAreaJsonPropertyInternal=!1,this._gridLinesVert.area=this);break;case"YAxis":this._yAxis.loadFromJsonObject(a.value);break;case"YRightAxis":this._yRightAxis.loadFromJsonObject(a.value);break;case"XAxis":this._xAxis.loadFromJsonObject(a.value);break;case"XTopAxis":this._xTopAxis.loadFromJsonObject(a.value);break;case"ReverseHor":this.reverseHor=a.value.stimulsoft.toBoolean();break;case"ReverseVert":this.reverseVert=a.value.stimulsoft.toBoolean();break}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},n.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"InterlacingHor":this._interlacingHor.loadFromXml(i),this._interlacingHor.area=this;break;case"InterlacingVert":this._interlacingVert.loadFromXml(i),this._interlacingVert.area=this;break;case"GridLinesHor":this._gridLinesHor.loadFromXml(i),this._gridLinesHor.area=this;break;case"GridLinesHorRight":this._gridLinesHorRight.loadFromXml(i),this._gridLinesHorRight.area=this;break;case"GridLinesVert":this._gridLinesVert.loadFromXml(i),this._gridLinesVert.area=this;break;case"YAxis":this._yAxis.loadFromXml(i);break;case"YRightAxis":this._yRightAxis.loadFromXml(i);break;case"XAxis":this._xAxis.loadFromXml(i);break;case"XTopAxis":this._xTopAxis.loadFromXml(i);break;case"ReverseHor":this.reverseHor=i.textContent.stimulsoft.toBoolean();break;case"ReverseVert":this.reverseVert=i.textContent.stimulsoft.toBoolean();break}}},n.prototype.clone=function(){var t=e.prototype.clone.call(this);return t.interlacingHor=this.interlacingHor.clone(),t.interlacingVert=this.interlacingVert.clone(),t.gridLinesHor=this.gridLinesHor.clone(),t.gridLinesHorRight=this.gridLinesHorRight.clone(),t.gridLinesVert=this.gridLinesVert.clone(),t.yAxis=this.yAxis.clone(),t.yRightAxis=this.yRightAxis.clone(),t.xAxis=this.xAxis.clone(),t.xTopAxis=this.xTopAxis.clone(),t},Object.defineProperty(n.prototype,"axisCore",{get:function(){return this.core},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"interlacingHor",{get:function(){return this._interlacingHor},set:function(e){this._interlacingHor=e,null!=this._interlacingHor&&(this._interlacingHor.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"interlacingVert",{get:function(){return this._interlacingVert},set:function(e){this._interlacingVert=e,null!=this._interlacingVert&&(this._interlacingVert.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gridLinesHor",{get:function(){return this._gridLinesHor},set:function(e){this._gridLinesHor=e,null!=this._gridLinesHor&&(this._gridLinesHor.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gridLinesHorRight",{get:function(){return this._gridLinesHorRight},set:function(e){this._gridLinesHorRight=e,null!=this._gridLinesHorRight&&(this._gridLinesHorRight.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gridLinesVert",{get:function(){return this._gridLinesVert},set:function(e){this._gridLinesVert=e,null!=this._gridLinesVert&&(this._gridLinesVert.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yAxis",{get:function(){return this._yAxis},set:function(e){this._yAxis=e,null!=this._yAxis&&(this._yAxis.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yRightAxis",{get:function(){return this._yRightAxis},set:function(e){this._yRightAxis=e,null!=this._yRightAxis&&(this._yRightAxis.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"xAxis",{get:function(){return this._xAxis},set:function(e){this._xAxis=e,null!=this._xAxis&&(this._xAxis.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"xTopAxis",{get:function(){return this._xTopAxis},set:function(e){this._xTopAxis=e,null!=this._xTopAxis&&(this._xTopAxis.area=this)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"reverseHor",{get:function(){return this._reverseHor},set:function(e){this._reverseHor=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"reverseVert",{get:function(){return this._reverseVert},set:function(e){this._reverseVert=e},enumerable:!1,configurable:!0}),n.prototype.getDefaultSeriesLabelsType=function(){return t.StiCenterAxisLabels},n.prototype.getSeriesLabelsTypes=function(){return[t.StiNoneLabels,t.StiInsideBaseAxisLabels,t.StiInsideEndAxisLabels,t.StiCenterAxisLabels,t.StiOutsideBaseAxisLabels,t.StiOutsideEndAxisLabels,t.StiOutsideAxisLabels,t.StiLeftAxisLabels,t.StiValueAxisLabels,t.StiRightAxisLabels]},n}(t.StiArea);t.StiAxisArea=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.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiClusteredColumnAreaCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiClusteredColumnArea||(o.implementsStiClusteredColumnArea=e.prototype.implements.call(this).concat([i,r.IStiClusteredColumnArea,r.IStiAxisArea,n,r.IStiArea])),o.implementsStiClusteredColumnArea},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiClusteredColumnArea},enumerable:!1,configurable:!0}),o.prototype.getDefaultSeriesType=function(){return r.StiClusteredColumnSeries},o.prototype.getSeriesTypes=function(){return[r.StiClusteredColumnSeries,r.StiLineSeries,r.StiSteppedLineSeries,r.StiSplineSeries,r.StiAreaSeries,r.StiSteppedAreaSeries,r.StiSplineAreaSeries]},o.prototype.createNew=function(){return new o},o}(r.StiAxisArea);r.StiClusteredColumnArea=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.Base.StiJson,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.System.EventArgs,a=e.Base.Localization.StiLocalization,s,l=function(s){function l(){var e=null!==s&&s.apply(this,arguments)||this;return e.chart=null,e}return __extends(l,s),l.prototype.implements=function(){return l.implementsStiSeriesCollection||(l.implementsStiSeriesCollection=[n,t.IStiApplyStyle,t.IStiSeriesCollection]),l.implementsStiSeriesCollection},l.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var n=new i,o=0;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l=s.value;n.addPropertyJObject(o.toString(),l.saveToJsonObject(e)),o++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},l.prototype.loadFromJsonObject=function(t){var i,n,o=function(t){var i,n=t.value.properties().firstOrDefault((function(e){return"Ident"==e.name})).value.toString(),o=e["StiOptions"].Services.chartSeries.firstOrDefault((function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==n}));if(null==o)throw r.format("Type {0} is not found!",n);var s=o.createNew();s.chart=a.chart,a.list.push(s),s.loadFromJsonObject(t.value)},a=this;try{for(var s=__values(t.properties()),l=s.next();!l.done;l=s.next()){var u;o(l.value)}}catch(e){i={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}},l.prototype.loadFromXml=function(e,r){for(var i=0;i<e.childNodes.length;i++){var n=e.childNodes[i],o;if(null==n.attributes)continue;if(null!=n.attributes.getNamedItem("type"))switch(n.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Chart.StiClusteredColumnSeries":var a=new t.StiClusteredColumnSeries;a.chart=r,this.list.push(a),a.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiLineSeries":var s=new t.StiLineSeries;s.chart=r,this.list.push(s),s.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiAreaSeries":var l=new t.StiAreaSeries;l.chart=r,this.list.push(l),l.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiSplineSeries":var u=new t.StiSplineSeries;u.chart=r,this.list.push(u),u.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiSplineAreaSeries":var c=new t.StiSplineAreaSeries;c.chart=r,this.list.push(c),c.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiStackedColumnSeries":var h=new t.StiStackedColumnSeries;h.chart=r,this.list.push(h),h.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiStackedLineSeries":var p=new t.StiStackedLineSeries;p.chart=r,this.list.push(p),p.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiStackedAreaSeries":var f=new t.StiStackedAreaSeries;f.chart=r,this.list.push(f),f.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiStackedSplineSeries":var m=new t.StiStackedSplineSeries;m.chart=r,this.list.push(m),m.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiStackedSplineAreaSeries":var S=new t.StiStackedSplineAreaSeries;S.chart=r,this.list.push(S),S.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiSteppedLineSeries":var g=new t.StiSteppedLineSeries;g.chart=r,this.list.push(g),g.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiSteppedAreaSeries":var y=new t.StiSteppedAreaSeries;y.chart=r,this.list.push(y),y.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiFullStackedColumnSeries":var d=new t.StiFullStackedColumnSeries;d.chart=r,this.list.push(d),d.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiFullStackedLineSeries":var b=new t.StiFullStackedLineSeries;b.chart=r,this.list.push(b),b.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiFullStackedAreaSeries":var v=new t.StiFullStackedAreaSeries;v.chart=r,this.list.push(v),v.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiFullStackedSplineSeries":var C=new t.StiFullStackedSplineSeries;C.chart=r,this.list.push(C),C.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiFullStackedSplineAreaSeries":var w=new t.StiFullStackedSplineAreaSeries;w.chart=r,this.list.push(w),w.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiClusteredBarSeries":var x=new t.StiClusteredBarSeries;x.chart=r,this.list.push(x),x.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiStackedBarSeries":var _=new t.StiStackedBarSeries;_.chart=r,this.list.push(_),_.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiFullStackedBarSeries":var A=new t.StiFullStackedBarSeries;A.chart=r,this.list.push(A),A.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiDoughnutSeries":var L=new t.StiDoughnutSeries;L.chart=r,this.list.push(L),L.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiGanttSeries":var O=new t.StiGanttSeries;O.chart=r,this.list.push(O),O.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiPieSeries":var P=new t.StiPieSeries;P.chart=r,this.list.push(P),P.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiBubbleSeries":var B=new t.StiBubbleSeries;B.chart=r,this.list.push(B),B.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiScatterSeries":var R=new t.StiScatterSeries;R.chart=r,this.list.push(R),R.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiScatterLineSeries":var k=new t.StiScatterLineSeries;k.chart=r,this.list.push(k),k.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiScatterSplineSeries":var T=new t.StiScatterSplineSeries;T.chart=r,this.list.push(T),T.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiRadarPointSeries":var j=new t.StiRadarPointSeries;j.chart=r,this.list.push(j),j.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiRadarLineSeries":var F=new t.StiRadarLineSeries;F.chart=r,this.list.push(F),F.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiRadarAreaSeries":var I=new t.StiRadarAreaSeries;I.chart=r,this.list.push(I),I.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiFunnelSeries":var D=new t.StiFunnelSeries;D.chart=r,this.list.push(D),D.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiStockSeries":var N=new t.StiStockSeries;N.chart=r,this.list.push(N),N.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiCandlestickSeries":var M=new t.StiCandlestickSeries;M.chart=r,this.list.push(M),M.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiFunnelWeightedSlicesSeries":var E=new t.StiFunnelWeightedSlicesSeries;E.chart=r,this.list.push(E),E.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiSteppedRangeSeries":var V=new t.StiSteppedRangeSeries;V.chart=r,this.list.push(V),V.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiSplineRangeSeries":var G=new t.StiSplineRangeSeries;G.chart=r,this.list.push(G),G.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiRangeSeries":var X=new t.StiRangeSeries;X.chart=r,this.list.push(X),X.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiRangeBarSeries":var z=new t.StiRangeBarSeries;z.chart=r,this.list.push(z),z.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiTreemapSeries":var J=new t.StiTreemapSeries;J.chart=r,this.list.push(J),J.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiPictorialSeries":var H=new t.StiPictorialSeries;H.chart=r,this.list.push(H),H.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiParetoSeries":var W=new t.StiParetoSeries;W.chart=r,this.list.push(W),W.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiWaterfallSeries":var Y=new t.StiWaterfallSeries;Y.chart=r,this.list.push(Y),Y.loadFromXml(n);break;case"Stimulsoft.Report.Chart.StiHistogramSeries":var Z=new t.StiHistogramSeries;Z.chart=r,this.list.push(Z),Z.loadFromXml(n);break}}},l.prototype.applyStyle=function(e){var t,r;if(null==e)return;var i=0;try{for(var n=__values(this.list),o=n.next();!o.done;o=n.next()){var a=o.value,s=e.core.getColors(this.length,a.core.seriesColors);a.core.applyStyle(e,s[i++])}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},l.prototype.getSeriesTitle=function(){var e,t,r=a.get("Chart","Series"),i=r,n=1,o=!0;while(o){i=r+" "+n.toString(),o=!1;try{for(var s=(e=void 0,__values(this.list)),l=s.next();!l.done;l=s.next()){var u;if(l.value.coreTitle==i){o=!0;break}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}n++}return i},l.prototype.add=function(e){null!=this.chart&&(r.isNullOrEmpty(e.coreTitle)&&(e.coreTitle=this.getSeriesTitle()),e.chart=this.chart),s.prototype.add.call(this,e),this.invokeSeriesAdded(e)},l.prototype.insert=function(e,t){null!=this.chart&&(r.isNullOrEmpty(t.coreTitle)&&(t.coreTitle=this.getSeriesTitle()),t.chart=this.chart),s.prototype.insert.call(this,e,t),this.invokeSeriesAdded(t)},l.prototype.remove=function(e){this.invokeSeriesRemoved(e),s.prototype.remove.call(this,e)},l.prototype.removeAt=function(e){var t=this.getByIndex(e);this.invokeSeriesRemoved(t),s.prototype.removeAt.call(this,e)},l.prototype.getByName=function(e){var t,r;try{for(var i=__values(this.list),n=i.next();!n.done;n=i.next()){var o=n.value;if(o.coreTitle==e)return o}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return null},l.prototype.setByName=function(e,t){for(var r=0;r<this.list.length;r++){var i;if(this.list[r].coreTitle==name)return void(this.list[r]=t)}this.add(t)},l.prototype.invokeSeriesAdded=function(e){null!=this.seriesAdded&&this.seriesAdded(e,o.empty)},l.prototype.invokeSeriesRemoved=function(e){null!=this.seriesRemoved&&this.seriesRemoved(e,o.empty)},l}(e.System.Collections.CollectionBase);t.StiSeriesCollection=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,i=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.storedForProcessAtEndChart=null,t.interactiveComps=null,t}return __extends(r,e),r.prototype.implements=function(){return r.implementsStiChartInfo||(r.implementsStiChartInfo=[t.IStiChartInfo]),r.implementsStiChartInfo},r}(e.Report.Engine.StiComponentInfo);t.StiChartInfo=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.Report.Styles.StiBaseStyle,n=e.Report.Dashboard.StiElementStyleIdent,o=e.Base.StiJson,a=e.Base.JsonReportObject.IStiJsonReportObject,s=e.System.ICloneable,l=function(i){function l(){var e=null!==i&&i.apply(this,arguments)||this;return e.isOffice2015Style=!1,e.allowDashboard=!1,e.styleIdent=n.Blue,e}return __extends(l,i),l.prototype.implements=function(){return l.implementsStiChartStyle||(l.implementsStiChartStyle=i.prototype.implements.call(this).concat([a,t.IStiChartStyle,s])),l.implementsStiChartStyle},l.prototype.saveToJsonObject=function(e){var t=new o;return t.addPropertyStringNullOrEmpty("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t},l.prototype.loadFromJsonObject=function(e){},l.loadFromXml=function(e){if(null!=e.attributes.getNamedItem("type"))switch(e.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Chart.StiCustomStyle":return new t.StiCustomStyle;case"Stimulsoft.Report.Chart.StiStyle01":return new t.StiStyle01;case"Stimulsoft.Report.Chart.StiStyle02":return new t.StiStyle02;case"Stimulsoft.Report.Chart.StiStyle03":return new t.StiStyle03;case"Stimulsoft.Report.Chart.StiStyle04":return new t.StiStyle04;case"Stimulsoft.Report.Chart.StiStyle05":return new t.StiStyle05;case"Stimulsoft.Report.Chart.StiStyle06":return new t.StiStyle06;case"Stimulsoft.Report.Chart.StiStyle07":return new t.StiStyle07;case"Stimulsoft.Report.Chart.StiStyle08":return new t.StiStyle08;case"Stimulsoft.Report.Chart.StiStyle09":return new t.StiStyle09;case"Stimulsoft.Report.Chart.StiStyle10":return new t.StiStyle10;case"Stimulsoft.Report.Chart.StiStyle11":return new t.StiStyle11;case"Stimulsoft.Report.Chart.StiStyle12":return new t.StiStyle12;case"Stimulsoft.Report.Chart.StiStyle13":return new t.StiStyle13;case"Stimulsoft.Report.Chart.StiStyle14":return new t.StiStyle14;case"Stimulsoft.Report.Chart.StiStyle15":return new t.StiStyle15;case"Stimulsoft.Report.Chart.StiStyle16":return new t.StiStyle16;case"Stimulsoft.Report.Chart.StiStyle17":return new t.StiStyle17;case"Stimulsoft.Report.Chart.StiStyle18":return new t.StiStyle18;case"Stimulsoft.Report.Chart.StiStyle19":return new t.StiStyle19;case"Stimulsoft.Report.Chart.StiStyle20":return new t.StiStyle20;case"Stimulsoft.Report.Chart.StiStyle21":return new t.StiStyle21;case"Stimulsoft.Report.Chart.StiStyle22":return new t.StiStyle22;case"Stimulsoft.Report.Chart.StiStyle23":return new t.StiStyle23;case"Stimulsoft.Report.Chart.StiStyle24":return new t.StiStyle24;case"Stimulsoft.Report.Chart.StiStyle25":return new t.StiStyle25;case"Stimulsoft.Report.Chart.StiStyle26":return new t.StiStyle26;case"Stimulsoft.Report.Chart.StiStyle27":return new t.StiStyle27;case"Stimulsoft.Report.Chart.StiStyle28":return new t.StiStyle28;case"Stimulsoft.Report.Chart.StiStyle29":return new t.StiStyle29;case"Stimulsoft.Report.Chart.StiStyle30":return new t.StiStyle30;case"Stimulsoft.Report.Chart.StiStyle31":return new t.StiStyle31;case"Stimulsoft.Report.Chart.StiStyle32":return new t.StiStyle32;case"Stimulsoft.Report.Chart.StiStyle33":return new t.StiStyle33}return null},l.loadFromJsonObjectInternal=function(i){var n=i.properties().firstOrDefault((function(e){return"Ident"==e.name})).value.toString();if("StiCustomStyle"==n)return new t.StiCustomStyle;var o=e["StiOptions"].Services.chartStyles.firstOrDefault((function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==n}));if(null==o)throw r.format("Type {0} is not found!",n);return o.createNew()},Object.defineProperty(l.prototype,"serviceName",{get:function(){return this.core.localizedName},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"serviceCategory",{get:function(){return"Chart"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"serviceType",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),l.prototype.toString=function(){if(this.stimulsoft.is(t.StiCustomStyle)&&null!=this.core.reportChartStyle)return this.core.reportChartStyle.name;return this.serviceName},l.prototype.compareChartStyle=function(e){if(null==e)return!1;var r=this.stimulsoft.as(t.StiCustomStyle),i=e.stimulsoft.as(t.StiCustomStyle);if(null!=r&&null!=i){var n=r.core.reportStyleName;null!=r.core.reportStyle&&(n=r.core.reportStyle.name);var o=i.core.reportStyleName;return null!=i.core.reportStyle&&(o=i.core.reportStyle.name),n==o}return this.stimulsoft.getType()==e.stimulsoft.getType()},l.prototype.createNew=function(){return null},l}(i);t.StiChartStyle=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=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.Green,r.isOffice2015Style=!0,r.core=new t.StiStyleCoreXF25,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiChartStyle);t.StiStyle25=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=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.Blue,r.isOffice2015Style=!0,r.core=new t.StiStyleCoreXF29,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiChartStyle);t.StiStyle29=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.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.Enum,c=e.System.Drawing.Color,h=e.System.Drawing.Size,p=e.System.Drawing.Font,f=e.System.Drawing.FontStyle,m=function(){function m(){this._allowApplyStyle=!0,this._chart=null,this._hideSeriesWithEmptyTitle=!1,this._showShadow=!0,this._borderColor=c.gray,this._brush=new s(c.white),this._titleColor=c.gray,this._labelsColor=c.gray,this._direction=r.StiLegendDirection.TopToBottom,this._horAlignment=r.StiLegendHorAlignment.Left,this._vertAlignment=r.StiLegendVertAlignment.Top,this._titleFont=new p("Arial",14,f.Bold),this._font=new p("Arial",8,f.Bold),this._visible=!0,this._markerVisible=!0,this._markerBorder=!0,this._markerSize=new h(10,10),this._markerAlignment=r.StiMarkerAlignment.Left,this._columns=0,this._horSpacing=4,this._vertSpacing=2,this._title="",this._size=new e.System.Drawing.Size(0,0),this._core=new r.StiLegendCoreXF(this)}return m.prototype.implements=function(){return m.implementsStiLegend||(m.implementsStiLegend=[o,a,r.IStiLegend]),m.implementsStiLegend},m.prototype.saveToJsonObject=function(e){var t=new n;return t.addPropertyBool("AllowApplyStyle",this._allowApplyStyle,!0),t.addPropertyBool("HideSeriesWithEmptyTitle",this._hideSeriesWithEmptyTitle),t.addPropertyBool("ShowShadow",this._showShadow,!0),t.addPropertyStringNullOrEmpty("BorderColor",i.Serialize.jColor(this._borderColor,c.gray)),t.addPropertyStringNullOrEmpty("Brush",i.Serialize.jBrush(this._brush)),t.addPropertyStringNullOrEmpty("TitleColor",i.Serialize.jColor(this._titleColor,c.gray)),t.addPropertyStringNullOrEmpty("LabelsColor",i.Serialize.jColor(this._labelsColor,c.gray)),t.addPropertyEnum("Direction",r.StiLegendDirection,this.direction,r.StiLegendDirection.TopToBottom),t.addPropertyEnum("HorAlignment",r.StiLegendHorAlignment,this.horAlignment,r.StiLegendHorAlignment.Left),t.addPropertyEnum("VertAlignment",r.StiLegendVertAlignment,this.vertAlignment,r.StiLegendVertAlignment.Top),t.addPropertyStringNullOrEmpty("TitleFont",i.Serialize.font(this._titleFont,"Arial",14,f.Bold)),t.addPropertyStringNullOrEmpty("Font",i.Serialize.font(this._font,"Arial",8)),t.addPropertyBool("Visible",this._visible,!0),t.addPropertyBool("MarkerVisible",this._markerVisible,!0),t.addPropertyBool("MarkerBorder",this._markerBorder,!0),t.addPropertyJObject("MarkerSize",i.Serialize.size(this._markerSize)),t.addPropertyEnum("MarkerAlignment",r.StiMarkerAlignment,this._markerAlignment,r.StiMarkerAlignment.Left),t.addPropertyNumber("Columns",this._columns,0),t.addPropertyNumber("HorSpacing",this._horSpacing,4),t.addPropertyNumber("VertSpacing",this._vertSpacing,2),t.addPropertyStringNullOrEmpty("Size",i.Serialize.sizeD(this._size)),t.addPropertyStringNullOrEmpty("Title",this._title),t},m.prototype.loadFromJsonObject=function(e){var t,n;this._showShadow=!0;try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"AllowApplyStyle":this.allowApplyStyle=s.value.stimulsoft.toBoolean();break;case"HideSeriesWithEmptyTitle":this._hideSeriesWithEmptyTitle=s.value.stimulsoft.toBoolean();break;case"ShowShadow":this._showShadow=s.value.stimulsoft.toBoolean();break;case"BorderColor":this._borderColor=i.Deserialize.color(s.value.toString());break;case"Brush":this._brush=i.Deserialize.brush(s.value.toString());break;case"TitleColor":this._titleColor=i.Deserialize.color(s.value.toString());break;case"LabelsColor":this._labelsColor=i.Deserialize.color(s.value.toString());break;case"Direction":this.direction=u.parse(r.StiLegendDirection,s.value.toString());break;case"HorAlignment":this.horAlignment=u.parse(r.StiLegendHorAlignment,s.value.toString());break;case"VertAlignment":this.vertAlignment=u.parse(r.StiLegendVertAlignment,s.value.toString());break;case"TitleFont":this._titleFont=i.Deserialize.font(s.value.toString(),this.font);break;case"Font":this._font=i.Deserialize.font(s.value.toString(),this.font);break;case"Visible":this._visible=s.value.stimulsoft.toBoolean();break;case"MarkerVisible":this._markerVisible=s.value.stimulsoft.toBoolean();break;case"MarkerBorder":this._markerBorder=s.value.stimulsoft.toBoolean();break;case"MarkerSize":this._markerSize=i.Deserialize.size(s.value);break;case"MarkerAlignment":this.markerAlignment=u.parse(r.StiMarkerAlignment,s.value.toString());break;case"Columns":this._columns=s.value.stimulsoft.toNumber();break;case"HorSpacing":this._horSpacing=s.value.stimulsoft.toNumber();break;case"VertSpacing":this._vertSpacing=s.value.stimulsoft.toNumber();break;case"Size":this._size=i.Deserialize.sizeD(s.value.toString());break;case"Title":this._title=s.value.toString();break}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},m.prototype.loadFromXml=function(t){this._showShadow=!0;for(var i=0;i<t.childNodes.length;i++){var n=t.childNodes[i];switch(n.nodeName){case"AllowApplyStyle":this.allowApplyStyle=n.textContent.stimulsoft.toBoolean();break;case"HideSeriesWithEmptyTitle":this._hideSeriesWithEmptyTitle=n.textContent.stimulsoft.toBoolean();break;case"ShowShadow":this._showShadow=n.textContent.stimulsoft.toBoolean();break;case"BorderColor":this._borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Brush":case"bh":this._brush=l.convertToBrush(n.textContent);break;case"TitleColor":this._titleColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"LabelsColor":this._labelsColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Direction":this.direction=u.parse(r.StiLegendDirection,n.textContent);break;case"HorAlignment":case"ha":this.horAlignment=u.parse(r.StiLegendHorAlignment,n.textContent);break;case"VertAlignment":case"va":this.vertAlignment=u.parse(r.StiLegendVertAlignment,n.textContent);break;case"TitleFont":this._titleFont=e.System.Convert.toFont(n.textContent);break;case"Font":case"fn":this._font=e.System.Convert.toFont(n.textContent);break;case"Visible":this._visible=n.textContent.stimulsoft.toBoolean();break;case"MarkerVisible":this._markerVisible=n.textContent.stimulsoft.toBoolean();break;case"MarkerBorder":this._markerBorder=n.textContent.stimulsoft.toBoolean();break;case"MarkerSize":this._markerSize=e.System.Drawing.Size.convertFromXml(n.textContent);break;case"MarkerAlignment":this.markerAlignment=u.parse(r.StiMarkerAlignment,n.textContent);break;case"Columns":this._columns=n.textContent.stimulsoft.toNumber();break;case"HorSpacing":this._horSpacing=n.textContent.stimulsoft.toNumber();break;case"VertSpacing":this._vertSpacing=n.textContent.stimulsoft.toNumber();break;case"Size":this._size=e.System.Drawing.Size.convertFromXml(n.textContent);break;case"Title":this._title=n.textContent;break}}},Object.defineProperty(m.prototype,"componentId",{get:function(){return t.StiComponentId.StiLegend},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),m.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.brush=this.brush.clone(),e.font=this.font.clone(),e.titleFont=this.titleFont.clone(),e.direction=this.direction,e.horAlignment=this.horAlignment,e.vertAlignment=this.vertAlignment,e.markerAlignment=this.markerAlignment,null!=this.core&&(e.core=this.core.clone(),e.core.legend=e),e},Object.defineProperty(m.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e,e&&null!=r&&this.core.applyStyle(this.chart.style))},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"hideSeriesWithEmptyTitle",{get:function(){return this._hideSeriesWithEmptyTitle},set:function(e){this._hideSeriesWithEmptyTitle=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"showShadow",{get:function(){return this._showShadow},set:function(e){this._showShadow=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"borderColor",{get:function(){return this._borderColor},set:function(e){this._borderColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"titleColor",{get:function(){return this._titleColor},set:function(e){this._titleColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"labelsColor",{get:function(){return this._labelsColor},set:function(e){this._labelsColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"direction",{get:function(){return this._direction},set:function(e){this._direction=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"horAlignment",{get:function(){return this._horAlignment},set:function(e){this._horAlignment=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"vertAlignment",{get:function(){return this._vertAlignment},set:function(e){this._vertAlignment=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"titleFont",{get:function(){return this._titleFont},set:function(e){this._titleFont=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"markerVisible",{get:function(){return this._markerVisible},set:function(e){this._markerVisible=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"markerBorder",{get:function(){return this._markerBorder},set:function(e){this._markerBorder=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"markerSize",{get:function(){return this._markerSize},set:function(e){this._markerSize=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"markerAlignment",{get:function(){return this._markerAlignment},set:function(e){this._markerAlignment=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"columns",{get:function(){return this._columns},set:function(e){e>=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<t.childNodes.length;o++){var a=t.childNodes[o];switch(a.nodeName){case"FilterMode":this._filterMode=I.parse(e.Report.Components.StiFilterMode,a.textContent);break;case"Filters":this._filters.loadFromXml(a);break;case"FilterOn":this._filterOn=a.textContent.stimulsoft.toBoolean();break;case"Border":case"br":this._border=X.loadFromXml(a.textContent);break;case"Brush":this._brush=Y.loadFromXml(a.textContent);break;case"DataSourceName":this._dataSourceName=a.textContent;break;case"BusinessObjectGuid":this._businessObjectGuid=a.textContent;break;case"CountData":this._countData=a.textContent.stimulsoft.toNumber();break;case"DataRelationName":this._dataRelationName=a.textContent;break;case"ProcessAtEnd":this._processAtEnd=a.textContent.stimulsoft.toBoolean();break;case"ProcessChartEvent":break;case"Rotation":this._rotation=I.parse(D,a.textContent.toString());break;case"EditorType":this._editorType=I.parse(i,a.textContent.toString());break;case"AllowApplyStyle":this.allowApplyStyle=a.textContent.stimulsoft.toBoolean();break;case"CustomStyleName":this._customStyleName=a.textContent;break;case"HorSpacing":this._horSpacing=a.textContent.stimulsoft.toNumber();break;case"VertSpacing":this._vertSpacing=a.textContent.stimulsoft.toNumber();break;case"MasterComponent":this.jsonMasterComponentTemp=a.getAttribute("isRef"),this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.masterComponents.push(this);break;case"Style":var l=e.Report.Chart.StiChartStyle.loadFromXml(a);null!=l&&(this.style=l);break;case"ConstantLines":this.constantLines.loadFromXml(a);break;case"Strips":this.strips.loadFromXml(a);break;case"Title":var u=new e.Report.Chart.StiChartTitle;u.loadFromXml(a),u.chart=this,this.title=u;break;case"Legend":var c=new e.Report.Chart.StiLegend;c.loadFromXml(a),c.chart=this,this.legend=c;break;case"Table":var h=new e.Report.Chart.StiChartTable;h.chart=this,h.loadFromXml(a),this._table=h;break;case"SeriesLabels":this.seriesLabels=e.Report.Chart.StiSeriesLabels.loadLabelsFromXml(a,this);break;case"Area":this._area=m.loadAreaFromXml(a,this);break;case"Series":this._series.loadFromXml(a,this);break;case"SeriesLabelsConditions":this._seriesLabelsConditions.loadFromXml(a);break}}r||this.core.applyStyle(this.style)},Object.defineProperty(q.prototype,"componentId",{get:function(){return t.StiComponentId.StiChart},enumerable:!1,configurable:!0}),q.prototype.convert=function(e,t,r){void 0===r&&(r=!1),Z.prototype.convert.call(this,e,t,r),this.legend.size=t.convertSizeFromHInches(e.convertSizeToHInches(this.legend.size))},q.prototype.convertToHInches=function(e){return null!=this.report?this.report.unit.convertToHInches(e):e},q.prototype.setString=function(e,t){var r,i;switch(e){case"Legend.Title":this.legend.title=t;break;case"SeriesLabels.TextBefore":this.seriesLabels.textBefore=t;break;case"SeriesLabels.TextAfter":this.seriesLabels.textAfter=t;break}var n=this.area.stimulsoft.as(u);if(null!=n)switch(e){case"Area.XAxis.Labels.TextBefore":n.xAxis.labels.textBefore=t;break;case"Area.XAxis.Labels.TextAfter":n.xAxis.labels.textAfter=t;break;case"Area.XAxis.Title.Text":n.xAxis.title.text=t;break;case"Area.YAxis.Labels.TextBefore":n.yAxis.labels.textBefore=t;break;case"Area.YAxis.Labels.TextAfter":n.yAxis.labels.textAfter=t;break;case"Area.YAxis.Title.Text":n.yAxis.title.text=t;break;case"Area.XTopAxis.Labels.TextBefore":n.xTopAxis.labels.textBefore=t;break;case"Area.XTopAxis.Labels.TextAfter":n.xTopAxis.labels.textAfter=t;break;case"Area.XTopAxis.Title.Text":n.xTopAxis.title.text=t;break;case"Area.YRightAxis.Labels.TextBefore":n.yRightAxis.labels.textBefore=t;break;case"Area.YRightAxis.Labels.TextAfter":n.yRightAxis.labels.textAfter=t;break;case"Area.YRightAxis.Title.Text":n.yRightAxis.title.text=t;break}var o=0;try{for(var a=__values(this.series.list),l=a.next();!l.done;l=a.next()){var c=l.value,h;e==s.format("Series{0}.Title",o++)&&(c.coreTitle=t)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}},q.prototype.getString=function(e){var t,r;switch(e){case"Legend.Title":return this.legend.title;case"SeriesLabels.TextBefore":return this.seriesLabels.textBefore;case"SeriesLabels.TextAfter":return this.seriesLabels.textAfter}var i=this.area.stimulsoft.as(u);if(null!=i)switch(e){case"Area.XAxis.Labels.TextBefore":return i.xAxis.labels.textBefore;case"Area.XAxis.Labels.TextAfter":return i.xAxis.labels.textAfter;case"Area.XAxis.Title.Text":return i.xAxis.title.text;case"Area.YAxis.Labels.TextBefore":return i.yAxis.labels.textBefore;case"Area.YAxis.Labels.TextAfter":return i.yAxis.labels.textAfter;case"Area.YAxis.Title.Text":return i.yAxis.title.text;case"Area.XTopAxis.Labels.TextBefore":return i.xTopAxis.labels.textBefore;case"Area.XTopAxis.Labels.TextAfter":return i.xTopAxis.labels.textAfter;case"Area.XTopAxis.Title.Text":return i.xTopAxis.title.text;case"Area.YRightAxis.Labels.TextBefore":return i.yRightAxis.labels.textBefore;case"Area.YRightAxis.Labels.TextAfter":return i.yRightAxis.labels.textAfter;case"Area.YRightAxis.Title.Text":return i.yRightAxis.title.text}var n=0;try{for(var o=__values(this.series.list),a=o.next();!a.done;a=o.next()){var l=a.value,c;if(e==s.format("Series{0}.Title",n++))return l.coreTitle}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}throw s.format("Property with name {0}",e)},q.prototype.getAllStrings=function(){var e=[];e.push("Legend.Title"),e.push("SeriesLabels.TextBefore"),e.push("SeriesLabels.TextAfter"),this.area.stimulsoft.is(u)&&(e.push("Area.XAxis.Labels.TextBefore"),e.push("Area.XAxis.Labels.TextAfter"),e.push("Area.XAxis.Title.Text"),e.push("Area.YAxis.Labels.TextBefore"),e.push("Area.YAxis.Labels.TextAfter"),e.push("Area.YAxis.Title.Text"),e.push("Area.XTopAxis.Labels.TextBefore"),e.push("Area.XTopAxis.Labels.TextAfter"),e.push("Area.XTopAxis.Title.Text"),e.push("Area.YRightAxis.Labels.TextBefore"),e.push("Area.YRightAxis.Labels.TextAfter"),e.push("Area.YRightAxis.Title.Text"));for(var t=0;t<this.series.count;t++)e.push(s.format("Series{0}.Title",t));return e},q.prototype.clone=function(){var e,t,r,i,n,o,a=Z.prototype.clone.call(this);a._chartInfo=this.chartInfo.clone(),a.brush=this.brush.clone(),a.border=this.border.clone(),null!=this.sort?a.sort=this.sort.stimulsoft.clone():a.sort=null,null!=this.filters?a.filters=this.filters.clone():a.filters=null,null!=a.title&&(a.title=this.title.clone()),null!=a.area&&(a.area=this.area.clone()),null!=a.seriesLabels&&(a.seriesLabels=this.seriesLabels.clone()),null!=a.legend&&(a.legend=this.legend.clone()),null!=a.table&&(a.table=this.table.clone()),a.series=new R,a.series.seriesAdded=this.series_SeriesAdded,a.series.seriesRemoved=this.series_SeriesRemoved;try{for(var s=__values(this.series.list),l=s.next();!l.done;l=s.next()){var u,c=l.value.clone(),h=c.title;a.series.add(c),c.title=h}}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}a.constantLines=new A;try{for(var p=__values(this.constantLines.list),f=p.next();!f.done;f=p.next()){var m=f.value;a.constantLines.add(m.clone())}}catch(e){r={error:e}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}a.strips=new B;try{for(var S=__values(this.strips.list),g=S.next();!g.done;g=S.next()){var y=g.value;a.strips.add(y.clone())}}catch(e){n={error:e}}finally{try{g&&!g.done&&(o=S.return)&&o.call(S)}finally{if(n)throw n.error}}return null!=a.core&&(a.core=this.core.clone(),a.core.chart=a),a},q.prototype.saveState=function(e){Z.prototype.saveState.call(this,e),this.states.pushInt(e,this,"positionValue",this.positionValue),this.states.pushBool(e,this,"isEofValue",this.isEofValue),this.states.pushBool(e,this,"isBofValue",this.isBofValue),null!=this.dataSource&&this.dataSource.saveState(e)},q.prototype.restoreState=function(e){Z.prototype.restoreState.call(this,e),this.states.isExist(e,this)&&(this.isBofValue=this.states.popBool(e,this,"isBofValue"),this.isEofValue=this.states.popBool(e,this,"isEofValue"),this.positionValue=this.states.popInt(e,this,"positionValue")),null!=this.dataSource&&this.dataSource.restoreState(e)},q.prototype.getImage=function(r,i){void 0===i&&(i=t.StiExportFormat.None);var n=new t.Export.StiSvgData;return n.component=this,n.x=0,n.y=0,n.width=this.report.unit.convertToHInches(this.width),n.height=this.report.unit.convertToHInches(this.height),e.Report.Export.StiChartSvgHelper.getImage(n)},q.prototype.isExportAsImage=function(e){if(e==t.StiExportFormat.Pdf)return!1;if(e==t.StiExportFormat.ImageSvg)return!1;return!0},Object.defineProperty(q.prototype,"filterMethodHandler",{get:function(){return this._filterMethodHandler},set:function(e){this._filterMethodHandler=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"filterMode",{get:function(){return this._filterMode},set:function(e){this._filterMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"filters",{get:function(){return this._filters},set:function(e){this._filters=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"filter",{get:function(){return 0==this.filters.count&&this.filters.add(new z),this.filters.getByIndex(0).item=e.Report.Components.StiFilterItem.Expression,this.filters.getByIndex(0).expression},set:function(t){0==this.filters.count&&this.filters.add(new z),this.filters.getByIndex(0).item=e.Report.Components.StiFilterItem.Expression,this.filters.getByIndex(0).expression=t},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"filterOn",{get:function(){return this._filterOn},set:function(e){this._filterOn=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"border",{get:function(){return this._border},set:function(e){this._border=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"sort",{get:function(){return this._sort},set:function(e){this._sort=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"dataSource",{get:function(){if(this.isCacheValues)return this.cachedDataSource;if(null==this.page||null==this.report||null==this.report.dataSources||null==this.dataSourceName||0==this.dataSourceName.length)return null;return this.report.dataSources.getByName(this.dataSourceName)},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"dataSourceName",{get:function(){return this._dataSourceName},set:function(e){this._dataSourceName!=e&&(this._dataSourceName=e)},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"isDataSourceEmpty",{get:function(){if(this.isCacheValues)return this.cachedIsDataSourceEmpty;return s.isNullOrEmpty(this.dataSourceName)||null==this.dataSource},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"isBusinessObjectEmpty",{get:function(){if(this.isCacheValues)return this.cachedIsBusinessObjectEmpty;return s.isNullOrEmpty(this.businessObjectGuid)||null==this.businessObject},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"businessObject",{get:function(){if(this.isCacheValues)return this.cachedBusinessObject;if(null==this.page||null==this.report||null==this.businessObjectGuid||0==this.businessObjectGuid.length)return null;return e.Report.Dictionary.StiBusinessObjectHelper.getBusinessObjectFromGuid(this.report,this.businessObjectGuid)},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"businessObjectGuid",{get:function(){return this._businessObjectGuid},set:function(e){this._businessObjectGuid!=e&&(this._businessObjectGuid=e,s.isNullOrEmpty(e)||(this.dataSourceName=null))},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"masterComponent",{get:function(){return this._masterComponent},set:function(e){this._masterComponent=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"countData",{get:function(){return this._countData},set:function(e){this._countData=e},enumerable:!1,configurable:!0}),q.prototype.first=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!1,this.isBofValue=!0,this.positionValue=0):this.dataSource.first():this.businessObject.first()},q.prototype.prior=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue<=0?this.isBofValue=!0:this.positionValue--):this.dataSource.prior():this.businessObject.prior()},q.prototype.next=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue>=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(e<this.series.count){var t=this.series.getByIndex(e);if(t.values.length>3e3){var r=T.getShorterListPoints(t);t.values=[],t.arguments=[];for(var i=1;i<r.length;i++)t.values[i]=r[i].x,t.arguments[i]=r[i].y}e++}},Object.defineProperty(q.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"rotation",{get:function(){return this._rotation},set:function(e){this._rotation=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"editorType",{get:function(){return this._editorType},set:function(e){this._editorType=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"series",{get:function(){return this._series},set:function(e){this._series=e,this._series.chart=this},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"area",{get:function(){return this._area},set:function(e){this._area!=e&&(e.stimulsoft.is(O)&&(this._area=e),this._area=e,null!=e?this._area.chart=this:this._area=null)},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"table",{get:function(){return this._table},set:function(e){this._table!=e&&(this._table=e,this._table.chart=this)},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"style",{get:function(){return this._style},set:function(e){this._style!=e&&(this._style=e,null!=e&&(e.core.chart=this))},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e,e&&this.core.applyStyle(this.style))},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"customStyleName",{get:function(){return this._customStyleName},set:function(e){this._customStyleName=e},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"horSpacing",{get:function(){return this._horSpacing},set:function(e){e>=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<c.length;p++)0==k&&T.push(c[p]),++k==R&&(k=0);return T}return c},p.prototype.getCenterAxisRect=function(e,t,r,i,n){if(this.axis.area.xAxis.info.minimum>=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<k.length;T++){for(var j=0;j<k[0].length;j++){var F=k[T][j];if(F>=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<i;s++)for(var l=0;l<e;l++)o[l][s]=a<n?a:-1,a++;else if(this.legend.direction==t.StiLegendDirection.BottomToTop)for(var a=0,s=i-1;s>=0;s--)for(var l=0;l<e;l++)o[l][s]=a<n?a:-1,a++;else if(this.legend.direction==t.StiLegendDirection.LeftToRight)for(var a=0,l=0;l<e;l++)for(var s=0;s<i;s++)o[l][s]=a<n?a:-1,a++;else if(this.legend.direction==t.StiLegendDirection.RightToLeft)for(var a=0,l=e-1;l>=0;l--)for(var s=0;s<i;s++)o[l][s]=a<n?a:-1,a++;return o},p.prototype.getArgumentText=function(t,r){if(t.arguments.length>r&&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&&r<t.length){var i=t[r];return this.getItemSize2(e,t,i)}return new s(0,0)},p.prototype.getItemSize2=function(e,t,r){var i,o,a=0,l=0,u=this.getLegendItemColumn(t,r),c=n.changeFontSize(this.legend.font,this.legend.font.size*e.options.zoom);try{for(var h=__values(t),p=h.next();!p.done;p=h.next()){var f=p.value;if(this.getLegendItemColumn(t,f)==u){var m=e.measureString(f.text,c);a=Math.max(m.width,a+2),l=Math.max(m.height,l)}}}catch(e){i={error:e}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}return this.legend.markerVisible&&(a=Math.max(this.legend.markerSize.width*e.options.zoom,a)+this.legend.markerSize.width*e.options.zoom,l=Math.max(this.legend.markerSize.height*e.options.zoom,l)),new s(a,l)},p.prototype.getItemRealSize=function(e,t){var r=n.changeFontSize(this.legend.font,this.legend.font.size*e.options.zoom),i=e.measureString(t.text,r),o=i.width,a=i.height;return this.legend.markerVisible&&(o+=this.legend.markerSize.width*e.options.zoom,a=Math.max(this.legend.markerSize.height*e.options.zoom,a)),new s(o,a)},p.prototype.getItemsSize=function(e,r){var i,n,o=this.legend.horSpacing*e.options.zoom,a=0,l=0,u=this.legend.columns;this.legend.direction!=t.StiLegendDirection.TopToBottom&&this.legend.direction!=t.StiLegendDirection.BottomToTop||(u=Math.trunc((r.length-1)/this.legend.columns)+1);for(var c=0;c<u;c++)try{for(var h=(i=void 0,__values(r)),p=h.next();!p.done;p=h.next()){var f=p.value;if(this.getLegendItemColumn(r,f)==c){var m=this.getItemSize2(e,r,f);a+=m.width+o,l=Math.max(m.height,l);break}}}catch(e){i={error:e}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(i)throw i.error}}return new s(a,l)},p.prototype.getItemsAutoSize=function(e,r,i,a,l){for(var u=this.legend.direction==t.StiLegendDirection.TopToBottom||this.legend.direction==t.StiLegendDirection.BottomToTop,c=this.legend.horSpacing*e.options.zoom,h=this.legend.vertSpacing*e.options.zoom,p=n.changeFontSize(this.legend.font,this.legend.font.size*e.options.zoom),f=0,m=0,S=new o,g=new o,y=0,d=null,b=0;b<r.length;b++){var v=r[b],C=e.measureString(v.text,p),w=C.width+c,x=C.height+h;if(this.legend.markerVisible&&(w+=this.legend.markerSize.width*e.options.zoom,x=Math.max(this.legend.markerSize.height*e.options.zoom+h,x)),y=Math.max(x,y),u){if(S.length-1<f&&null==d||S.length-1<f&&null!=d&&f<=d)S.push(w);else if(S[f]<w){S[f]=w,S.removeRange(f+1,S.length-(f+1)),b=-1,f=0,m=0;continue}f++,null!=d&&d<=f&&(f=0,m++),S.sum()+c>i.width&&S.length>1&&(f=0,m++,b>0&&b--,S.length>0&&(S.removeAt(S.length-1),d=S.length))}else g.length-1<m&&g.push(x),m++,S.length-1<f?S.push(w):S[f]=Math.max(S[f],w),g.sum()+h>i.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<h&&g++,p=m.width+o,f=(m.height+a)*g+a;break}}return new s(p,f)},p.prototype.getLegendSize=function(e,t,r,i){var n=this.getTitleSize(e),o={ref:r},a={ref:i},l=this.getSeriesSize(e,t,o,a);r.ref=o.ref,i.ref=a.ref;var u=new s(Math.max(n.width,l.width),n.height+l.height),c=0,h=0;return null!=this.legend.chart?(c=this.legend.chart.convertToHInches(this.legend.size.width*e.options.zoom),h=this.legend.chart.convertToHInches(this.legend.size.height*e.options.zoom)):(c=this.legend.size.width*e.options.zoom,h=this.legend.size.height*e.options.zoom),0!=c&&(u.width=c),0!=h&&(u.height=h),u.width=Math.round(u.width),u.height=Math.round(u.height),u},p.prototype.getLegendItems=function(r){var n,o,a,s,l,u,c,p,f,m,S,g,y=0,d=this.legend.chart.area.core.getSeries().stimulsoft.toList(),b=this.legend.chart.area,v=[];if(this.legend.chart.area.colorEach||d.any((function(e){return e.stimulsoft.is(t.IStiFunnelSeries)}))||d.any((function(e){return e.stimulsoft.is(t.IStiPictorialSeries)}))){var C=0;try{for(var w=__values(d),x=w.next();!x.done;x=w.next()){var _=x.value;C=Math.max(_.values.length,C)}}catch(e){n={error:e}}finally{try{x&&!x.done&&(o=w.return)&&o.call(w)}finally{if(n)throw n.error}}var A=0;try{for(var L=__values(d),O=L.next();!O.done;O=L.next()){var _=O.value;if(this.legend.chart.area.core.isAcceptableSeries(_.stimulsoft.getType()))for(var P=0;P<C;P++){if(_.showInLegend&&null!=_.values){var B=null!=b&&b.reverseHor;if(P>=_.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;c<t.length-1;c++){var h=t[c],p=t[c+1];if(null==h||null==p)continue;var f=h.x,m=h.y,S,g,y=p.x-f,d=p.y-m,b=Math.sqrt(y*y+d*d),v=a;while(u<b){var C=f+y*u/b,w=m+d*u/b;this.drawPoint(e,C,w,r,i,n,o,this.marker.icon,s,l,!1,!1,"",null,null),u+=v*r}u-=b}e.popSmoothingMode()},e.prototype.drawPoint=function(e,i,n,o,a,u,c,h,p,f,m,C,w,x,_){var A=p*o/2,L=i-A,O=i+A,P=n-A,B=n+A;if(null!=h){var R=new s(L,P,p*o,p*o);return void t.StiFontIconsHelper.drawDirectionIcons(e,a,R,new v(R.height,R.height),h,w,!1)}switch(c){case r.StiMarkerType.Star5:this.drawPolygon(e,a,u,i,n,A,10,f,!0,m,C,w,x,_);break;case r.StiMarkerType.Star6:this.drawPolygon(e,a,u,i,n,A,12,f,!0,m,C,w,x,_);break;case r.StiMarkerType.Star7:this.drawPolygon(e,a,u,i,n,A,14,f,!0,m,C,w,x,_);break;case r.StiMarkerType.Star8:this.drawPolygon(e,a,u,i,n,A,16,f,!0,m,C,w,x,_);break;case r.StiMarkerType.Hexagon:this.drawPolygon(e,a,u,i,n,A,6,30+f,!1,m,C,w,x,_);break;case r.StiMarkerType.Rectangle:this.drawPolygon(e,a,u,i,n,A,4,45+f,!1,m,C,w,x,_);break;case r.StiMarkerType.Circle:if(C){var k=new S(0,0,0,0,0,0,r.StiChartHelper.globalDurationElement,l.zero);e.fillDrawAnimationEllipse(a,u,L,P,O-L,B-P,w,x,k,_)}else null!=a&&e.fillEllipse3(a,L,P,O-L,B-P,w,_),m&&e.fillEllipse3(r.StiMouseOverHelper.getMouseOverColor(),L,P,O-L,B-P,w,null),null!=u&&e.drawEllipse(u,L,P,O-L,B-P);break;case r.StiMarkerType.HalfCircle:var R=new s(L,P,O-L,B-P),T=new s(0,0,O-L,B-P),j=new y;if(j.push(new d(new s(T.x,T.top+T.height/4,T.width,T.height),360,-180)),j.push(new b(new g(T.x,T.bottom-T.height/4),new g(T.right,T.bottom-T.height/4))),e.pushTranslateTransform(R.x+R.width/2,R.y+R.height/2),e.pushRotateTransform(f),e.pushTranslateTransform(-R.width/2,-R.height/2),C){var k=new S(0,0,0,0,0,0,r.StiChartHelper.globalDurationElement,l.zero);e.fillDrawAnimationPath(a,u,j,R,x,k,_)}else null!=a&&e.fillPath2(a,j,T,null,w.toString()),m&&e.fillPath2(r.StiMouseOverHelper.getMouseOverColor(),j,R,null,w.toString()),null!=u&&e.drawPath(u,j,T);e.popTransform(),e.popTransform(),e.popTransform();break;case r.StiMarkerType.Triangle:this.drawPolygon(e,a,u,i,n,A,3,f,!1,m,C,w,x,_);break}},e.prototype.drawPolygon=function(e,t,o,s,u,c,h,f,m,g,y,d,b,v){var C=[],w=-90+(f=-f),x=i.create(p,h+1,!0);if(m)for(var _=0;_<h;_+=2)x[_].x=s+c*Math.cos(w*Math.PI/180),x[_].y=u+c*Math.sin(w*Math.PI/180),w+=360/h,x[_+1].x=s+c/2*Math.cos(w*Math.PI/180),x[_+1].y=u+c/2*Math.sin(w*Math.PI/180),w+=360/h;else for(var _=0;_<h;_++)x[_].x=s+c*Math.cos(w*Math.PI/180),x[_].y=u+c*Math.sin(w*Math.PI/180),w+=360/h;if(x[h]=x[0],C.push(new a(x)),y){var A=new S(0,0,0,0,0,0,r.StiChartHelper.globalDurationElement,l.zero);e.fillDrawAnimationPath(t,o,C,n.getBoundsState,b,A,v)}else{var L=null!=d?d.toString():null;null!=t&&e.fillPath2(t,C,n.getBoundsState,null,L),g&&e.fillPath2(r.StiMouseOverHelper.getMouseOverColor(),C,n.getBoundsState,null,L),null!=o&&e.drawPath(o,C,null)}},e}();r.StiMarkerCoreXF=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.ICloneable,i=function(){function e(e){this._axis=e}return e.prototype.implements=function(){return e.implementsStiRadarAxisCoreXF||(e.implementsStiRadarAxisCoreXF=[r,t.IStiApplyStyle,t.IStiRadarAxisCoreXF]),e.implementsStiRadarAxisCoreXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e.prototype.applyStyle=function(e){},Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis},set:function(e){this._axis=e},enumerable:!1,configurable:!0}),e}();t.StiRadarAxisCoreXF=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.StiEmptyBrush,i=e.System.ICloneable,n=function(){function e(e){this._labels=e}return e.prototype.implements=function(){return e.implementsStiRadarAxisLabelsCoreXF||(e.implementsStiRadarAxisLabelsCoreXF=[t.IStiApplyStyle,i,t.IStiRadarAxisLabelsCoreXF]),e.implementsStiRadarAxisLabelsCoreXF},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e.prototype.applyStyle=function(e){this.labels.allowApplyStyle&&(this.labels.color=e.core.seriesLabelsColor,this.labels.brush=new r)},Object.defineProperty(e.prototype,"labels",{get:function(){return this._labels},set:function(e){this._labels=e},enumerable:!1,configurable:!0}),e}();t.StiRadarAxisLabelsCoreXF=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.Drawing.StringTrimming,n=e.System.Drawing.StringFormatFlags,o=e.Base.Drawing.StiRotationMode,a=e.Base.Context.StiFontGeom,s=e.Base.Drawing.StiSolidBrush,l=function(l){function u(e){return l.call(this,e)||this}return __extends(u,l),u.prototype.implements=function(){return u.implementsStiXRadarAxisCoreXF||(u.implementsStiXRadarAxisCoreXF=[t.IStiXRadarAxisCoreXF]),u.implementsStiXRadarAxisCoreXF},u.prototype.applyStyle=function(e){this.axis.allowApplyStyle&&this.axis.labels.core.applyStyle(e)},u.prototype.renderLabel=function(e,r,i,n,o,a,l){var u=this.getLabelText(n),c=this.getLabelRect(e,i,u,0).clone();c.x=-c.width/2,c.y=-c.height/2;var h=this.getLabelRect(e,i,u,o).clone(),p=this.axis.labels.borderColor,f=new s(this.axis.labels.color);return new t.StiXRadarAxisLabelGeom(this.axis,u,f,p,o,c,h,i)},u.prototype.getLabelText=function(i){try{null==i&&(i="");var n=this.axis;if(null!=n.labels.format&&0!=n.labels.format.trim().length)try{if(i.stimulsoft.is(String))var o=void 0;if(!t.StiChartOptions.oldChartPercentMode&&n.labels.format.stimulsoft.startsWith("P")){var a=0;return n.labels.format.length,r.format("{0}{1:N"+a.toString()+"}{2}{3}",n.labels.textBefore,i,"%",n.labels.textAfter)}return r.format("{0}{1:"+n.labels.format+"}{2}",n.labels.textBefore,i,n.labels.textAfter)}catch(t){e.System.StiError.showError(t,!1)}return r.format("{0}{1}{2}",n.labels.textBefore,i,n.labels.textAfter)}catch(t){e.System.StiError.showError(t,!1)}return i.toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator)},u.prototype.getLabelRect=function(e,t,r,s){var l=a.changeFontSize(this.axis.labels.font,this.axis.labels.font.size*e.options.zoom),u=e.getGenericStringFormat();return u.trimming=i.None,this.axis.labels.wordWrap||(u.formatFlags=n.MeasureTrailingSpaces|n.NoWrap),e.measureRotatedString3(r,l,t,u,o.CenterBottom,s,Math.trunc(this.axis.labels.width*e.options.zoom))},Object.defineProperty(u.prototype,"xAxis",{get:function(){return this.axis},enumerable:!1,configurable:!0}),u}(t.StiRadarAxisCoreXF);t.StiXRadarAxisCoreXF=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.StiString,n=e.System.Drawing.StringTrimming,o=e.System.Drawing.StringFormatFlags,a=e.System.Drawing.StringAlignment,s=e.Base.Drawing.StiRotationMode,l=e.Base.Context.StiFontGeom,u=e.System.Drawing.Point,c=e.Base.Drawing.StiHorAlignment,h=e.System.Drawing.Rectangle,p=function(p){function f(e){return p.call(this,e)||this}return __extends(f,p),f.prototype.implements=function(){return f.implementsStiYRadarAxisCoreXF||(f.implementsStiYRadarAxisCoreXF=[t.IStiYRadarAxisCoreXF]),f.implementsStiYRadarAxisCoreXF},f.prototype.applyStyle=function(e){this.axis.allowApplyStyle&&(this.yAxis.lineColor=e.core.axisLineColor,this.yAxis.labels.core.applyStyle(e))},f.prototype.render=function(e,r){if(!this.axis.visible)return null;var i=this.getAxisRect(e,r).clone(),n=new t.StiRadarAxisGeom(this.axis,i);return this.renderLabels(e,i,n),n},f.prototype.measureStripLines=function(e,r){var i,n,o=[];if(null!=this.yAxis.info.labelsCollection&&this.yAxis.labels.placement!=t.StiLabelsPlacement.None){var a=0;try{for(var h=__values(this.yAxis.info.labelsCollection),p=h.next();!p.done;p=h.next()){var f=p.value,m=this.getLabelText(f.stripLine),S=f.position,g=e.getGenericStringFormat(),y=l.changeFontSize(this.yAxis.labels.font,this.yAxis.labels.font.size*e.options.zoom),d=this.getTextAlignment(),b=void 0,v=-this.yAxis.labels.angle,C=u.empty;d==c.Left?(b=s.LeftCenter,C=new u(0,S),v=0):(b=s.RightCenter,C=new u(r.width-this.getTicksMaxLength(e)-this.getLabelsSpaceAxis(e),S)),this.yAxis.labels.placement==t.StiLabelsPlacement.TwoLines&&0!=(1&a)&&(C.x-=this.getLabelsTwoLinesDestination(e));var w=e.measureRotatedString3(m,y,C,g,b,v,Math.trunc(this.yAxis.labels.width*e.options.zoom)),x=new t.StiAxisLabelInfoXF;x.angle=v,x.clientRectangle=w.clone(),x.rotationMode=b,x.textPoint=C,x.text=m,x.stripLine=f.stripLine,o.push(x),a++}}catch(e){i={error:e}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(i)throw i.error}}}return o},f.prototype.renderLabels=function(e,r,i){var n,o;if(this.yAxis.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.StiYRadarAxisLabelGeom(this.yAxis,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}}}},f.prototype.calculateStripPositions=function(e,t){if(t-=e,e=0,null==this.yAxis.info.stripLines||this.yAxis.info.stripLines.count<2)this.yAxis.info.stripPositions=[];else{this.yAxis.info.stripPositions=r.create(Number,this.yAxis.info.stripLines.count),this.yAxis.info.stripPositions[0]=e,this.yAxis.info.stripPositions[this.yAxis.info.stripPositions.length-1]=t;for(var i=1;i<this.yAxis.info.stripPositions.length-1;i++)this.yAxis.info.stripPositions[i]=e+i*this.yAxis.info.step}},f.prototype.getAxisRect=function(e,t){var r;return new h(t.width/2-this.getTicksMaxLength(e),0,this.getTicksMaxLength(e),t.height/2)},f.prototype.getTicksMaxLength=function(e){return this.yAxis.yCore.ticksMaxLength*e.options.zoom},f.prototype.getLabelsSpaceAxis=function(e){return 5*e.options.zoom},f.prototype.getLabelsTwoLinesDestination=function(e){return 2*this.yAxis.labels.font.sizeInPoints*e.options.zoom},f.prototype.getTextAlignment=function(){if(this.yAxis.labels.placement==t.StiLabelsPlacement.TwoLines)return c.Right;return this.yAxis.labels.textAlignment},f.prototype.getLabelText=function(r){var n=r.valueObject;try{if(null!=this.yAxis.labels.formatService)return""+this.yAxis.labels.textBefore+this.yAxis.labels.formatService.format(r.value)+this.yAxis.labels.textAfter;if(null!=this.yAxis.labels.format&&0!=this.yAxis.labels.format.trim().length)try{if(n.stimulsoft.is(String),!t.StiChartOptions.oldChartPercentMode&&this.yAxis.labels.format.stimulsoft.startsWith("P")){var o=0;return this.yAxis.labels.format.length,i.format("{0}{1:N"+o.toString()+"}{2}{3}",this.yAxis.labels.textBefore,n,"%",this.yAxis.labels.textAfter)}return i.format("{0}{1:"+this.yAxis.labels.format+"}{2}",this.yAxis.labels.textBefore,n,this.yAxis.labels.textAfter)}catch(t){e.System.StiError.showError(t,!1)}return i.format("{0}{1}{2}",this.yAxis.labels.textBefore,n,this.yAxis.labels.textAfter)}catch(t){e.System.StiError.showError(t,!1)}return n.toString().replace(".",",").stimulsoft.replaceAll(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator)},f.prototype.getStringFormatGeom=function(e){var t=e.getGenericStringFormat();if(t.trimming=n.None,t.formatFlags=o.MeasureTrailingSpaces|o.NoWrap,this.yAxis.labels.width>0){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;p<u;p++)for(var f=0;f<u;f++){if(f==p)continue;var m=this.GetDrawRectangle(o[p].clientRectangle.clone(),o[p].seriesLabels.angle),S=this.GetDrawRectangle(o[f].clientRectangle.clone(),o[f].seriesLabels.angle);if(m.intersectsWith(S)){var g=o[p].clientRectangle.clone(),y=o[f].clientRectangle.clone(),d=m.height-Math.abs(S.y-m.y)+2;g.y>y.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<this.series.tags.length&&null!=this.series.tags[t]?this.series.tags[t].toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator):""},u.prototype.getIsMouseOverSeriesElement=function(e){if(null==this.isMouseOverSeriesElementHashtable)return!1;return this.isMouseOverSeriesElementHashtable.get(e)==u.trueObject},u.prototype.setIsMouseOverSeriesElement=function(e,t){null==this.isMouseOverSeriesElementHashtable&&(this.isMouseOverSeriesElementHashtable=new s),this.isMouseOverSeriesElementHashtable.set(e,t?u.trueObject:u.falseObject)},Object.defineProperty(u.prototype,"isMouseOver",{get:function(){return this._isMouseOver},set:function(e){this._isMouseOver=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizedName",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isDateTimeValues",{get:function(){return this._isDateTimeValues},set:function(e){this._isDateTimeValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isDateTimeArguments",{get:function(){return this._isDateTimeArguments},set:function(e){this._isDateTimeArguments=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"series",{get:function(){return this._series},set:function(e){this._series=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"interaction",{get:function(){return this.series.interaction},set:function(e){this.series.interaction=e},enumerable:!1,configurable:!0}),u.falseObject={},u.trueObject={},u}();t.StiSeriesCoreXF=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.Drawing.StiColorUtils,n=e.Base.Drawing.StiSolidBrush,o=e.System.Drawing.Point,a=e.System.Collections.List,s=e.Base.Context.StiSeriesInteractionData,l=function(e){function l(t){return e.call(this,t)||this}return __extends(l,e),l.prototype.implements=function(){return l.implementsStiBaseLineSeriesCoreXF||(l.implementsStiBaseLineSeriesCoreXF=e.prototype.implements.call(this).concat([t.IStiApplyStyleSeries])),l.implementsStiBaseLineSeriesCoreXF},l.prototype.applyStyle=function(r,o){e.prototype.applyStyle.call(this,r,o);var a=this.series;if(a.allowApplyStyle){if(a.lineColor=o,a.lighting=r.core.seriesLighting,null!=a.marker){var s=a.marker.stimulsoft.as(t.StiMarker);null!=s&&s.extendedVisible!=t.StiExtendedStyleBool.FromStyle?a.marker.visible=s.extendedVisible==t.StiExtendedStyleBool.True:a.marker.visible=r.core.markerVisible,a.marker.brush=new n(i.light(o,100)),a.marker.borderColor=i.dark(o,100)}null!=a.lineMarker&&(a.lineMarker.brush=new n(i.light(o,50)),a.lineMarker.borderColor=i.dark(o,150))}},l.prototype.clipLinePoints=function(e,t,i,n,a){var s,l,u=n.ref,c=a.ref;if(this.series.chart.area.xAxis.range.auto)return u=0,c=i.length,n.ref=u,a.ref=c,i;u=-1,c=-1;var h=t.view.clientRectangle.clone();h.x=0,h.y=0;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=S;if(g.x+=t.clientRectangle.x,g.y+=t.clientRectangle.y,h.x<=g.x&&g.x<h.right&&-1==u&&(u=p),!(h.x<=g.x&&g.x<h.right)&&-1!=u){c=p;break}}p++}}catch(e){s={error:e}}finally{try{m&&!m.done&&(l=f.return)&&l.call(f)}finally{if(s)throw s.error}}-1==c&&(c=i.length-1),--u<0&&(u=0),++c>=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<r.length;n++){var o=new s;o.fill(t.area,this.series,n),o.point=r[n],i.push(o)}return i},l.prototype.renderLines=function(e,t,r){},l.prototype.renderAreas=function(e,t,r){},l.prototype.renderSeries=function(e,i,n,a){var s,l,u=n.area;if(null==a||0==a.length||null==this.series.chart)return;var c=u,h=c.xAxis.core.getStartFromZero();i.width+=.001;for(var p=0,f=[],m=[],S=[],g=0;g<a.length;g++){for(var y,d=(y=a[g]).values.length,b=r.create(o,d,!0),v=0;v<d;v++){var C=h?v+1:v;if(C>=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<e.values.length;s++){var l;0==e.values[s]?(o.add(s),1==o.length&&n.add(o)):o=new a}return i=this.getPointConnect(e,r,n)},l.prototype.getPointsNullConnect=function(e,r){var i=new a;if(e.showNullsAs==t.StiShowEmptyCellsAs.Gap)return i;for(var n=new a,o=new a,s=0;s<e.values.length;s++){var l;null==e.values[s]?(o.add(s),1==o.length&&n.add(o)):o=new a}return i=this.getPointConnect(e,r,n)},l.prototype.getPointConnect=function(e,t,r){var i,n,o=new a;try{for(var s=__values(r),l=s.next();!l.done;l=s.next()){var u=l.value,c=u[0]-1,h=u[u.length-1]+1,p=0,f=0;if(c>=0&&c<e.values.length){p=e.values[c];var m=this.getPointValue2(e,t,p,c);o.add(m)}h>=0&&h<e.values.length&&(f=e.values[h]);for(var S=(f-p)/(u.length+1),g=0;g<u.length;g++){var y=p+S*(g+1),d=this.getPointValue2(e,t,y,u[g]);o.add(d)}if(h>=0&&h<e.values.length){var b=this.getPointValue2(e,t,f,h);o.add(b)}o.add(null)}}catch(e){i={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o},l.prototype.getPointValue2=function(e,r,i,n){var a=r.xAxis.info.stripPositions[n],s=0;return s=e.yAxis==t.StiSeriesYAxis.LeftYAxis?-i*r.yAxis.info.dpi+r.axisCore.getDividerY():-i*r.yRightAxis.info.dpi+r.axisCore.getDividerRightY(),new o(a,s)},l.prototype.getPointValue=function(e,t,r,i,n){var o=0;return r.length>e&&(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;m<l.length;m++){for(var S=l[m],g=Math.min(S.values.length,S.arguments.length),y=r.create(o,g,!0),d=S.arguments.stimulsoft.getKeys(),b=0;b<g;b++){var v;if(null==(v=S.values[b])&&this.series.showNulls&&(v=0),0==v&&!this.series.showZeros){y[b]=null;continue}if(null!=v){h.reverseVert&&null!=v&&!h.yAxis.logarithmicScale&&(v=-v);var C=0;if(h.yAxis.logarithmicScale){var w,x=0,_=(w=h.yAxis.info.stripLines.count)-1,A=h.yAxis.info.stripLines.getByIndex(x).value,L=h.yAxis.info.stripLines.getByIndex(_).value,O=Math.abs(a.height/(Math.log10(L)-Math.log10(A)));C=Math.abs(Math.log10(h.yAxis.info.stripLines.getByIndex(x).value)*O-Math.log10(v)*O)}else C=S.yAxis==t.StiSeriesYAxis.LeftYAxis?-v*h.yAxis.info.dpi+h.axisCore.getDividerY():-v*h.yRightAxis.info.dpi+h.axisCore.getDividerRightY();var P=null,B;if(S.arguments.stimulsoft.getByIndex(b,d).stimulsoft.is(i))P=S.arguments.stimulsoft.getByIndex(b,d).toOADate().stimulsoft.toNumber();else try{P=null==S.arguments.stimulsoft.getByIndex(b,d)?null:S.arguments.stimulsoft.getByIndex(b,d).stimulsoft.toNumber()}catch(t){e.System.StiError.showError(t,!1),P=null}if(null==P)y[b]=null;else{var R=0;if(h.xAxis.logarithmicScale&&h.xAxis.info.stripLines.count>0){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;b<I.length;b++){var v,M=v=S.values[b],_;if(h.reverseVert&&null!=v&&(M=-M),p=S.yAxis==t.StiSeriesYAxis.LeftYAxis?h.axisCore.getDividerY():h.axisCore.getDividerRightY(),null!=(_=I[b])){var x=new o(_.x,p);if((a.contains(x.x,x.y)||x.y==a.bottom||a.contains(_.x,_.y))&&(0==N.step||b%N.step==0)){var E=N.core.renderLabel(S,n,this.correctPoint(_,a,S.labelsOffset*n.options.zoom),this.correctPoint(x,a,S.labelsOffset*n.options.zoom),b,M,v,S.arguments.stimulsoft.getByIndex(b,d).toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator),S.core.getTag(b),0,1,a);null!=E&&(s.createChildGeoms(),s.childGeoms.push(E),E.clientRectangle=this.checkLabelsRect(N,s,E.clientRectangle.clone()))}}}T++}}catch(e){u={error:e}}finally{try{F&&!F.done&&(c=j.return)&&c.call(j)}finally{if(u)throw u.error}}s.area.chart.seriesLabels.preventIntersection&&this.checkIntersectionLabels(s)},Object.defineProperty(s.prototype,"localizedName",{get:function(){return n.get("Chart","Scatter")},enumerable:!1,configurable:!0}),s}(t.StiBaseLineSeriesCoreXF);t.StiScatterSeriesCoreXF=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.Data.DBNull,n=e.System.TimeSpan,o=e.System.DateTime,a=e.Base.Localization.StiLocalization,s=e.System.Drawing.Rectangle,l=e.System.Drawing.Point,u=e.Base.Context.StiSeriesInteractionData,c=function(c){function h(e){return c.call(this,e)||this}return __extends(h,c),h.prototype.applyStyle=function(e,t){c.prototype.applyStyle.call(this,e,t),this.series.allowApplyStyle&&(this.series.brush=e.core.getColumnBrush(t),this.series.borderColor=e.core.getColumnBorder(t))},h.prototype.renderLines=function(e,t,r){},h.prototype.renderBubbles=function(e,r,i,o,a){var l,c,h,p,f,m,S=0,g=0;try{for(var y=__values(i.chart.series.list),d=y.next();!d.done;d=y.next()){var b,v=d.value;if(null==v)continue;try{for(var C=(h=void 0,__values(v.weights)),w=C.next();!w.done;w=C.next()){var x=w.value;S=0==g?x:Math.max(x,S),g++}}catch(e){h={error:e}}finally{try{w&&!w.done&&(p=C.return)&&p.call(C)}finally{if(h)throw h.error}}}}catch(e){l={error:e}}finally{try{d&&!d.done&&(c=y.return)&&c.call(y)}finally{if(l)throw l.error}}var _=r.area,A,L=.9*Math.min(_.xAxis.info.step,_.yAxis.info.step)/S,O=t.StiChartHelper.globalBeginTimeElement;g=0;try{for(var P=__values(a),B=P.next();!B.done;B=P.next()){var x=B.value,R=o[g];if(null!=R&&x>0){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<u.length;m++){for(var S=u[m],g=Math.min(S.values.length,S.arguments.length),y=[],d=[],b=0;b<g;b++){var v;null==(v=S.values[b])&&S.showNulls&&(v=0),c.reverseVert&&null!=v&&(v=-v);var C=0;C=S.yAxis==t.StiSeriesYAxis.LeftYAxis?-v*c.yAxis.info.dpi+c.axisCore.getDividerY():-v*c.yRightAxis.info.dpi+c.axisCore.getDividerRightY();var w=null,x;if(S.arguments[b].stimulsoft.is(o))w=S.arguments[b].toOADate().stimulsoft.toNumber();else try{null!=S.arguments[b]&&S.arguments[b]!=i.value&&(w=S.arguments[b].stimulsoft.toNumber())}catch(t){e.System.StiError.showError(t,!1),w=null}if(null==w&&S.showNulls&&(w=0),null!=v&&null!=w){var _=(w-c.xAxis.info.minimum)*c.xAxis.info.dpi;c.reverseHor&&(_=a.width-_),y.push(new l(_,C))}else y.push(null);d.push(b<S.weights.length?S.weights[b]:0)}p.push(y),f.push(d)}for(var A=0;A<p.length;A++){var L=f[A],O=p[A],S;(S=u[A]).core.renderBubbles(n,s,S,O,L);var P=S.stimulsoft.as(t.StiSeries).trendLine,y=r.create(l,O.length,!0);O.stimulsoft.copyTo(y),null!=P&&P.core.renderTrendLine(s,y,c.axisCore.getDividerY());var B=S.core.getSeriesLabels();if(null!=B&&B.visible)for(var b=0;b<O.length;b++){var v,R=v=S.values[b];c.reverseVert&&null!=R&&(R=-R),h=S.yAxis==t.StiSeriesYAxis.LeftYAxis?c.axisCore.getDividerY():c.axisCore.getDividerRightY();var k=O[b];if(null!=k){var T=new l(k.x,h);if((a.contains(T.x,T.y)||T.y==a.bottom||a.contains(k.x,k.y))&&(0==B.step||b%B.step==0)){var j=B.core.renderLabel2(S,n,this.correctPoint(k,a,S.labelsOffset*n.options.zoom),this.correctPoint(T,a,S.labelsOffset*n.options.zoom),b,R,v,S.arguments[b].toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator),S.core.getTag(b),S.weights[b],b,O.length,a);null!=j&&(s.createChildGeoms(),s.childGeoms.push(j),j.clientRectangle=this.checkLabelsRect(B,s,j.clientRectangle))}}}}},Object.defineProperty(h.prototype,"localizedName",{get:function(){return a.get("Chart","Bubble")},enumerable:!1,configurable:!0}),h}(t.StiScatterSeriesCoreXF);t.StiBubbleSeriesCoreXF=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.Drawing.Rectangle,i=e.System.TimeSpan,n=e.Base.Localization.StiLocalization,o=e.System.Drawing.Rectangle,a=e.System.Drawing.Point,s=e.Base.Context.Animation.StiColumnAnimation,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),this.series.allowApplyStyle&&(this.series.brush=t.core.getColumnBrush(r),this.series.borderColor=t.core.getColumnBorder(r))},u.prototype.renderSeries=function(e,n,u,c){var h,p,f,m,S=[],g=u.area;if(null==c||0==c.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*c.length,x=[],_=0;_<c.length;_++)x.push([]);for(var A=0;A<y.axisCore.valuesCount;A++){var L=d?y.xAxis.info.stripPositions[A+1]:y.xAxis.info.stripPositions[A];L-=y.xAxis.info.step/2;var O=0;try{for(var P=(h=void 0,__values(c)),B=P.next();!B.done;B=P.next()){var R=B.value;O+=y.xAxis.info.step/c.length*R.width}}catch(e){h={error:e}}finally{try{B&&!B.done&&(p=P.return)&&p.call(P)}finally{if(h)throw h.error}}var k=L+(y.xAxis.info.step-O)/2,T=0;y.reverseHor&&(T=c.length-1);while(T<c.length&&!y.reverseHor||T>=0&&y.reverseHor){var j=c[T],F=y.xAxis.info.step/c.length*j.width;if(A<j.values.length){var I=y.reverseHor?j.values[j.values.length-A-1]:j.values[A];y.reverseVert&&null!=I&&(I=-I);var D=0,N=0;N=j.yAxis==t.StiSeriesYAxis.LeftYAxis?-(D=I*y.yAxis.info.dpi)+b:-(D=I*y.yRightAxis.info.dpi)+v,!j.showZeros||0!=I&&null!=I||(D=Math.max(e.options.zoom,2),y.reverseVert||(N-=D)),I<0&&(N=j.yAxis==t.StiSeriesYAxis.LeftYAxis?b:v,D=-D);var M=new o(k,N,F,D),E=j.stimulsoft.as(t.StiSeries);null==E.trendLine||E.trendLine.stimulsoft.is(t.IStiTrendLineNone)||x[T].push(new a(k+F/2,N));var V=u.view.clientRectangle.clone();V.x=0,V.y=0;var G=M.clone();if(G.x+=u.clientRectangle.x,G.y+=u.clientRectangle.y,G.right>V.x&&G.x<V.right||this.series.chart.area.xAxis.range.auto){var X=j.core.getSeriesBrush(C,w);j.allowApplyBrushNegative&&I<0&&(X=j.brushNegative),X=j.processSeriesBrushes(A,X);var z=j.core.getSeriesBorderColor(C,w),J=t.StiChartHelper.globalBeginTimeElement;if(null!=this.series.chart&&null!=this.series.chart.style&&M.height>0){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;ee<c.length;ee++){var te=c[ee].trendLine;if(te.stimulsoft.is(t.IStiTrendLineNone))continue;var re=x[ee];null!=te&&te.core.renderTrendLine(u,re.stimulsoft.toArray(),y.axisCore.getDividerY())}try{for(var ie=__values(S),ne=ie.next();!ne.done;ne=ie.next()){var $=ne.value;u.createChildGeoms(),u.childGeoms.push($)}}catch(e){f={error:e}}finally{try{ne&&!ne.done&&(m=ie.return)&&m.call(ie)}finally{if(f)throw f.error}}u.area.chart.seriesLabels.preventIntersection&&this.checkIntersectionLabels(u)},u.prototype.correctPoint=function(e,t){if(e.y<0)return new a(e.x,0);if(e.y>t.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<a.length;w++)C.push([]);for(var x=a.stimulsoft.getKeys(),_=0;_<v;_++){var A=g?S.yAxis.info.stripPositions[_+1]-S.yAxis.info.step/2:S.yAxis.info.stripPositions[_]-S.yAxis.info.step/2,L=0;try{for(var O=(u=void 0,__values(a)),P=O.next();!P.done;P=O.next()){var B=P.value;L+=S.yAxis.info.step/a.length*B.width}}catch(e){u={error:e}}finally{try{P&&!P.done&&(c=O.return)&&c.call(O)}finally{if(u)throw u.error}}var R=A+(S.yAxis.info.step-L)/2,k=0;S.reverseVert&&(k=a.length-1);var T=t.StiChartHelper.globalBeginTimeElement;while(k<a.length&&!S.reverseVert||k>=0&&S.reverseVert){var j=a.stimulsoft.getByIndex(k,x),F=S.yAxis.info.step/a.length*j.width;if(_<j.values.length){var I=-(S.reverseVert?j.values[_]:j.values[j.values.length-_-1]);S.reverseHor&&null!=I&&(I=-I);var D=I*S.xAxis.info.dpi;!this.series.showZeros||0!=I&&null!=I||(D=Math.max(e.options.zoom,2)),I<0&&(D=-D);var N=this.getBarRect(e,j,I,R,F);j.stimulsoft.as(t.StiSeries).trendLine.stimulsoft.is(t.IStiTrendLineNone)||C[k].push(new s(D,R+F/2));var M=o.view.clientRectangle.clone();M.x=0,M.y=0;var E=N.clone();if(E.x+=o.clientRectangle.x,E.y+=o.clientRectangle.y,E.bottom>M.y&&E.y<M.bottom||this.series.chart.area.yAxis.range.auto){if(null!=this.series.chart&&null!=this.series.chart.style&&N.width>0){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;Z<a.length;Z++){var q=a.stimulsoft.getByIndex(Z,x).trendLine;if(q.stimulsoft.is(t.IStiTrendLineNone))continue;var U=C[Z];null!=q&&q.core.renderTrendLine(o,U.stimulsoft.toArray(),S.axisCore.getDividerY())}try{for(var K=__values(f),Q=K.next();!Q.done;Q=K.next()){var Y=Q.value;o.createChildGeoms(),o.childGeoms.push(Y)}}catch(e){h={error:e}}finally{try{Q&&!Q.done&&(p=K.return)&&p.call(K)}finally{if(h)throw h.error}}},u.prototype.getBarRect=function(e,i,n,o,a){var s=i.chart.area,l=s.axisCore.getDividerX(),u=s.axisCore.getDividerTopX(),c=i.yAxis==t.StiSeriesYAxis.RightYAxis?u:l,h=i.yAxis==t.StiSeriesYAxis.RightYAxis?s.xTopAxis.info.dpi:s.xAxis.info.dpi;s.reverseHor&&null!=n&&(n=-n);var p=n*h,f=-p+c;return!this.series.showZeros||0!=n&&null!=n||(p=Math.max(e.options.zoom,2),s.reverseHor&&(f-=p)),n<0&&(f=c,p=-p),new r(f,o,p,a)},u.prototype.correctPoint=function(e,t){if(e.x<0)return new s(0,e.y);if(e.x>t.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;_<u.length;_++)x.push([]);var A=0;try{for(var L=__values(u),O=L.next();!O.done;O=L.next()){var P=O.value;A+=y.xAxis.info.step/u.length*P.width}}catch(e){c={error:e}}finally{try{O&&!O.done&&(h=L.return)&&h.call(L)}finally{if(c)throw c.error}}for(var B=0;B<y.axisCore.valuesCount;B++){var R=d?y.xAxis.info.stripPositions[B+1]:y.xAxis.info.stripPositions[B],k=(R-=y.xAxis.info.step/2)+(y.xAxis.info.step-A)/2,T=0;y.reverseHor&&(T=u.length-1);while(T<u.length&&!y.reverseHor||T>=0&&y.reverseHor){var j=u[T],F=y.xAxis.info.step/u.length*j.width;if(B<j.values.length){var I=y.reverseHor?j.values[j.values.length-B-1]:j.values[B];y.reverseVert&&null!=I&&(I=-I);var D=0,N=0;N=j.yAxis==t.StiSeriesYAxis.LeftYAxis?-(D=I*y.yAxis.info.dpi)+b:-(D=I*y.yRightAxis.info.dpi)+v,I<0&&(N=j.yAxis==t.StiSeriesYAxis.LeftYAxis?b:v,D=-D);var M=new a(k,N,F,D),E=j.stimulsoft.as(t.StiSeries);null==E.trendLine||E.trendLine.stimulsoft.is(t.IStiTrendLineNone)||x[T].push(new s(k+F/2,N));var V=o.view.clientRectangle.clone();V.x=0,V.y=0;var G=M.clone();if(G.x+=o.clientRectangle.x,G.y+=o.clientRectangle.y,G.right>V.x&&G.x<V.right||this.series.chart.area.xAxis.range.auto){var X=j.core.getSeriesBrush(C,w);j.allowApplyBrushNegative&&I<0&&(X=j.brushNegative),X=j.processSeriesBrushes(B,X);var z=j.core.getSeriesBorderColor(C,w),J=t.StiChartHelper.globalBeginTimeElement;if(null!=this.series.chart&&null!=this.series.chart.style&&M.height>0){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<u.length;ee++){var te=u[ee].trendLine;if(te.stimulsoft.is(t.IStiTrendLineNone))continue;var re=x[ee];null!=te&&te.core.renderTrendLine(o,re.stimulsoft.toArray(),y.axisCore.getDividerY())}try{for(var ie=__values(S),ne=ie.next();!ne.done;ne=ie.next()){var $=ne.value;o.createChildGeoms(),o.childGeoms.push($)}}catch(e){f={error:e}}finally{try{ne&&!ne.done&&(m=ie.return)&&m.call(ie)}finally{if(f)throw f.error}}o.area.chart.seriesLabels.preventIntersection&&this.checkIntersectionLabels(o)},f.prototype.renderLinePareto=function(e,i,n,o){var a,l=n.area,u=l.xAxis.core.getStartFromZero();i.width+=.001;for(var c=[],h=0;h<o.length;h++){for(var p=o[h],f=this.getParetoValues(p.values),m=p.values.length,S=r.create(s,m,!0),g=0;g<m;g++){var y=u?g+1:g;if(y>=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<t.length;n++)i[n]=r;return i},c.prototype.renderColumns=function(e,n,c,h){for(var p,f,m=c.area,S=new o,g=m,y=this.getDividerYSeries(g,h),d=0,b=g.axisCore.valuesCount*h.length,v=this.getSumSeriesWidth(g,h),C=0;C<g.axisCore.valuesCount;C++){var w=g.xAxis.core.getStartFromZero()?g.xAxis.info.stripPositions[C+1]:g.xAxis.info.stripPositions[C],x=(w-=g.xAxis.info.step/2)+(g.xAxis.info.step-v)/2,_=g.reverseHor?h.length-1:0;while(_<h.length&&!g.reverseHor||_>=0&&g.reverseHor){var A=h[_],L=g.xAxis.info.step/h.length*A.width;if(C<A.values.length){var O=g.reverseHor?A.values[A.values.length-C-1]:A.values[C];g.reverseVert&&null!=O&&(O=-O);var P=C==A.values.length-1,B=P&&A.total.visible?g.axisCore.getDividerY():y[_],R={ref:B},k={ref:y[_]},T=P&&A.total.visible?this.getColumnRect(e,A,O,x,L,R):this.getColumnRect(e,A,O,x,L,k);B=R.ref,y[_]=k.ref;var j=r.empty,F=null,I=c.stimulsoft.as(t.StiAxisAreaGeom).view.clientRectangle.clone();I.x=0,I.y=0;var D=T;if(D.x+=c.clientRectangle.x,D.y+=c.clientRectangle.y,D.right>I.x&&D.x<I.right||this.series.chart.area.stimulsoft.as(t.IStiAxisArea).xAxis.range.auto){var N=A.connectorLine.visible&&!P?A.core.getSeriesBrush(0,3):A.core.getSeriesBrush(2,3);O<0&&(N=A.allowApplyBrushNegative?A.brushNegative:A.core.getSeriesBrush(1,3)),N=A.processSeriesBrushes(C,N);var M=A.core.getSeriesBorderColor(0,3),E=t.StiChartHelper.globalBeginTimeElement;if(null!=this.series.chart&&null!=this.series.chart.style&&T.height>0){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;ze<Je+_e[1];ze++)we[ze].y=we[ze-1].y-Xe}if(Je+=_e[1],_e[2]>0){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;ze<Je+_e[2];ze++)we[ze].y=we[ze-1].y-Xe}if(Je+=_e[2],_e[3]>0){Xe=ce.height/2/_e[3],we[Je].y=ce.y+Xe/2-we[Je].height/2;for(var ze=Je+1;ze<Je+_e[3];ze++)we[ze].y=we[ze-1].y+Xe}for(var ze=0;ze<Le;ze++)xe[ze]=we[ze].y-xe[ze]}if(z<=5)return;if(le.showShadow){ue=le.startAngle;try{for(var He=__values(o),We=He.next();!We.done;We=He.next()){var K=We.value;if(1==Q){var Ye=new m(J.x-z,J.y-z,2*z,2*z),Ze=new m(0,0,2*z,2*z),qe;null!=(qe=e.createShadowGraphics())&&qe.fillEllipse2(p.fromArgb(100,p.black),Ze,null);var Ue=new t.StiPieSeriesShadowElementGeom(le,Ye,.01*z+2*e.options.zoom,qe,H,W);n.createChildGeoms(),n.childGeoms.push(Ue);break}var fe=K,me=0;try{for(var Ke=(j=void 0,__values(K.values)),Qe=Ke.next();!Qe.done;Qe=Ke.next()){var oe=Qe.value,ye=ae*Math.abs(oe),$e=J,et=new c(p.fromArgb(100,p.black)),qe=e.createShadowGraphics(),Ze;(Ze=i.clone()).x=0,Ze.y=0,Y.isAnimation&&(Ze.x=J.x-z,Ze.y=J.y-z,Ze.height=2*z,Ze.width=2*z),this.renderPieElementShadow(qe,$e,z,et,ue,ye,fe,this.getPieDistance(me));var Ue=new t.StiPieSeriesShadowElementGeom(le,Ze,.01*z+2*e.options.zoom,qe,H,W);n.createChildGeoms(),n.childGeoms.push(Ue),ue+=ye,me++}}catch(e){j={error:e}}finally{try{Qe&&!Qe.done&&(F=Ke.return)&&F.call(Ke)}finally{if(j)throw j.error}}}}catch(e){k={error:e}}finally{try{We&&!We.done&&(T=He.return)&&T.call(He)}finally{if(k)throw k.error}}}ue=le.startAngle;var tt=0;try{for(var rt=__values(o),it=rt.next();!it.done;it=rt.next()){var K=it.value;if(0==Q)break;if(1==Q){var nt=K.brush;K.allowApplyBrush&&(nt=K.core.getSeriesBrush($,Z),nt=K.processSeriesBrushes($,nt));var ot=new m(J.x-z,J.y-z,2*z,2*z),at=K.borderColor;K.allowApplyBorderColor&&(at=K.core.getSeriesBorderColor($,Z));var st=new t.StiPieSeriesFullElementGeom(n,ee,$,this.series,ot,nt,at);n.createChildGeoms(),n.childGeoms.push(st);break}var me=0;try{for(var lt=(N=void 0,__values(K.values)),ut=lt.next();!ut.done;ut=lt.next()){var oe;if(0!=(oe=ut.value)){var ye=ae*Math.abs(oe),nt=K.brush;K.allowApplyBrush&&(nt=K.core.getSeriesBrush(tt,Z),nt=K.processSeriesBrushes(tt,nt));var at=K.borderColor;K.allowApplyBorderColor&&(at=K.core.getSeriesBorderColor(tt,Z));var ct=this.renderPieElement(e,J,z,at,nt,ue,ye,Math.abs(oe),me,K,this.getPieDistance(me),n,new u(W.ticks/K.values.length*me));if(null!=ct){var ht=new u(W.ticks/K.values.length*(me+2));if(ct.animation=new S(H,ht),null!=K.core.interaction){var pt=new g;pt.fill(n.area,K,me),ct.interaction=pt}n.createChildGeoms(),n.childGeoms.push(ct)}ue+=ye}tt++,me++}}catch(e){N={error:e}}finally{try{ut&&!ut.done&&(M=lt.return)&&M.call(lt)}finally{if(N)throw N.error}}}}catch(e){I={error:e}}finally{try{it&&!it.done&&(D=rt.return)&&D.call(rt)}finally{if(I)throw I.error}}ue=le.startAngle,tt=0,Le=0;try{for(var ft=__values(o),mt=ft.next();!mt.done;mt=ft.next()){var K,fe=K=mt.value,me=0;try{for(var St=(G=void 0,__values(K.values)),gt=St.next();!gt.done;gt=St.next()){var oe=gt.value,ye=ae*Math.abs(oe),yt=null;if(fe.showSeriesLabels==t.StiShowSeriesLabels.FromChart&&(yt=this.series.chart.seriesLabels),fe.showSeriesLabels==t.StiShowSeriesLabels.FromSeries&&(yt=le.seriesLabels),null!=this.series.chart&&null!=yt&&yt.visible){var je=yt.stimulsoft.as(t.IStiPieSeriesLabels),Oe=yt.stimulsoft.as(t.IStiTwoColumnsPieLabels);if(null!=je){var Fe=z;this.getPieDistance(me)>0&&(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.x<a.x?s.push(h):l.push(h))}}catch(e){i={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(i)throw i.error}}this.checkLabelPosition(s,r),this.checkLabelPosition(l,r)},d.prototype.checkLabelPosition=function(e,t){var r,i,n,o,a=t.height;e=e.stimulsoft.toList().orderBy((function(e){return e.clientRectangle.y}));try{for(var s=__values(e),l=s.next();!l.done;l=s.next()){var u;a-=(u=l.value).clientRectangle.height}}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}var c=a/(e.length+1),h=t.y;try{for(var p=__values(e),S=p.next();!S.done;S=p.next()){var u;(u=S.value).clientRectangle=new m(u.clientRectangle.x,h+c,u.clientRectangle.width,u.clientRectangle.height),u.endPoint=new f(u.endPoint.x,u.clientRectangle.y+u.clientRectangle.height/2),h=u.clientRectangle.y+u.clientRectangle.height}}catch(e){n={error:e}}finally{try{S&&!S.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}},d.prototype.getGradPerValue=function(e){var t,r,i,n,o=0,a=0;try{for(var s=__values(e),l=s.next();!l.done;l=s.next()){var u=l.value;try{for(var c=(i=void 0,__values(u.values)),h=c.next();!h.done;h=c.next()){var p=h.value;o+=Math.abs(p),a++}}catch(e){i={error:e}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(i)throw i.error}}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return 0==a&&(a=1),o>0?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<T&&(T=N),0==M)return;var X=n[0],z=0,J=new c(10*e.options.zoom,10*e.options.zoom,r.width-20*e.options.zoom,r.height-20*e.options.zoom),H=J.clone(),W=0,Y=T;try{for(var Z=__values(n),q=Z.next();!q.done;q=Z.next()){var G=q.value,U=0;W=G.startAngle;var K=this.getGradPerValue([G]);try{for(var Q=(g=void 0,__values(G.values)),$=Q.next();!$.done;$=Q.next()){var ee=$.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){var oe=0!=G.width?Y-G.width:Y-D,ae,se={ref:ae=void 0};ne.core.renderLabel(G,e,j,Y,oe,W+re/2,U,Math.abs(ee),ee,this.getArgumentText(G,U),X.core.getTag(U),!0,z,M,te,se,!1,0),(ae=se.ref).isEmpty||(J=c.union(J,ae))}z++,W+=re,U++}}catch(e){g={error:e}}finally{try{$&&!$.done&&(y=Q.return)&&y.call(Q)}finally{if(g)throw g.error}}Y-=0!=G.width?G.width+.2*D:1.2*D}}catch(e){f={error:e}}finally{try{q&&!q.done&&(S=Z.return)&&S.call(Z)}finally{if(f)throw f.error}}var le=0;le=Math.min(le,J.left-H.left),le=Math.min(le,H.right-J.right),le=Math.min(le,J.top-H.top),T+=le=Math.min(le,H.bottom-J.bottom);var ue=this.series.chart;if(X.showShadow&&!ue.isAnimation){var ce=new c(j.x-T,j.y-T,2*T,2*T),he=e.createShadowGraphics(),pe=new l(p.fromArgb(100,p.black));D=T/(n.length+1),Y=T;try{for(var fe=__values(n),me=fe.next();!me.done;me=fe.next()){var G;W=(G=me.value).startAngle;var K=this.getGradPerValue([G]),U=0;try{for(var Se=(v=void 0,__values(G.values)),ge=Se.next();!ge.done;ge=Se.next()){var ee=ge.value,re=K*Math.abs(ee),oe=0!=G.width?Y-G.width:Y-D;this.renderDoughnutElement(he,new h(ce.width/2,ce.height/2),Y,oe,p.black,pe,W,re,Math.abs(ee),U,G,!0,i,new s(I.ticks)),W+=re,U++}}catch(e){v={error:e}}finally{try{ge&&!ge.done&&(C=Se.return)&&C.call(Se)}finally{if(v)throw v.error}}Y-=0!=G.width?G.width+.2*D:1.2*D}}catch(e){d={error:e}}finally{try{me&&!me.done&&(b=fe.return)&&b.call(fe)}finally{if(d)throw d.error}}var ye=new t.StiPieSeriesShadowElementGeom(X,ce,.01*T+2*e.options.zoom,he,F,I);i.createChildGeoms(),i.childGeoms.push(ye)}D=T/(n.length+1),z=0,Y=T;try{for(var de=__values(n),be=de.next();!be.done;be=de.next()){var G;W=(G=be.value).startAngle;var K=this.getGradPerValue([G]),ve=0,Ce=-1,we=0;try{for(var xe=(_=void 0,__values(G.values)),_e=xe.next();!_e.done;_e=xe.next()){var ee;0==(ee=_e.value)||null==ee||isNaN(ee)||1==++ve&&(Ce=we),we++}}catch(e){_={error:e}}finally{try{_e&&!_e.done&&(A=xe.return)&&A.call(xe)}finally{if(_)throw _.error}}if(0==ve);else{if(1==ve){z=-1!=Ce?Ce:0;var Ae=G.brush;G.allowApplyStyle&&(Ae=G.core.getSeriesBrush(z,M),Ae=G.processSeriesBrushes(z,Ae));var Le=X.core.getSeriesBorderColor(z,M);if(Ce>=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;B<O;B++){var R=C[B],k=w[B],T=x[B],j=_[B];if(null==R||null==k||null==T||null==j)continue;var F=0;try{for(var I=(h=void 0,__values(S.xAxis.info.stripLines.list)),D=I.next();!D.done;D=I.next()){var N=D.value;if((null===(f=v.arguments.stimulsoft.getByIndex(B,P))||void 0===f?void 0:f.toString())==(null===(m=N.valueObject)||void 0===m?void 0:m.toString()))break;F++}}catch(e){h={error:e}}finally{try{D&&!D.done&&(p=I.return)&&p.call(I)}finally{if(h)throw h.error}}var M=S.xAxis.info.dpi,E=new i,V=void 0;if(R>k?(E=v.brush,V=v.borderColor,T<R&&(T=R),k<j&&(j=k)):(E=v.brushNegative,V=v.borderColorNegative,j>R&&(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;O<L;O++){var P=v[O],B=C[O],R=w[O],k=x[O],T=0,j=b.arguments.stimulsoft.getKeys();try{for(var F=(c=void 0,__values(m.xAxis.info.stripLines.list)),I=F.next();!I.done;I=F.next()){var D=I.value;if((null===(p=b.arguments.stimulsoft.getByIndex(O,j))||void 0===p?void 0:p.toString())==(null===(f=D.valueObject)||void 0===f?void 0:f.toString()))break;T++}}catch(e){c={error:e}}finally{try{I&&!I.done&&(h=F.return)&&h.call(F)}finally{if(c)throw c.error}}var N=m.xAxis.info.dpi,M=b.lineColor;if(!b.allowApplyColorNegative&&P<B&&(M=b.lineColorNegative),null==P||null==B||null==R||null==k)continue;var E=m.yAxis.info.dpi,V=Math.abs(S-P*E),G=Math.abs(S-B*E),X=Math.abs(S-R*E),z=Math.abs(S-k*E),J=T*N;if(m.reverseHor){var H=V;V=G,G=H}var W=new n(J-N/3,Math.min(X,z),2*N/3,Math.abs(z-X));M=b.processSeriesColors(O,M);var Y=new t.StiStockSeriesElementGeom(a,b,W,V,G,X,z,J,T-1,M,new r(g.ticks/_*O));if(null!=Y&&null!=b.core.interaction){var Z=new o;Z.fill(a.area,b,O),Y.interaction=Z}a.createChildGeoms(),a.childGeoms.push(Y)}}catch(e){l={error:e}}finally{try{d&&!d.done&&(u=y.return)&&u.call(y)}finally{if(l)throw l.error}}},Object.defineProperty(a.prototype,"localizedName",{get:function(){return i.get("Chart","Stock")},enumerable:!1,configurable:!0}),a}(t.StiSeriesCoreXF);t.StiStockSeriesCoreXF=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.StiGlareBrush,i=e.Base.Drawing.StiGradientBrush,n=e.System.TimeSpan,o=e.System.Drawing.Point,a=e.Base.Localization.StiLocalization,s=e.System.Drawing.Rectangle,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,n){e.prototype.applyStyle.call(this,t,n);var o=this.series;o.allowApplyStyle&&(o.brush=t.core.getColumnBrush(n),o.brush.stimulsoft.is(i)&&(o.brush.angle+=90),o.brush.stimulsoft.is(r)&&(o.brush.angle+=90),o.borderColor=t.core.getColumnBorder(n))},u.prototype.renderSeries=function(e,r,i,a){var u,c;if(null==a||0==a.length||null==this.series.chart)return;for(var h=[],p=[],f,m=i.area,S=this.series,g=m.axisCore.getDividerX(),y=0,d=m.axisCore.valuesCount*a.length,b=m.xAxis.info.dpi,v=m.axisCore.valuesCount,C=m.yAxis.info.stripPositions.stimulsoft.getKeys(),w=function(u){var c=0,f=0,w={ref:c},_={ref:f};x.calculateTotalWidth(a,u,w,_),c=w.ref,f=_.ref;var A=m.yAxis.info.stripPositions.stimulsoft.getByIndex(u+1,C)-m.yAxis.info.step/2,L=m.yAxis.info.step-m.yAxis.info.step*(1-S.width),O=A+(m.yAxis.info.step-L)/2,P=0,B=0,R;if(0==a.length)return{value:void 0};if(a[0].showShadow){for(var k=0;k<a.length;k++)if(u<a[k].values.length){var T=a[k],j=m.reverseVert?T.values[u]:T.values[T.values.length-u-1];m.reverseHor&&null!=j&&(j=-j),j>0?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(u<C.values.length){var w=m.reverseVert?C.values[u]:C.values[C.values.length-u-1],_=null!=w?-w:w,A=m.reverseHor?a.stimulsoft.toList().cast().sum((function(e){return e.values[u]})):a.stimulsoft.toList().cast().sum((function(e){return e.values[C.values.length-u-1]}));x.series.stimulsoft.is(t.IStiFullStackedBarSeries)&&(0==c&&0==f||null==_||(b=_>0?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.y<j.bottom||x.series.chart.area.yAxis.range.auto){var I=C.core.getSeriesBrush(y,d);C.allowApplyBrushNegative&&_>0&&(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<a.length;k++)M(k)},x=this,_=0;_<v;_++){var A=w(_);if("object"==typeof A)return A.value}for(var L=p.length-1;L>=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(r<h.values.length){var p=this.series.chart.area.reverseVert?h.values[r]:h.values[h.values.length-r-1];p>0?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<g.right&&-1==m&&(m=y),!(g.x<=C.x&&C.x<g.right)&&-1!=m){S=y;break}y++}}catch(e){c={error:e}}finally{try{b&&!b.done&&(h=d.return)&&h.call(d)}finally{if(c)throw c.error}}-1==S&&(S=i.length-1),--m<0&&(m=0),++S>=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<a.length;w++){for(var x,_=(x=a[w]).values.length,A=r.create(l,_,!0),L=r.create(l,_,!0),O=0;O<_;O++){var P=y?S.xAxis.info.stripPositions[O+1]:S.xAxis.info.stripPositions[O],B;if(null!=(B=S.reverseHor?x.values[x.values.length-O-1]:x.values[O])||x.showNulls){null==B&&x.showNulls&&(B=0);var R=0,k=0,T={ref:R},j={ref:k};this.calculateTotalHeight(a,O,T,j),R=T.ref,k=j.ref,p.core.isFullStacked&&(0==R&&0==k||null==B||(C=B>=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;O<S.axisCore.valuesCount;O++)H[O]=g,W[O]=g;try{for(var Y=__values(v),Z=Y.next();!Z.done;Z=Y.next()){var q=Z.value,D,N,U=null,E,K={ref:U},G={ref:E=null},X={ref:D=void 0},z={ref:N=void 0},x;this.clipLinePoints(e,o,q,null,K,G,X,z),U=K.ref,E=G.ref,D=X.ref,N=z.ref,(x=a[J]).core.renderLines(e,o,U);var Q=x.core.getSeriesLabels();if(null!=Q&&Q.visible)for(var O=D;O<=N;O++)if(O<x.values.length){var B;null==(B=x.values[O])&&p.showNulls&&(B=0);var $=g;B>0?($=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(t<h.values.length){var p=this.series.chart.area.reverseHor?h.values[h.values.length-t-1]:h.values[t];null==p&&a.showNulls&&(p=0),p>0?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;R<l.length;R++)if(u<l[R].values.length){var k=l[R],T=m.reverseHor?k.values[k.values.length-u-1]:k.values[u];null!=T&&(m.reverseVert&&(T=-T),T>0?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<C.values.length){var x=m.reverseHor?C.values[C.values.length-u-1]:C.values[u],_=m.reverseHor?l.stimulsoft.toList().cast().sum((function(e){return e.values[C.values.length-u-1]})):l.stimulsoft.toList().cast().sum((function(e){return e.values[u]}));w.series.stimulsoft.is(t.IStiFullStackedColumnSeries)&&(0==c&&0==f||null==x||(v=x>=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.x<T.right||w.series.chart.area.xAxis.range.auto){var F=C.core.getSeriesBrush(d,b);if(C.allowApplyBrushNegative&&x<0&&(F=C.brushNegative),F=C.processSeriesBrushes(u,F),0!=k.width&&Math.round2(k.height,2)>0&&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<l.length;R++)M(R)},w=this,x=0;x<m.axisCore.valuesCount;x++){var _=C(x);if("object"==typeof _)return _.value}for(var A=p.length-1;A>=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(r<h.values.length){var p=this.series.chart.area.reverseHor?h.values[h.values.length-r-1]:h.values[r];p>0?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;T<k.values.length;T++)if(C.values.length>T){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).width<P.width?O:P}}O=P.clone()}A=this.getSingleValueHeight(d,O),L=this.getSingleValueWidth(g,O);var D=0,N=0;try{for(var M=(f=void 0,__values(S)),E=M.next();!E.done;E=M.next()){var V=E.value,G=void 0;G=null!=this.labels&&this.labels.stimulsoft.is(t.StiOutsideLeftFunnelLabels)?O.width/2+O.x:O.width/2;for(var X=t.StiChartHelper.globalBeginTimeElement,z=0;z<V.values.length;z++){var _;if(0==(_=this.getCurrentValue(V,D,y))&&!V.showZeros){D++;continue}var j=this.getNextCurrentValue(V,D,y),J=V.brush;V.allowApplyBrush&&(J=V.core.getSeriesBrush(N,d),J=V.processSeriesBrushes(N,J));var H=V.borderColor;V.allowApplyBorderColor&&(H=V.core.getSeriesBorderColor(N,d));var W=this.renderFunnelElement(H,J,_,j,N,z,V,i,O,A,L,new n(X.ticks/g.length*z));if(null!=W){if(null!=C.core.interaction){var Y=new l;Y.fill(i.area,C,z),W.interaction=Y}i.createChildGeoms(),i.childGeoms.push(W)}if(null!=this.labels&&this.labels.visible&&(0==this.labels.step||z%this.labels.step==0)){var F={ref:O},I=this.labels.core.renderLabel(V,e,N,_,j,this.getArgumentText(V,z),V.core.getTag(z),N,d,r,A,L,G,F);O=F.ref,null!=I&&(i.createChildGeoms(),i.childGeoms.push(I),I.clientRectangle=this.checkLabelsRect(this.labels,i,I.clientRectangle))}N++,D++}}}catch(e){f={error:e}}finally{try{E&&!E.done&&(m=M.return)&&m.call(M)}finally{if(f)throw f.error}}}}catch(e){h={error:e}}finally{try{R&&!R.done&&(p=B.return)&&p.call(B)}finally{if(h)throw h.error}}},c.prototype.getSeriesBorderColor=function(e,r){if(null==this.series.chart||null==this.series.chart.area)return null;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)},c.prototype.getSeriesBrush=function(e,r){if(null==this.series.chart||null==this.series.chart.area)return null;var i=null!=this.series.chart.style?this.series.chart.style.core:new t.StiStyleCoreXF29,n=i.getColorByIndex(e,r,this.seriesColors),o;return i.getColumnBrush(n)},c.prototype.getCurrentValue=function(e,t,r){return r[t]},c.prototype.getNextCurrentValue=function(e,t,r){if(t!=r.length-1){var i=r[t+1];if(0==i&&!e.showZeros)while(0==i&&t<r.length-2)i=r[++t+1];return i}return r[t]},c.prototype.getAllValues=function(e){var t,r,i,n,o=new s;try{for(var a=__values(e),l=a.next();!l.done;l=a.next()){var u=l.value;try{for(var c=(i=void 0,__values(u.values)),h=c.next();!h.done;h=c.next()){var p=h.value;if(0==p&&!u.showZeros)continue;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(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return o.stimulsoft.toArray()},c.prototype.getAllTrueValues=function(e){var t,r,i,n,o=new s;try{for(var a=__values(e),l=a.next();!l.done;l=a.next()){var u=l.value;try{for(var c=(i=void 0,__values(u.values)),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(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return o.stimulsoft.toArray()},c.prototype.getValues=function(e){var t,r,i=[];try{for(var n=__values(e.values),o=n.next();!o.done;o=n.next()){var a=o.value;if(!e.showZeros&&0==a)continue;i.push(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.stimulsoft.toArray()},c.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""},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;a<i.length;a++){var s=i[a],l=a!=i.length-1?i[a+1]:i[a],u=this.measureFunnelElementCore(s,l,a,r,n,o);e.createChildGeoms(),e.childGeoms.push(new t.StiFunnelEmptySeriesElementGeom(r,u))}},c.prototype.renderFunnelElement=function(e,r,i,n,o,a,s,l,u,c,h,p){var f=this.measureFunnelElementCore(i,n,o,u,c,h);return new t.StiFunnelSeriesElementGeom(l,i,a,s,u,r,e,f,p)},c.prototype.getSingleValueHeight=function(e,t){return.9*t.height/e},c.prototype.getSingleValueWidth=function(e,t){var r,i,n=0;try{for(var o=__values(e),a=o.next();!a.done;a=o.next()){var s=a.value;n=n>s?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;I<T.length;I++){var x=T[I];if(!k.showZeros&&0==x)continue;var D=k.brush;k.allowApplyBrush&&(D=k.core.getSeriesBrush(P,y),D=k.processSeriesBrushes(P,D));var N=k.borderColor;k.allowApplyBorderColor&&(N=k.core.getSeriesBorderColor(P,y));var M=this.renderFunnelElement(N,D,x,A,P,I,v,i,r,O,new n(F.ticks/v.values.length*I));if(null!=M){if(null!=v.core.interaction){var E=new l;E.fill(i.area,v,I),M.interaction=E}i.createChildGeoms(),i.childGeoms.push(M)}if(null!=this.labels&&this.labels.visible){var V=P==L.length-1?x:L[I+1];if(0==this.labels.step||I%this.labels.step==0){var G={ref:r},X=this.labels.core.renderLabel(k,e,P,x,V,this.getArgumentText(k,I),k.core.getTag(I),P,y,r,O,0,j,G);r=G.ref,null!=X&&_.push(X)}}P++}}}catch(e){p={error:e}}finally{try{R&&!R.done&&(f=B.return)&&f.call(B)}finally{if(p)throw p.error}}try{for(var z=__values(_),J=z.next();!J.done;J=z.next()){var H=J.value;i.createChildGeoms(),i.childGeoms.push(H),H.clientRectangle=this.checkLabelsRect(this.labels,i,H.clientRectangle)}}catch(e){m={error:e}}finally{try{J&&!J.done&&(S=z.return)&&S.call(z)}finally{if(m)throw m.error}}},c.prototype.getSeriesBorderColor=function(e,r){if(null==this.series.chart||null==this.series.chart.area)return null;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)},c.prototype.getSeriesBrush=function(e,r){if(null==this.series.chart||null==this.series.chart.area)return null;var i=null!=this.series.chart.style?this.series.chart.style.core:new t.StiStyleCoreXF29,n=i.getColorByIndex(e,r,this.seriesColors),o;return i.getColumnBrush(n)},c.prototype.getAllValues=function(e){var t,r,i,n,o=new s;try{for(var a=__values(e),l=a.next();!l.done;l=a.next()){var u=l.value;try{for(var c=(i=void 0,__values(u.values)),h=c.next();!h.done;h=c.next()){var p=h.value;if(0==p&&!u.showZeros)continue;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(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return o.stimulsoft.toArray()},c.prototype.getAllTrueValues=function(e){var t,r,i,n,o=new s;try{for(var a=__values(e),l=a.next();!l.done;l=a.next()){var u=l.value;try{for(var c=(i=void 0,__values(u.values)),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(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return o.stimulsoft.toArray()},c.prototype.getValues=function(e){var t,r,i=[];try{for(var n=__values(e.values),o=n.next();!o.done;o=n.next()){var a=o.value;if(!e.showZeros&&0==a)continue;i.push(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.stimulsoft.toArray()},c.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""},c.prototype.renderFunnelEmpty=function(e,r){for(var i=[3,2,1],n=.9*r.height/this.getSumValues(i),o=0;o<i.length;o++){var a=this.measureFunnelElementCore(o,r,n,i);e.createChildGeoms(),e.childGeoms.push(new t.StiFunnelEmptySeriesElementGeom(r,a.stimulsoft.toList()))}},c.prototype.getPathFunnelEmpty=function(e){var t=new s,n=.05*e.height,a=e.width/2,l=new o(a-.9*e.width/2,n),u=new o(a+.9*e.width/2,n),c=new o(a-.1*e.width/2,e.height+n-e.height/5),h,p,f,m=[l,u,new o(a+.1*e.width/2,e.height+n-e.height/5),new o(a+.1*e.width/2,e.height+n),new o(a-.1*e.width/2,e.height+n),c];return t.push(new i(m)),t.push(new r),t},c.prototype.renderFunnelElement=function(e,r,i,n,o,a,s,l,u,c,h){var p=this.measureFunnelElementCore(o,u,c,n);return new t.StiFunnelSeriesElementGeom(l,i,a,s,u,r,e,p,h)},c.prototype.getSumValues=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+=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 i},c.prototype.getSumLastValues=function(e,t){for(var r=0,i=0;i<e;i++){if(i>=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;v<n.height/5&&(v=n.height/5,b=!0);var C=.9*n.width*v/n.height,w;return h=new o(c-C/2,a*d+u),p=new o(c+C/2,a*d+u),d=this.getSumLastValues(e+1,s),(v=n.height-a*d)<n.height/5&&(v=n.height/5,b||(C=.9*n.width*v/n.height,f=new o(c-C/2,n.height+u-v),m=new o(c+C/2,n.height+u-v),y=!0)),C=.9*n.width*v/n.height,S=new o(c+C/2,a*d+u),g=new o(c-C/2,a*d+u),w=y?[h,p,m,S,g,f,h]:[h,p,S,g,h],l.push(new i(w)),l.push(new r),l},Object.defineProperty(c.prototype,"localizedName",{get:function(){return a.get("Chart","FunnelWeightedSlices")},enumerable:!1,configurable:!0}),c}(t.StiSeriesCoreXF);t.StiFunnelWeightedSlicesSeriesCoreXF=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.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();try{for(var v=__values(u),C=v.next();!C.done;C=v.next()){var w=C.value,x=w.values.length;w.valuesEnd.length<x&&(x=w.valuesEnd.length);var _=w.arguments.length,A=Math.min(x,_),L=t.StiChartHelper.globalBeginTimeElement,O=this.series.chart,P=0,B=w.arguments.stimulsoft.getKeys();while(P<A){var R=w.values[P],k=w.valuesEnd[P];null==R&&(R=0),null==k&&(k=0);var T=Math.abs(R-k)*y.xAxis.info.dpi,j=d,F=Math.min(R,k);y.reverseHor?j-=F*y.xAxis.info.dpi+T:j+=F*y.xAxis.info.dpi;var I=y.yAxis.info.stripLines.count-1;try{for(var D=(p=void 0,__values(y.yAxis.info.stripLines.list)),N=D.next();!N.done;N=D.next()){var M=N.value,E=w.arguments.stimulsoft.getByIndex(P,B);if(null==E&&null==M.valueObject||null!=E&&null!=M.valueObject&&E.toString()==M.valueObject.toString())break;I--}}catch(e){p={error:e}}finally{try{N&&!N.done&&(f=D.return)&&f.call(D)}finally{if(p)throw p.error}}y.reverseVert&&(I=y.yAxis.info.stripLines.count-1-I);var V=y.yAxis.info.step/2,G=b-V/2;y.reverseVert?G+=y.yAxis.info.step*I:G-=y.yAxis.info.step*I;var X=new o(j,G,T,V),z=w.processSeriesBrushes(P,w.brush),J=new t.StiGanttSeriesElementGeom(l,F,P,w,X,new r(L.ticks/y.core.valuesCount*P),z);if(null!=w.core.interaction){var H=new a;H.fill(y,w,P),J.interaction=H}l.createChildGeoms(),l.childGeoms.push(J);var W=w.core.getSeriesLabels();if(null!=W&&W.visible)if(W.stimulsoft.is(t.StiValueAxisLabels)){var Y=new i(j,G+V/2),Z=new i(j+T,G+V/2);if(0==W.step||P%W.step==0){if(k<R){var q=R;R=k,k=q}var U=W.core.renderLabel(w,n,Z,Z,P,k,k,w.arguments.stimulsoft.getByIndex(P,B).toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator),w.core.getTag(P),0,1,s),K=W.core.renderLabel(w,n,Y,Y,P,R,R,w.arguments.stimulsoft.getByIndex(P,B).toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator),w.core.getTag(P),0,1,s);null!=K&&(g.push(K),K.clientRectangle=this.checkLabelsRect(W,l,K.clientRectangle.clone())),null!=U&&(g.push(U),U.clientRectangle=this.checkLabelsRect(W,l,U.clientRectangle.clone()))}}else if(!W.stimulsoft.is(t.StiNoneLabels)){var Y=void 0,Z=void 0;W.stimulsoft.is(t.StiCenterAxisLabels)?(Y=new i(j,G+V/2),Z=new i(j+T,G+V/2)):(Y=new i(j+T/2,G),Z=new i(j+T/2,G));var Q=F,$;if(0==W.step||P%W.step==0)null!=($=W.core.renderLabel(w,n,Z,Y,P,F,Q,w.arguments.stimulsoft.getByIndex(P,B).toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator),w.core.getTag(P),0,1,s))&&(g.push($),$.clientRectangle=this.checkLabelsRect(W,l,$.clientRectangle.clone()))}P++}}}catch(e){c={error:e}}finally{try{C&&!C.done&&(h=v.return)&&h.call(v)}finally{if(c)throw c.error}}try{for(var ee=__values(g),te=ee.next();!te.done;te=ee.next()){var $=te.value;l.createChildGeoms(),l.childGeoms.push($)}}catch(e){m={error:e}}finally{try{te&&!te.done&&(S=ee.return)&&S.call(ee)}finally{if(m)throw m.error}}},Object.defineProperty(l.prototype,"localizedName",{get:function(){return n.get("Chart","Gantt")},enumerable:!1,configurable:!0}),l}(t.StiClusteredBarSeriesCoreXF);t.StiGanttSeriesCoreXF=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=e.System.Drawing.Rectangle,n=e.System.Drawing.Point,o=e.System.Drawing.Size,a=function(){function e(e,t,r){this.value=e,this.series=t,this.index=r}return e}();t.DataPictorial=a;var s=function(e){function s(t){var r=e.call(this,t)||this;return r.singleSizeConst=new o(25,25),r}return __extends(s,e),s.prototype.applyStyle=function(t,r){e.prototype.applyStyle.call(this,t,r),this.series.allowApplyStyle&&(this.series.brush=t.core.getColumnBrush(r))},Object.defineProperty(s.prototype,"localizedName",{get:function(){return r.get("Chart","Pictorial")},enumerable:!1,configurable:!0}),s.prototype.getSingleSize=function(e){return new o(this.singleSizeConst.width*e.options.zoom,this.singleSizeConst.height*e.options.zoom)},s.prototype.renderSeries=function(e,r,o,s){var l,u,c,h,p,f,m=this.getSingleSize(e),S=Math.floor(r.width/m.width),g=Math.floor(r.height/m.height),y=S*m.width,d=g*m.height,b=r.x+(r.width-y)/2,v=r.y+(r.height-d)/2,C=new i(b,v,y,d),w=S*g,x=this.series.chart.area,_=[];try{for(var A=__values(s),L=A.next();!L.done;L=A.next()){var O=L.value,P=O.stimulsoft.as(t.StiPictorialSeries),B=0;try{for(var R=(c=void 0,__values(O.values)),k=R.next();!k.done;k=R.next()){var T,j=null==(T=k.value)?0:x.roundValues?Math.round(T):T;_.push(new a(j,P,B)),B++}}catch(e){c={error:e}}finally{try{k&&!k.done&&(h=R.return)&&h.call(R)}finally{if(c)throw c.error}}}}catch(e){l={error:e}}finally{try{L&&!L.done&&(u=A.return)&&u.call(A)}finally{if(l)throw l.error}}var F=0;try{for(var I=__values(_),D=I.next();!D.done;D=I.next()){var N;F+=D.value.value}}catch(e){p={error:e}}finally{try{D&&!D.done&&(f=I.return)&&f.call(I)}finally{if(p)throw p.error}}var M=w/F;M>1&&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.y<C.bottom);var re=new t.StiPictorialSeriesElementGeom(o,T,_[G].index,this.getSeriesBrush(G,_.length),_[G].series,_[G].series.icon,Y,Z,r,null);o.createChildGeoms(),o.childGeoms.push(re)}},s.prototype.roundPictirialValue=function(e,t){return t>0?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=w<v.values.length?v.values[w]:null;if(null==L&&v.showNulls&&(L=0),null==L)C.push(null);else{null!=L&&(L*=S.yAxis.info.dpi);var O=new o(g.centerPoint.x+L*A.x,g.centerPoint.y+L*A.y);O.x-=r.clientRectangle.x,O.y-=r.clientRectangle.y,C.push(O)}w++}}catch(e){s={error:e}}finally{try{_&&!_.done&&(l=x.return)&&l.call(x)}finally{if(s)throw s.error}}}}catch(e){n={error:e}}finally{try{b&&!b.done&&(a=d.return)&&a.call(d)}finally{if(n)throw n.error}}var P=0;try{for(var B=__values(i),R=B.next();!R.done;R=B.next()){var v=R.value,C;(C=y[P]).push(C[0]),this.renderAreas(e,v,C,r),C.stimulsoft.removeAt(C.length-1),P++}}catch(e){u={error:e}}finally{try{R&&!R.done&&(c=B.return)&&c.call(B)}finally{if(u)throw u.error}}P=0;try{for(var k=__values(i),T=k.next();!T.done;T=k.next()){var v=T.value,C;(C=y[P]).push(C[0]),this.renderLines(e,v,C,r),C.stimulsoft.removeAt(C.length-1),P++}}catch(e){h={error:e}}finally{try{T&&!T.done&&(p=k.return)&&p.call(k)}finally{if(h)throw h.error}}P=0;try{for(var j=__values(i),F=j.next();!F.done;F=j.next()){var v=F.value,C=y[P];this.renderPoints(e,v,C,r),P++}}catch(e){f={error:e}}finally{try{F&&!F.done&&(m=j.return)&&m.call(j)}finally{if(f)throw f.error}}},s.prototype.renderAreas=function(e,t,r,i){},s.prototype.renderLines=function(e,t,r,i){},s.prototype.renderPoints=function(e,r,i,n){var o,a,s=0;try{for(var l=__values(i),u=l.next();!u.done;u=l.next()){var c=u.value;if(null!=c){var h=s<r.values.length?r.values[s]:null,p=new t.StiRadarPointSeriesElementGeom(n,h,s,r.marker.brush,r,c,e.options.zoom);null!=n&&(n.createChildGeoms(),n.childGeoms.push(p));var f=r.core.getSeriesLabels();if(null!=f&&f.visible&&null!=h){var m=c;if(0==f.step||s%f.step==0){var S=f.core.renderLabel(r,e,m,m,s,h,h,this.getArgument(r,s),r.core.getTag(s),0,1,n.clientRectangle);null!=S&&(n.createChildGeoms(),n.childGeoms.push(S),S.clientRectangle=this.checkLabelsRect(f,n,S.clientRectangle.clone()))}}}s++}}catch(e){o={error:e}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}},s.prototype.getArgument=function(t,r){var i=t.arguments.stimulsoft.getKeys();return t.arguments.length>r?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(O<L){var B=x.values[O],R=x.valuesEnd[O];null==B&&(B=0),null==R&&(R=0);var k=Math.abs(B-R)*y.yAxis.info.dpi,T=b,j=Math.max(B,R);y.reverseVert?T+=Math.min(B,R)*y.yAxis.info.dpi:T-=j*y.yAxis.info.dpi;var F=y.xAxis.info.stripLines.count-1;try{for(var I=(p=void 0,__values(y.xAxis.info.stripLines.list)),D=I.next();!D.done;D=I.next()){var N=D.value;if(x.arguments.stimulsoft.getByIndex(O,P).toString()==N.valueObject.toString())break;F--}}catch(e){p={error:e}}finally{try{D&&!D.done&&(f=I.return)&&f.call(I)}finally{if(p)throw p.error}}F=y.xAxis.info.stripLines.count-1-F;var M=(y.xAxis.info.step-y.xAxis.info.step*(1-x.width))/u.length,E=d-M/2;E+=y.xAxis.info.step*F;var V=new o(E,T,M,k),G=new t.StiRangeBarElementGeom(l,j,O,x,x.brush,V,new r(v.ticks/L*O));if(null!=x.core.interaction){var X=new a;X.fill(y,x,O),G.interaction=X}l.createChildGeoms(),l.childGeoms.push(G);var z=x.core.getSeriesLabels();if(null!=z&&z.visible){var J=new i(E+M/2,T),H=new i(E+M/2,T+k);if(0==z.step||O%z.step==0){if(R<B){var W=B;B=R,R=W}var Y=z.core.renderLabel(x,n,H,H,O,B,B,x.arguments.stimulsoft.getByIndex(O,P).toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator),x.core.getTag(O),0,1,s),Z=z.core.renderLabel(x,n,J,J,O,R,R,x.arguments.stimulsoft.getByIndex(O,P).toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator),x.core.getTag(O),0,1,s);null!=Z&&(g.push(Z),Z.clientRectangle=this.checkLabelsRect(z,l,Z.clientRectangle.clone())),null!=Y&&(g.push(Y),Y.clientRectangle=this.checkLabelsRect(z,l,Y.clientRectangle.clone()))}}O++}}}catch(e){c={error:e}}finally{try{w&&!w.done&&(h=C.return)&&h.call(C)}finally{if(c)throw c.error}}try{for(var q=__values(g),U=q.next();!U.done;U=q.next()){var K=U.value;l.createChildGeoms(),l.childGeoms.push(K)}}catch(e){m={error:e}}finally{try{U&&!U.done&&(S=q.return)&&S.call(q)}finally{if(m)throw m.error}}},Object.defineProperty(l.prototype,"localizedName",{get:function(){return n.get("Chart","RangeBar")},enumerable:!1,configurable:!0}),l}(t.StiClusteredColumnSeriesCoreXF);t.StiRangeBarSeriesCoreXF=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.StiArray,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Point,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);var i=this.series;i.allowApplyStyle&&(i.brush=t.core.getAreaBrush(r))},a.prototype.renderSeries=function(e,i,o,a){var s,l;if(null==a||0==a.length||null==this.series.chart)return;var u=o.area,c=0;try{for(var h=__values(a),p=h.next();!p.done;p=h.next()){var f=p.value,m=f.values.length,S=r.create(n,m,!0),g=r.create(n,m,!0);f.valuesEnd.length<m&&(m=f.valuesEnd.length);for(var y=0;y<m;y++){var d,b;(d=u.reverseHor?f.values[f.values.length-y-1]:f.values[y])==(b=u.reverseHor?f.valuesEnd[f.values.length-y-1]:f.valuesEnd[y])?S[y]=g[y]=this.getYPoint(d,f,u,y):(S[y]=this.getYPoint(d,f,u,y),g[y]=this.getYPoint(b,f,u,y))}this.renderAreas2(o,S,g,f),this.renderLines2(e,o,S,f.values,f),this.renderLines2(e,o,g,f.valuesEnd,f);var v=0,C=f.core.getSeriesLabels();if(null!=C&&C.visible)for(var y=0;y<m;y++){var d=f.values[y],b=f.valuesEnd[y];null==d&&f.showNulls&&(d=0),null==b&&f.showNulls&&(d=0);var w=d;u.reverseVert&&null!=d&&(w=-w);var x=b;u.reverseVert&&null!=b&&(x=-x),v=f.yAxis==t.StiSeriesYAxis.LeftYAxis?u.axisCore.getDividerY():u.axisCore.getDividerRightY();var _=S[y],A=g[y];if(null!=_){var L=new n(_.x,v),O;if(0==C.step||y%C.step==0)null!=(O=C.core.renderLabel(f,e,this.correctPoint(_,i,f.labelsOffset*e.options.zoom),this.correctPoint(L,i,f.labelsOffset*e.options.zoom),y,w,d,u.axisCore.getArgumentLabel(u.xAxis.info.stripLines.getByIndex(y),f),f.core.getTag(y),0,1,i))&&(o.createChildGeoms(),o.childGeoms.push(O),O.clientRectangle=this.checkLabelsRect(C,o,O.clientRectangle.clone()))}if(null!=A){var L=new n(A.x,v),O;if(0==C.step||y%C.step==0)null!=(O=C.core.renderLabel(f,e,this.correctPoint(A,i,f.labelsOffset*e.options.zoom),this.correctPoint(L,i,f.labelsOffset*e.options.zoom),y,x,b,u.axisCore.getArgumentLabel(u.xAxis.info.stripLines.getByIndex(y),f),f.core.getTag(y),0,1,i))&&(o.createChildGeoms(),o.childGeoms.push(O),O.clientRectangle=this.checkLabelsRect(C,o,O.clientRectangle.clone()))}}c++}}catch(e){s={error:e}}finally{try{p&&!p.done&&(l=h.return)&&l.call(h)}finally{if(s)throw s.error}}},a.prototype.renderLines2=function(e,r,i,n,o){if(null!=i&&i.length>1){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.length<m&&(m=f.valuesEnd.length);for(var S=r.create(a,m,!0),g=r.create(a,m,!0),y=r.create(a,2*m,!0),d=0;d<m;d++){var b=u.reverseHor?f.values[f.values.length-d-1]:f.values[d],v=u.reverseHor?f.valuesEnd[f.values.length-d-1]:f.valuesEnd[d];S[d]=this.getYPoint(b,f,u,d),g[d]=this.getYPoint(v,f,u,d)}this.renderAreas2(e,n,S,g,f),this.renderLines(e,n,new t.StiSeriesPointsInfo(null,S)),this.renderLines(e,n,new t.StiSeriesPointsInfo(null,g));var C=0,w=f.core.getSeriesLabels();if(null!=w&&w.visible)for(var d=0;d<m;d++){var b=f.values[d],v=f.valuesEnd[d];null==b&&f.showNulls&&(b=0),null==v&&f.showNulls&&(b=0);var x=b;u.reverseVert&&null!=b&&(x=-x);var _=v;u.reverseVert&&null!=v&&(_=-_),C=f.yAxis==t.StiSeriesYAxis.LeftYAxis?u.axisCore.getDividerY():u.axisCore.getDividerRightY();var A=S[d],L=g[d];if(null!=A){var O=new a(A.x,C),P;if(0==w.step||d%w.step==0)null!=(P=w.core.renderLabel(f,e,this.correctPoint(A,i,f.labelsOffset*e.options.zoom),this.correctPoint(O,i,f.labelsOffset*e.options.zoom),d,x,b,u.axisCore.getArgumentLabel(u.xAxis.info.stripLines.getByIndex(d),f),f.core.getTag(d),0,1,i))&&(n.createChildGeoms(),n.childGeoms.push(P),P.clientRectangle=this.checkLabelsRect(w,n,P.clientRectangle.clone()))}if(null!=L){var O=new a(L.x,C),P;if(0==w.step||d%w.step==0)null!=(P=w.core.renderLabel(f,e,this.correctPoint(L,i,f.labelsOffset*e.options.zoom),this.correctPoint(O,i,f.labelsOffset*e.options.zoom),d,_,v,u.axisCore.getArgumentLabel(u.xAxis.info.stripLines.getByIndex(d),f),f.core.getTag(d),0,1,i))&&(n.createChildGeoms(),n.childGeoms.push(P),P.clientRectangle=this.checkLabelsRect(w,n,P.clientRectangle.clone()))}}c++}}catch(e){s={error:e}}finally{try{p&&!p.done&&(l=h.return)&&l.call(h)}finally{if(s)throw s.error}}},u.prototype.renderLines2=function(e,r,i,n,o){if(null!=i||i.length>1){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.length<f&&(f=p.valuesEnd.length);for(var g=0;g<f;g++){var y=u.reverseHor?p.values[p.values.length-g-1]:p.values[g],d=u.reverseHor?p.valuesEnd[p.values.length-g-1]:p.valuesEnd[g];m[g]=this.getYPoint(y,p,u,g),S[g]=this.getYPoint(d,p,u,g)}this.renderAreas2(e,n,m,S,p),this.renderLines2(e,n,m,p.values,p),this.renderLines2(e,n,S,p.valuesEnd,p);var b=0,v=p.core.getSeriesLabels();if(null!=v&&v.visible)for(var g=0;g<f;g++){var y=p.values[g],d=p.valuesEnd[g];null==y&&p.showNulls&&(y=0),null==d&&p.showNulls&&(y=0);var C=y;u.reverseVert&&null!=y&&(C=-C);var w=d;u.reverseVert&&null!=d&&(w=-w),b=p.yAxis==t.StiSeriesYAxis.LeftYAxis?u.axisCore.getDividerY():u.axisCore.getDividerRightY();var x=m[g],_=S[g];if(null!=x){var A=new a(x.x,b),L;if(0==v.step||g%v.step==0)null!=(L=v.core.renderLabel(p,e,this.correctPoint(x,i,p.labelsOffset*e.options.zoom),this.correctPoint(A,i,p.labelsOffset*e.options.zoom),g,C,y,u.axisCore.getArgumentLabel(u.xAxis.info.stripLines.getByIndex(g),p),this.getTag(g),0,1,i))&&(n.createChildGeoms(),n.childGeoms.push(L),L.clientRectangle=this.checkLabelsRect(v,n,L.clientRectangle.clone()))}if(null!=_){var A=new a(_.x,b),L;if(0==v.step||g%v.step==0)null!=(L=v.core.renderLabel(p,e,this.correctPoint(_,i,p.labelsOffset*e.options.zoom),this.correctPoint(A,i,p.labelsOffset*e.options.zoom),g,w,d,u.axisCore.getArgumentLabel(u.xAxis.info.stripLines.getByIndex(g),p),this.getTag(g),0,1,i))&&(n.createChildGeoms(),n.childGeoms.push(L),L.clientRectangle=this.checkLabelsRect(v,n,L.clientRectangle.clone()))}}}}catch(e){s={error:e}}finally{try{h&&!h.done&&(l=c.return)&&l.call(c)}finally{if(s)throw s.error}}},u.prototype.renderAreas2=function(e,r,i,n,o){if(null==i||i.length<=1)return;if(null==n||n.length<=1)return;var a=new t.StiSteppedRangeSeriesGeom(r,i,n,o);null!=a&&(r.createChildGeoms(),r.childGeoms.push(a))},u.prototype.renderLines2=function(e,r,i,n,o){var a=o;if(i.length>1||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;m<p.rows.count;m++){for(var S=0;S<i.length;S++)i.length>0&&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;y<i.columns.count-1;y++){var d=new o;try{for(var b=(p=void 0,__values(i.rows.list)),v=b.next();!v.done;v=b.next()){var C=v.value,w=C.gett(y);if(null==w)continue;var x=S.tryToNullableNumber(C.gett(i.columns.count-1));if(d.contains(w)&&null!=x){var _=S.tryToNullableNumber(d.get(w));d.set(w,Math.abs(_)+Math.abs(x))}else d.set(w,x)}}catch(e){p={error:e}}finally{try{v&&!v.done&&(f=b.return)&&f.call(b)}finally{if(p)throw p.error}}var A=r.create(Object,d.keys.length);d.keys.copyTo(A);var L=r.create(Number,d.values.length);d.values.copyTo(L,0),this.renderLevelSeries(e,t,A,L,n,g*m,g*(m+1),s,l,u,c);var O=this.renderLevelSeriesLebels(e,A,L,n,g*m,g*(m+1),s,l);h.ref.addRange(O),m++}},g.prototype.renderLevelSeries=function(e,r,i,o,a,s,l,c,p,f,m){var S=this.series.core.getSeriesBorderColor(f,m),g=this.series.core.getSeriesBrush(f,m),y=o;0==S.a&&(S=u.white);for(var d=t.StiChartHelper.globalBeginTimeElement,b=0;b<y.length;b++){var v=y[b],C=i[b],w=p*Math.abs(v);if(!h.isNullOrEmpty(C.toString())){var x=this.renderSunburstElement(a,s,l,S,g,c,w,v,0,r,new n(d.ticks/(m+y.length)*(b+f)));null!=x&&(r.createChildGeoms(),r.childGeoms.push(x))}c+=w}},g.prototype.renderLevelSeriesLebels=function(e,r,i,n,o,a,l,u){for(var c=new s,p=0;p<i.length;p++){var f=i[p],m=r[p],S=u*Math.abs(f);if(!h.isNullOrEmpty(m.toString())){var g=this.series.chart.seriesLabels;if(null!=this.series.chart&&null!=g&&g.visible){var y=g.stimulsoft.as(t.IStiPieSeriesLabels);if(null!=y&&y.visible&&(0==y.step||p%y.step==0)){var d=void 0,b={ref:d},v=y.core.renderLabel(this.series,e,n,o,a,l+S/2,p,Math.abs(f),f,m,this.getTag(p),!1,0,1,u,b,!1,0);d=b.ref,c.push(v)}}}l+=S}return c},g.prototype.renderSunburstElement=function(e,r,n,o,a,l,u,c,h,m,S){if(0==u||null==u)return null;var g=new i(e.x-r,e.y-r,2*r,2*r),y=new i(e.x-n,e.y-n,2*n,2*n);if(g.width<=0&&g.height<=0)return null;var d=new s,b;return d.push(new p(g,l,u)),d.push(new f(this.getPoint(e,r,l+u),this.getPoint(e,n,l+u))),d.push(new p(y,l+u,-u)),d.push(new f(this.getPoint(e,n,l),this.getPoint(e,r,l))),new t.StiSunburstSeriesElementGeom(m,c,h,this.series,g,d,o,a,l,l+u,r,n,S)},g.prototype.getPoint=function(e,t,r){var i=Math.PI*r/180;return new c(e.x+Math.cos(i)*t,e.y+Math.sin(i)*t)},g.prototype.getDataTable=function(e){var t=new a,r=new m("Id",Number);t.columns.add(r);for(var i=0;i<e.length;i++){var n=new m("Argument-"+i.toString(),String);t.columns.add(n)}var o=new m("Value",Number);t.columns.add(o);for(var s=this.getCountRow(e),i=0;i<s;i++){var l=t.newRow();t.rows.add(l)}return t},g.prototype.getCountRow=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=Math.max(i,a.arguments.length)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return i},g.prototype.getGradPerValue=function(e){var t;return 360/this.getSumColumn(e,"Value")},g.prototype.getRadius=function(e,t){return.95*Math.min(t.width/2,t.height/2)},g.prototype.getPointCenter=function(e){return new c(e.width/2,e.height/2)},g.prototype.getSumColumn=function(e,t){var r,i,n=0;try{for(var o=__values(e.rows.toList()),a=o.next();!a.done;a=o.next()){var s,l=a.value.gett(t);n+=Math.abs(l)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return n},Object.defineProperty(g.prototype,"localizedName",{get:function(){return l.get("Chart","Sunburst")},enumerable:!1,configurable:!0}),g}(t.StiSeriesCoreXF);t.StiSunburstSeriesCoreXF=g}(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.Color,o=e.Base.Context.Animation.StiOpacityAnimation,a=e.Base.Context.StiSeriesInteractionData,s=function(s){function l(e){return s.call(this,e)||this}return __extends(l,s),l.prototype.applyStyle=function(e,t){s.prototype.applyStyle.call(this,e,t);var r=this.series;r.allowApplyStyle&&(r.brush=e.core.getColumnBrush(t),r.borderColor=e.core.getColumnBorder(t))},l.prototype.renderSeries=function(e,i,s,l){var u,c,h,p,f=t.StiChartHelper.globalDurationElement,m=t.StiChartHelper.globalBeginTimeElement,S=this.series.chart.area.core.normalizeDataForArea(this.series.values,i.width*i.height),g=this.series.chart.area.core.squarify(S,[],i,[]),y=0;try{for(var d=__values(l),b=d.next();!b.done;b=d.next()){var v;if((v=b.value)==this.series)break;y+=v.values.length}}catch(e){u={error:e}}finally{try{b&&!b.done&&(c=d.return)&&c.call(d)}finally{if(u)throw u.error}}var C=0;try{for(var w=__values(l),x=w.next();!x.done;x=w.next()){var v;C+=(v=x.value).values.length}}catch(e){h={error:e}}finally{try{x&&!x.done&&(p=w.return)&&p.call(w)}finally{if(h)throw h.error}}for(var _=0;_<g.length;_++){var A=this.series.core.getSeriesBrush(y,C),L=this.series.core.getSeriesBorderColor(y,C);0!=L.a||this.series.chart.area.colorEach||(L=n.white);var O=new r(m.ticks/g.length*(_+2)),P=new o(f,O),B=new t.StiTreemapSeriesElementGeom(s,this.series.values[_],_,A,L,this.series,g[_],P);if(null!=this.series.core.interaction){var R=new a;R.fill(s.area,this.series,_),B.interaction=R}s.createChildGeoms(),s.childGeoms.push(B);var k=this.series.chart.seriesLabels.stimulsoft.as(t.StiCenterTreemapLabels);if(null!=k&&k.visible){var T=k.core.renderLabel(this.series,e,_,this.series.values[_],this.getArgumentText(this.series,_),this.series.core.getTag(_),y,C,g[_],null);null!=T&&(s.createChildGeoms(),s.childGeoms.push(T))}y++}},l.prototype.getArgumentText=function(t,r){if(t.arguments.length>r&&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)&&e<i.valuesEnd.length&&(f=i.valuesEnd[e]);var m=null;null!=i.arguments&&e<i.arguments.length&&(m=i.arguments[e]);var S=null,g=null,y=null,d=null;i.stimulsoft.is(t.IStiFinancialSeries)&&(e<i.valuesOpen.length&&(S=i.valuesOpen[e]),e<i.valuesClose.length&&(g=i.valuesClose[e]),e<i.valuesLow.length&&(y=i.valuesLow[e]),e<i.valuesHigh.length&&(d=i.valuesHigh[e]));var b=t.StiChartHelper.getFilterData(null,h,null);if(t.StiChartHelper.getFilterResult(h,m,p,f,S,g,y,d,b))return a=this.seriesLabels.chart.style.core.getColumnBrush(h.color),this.seriesLabels.chart.area.stimulsoft.is(t.IStiClusteredBarArea)&&(a.stimulsoft.is(l)&&(a.angle+=90),a.stimulsoft.is(u)&&(a.angle+=90)),a}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return a},h.prototype.getSeriesLabelColor=function(e,t,r){return a.light(e.core.getSeriesBorderColor(t,r),100)},h.prototype.getBorderColor=function(e,t,r){if(this.seriesLabels.useSeriesColor)return this.getSeriesLabelColor(e,t,r);return this.seriesLabels.borderColor},h.prototype.getLabelColor=function(e,t,r){if(this.seriesLabels.useSeriesColor)return this.getSeriesLabelColor(e,t,r);return this.seriesLabels.labelColor},h.prototype.recalcValue=function(e,t){return e},h.prototype.getLabelText=function(e,t,r,i,n,o){return void 0===o&&(o=!1),this.getLabelText2(e,t,r,i,n,0,o)},h.prototype.getLabelText2=function(i,n,o,a,s,l,u){var c="",h=this.seriesLabels.valueType;switch(u&&(h=this.seriesLabels.legendValueType),h){case t.StiSeriesLabelsValueType.Argument:c=this.getArgument(i,o);break;case t.StiSeriesLabelsValueType.Value:c=this.getFormattedValue(i,n);break;case t.StiSeriesLabelsValueType.SeriesTitle:c=s;break;case t.StiSeriesLabelsValueType.Tag:c=a;break;case t.StiSeriesLabelsValueType.Weight:c=l.toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator);break;case t.StiSeriesLabelsValueType.ValueArgument:var p=this.getArgument(i,o);c=r.isNullOrEmpty(p)?this.getFormattedValue(i,n):r.format("{0} {1} {2}",this.getFormattedValue(i,n),this.seriesLabels.valueTypeSeparator,p);break;case t.StiSeriesLabelsValueType.ArgumentValue:var f=this.getFormattedValue(i,n);c=r.isNullOrEmpty(f)?this.getArgument(i,o):r.format("{0} {1} {2}",this.getArgument(i,o),this.seriesLabels.valueTypeSeparator,f);break;case t.StiSeriesLabelsValueType.SeriesTitleArgument:var m=this.getArgument(i,o);c=r.isNullOrEmpty(m)?s:r.format("{0} {1} {2}",s,this.seriesLabels.valueTypeSeparator,m);break;case t.StiSeriesLabelsValueType.SeriesTitleValue:var S=this.getFormattedValue(i,n);c=r.isNullOrEmpty(S)?s:r.format("{0} {1} {2}",s,this.seriesLabels.valueTypeSeparator,S);break}if(u)return c;return r.format("{0}{1}{2}",this.seriesLabels.textBefore,c,this.seriesLabels.textAfter)},h.prototype.getArgument=function(e,t){var r=t;if(e.core.isDateTimeArguments){var i=s.fromString(t,!1);null!=i&&(r=this.getFormatted(e,i.toOADate(),!0))}return r},h.prototype.getFormatted=function(n,o,a){try{var l=i.currentCulture,u=this.seriesLabels.chart.report.culture;r.isNullOrEmpty(this.seriesLabels.chart.report.culture)||(i.currentCulture=new i(u));var c=o;a&&(c=s.fromOADate(o));var h=this.seriesLabels.stimulsoft.as(t.StiPieSeriesLabels);if(null!=this.seriesLabels.formatService&&(null==h||!h.showInPercent))return this.seriesLabels.formatService.format(c);var p=null;if(null!=n&&(p=n.format),null!=p&&0!=p.trim().length||(p=this.seriesLabels.format),null!=p&&0!=p.trim().length){if(p.stimulsoft.startsWith("P")&&null!=this.seriesLabels.chart&&!t.StiChartOptions.oldChartPercentMode){var f=0,m=void 0;try{p.length>1&&(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.currentIndex<u.values.length&&(a+=u.values[this.currentIndex])}}catch(e){i={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}if(0!=a)return Math.round2(100*t/a,r)}return t},Object.defineProperty(r.prototype,"seriesLabelsType",{get:function(){return e.StiSeriesLabelsType.Axis},enumerable:!1,configurable:!0}),r}(e.StiSeriesLabelsCoreXF);e.StiAxisSeriesLabelsCoreXF=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.Localization.StiLocalization,o=e.System.Drawing.Point,a=e.Base.Context.Animation.StiLabelAnimation,s=function(e){function s(t){return e.call(this,t)||this}return __extends(s,e),s.prototype.renderLabel=function(e,t,r,i,n,o,a,s,l,u,c,h,p){return void 0===p&&(p=null),this.currentIndex=n,this.renderLabel2(e,t,r,i,n,o,a,s,l,0,u,c,h,p)},s.prototype.renderLabel2=function(e,r,n,o,s,l,u,c,h,p,f,m,S,g){if(void 0===g&&(g=null),null==l&&!this.seriesLabels.showNulls)return null;if(0==l&&!this.seriesLabels.showZeros)return null;null==l&&(l=0),null==u&&(u=0);var y=this.getLabelText2(e,u,c,h,e.coreTitle,p,!1),d=this.getLabelColor(e,f,m),b=this.getBorderColor(e,f,m),v=this.getStringFormatGeom(r),C=i.changeFontSize(this.seriesLabels.font,this.seriesLabels.font.size*r.options.zoom),w=e.core.getSeriesBorderColor(f,m),x=e.core.getSeriesBrush(f,m),_=this.processSeriesColors(s,this.seriesLabels.brush,e),A=this.getLabelRect(r,n,o,l,y,!0,C,v),L=null!=g?g.stimulsoft.as(a):null;return null!=L&&(L.LabelRect=this.getLabelRect(r,L.PointFrom,o,L.ValueFrom,L.ValueFrom.toString(),!0,C,v)),new t.StiCenterAxisLabelsGeom(this.seriesLabels,e,s,l,A,y,d,b,x,_,w,C,g)},s.prototype.getLabelRect=function(e,i,n,a,s,l,u,c){return this.seriesLabels.chart.area.core.seriesOrientation==t.StiChartSeriesOrientation.Vertical?e.measureRotatedString3(s,u,new o(i.x,(i.y+n.y)/2),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom)):e.measureRotatedString3(s,u,new o((i.x+n.x)/2,i.y),c,r.CenterCenter,0,Math.trunc(this.seriesLabels.width*e.options.zoom))},Object.defineProperty(s.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.CenterAxis},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return n.get("Chart","LabelsCenter")},enumerable:!1,configurable:!0}),s}(t.StiAxisSeriesLabelsCoreXF);t.StiCenterAxisLabelsCoreXF=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.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","LabelsInsideBase")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"position",{get:function(){return t.StiSeriesLabelsPosition.InsideBaseAxis},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.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<r;y++){if(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;l<e;l++){if(0==n.length||n.length<a)i[l]=o.fromArgb(255,112,173,71);else if(0!=s){var u=n[a],c=Math.min(u.a+s,255),h=Math.min(u.r+s,255),p=Math.min(u.g+s,255),f=Math.min(u.b+s,255);i[l]=o.fromArgb(c,h,p,f)}else i[l]=n[a];++a==n.length&&(a=0,s=50)}return i},e.prototype.getColorByIndex=function(e,t,r){return this.getColors(t,r)[e]},e.prototype.getColorBySeries=function(e,t){return this.getColors(e.chart.series.count,t)[e.chart.series.indexOf(e)]},e}();t.StiStyleCoreXF=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.StiGlareBrush,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Color,o=e.Base.Drawing.StiColorUtils,a=function(e){function a(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[n.fromArgb(255,194,117,53),n.fromArgb(255,231,140,65),n.fromArgb(255,248,170,121),n.fromArgb(255,250,203,180),n.fromArgb(255,253,230,220)],t}return __extends(a,e),Object.defineProperty(a.prototype,"localizedName",{get:function(){return i.get("Chart","Style")+"01"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"basicStyleColor",{get:function(){return n.wheat},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle01},enumerable:!1,configurable:!0}),a.prototype.getColumnBrush=function(e){return new r(o.dark(e,50),e,0)},a}(t.StiStyleCoreXF);t.StiStyleCoreXF01=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.Drawing.StiGradientBrush,n=e.Base.Drawing.StiGlareBrush,o=e.Base.Drawing.StiSolidBrush,a=e.Base.Drawing.StiColorUtils,s=function(e){function s(t){var i=e.call(this)||this;return i._base=new r.StiStyleCoreXF01,i.reportChartStyle=null,i._reportStyleName=null,i._customStyle=t,i}return __extends(s,e),Object.defineProperty(s.prototype,"localizedName",{get:function(){return"CustomStyle"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartBrush",{get:function(){if(null!=this.reportStyle)return this.reportStyle.brush;return this._base.chartBrush},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartAreaBrush",{get:function(){if(null!=this.reportStyle)return this.reportStyle.chartAreaBrush;return this._base.chartAreaBrush},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartAreaBorderColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.chartAreaBorderColor;return this._base.chartAreaBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartAreaShowShadow",{get:function(){if(null!=this.reportStyle)return this.reportStyle.chartAreaShowShadow;return this._base.chartAreaShowShadow},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLighting",{get:function(){if(null!=this.reportStyle)return this.reportStyle.seriesLighting;return this._base.seriesLighting},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesShowShadow",{get:function(){if(null!=this.reportStyle)return this.reportStyle.seriesShowShadow;return this._base.seriesShowShadow},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesShowBorder",{get:function(){if(null!=this.reportStyle)return this.reportStyle.seriesShowBorder;return this._base.seriesShowBorder},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBrush",{get:function(){if(null!=this.reportStyle)return this.reportStyle.seriesLabelsBrush;return this._base.seriesLabelsBrush},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.seriesLabelsColor;return this._base.seriesLabelsColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBorderColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.seriesLabelsBorderColor;return this._base.seriesLabelsBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsLineColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.seriesLabelsLineColor;return this._base.seriesLabelsLineColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"trendLineColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.trendLineColor;return this._base.trendLineColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"trendLineShowShadow",{get:function(){if(null!=this.reportStyle)return this.reportStyle.trendLineShowShadow;return this._base.trendLineShowShadow},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBrush",{get:function(){if(null!=this.reportStyle)return this.reportStyle.legendBrush;return this._base.legendBrush},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendLabelsColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.legendLabelsColor;return this._base.legendLabelsColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBorderColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.legendBorderColor;return this._base.legendBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendTitleColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.legendTitleColor;return this._base.legendTitleColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"markerVisible",{get:function(){if(null!=this.reportStyle)return this.reportStyle.markerVisible;return this._base.markerVisible},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"axisTitleColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.axisTitleColor;return this._base.axisTitleColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"axisLineColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.axisLineColor;return this._base.axisLineColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"axisLabelsColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.axisLabelsColor;return this._base.axisLabelsColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"interlacingHorBrush",{get:function(){if(null!=this.reportStyle)return this.reportStyle.interlacingHorBrush;return this._base.interlacingHorBrush},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"interlacingVertBrush",{get:function(){if(null!=this.reportStyle)return this.reportStyle.interlacingVertBrush;return this._base.interlacingVertBrush},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"gridLinesHorColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.gridLinesHorColor;return this._base.gridLinesHorColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"gridLinesVertColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.gridLinesVertColor;return this._base.gridLinesVertColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleColors",{get:function(){if(null!=this.reportStyle)return this.reportStyle.styleColors;return this._base.styleColors},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"basicStyleColor",{get:function(){if(null!=this.reportStyle)return this.reportStyle.basicStyleColor;return this._base.basicStyleColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"reportStyleName",{get:function(){return this._reportStyleName},set:function(e){this._reportStyleName=e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"reportStyle",{get:function(){var e=null==this.reportStyleName?this.chart.customStyleName:this.reportStyleName,t;if(null==this.chart||null==this.chart.report||null==e||0==e.length)return null;return this.chart.report.styles.getByName(e)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"customStyle",{get:function(){return this._customStyle},enumerable:!1,configurable:!0}),s.prototype.getColumnBrush=function(e){if(null!=this.reportStyle)switch(this.reportStyle.brushType){case t.StiBrushType.Glare:return new n(a.dark(e,50),e,0);case t.StiBrushType.Gradient0:return new i(a.dark(e,50),e,0);case t.StiBrushType.Gradient90:return new i(a.dark(e,50),e,90);case t.StiBrushType.Gradient180:return new i(a.dark(e,50),e,180);case t.StiBrushType.Gradient270:return new i(a.dark(e,50),e,270);case t.StiBrushType.Gradient45:return new i(a.dark(e,50),e,45);case t.StiBrushType.Solid:return new o(e)}return new o(e)},s}(r.StiStyleCoreXF01);r.StiCustomStyleCoreXF=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.StiGlareBrush,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Color,o=e.Base.Drawing.StiColorUtils,a=function(e){function a(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[n.fromArgb(255,128,145,165),n.fromArgb(255,171,123,122),n.fromArgb(255,155,167,129),n.fromArgb(255,144,133,157),n.fromArgb(255,121,161,173),n.fromArgb(255,189,152,122),n.fromArgb(255,139,164,194),n.fromArgb(255,202,132,130),n.fromArgb(255,179,198,141),n.fromArgb(255,162,146,182)],t}return __extends(a,e),Object.defineProperty(a.prototype,"localizedName",{get:function(){return i.get("Chart","Style")+"02"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"basicStyleColor",{get:function(){return n.whiteSmoke},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle02},enumerable:!1,configurable:!0}),a.prototype.getColumnBrush=function(e){return new r(e,o.light(e,50),0)},a}(t.StiStyleCoreXF);t.StiStyleCoreXF02=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.Base.Drawing.StiSolidBrush,n=e.System.Drawing.Color,o=function(e){function o(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[n.fromArgb(255,150,61,59),n.fromArgb(255,179,74,71),n.fromArgb(255,201,126,125),n.fromArgb(255,221,182,181),n.fromArgb(255,238,221,221)],t}return __extends(o,e),Object.defineProperty(o.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"03"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"basicStyleColor",{get:function(){return n.whiteSmoke},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle03},enumerable:!1,configurable:!0}),o.prototype.getColumnBrush=function(e){return new i(e)},o}(t.StiStyleCoreXF);t.StiStyleCoreXF03=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.System.Drawing.Color,n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[i.fromArgb(255,72,57,90),i.fromArgb(255,109,87,137),i.fromArgb(255,146,123,173),i.fromArgb(255,181,166,200)],t}return __extends(n,e),Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"04"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"basicStyleColor",{get:function(){return i.fromArgb(255,181,166,200)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle04},enumerable:!1,configurable:!0}),n}(t.StiStyleCoreXF);t.StiStyleCoreXF04=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=e.System.Drawing.Color,n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[i.fromArgb(255,224,169,61),i.fromArgb(255,180,181,0),i.fromArgb(255,14,152,13),i.fromArgb(255,170,72,36),i.fromArgb(255,133,221,77),i.fromArgb(255,230,199,69),i.fromArgb(255,219,100,52),i.fromArgb(255,131,190,47)],t}return __extends(n,e),Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"05"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"basicStyleColor",{get:function(){return i.lemonChiffon},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle05},enumerable:!1,configurable:!0}),n}(t.StiStyleCoreXF);t.StiStyleCoreXF05=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=e.Base.Drawing.StiSolidBrush,n=e.System.Drawing.Color,o=function(e){function o(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[n.fromArgb(255,206,185,102),n.fromArgb(255,156,176,132),n.fromArgb(255,107,177,201),n.fromArgb(255,101,133,207),n.fromArgb(255,126,107,201),n.fromArgb(255,163,121,187)],t}return __extends(o,e),Object.defineProperty(o.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"06"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"basicStyleColor",{get:function(){return n.fromArgb(255,202,198,206)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle06},enumerable:!1,configurable:!0}),o.prototype.getColumnBrush=function(e){return new i(e)},o}(t.StiStyleCoreXF);t.StiStyleCoreXF06=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.StiGradientBrush,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Color,o=e.Base.Drawing.StiColorUtils,a=function(e){function a(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[n.fromArgb(255,217,251,168),n.fromArgb(255,200,181,231),n.fromArgb(255,158,232,255),n.fromArgb(255,255,189,134),n.fromArgb(255,163,195,254)],t}return __extends(a,e),Object.defineProperty(a.prototype,"localizedName",{get:function(){return i.get("Chart","Style")+"07"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"basicStyleColor",{get:function(){return n.white},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle07},enumerable:!1,configurable:!0}),a.prototype.getColumnBrush=function(e){return new r(o.dark(e,50),o.light(e,50),-90)},a}(t.StiStyleCoreXF);t.StiStyleCoreXF07=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.Base.Drawing.StiSolidBrush,n=e.System.Drawing.Color,o=function(e){function o(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[n.fromArgb(255,60,100,148),n.fromArgb(255,73,120,177),n.fromArgb(255,126,155,200),n.fromArgb(255,182,195,220),n.fromArgb(255,221,227,238)],t}return __extends(o,e),Object.defineProperty(o.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"08"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"basicStyleColor",{get:function(){return n.fromArgb(238,182,195,220)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle08},enumerable:!1,configurable:!0}),o.prototype.getColumnBrush=function(e){return new i(e)},o}(t.StiStyleCoreXF03);t.StiStyleCoreXF08=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.System.Drawing.Color,n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[i.fromArgb(255,79,129,189),i.fromArgb(255,192,80,77),i.fromArgb(255,155,187,89),i.fromArgb(255,128,100,162),i.fromArgb(255,75,172,198),i.fromArgb(255,247,150,70)],t}return __extends(n,e),Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"09"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"basicStyleColor",{get:function(){return i.fromArgb(238,238,236,225)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle09},enumerable:!1,configurable:!0}),n}(t.StiStyleCoreXF);t.StiStyleCoreXF09=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=e.System.Drawing.Color,n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[i.fromArgb(255,121,181,176),i.fromArgb(255,180,188,76),i.fromArgb(255,183,120,81),i.fromArgb(255,119,106,91),i.fromArgb(255,182,173,118),i.fromArgb(255,149,174,177)],t}return __extends(n,e),Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"10"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"basicStyleColor",{get:function(){return i.fromArgb(255,209,225,227)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle10},enumerable:!1,configurable:!0}),n}(t.StiStyleCoreXF);t.StiStyleCoreXF10=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=e.System.Drawing.Color,n=e.Base.Drawing.StiColorUtils,o=function(e){function o(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[i.fromArgb(255,204,77,92),i.fromArgb(255,255,111,97),i.fromArgb(255,255,149,62),i.fromArgb(255,248,189,82)],t}return __extends(o,e),Object.defineProperty(o.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"11"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"basicStyleColor",{get:function(){return n.dark(i.navajoWhite,30)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle11},enumerable:!1,configurable:!0}),o}(t.StiStyleCoreXF);t.StiStyleCoreXF11=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.System.Drawing.Color,n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[i.goldenrod,i.khaki],t}return __extends(n,e),Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"12"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"basicStyleColor",{get:function(){return i.moccasin},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle12},enumerable:!1,configurable:!0}),n}(t.StiStyleCoreXF);t.StiStyleCoreXF12=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=e.System.Drawing.Color,n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[i.fromArgb(255,151,158,168),i.fromArgb(255,189,174,137),i.fromArgb(255,205,176,5),i.fromArgb(255,170,166,194),i.fromArgb(255,132,191,210),i.fromArgb(255,139,159,115)],t}return __extends(n,e),Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"13"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"basicStyleColor",{get:function(){return i.fromArgb(255,212,210,208)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle13},enumerable:!1,configurable:!0}),n}(t.StiStyleCoreXF);t.StiStyleCoreXF13=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=e.System.Drawing.Color,n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[i.fromArgb(255,240,162,46),i.fromArgb(255,165,100,78),i.fromArgb(255,181,139,128),i.fromArgb(255,195,152,109),i.fromArgb(255,161,149,116),i.fromArgb(255,193,117,41)],t}return __extends(n,e),Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"14"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"basicStyleColor",{get:function(){return i.fromArgb(255,251,238,201)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle14},enumerable:!1,configurable:!0}),n}(t.StiStyleCoreXF);t.StiStyleCoreXF14=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=e.System.Drawing.Color,n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[i.fromArgb(255,15,111,198),i.fromArgb(255,0,157,217),i.fromArgb(255,11,208,217),i.fromArgb(255,16,207,155),i.fromArgb(255,124,202,98),i.fromArgb(255,165,194,73)],t}return __extends(n,e),Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"15"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"basicStyleColor",{get:function(){return i.fromArgb(255,219,245,249)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle15},enumerable:!1,configurable:!0}),n}(t.StiStyleCoreXF);t.StiStyleCoreXF15=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=e.System.Drawing.Color,n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[i.fromArgb(255,255,128,0),i.black,i.silver,i.red],t}return __extends(n,e),Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"16"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"basicStyleColor",{get:function(){return i.white},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle16},enumerable:!1,configurable:!0}),n}(t.StiStyleCoreXF);t.StiStyleCoreXF16=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=e.System.Drawing.Color,n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[i.white,i.black],t}return __extends(n,e),Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"17"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"basicStyleColor",{get:function(){return i.white},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle17},enumerable:!1,configurable:!0}),n}(t.StiStyleCoreXF);t.StiStyleCoreXF17=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.Drawing.StiHatchBrush,i=e.Base.Localization.StiLocalization,n=e.Base.Drawing.StiSolidBrush,o=e.System.Drawing.Color,a=e.System.Drawing.Drawing2D.HatchStyle,s=function(e){function s(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[o.white,o.black,o.silver,o.red,o.green,o.blue],t}return __extends(s,e),Object.defineProperty(s.prototype,"localizedName",{get:function(){return i.get("Chart","Style")+"18"},enumerable:!1,configurable:!0}),s.prototype.fillColumn=function(e,t,i,n){var s=a.Cross,l=i;o.white.stimulsoft.equals(l.color)?s=a.BackwardDiagonal:o.black.stimulsoft.equals(l.color)?s=a.DottedGrid:o.silver.stimulsoft.equals(l.color)?s=a.Horizontal:o.red.stimulsoft.equals(l.color)?s=a.Percent25:o.green.stimulsoft.equals(l.color)?s=a.OutlinedDiamond:o.blue.stimulsoft.equals(l.color)&&(s=a.ForwardDiagonal);var u=new r(s,o.black,o.white);e.fillRectangle2(u,t.x,t.y,t.width,t.height,n)},s.prototype.getColumnBrush=function(e){return new n(e)},Object.defineProperty(s.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"basicStyleColor",{get:function(){return o.white},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle18},enumerable:!1,configurable:!0}),s}(t.StiStyleCoreXF);t.StiStyleCoreXF18=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=e.Base.Drawing.StiSolidBrush,n=e.System.Drawing.Color,o=function(e){function o(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[n.fromArgb(255,242,234,221),n.fromArgb(255,240,237,232),n.fromArgb(255,232,221,203),n.fromArgb(255,225,201,173),n.fromArgb(255,216,180,140)],t}return __extends(o,e),Object.defineProperty(o.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"19"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"basicStyleColor",{get:function(){return n.fromArgb(255,242,234,221)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"interlacingHorBrush",{get:function(){return new i(n.fromArgb(128,240,237,232))},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"interlacingVertBrush",{get:function(){return new i(n.fromArgb(128,240,237,232))},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"chartAreaBrush",{get:function(){return new i(n.fromArgb(128,240,237,232))},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"chartBrush",{get:function(){return new i(n.white)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle19},enumerable:!1,configurable:!0}),o.prototype.getColumnBrush=function(e){return new i(e)},o}(t.StiStyleCoreXF);t.StiStyleCoreXF19=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.Base.Drawing.StiSolidBrush,n=e.System.Drawing.Color,o=e.Base.Drawing.StiColorUtils,a=function(e){function a(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[n.fromArgb(255,217,187,148),n.fromArgb(255,245,190,119),n.fromArgb(255,230,189,127),n.fromArgb(255,220,217,212),n.fromArgb(255,237,229,216),n.fromArgb(255,246,233,212)],t}return __extends(a,e),Object.defineProperty(a.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"20"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"basicStyleColor",{get:function(){return n.bisque},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisLineColor",{get:function(){return o.dark(this.basicStyleColor,50)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"chartAreaBorderColor",{get:function(){return o.dark(this.basicStyleColor,50)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle20},enumerable:!1,configurable:!0}),a.prototype.getColumnBrush=function(e){return new i(e)},a}(t.StiStyleCoreXF);t.StiStyleCoreXF20=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.Base.Drawing.StiSolidBrush,n=e.System.Drawing.Color,o=e.Base.Drawing.StiColorUtils,a=function(e){function a(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[n.fromArgb(35,159,217),n.fromArgb(178,178,178)],t}return __extends(a,e),Object.defineProperty(a.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"21"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"chartBrush",{get:function(){return new i(o.light(this.basicStyleColor,100))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"chartAreaBrush",{get:function(){return new i(this.basicStyleColor)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"chartAreaBorderColor",{get:function(){return n.fromArgb(106,106,106)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesLabelsBrush",{get:function(){return new i(o.light(this.basicStyleColor,100))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesLabelsColor",{get:function(){return n.fromArgb(106,106,106)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesLabelsBorderColor",{get:function(){return n.fromArgb(255,255,255)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"legendBrush",{get:function(){return new i(o.light(this.basicStyleColor,100))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"legendLabelsColor",{get:function(){return n.fromArgb(106,106,106)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisTitleColor",{get:function(){return n.fromArgb(106,106,106)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisLineColor",{get:function(){return n.fromArgb(106,106,106)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisLabelsColor",{get:function(){return n.fromArgb(106,106,106)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"basicStyleColor",{get:function(){return n.fromArgb(102,102,102)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle21},enumerable:!1,configurable:!0}),a.prototype.getColumnBrush=function(e){return new i(e)},a.prototype.getColumnBorder=function(e){return o.light(e,255)},a}(t.StiStyleCoreXF);t.StiStyleCoreXF21=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.Base.Drawing.StiSolidBrush,n=e.System.Drawing.Color,o=e.Base.Drawing.StiColorUtils,a=function(e){function a(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[n.fromArgb(91,155,213),n.fromArgb(237,125,49),n.fromArgb(159,159,159),n.fromArgb(255,192,0),n.fromArgb(68,114,196),n.fromArgb(112,173,71)],t}return __extends(a,e),Object.defineProperty(a.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"22"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"chartBrush",{get:function(){return new i(o.light(this.basicStyleColor,100))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"chartAreaBrush",{get:function(){return new i(this.basicStyleColor)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"chartAreaBorderColor",{get:function(){return n.fromArgb(171,172,173)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesLabelsBrush",{get:function(){return new i(o.light(this.basicStyleColor,100))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesLabelsColor",{get:function(){return n.fromArgb(90,90,90)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesLabelsBorderColor",{get:function(){return n.fromArgb(140,140,140)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"legendBrush",{get:function(){return new i(o.light(this.basicStyleColor,100))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"legendLabelsColor",{get:function(){return n.fromArgb(140,140,140)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisTitleColor",{get:function(){return n.fromArgb(140,140,140)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisLineColor",{get:function(){return n.fromArgb(140,140,140)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisLabelsColor",{get:function(){return n.fromArgb(140,140,140)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"basicStyleColor",{get:function(){return n.fromArgb(255,255,255)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle22},enumerable:!1,configurable:!0}),a.prototype.getColumnBrush=function(e){return new i(e)},a.prototype.getColumnBorder=function(e){return o.light(e,255)},a}(t.StiStyleCoreXF);t.StiStyleCoreXF22=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.Color,n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[i.fromArgb(91,155,213),i.fromArgb(159,159,159),i.fromArgb(68,114,196),i.fromArgb(37,94,145),i.fromArgb(99,99,99),i.fromArgb(38,68,120)],t}return __extends(n,e),Object.defineProperty(n.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"23"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle23},enumerable:!1,configurable:!0}),n}(t.StiStyleCoreXF22);t.StiStyleCoreXF23=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=e.System.Drawing.Color,n=e.Base.Drawing.StiSolidBrush,o=function(e){function o(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[i.fromArgb(237,125,49),i.fromArgb(255,192,0),i.fromArgb(112,173,71),i.fromArgb(158,72,14),i.fromArgb(153,115,0),i.fromArgb(67,104,43)],t}return __extends(o,e),Object.defineProperty(o.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"24"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle24},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"legendBorderColor",{get:function(){return i.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"seriesLabelsBorderColor",{get:function(){return i.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"seriesLabelsBrush",{get:function(){return new n(i.fromArgb(119,255,255,255))},enumerable:!1,configurable:!0}),o}(t.StiStyleCoreXF22);t.StiStyleCoreXF24=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.System.Drawing.Color,n=e.System.Drawing.ColorTranslator,o=e.System.Drawing.Font,a=e.Base.Drawing.StiSolidBrush,s=function(e){function s(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[n.fromHtml("#70ad47"),n.fromHtml("#4472c4"),n.fromHtml("#ffc000"),n.fromHtml("#43682b"),n.fromHtml("#fd6a37"),n.fromHtml("#997300")],t}return __extends(s,e),Object.defineProperty(s.prototype,"localizedName",{get:function(){return r.get("Chart","Style")+"25"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle25},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBorderColor",{get:function(){return i.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBorderColor",{get:function(){return i.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBrush",{get:function(){return new a(i.fromArgb(119,255,255,255))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsColor",{get:function(){return n.fromHtml("#33475b")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsFont",{get:function(){return new o("Arial",10)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLighting",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),s}(t.StiStyleCoreXF22);t.StiStyleCoreXF25=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.Font,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Color,o=e.System.Drawing.ColorTranslator,a=e.Base.Drawing.StiSolidBrush,s=function(e){function s(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[o.fromHtml("#2ec6c8"),o.fromHtml("#b5a1dd"),o.fromHtml("#5ab0ee"),o.fromHtml("#f4984e"),o.fromHtml("#d77a80"),o.fromHtml("#d04456")],t}return __extends(s,e),Object.defineProperty(s.prototype,"localizedName",{get:function(){return i.get("Chart","Style")+"26"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartAreaBrush",{get:function(){return new a(o.fromHtml("#ffffff"))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBorderColor",{get:function(){return n.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsColor",{get:function(){return o.fromHtml("#33475B")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBorderColor",{get:function(){return n.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBrush",{get:function(){return new a(n.fromArgb(119,255,255,255))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsFont",{get:function(){return new r("Arial",10)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLighting",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"markerVisible",{get:function(){return!1},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle26},enumerable:!1,configurable:!0}),s.prototype.getColumnBorder=function(e){return n.transparent},s}(t.StiStyleCoreXF22);t.StiStyleCoreXF26=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.Font,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Color,o=e.System.Drawing.ColorTranslator,a=e.Base.Drawing.StiSolidBrush,s=function(e){function s(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[o.fromHtml("#0bac45"),o.fromHtml("#585257"),o.fromHtml("#ec334d"),o.fromHtml("#a1ae94"),o.fromHtml("#ed7d31"),o.fromHtml("#5ab0ee")],t}return __extends(s,e),Object.defineProperty(s.prototype,"localizedName",{get:function(){return i.get("Chart","Style")+"27"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartBrush",{get:function(){return new a(o.fromHtml("#33475b"))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartAreaBrush",{get:function(){return new a(o.fromHtml("#33475b"))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBorderColor",{get:function(){return n.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBrush",{get:function(){return new a(n.fromArgb(119,255,255,255))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsColor",{get:function(){return n.white},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsFont",{get:function(){return new r("Arial",10)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBrush",{get:function(){return new a(n.transparent)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendLabelsColor",{get:function(){return n.white},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBorderColor",{get:function(){return n.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendTitleColor",{get:function(){return n.white},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendFont",{get:function(){return new r("Arial",9)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLighting",{get:function(){return!1},enumerable:!1,configurable:!0}),s.prototype.getColumnBorder=function(e){return n.transparent},Object.defineProperty(s.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle27},enumerable:!1,configurable:!0}),s}(t.StiStyleCoreXF22);t.StiStyleCoreXF27=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.Font,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.Color,o=e.System.Drawing.ColorTranslator,a=e.Base.Drawing.StiSolidBrush,s=e.Base.Drawing.StiColorUtils,l=function(e){function l(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[o.fromHtml("#165d9e"),o.fromHtml("#577eb6"),o.fromHtml("#569436"),o.fromHtml("#225056"),o.fromHtml("#d4dae0")],t}return __extends(l,e),Object.defineProperty(l.prototype,"localizedName",{get:function(){return i.get("Chart","Style")+"28"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"chartBrush",{get:function(){return new a(o.fromHtml("#0a325a"))},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"chartAreaBrush",{get:function(){return new a(o.fromHtml("#0a325a"))},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"axisTitleColor",{get:function(){return s.dark(this.basicStyleColor,50)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"axisLineColor",{get:function(){return s.dark(this.basicStyleColor,50)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"axisLabelsColor",{get:function(){return s.dark(this.basicStyleColor,50)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"seriesLabelsColor",{get:function(){return n.white},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"legendBrush",{get:function(){return new a(n.transparent)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"seriesLabelsBorderColor",{get:function(){return n.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"seriesLabelsBrush",{get:function(){return new a(n.fromArgb(119,255,255,255))},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"legendBorderColor",{get:function(){return n.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"legendTitleColor",{get:function(){return n.white},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"legendShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"legendFont",{get:function(){return new r("Arial",9)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle28},enumerable:!1,configurable:!0}),l}(t.StiStyleCoreXF26);t.StiStyleCoreXF28=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.Drawing.Color,i=e.Base.Localization.StiLocalization,n=e.System.Drawing.ColorTranslator,o=e.Base.Drawing.StiSolidBrush,a=function(e){function a(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[n.fromHtml("#3498db"),n.fromHtml("#ef717a"),n.fromHtml("#6dcbb3"),n.fromHtml("#f28161"),n.fromHtml("#fccd1b")],t}return __extends(a,e),Object.defineProperty(a.prototype,"localizedName",{get:function(){return i.get("Chart","Style")+"29"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle29},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"legendShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"legendBorderColor",{get:function(){return r.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesLabelsColor",{get:function(){return n.fromHtml("#323a45")},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesLabelsBorderColor",{get:function(){return r.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesLabelsBrush",{get:function(){return new o(r.fromArgb(119,255,255,255))},enumerable:!1,configurable:!0}),a}(t.StiStyleCoreXF26);t.StiStyleCoreXF29=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.StiSolidBrush,i=e.System.Drawing.Color,n=e.Base.Localization.StiLocalization,o=e.System.Drawing.ColorTranslator,a=e.System.Drawing.Font,s=function(e){function s(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[o.fromHtml("#db7b46"),o.fromHtml("#d3d3d5"),o.fromHtml("#6b6e75"),o.fromHtml("#4a4c55")],t}return __extends(s,e),Object.defineProperty(s.prototype,"localizedName",{get:function(){return n.get("Chart","Style")+"30"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartBrush",{get:function(){return new r(o.fromHtml("#595b65"))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartAreaBrush",{get:function(){return new r(o.fromHtml("#595b65"))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBorderColor",{get:function(){return i.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBrush",{get:function(){return new r(i.fromArgb(119,255,255,255))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsColor",{get:function(){return i.white},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsFont",{get:function(){return new a("Arial",10)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBrush",{get:function(){return new r(i.transparent)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendLabelsColor",{get:function(){return i.white},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendTitleColor",{get:function(){return i.white},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBorderColor",{get:function(){return i.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendFont",{get:function(){return new a("Arial",8)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLighting",{get:function(){return!1},enumerable:!1,configurable:!0}),s.prototype.getColumnBorder=function(e){return i.transparent},Object.defineProperty(s.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle30},enumerable:!1,configurable:!0}),s}(t.StiStyleCoreXF22);t.StiStyleCoreXF30=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=e.System.Drawing.Color,n=e.Base.Localization.StiLocalization,o=e.System.Drawing.ColorTranslator,a=e.System.Drawing.Font,s=function(e){function s(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[o.fromHtml("#fefef9"),o.fromHtml("#a8d7e2"),o.fromHtml("#5ea8bf"),o.fromHtml("#2b7f9e"),o.fromHtml("#1c4458")],t}return __extends(s,e),Object.defineProperty(s.prototype,"localizedName",{get:function(){return n.get("Chart","Style")+"31"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartBrush",{get:function(){return new r(o.fromHtml("#235e6d"))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartAreaBrush",{get:function(){return new r(o.fromHtml("#235e6d"))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBorderColor",{get:function(){return i.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBrush",{get:function(){return new r(i.fromArgb(119,255,255,255))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsColor",{get:function(){return i.white},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsFont",{get:function(){return new a("Arial",10)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBrush",{get:function(){return new r(i.transparent)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendLabelsColor",{get:function(){return i.white},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendTitleColor",{get:function(){return i.white},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBorderColor",{get:function(){return i.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendFont",{get:function(){return new a("Arial",9)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLighting",{get:function(){return!1},enumerable:!1,configurable:!0}),s.prototype.getColumnBorder=function(e){return i.transparent},Object.defineProperty(s.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle31},enumerable:!1,configurable:!0}),s}(t.StiStyleCoreXF22);t.StiStyleCoreXF31=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.StiColor,i=e.Base.Drawing.StiSolidBrush,n=e.System.Drawing.Color,o=e.Base.Localization.StiLocalization,a=e.System.Drawing.Font,s=function(e){function s(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[r.get("3a5263"),r.get("90a1ab"),r.get("c9d5dc")],t}return __extends(s,e),Object.defineProperty(s.prototype,"localizedName",{get:function(){return o.get("Chart","Style")+"32"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"basicStyleColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartBrush",{get:function(){return new i(r.get("6d7e8b"))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartAreaBrush",{get:function(){return new i(r.get("6d7e8b"))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBrush",{get:function(){return new i(n.transparent)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendLabelsColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBorderColor",{get:function(){return n.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendTitleColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendFont",{get:function(){return new a("Arial",9)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBorderColor",{get:function(){return n.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBrush",{get:function(){return new i(n.fromArgb(119,255,255,255))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsLineColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsFont",{get:function(){return new a("Arial",10)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"axisTitleColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"axisLineColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"axisLabelsColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"gridLinesHorColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"gridLinesVertColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLighting",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle32},enumerable:!1,configurable:!0}),s.prototype.getColumnBorder=function(e){return n.transparent},s.prototype.getColumnBrush=function(e){return new i(e)},s}(t.StiStyleCoreXF22);t.StiStyleCoreXF32=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.StiColor,i=e.Base.Drawing.StiSolidBrush,n=e.System.Drawing.Color,o=e.Base.Localization.StiLocalization,a=e.System.Drawing.Font,s=function(e){function s(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[r.get("40568d"),r.get("4569bb"),r.get("e47334"),r.get("9d9c9c"),r.get("f8b92d"),r.get("5e93cc"),r.get("6ea548")],t}return __extends(s,e),Object.defineProperty(s.prototype,"localizedName",{get:function(){return o.get("Chart","Style")+"33"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"basicStyleColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartBrush",{get:function(){return new i(r.get("f2f5fc"))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartAreaBrush",{get:function(){return new i(r.get("f2f5fc"))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBrush",{get:function(){return new i(n.transparent)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendLabelsColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBorderColor",{get:function(){return n.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendTitleColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendFont",{get:function(){return new a("Arial",9)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBorderColor",{get:function(){return n.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBrush",{get:function(){return new i(n.fromArgb(119,255,255,255))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsLineColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsFont",{get:function(){return new a("Arial",10)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"axisTitleColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"axisLineColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"axisLabelsColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"gridLinesHorColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"gridLinesVertColor",{get:function(){return r.get("e9f4fc")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLighting",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle33},enumerable:!1,configurable:!0}),s.prototype.getColumnBorder=function(e){return n.transparent},s.prototype.getColumnBrush=function(e){return new i(e)},s}(t.StiStyleCoreXF);t.StiStyleCoreXF33=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.StiColor,i=e.Base.Drawing.StiSolidBrush,n=e.System.Drawing.Color,o=e.Base.Localization.StiLocalization,a=e.System.Drawing.Font,s=function(e){function s(){var t=null!==e&&e.apply(this,arguments)||this;return t._styleColor=[r.get("144b45"),r.get("ecb92f"),r.get("d66153"),r.get("25775b"),r.get("319491"),r.get("f7f7f7"),r.get("dd7c21")],t}return __extends(s,e),Object.defineProperty(s.prototype,"localizedName",{get:function(){return o.get("Chart","Style")+"34"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleColors",{get:function(){return this._styleColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartBrush",{get:function(){return new i(r.get("3f745e"))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"chartAreaBrush",{get:function(){return new i(r.get("3f745e"))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBrush",{get:function(){return new i(n.transparent)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendLabelsColor",{get:function(){return n.white},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendBorderColor",{get:function(){return n.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendTitleColor",{get:function(){return n.white},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendShowShadow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"legendFont",{get:function(){return new a("Arial",9)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBorderColor",{get:function(){return n.transparent},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsBrush",{get:function(){return new i(n.fromArgb(119,255,255,255))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsColor",{get:function(){return n.white},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabelsFont",{get:function(){return new a("Arial",10)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLighting",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"styleId",{get:function(){return t.StiChartStyleId.StiStyle34},enumerable:!1,configurable:!0}),s.prototype.getColumnBorder=function(e){return n.transparent},s}(t.StiStyleCoreXF22);t.StiStyleCoreXF34=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.StiArray,i=e.System.StiString,n=e.System.Drawing.StringTrimming,o=e.System.Drawing.StringFormatFlags,a=e.System.Drawing.StringAlignment,s=e.Base.Drawing.StiRotationMode,l=e.Base.Context.StiFontGeom,u=e.System.DateTime,c=e.System.Drawing.Point,h=e.System.Drawing.Rectangle,p=e.System.ICloneable,f=function(){function f(e){this._chartTable=e}return f.prototype.implements=function(){return f.implementsStiChartTableCoreXF||(f.implementsStiChartTableCoreXF=[p,t.IStiApplyStyle,t.IStiChartTableCoreXF]),f.implementsStiChartTableCoreXF},f.prototype.applyStyle=function(e){this.chartTable.allowApplyStyle&&(this.chartTable.gridLineColor=e.core.legendBorderColor,this.chartTable.textColor=e.core.legendLabelsColor)},f.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(f.prototype,"chartTable",{get:function(){return this._chartTable},set:function(e){this._chartTable=e},enumerable:!1,configurable:!0}),f.prototype.showTable=function(){if((this._chartTable.chart.area.stimulsoft.is(t.IStiClusteredColumnArea)||this._chartTable.chart.area.stimulsoft.is(t.IStiStackedColumnArea))&&!this._chartTable.chart.area.stimulsoft.is(t.IStiCandlestickArea)&&!this._chartTable.chart.area.stimulsoft.is(t.IStiRangeArea)&&!this._chartTable.chart.area.stimulsoft.is(t.IStiScatterArea)&&!this._chartTable.chart.area.stimulsoft.is(t.IStiStockArea)&&this._chartTable.visible)return!0;return!1},f.prototype.getHeightTable=function(e,t){var r=l.changeFontSize(this._chartTable.dataCells.font,this._chartTable.dataCells.font.size*e.options.zoom),i;return e.measureString("HeightText",r).height*this._chartTable.chart.series.count+this.getHeightHeaderTable(e,t)},f.prototype.getHeightHeaderTable=function(e,t){var r=0,i=this._chartTable.chart.area,u=i.xAxis.startFromZero,h=this.getArguments(),p=l.changeFontSize(this._chartTable.header.font,this._chartTable.header.font.size*e.options.zoom),f=e.getGenericStringFormat();f.trimming=n.None,this.chartTable.header.wordWrap||(f.formatFlags=o.MeasureTrailingSpaces|o.NoWrap),f.alignment=a.Center,f.lineAlignment=a.Center;for(var m=i.xAxis.startFromZero?h.length+1:h.length-1,S=(t-this.getWidthCellLegend(e))/m,g=0;g<h.length;g++){var y=0;0!=g&&g!=h.length-1||(y=u?S/2:-S/2);var d=this.chartTable.header.wordWrap?Math.trunc(S+y):0,b=e.measureRotatedString3(h[g],p,new c(0,0),f,s.CenterCenter,0,d).height;r=Math.max(r,b)}return r},f.prototype.getWidthCellLegend=function(e){var t,r,i=l.changeFontSize(this._chartTable.dataCells.font,this._chartTable.dataCells.font.size*e.options.zoom),n=e.getGenericStringFormat();n.formatFlags=o.MeasureTrailingSpaces|o.NoWrap,n.alignment=a.Center,n.lineAlignment=a.Center;var u=0,p=new h;try{for(var f=__values(this._chartTable.chart.series.list),m=f.next();!m.done;m=f.next()){var S=m.value;p=e.measureRotatedString4(S.coreTitle,i,new c(0,0),n,s.CenterCenter,0),u=Math.max(p.width,u)}}catch(e){t={error:e}}finally{try{m&&!m.done&&(r=f.return)&&r.call(f)}finally{if(t)throw t.error}}return this._chartTable.markerVisible&&(u+=p.height),Math.ceil(u)},f.prototype.render=function(e,r){return new t.StiChartTableGeom(r,this.getTableValues(),this.getWidthCellLegend(e),this.getHeightHeaderTable(e,r.width),this._chartTable)},f.prototype.getMaxCountValues=function(e){var t,r,i=0;try{for(var n=__values(e.list),o=n.next();!o.done;o=n.next()){var a=o.value;i=Math.max(i,a.values.length)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return i},f.prototype.getArguments=function(){for(var t=this.chartTable.chart.series,r=[],i=this.getMaxCountValues(t),n=0;n<i;n++)t.getByIndex(0).arguments.length>n?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;c<s.length;c++)l[0][c+1]=s[c];var h=this.chartTable.chart.area,p=1;try{for(var f=__values(a.list),m=f.next();!m.done;m=f.next()){var S=m.value;l[p][0]=S.coreTitle;for(var g=1,c=0;c<S.values.length;c++){var y=h.reverseHor?S.values[S.values.length-c-1]:S.values[c],d=this.chartTable.chart.table.format;if(null==d&&0==d.trim().length||null==y)l[p][g]=y.toString().replace(".",",").replace(",",e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator);else if(d.stimulsoft.startsWith("P")&&!t.StiChartOptions.oldChartPercentMode){var b=0,v=void 0;try{d.length>1&&(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;i<e.length;i++)r+=e[i]*t[i];return r},e.prototype.sumProductionsXLogY=function(e,t){for(var r=0,i=0;i<e.length;i++)r+=e[i]*Math.log(t[i]);return r},e.prototype.sumLn=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+=Math.log(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}();t.StiTrendLineCoreXF=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.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","Exponential")},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;c<i.length;c++)a[c]=i[c].x,s[c]=o-i[c].y,l<i[c].x&&(l=i[c].x),u>i[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;c<i.length;c++)a[c]=i[c].x,s[c]=i[c].y,l<a[c]&&(l=a[c]),u>a[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;c<i.length;c++)a[c]=Math.log(i[c].x),s[c]=i[c].y,l<i[c].x&&(l=i[c].x),u>i[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<c;p++)h[c-1-p]=l.yAxis.info.stripPositions[p];var f=0,m=!0,S=0;try{for(var g=__values(h),y=g.next();!y.done;y=g.next()){var d=y.value,b;if(S++,m){f=d,u.push(d),m=!1;continue}if(f-d<this.minWidth&&S!=h.length)continue;f=d,u.push(d)}}catch(e){i={error:e}}finally{try{y&&!y.done&&(n=g.return)&&n.call(g)}finally{if(i)throw i.error}}var v=r.create(Number,u.length);u.stimulsoft.copyTo(v);var C=0,w=!0;try{for(var x=__values(v),_=x.next();!_.done;_=x.next()){var A=_.value,L=v[C+1];if(w){var O=new o(t.x,t.y+L,t.width,A-L);O.bottom>=0&&O.y<this.view.clientRectangle.height&&e.fillRectangle(l.interlacingHor.interlacedBrush,O,null)}if(w=!w,++C==v.length-1)break}}catch(e){a={error:e}}finally{try{_&&!_.done&&(s=x.return)&&s.call(x)}finally{if(a)throw a.error}}},t.prototype.drawInterlacingVer=function(e,t){var i,n,a,s;t.y=0,t.height=this.view.clientRectangle.height;var l=this.area;if(!l.interlacingVert.visible)return;var u=0,c=0;l.reverseHor&&(c=1);var h=[],p=l.xAxis.info.stripPositions,f=0,m=!0,S=0;try{for(var g=__values(p),y=g.next();!y.done;y=g.next()){var d=y.value,b;if(S++,m){f=d,h.push(d),m=!1;continue}if(d-f<this.minWidth&&S!=p.length)continue;f=d,h.push(d)}}catch(e){i={error:e}}finally{try{y&&!y.done&&(n=g.return)&&n.call(g)}finally{if(i)throw i.error}}var v=r.create(Number,h.length);h.stimulsoft.copyTo(v);try{for(var C=__values(v),w=C.next();!w.done;w=C.next()){var x=w.value,_=v[u+1];if((1&c)>0){var A=new o(x+t.x,t.y,_-x,t.height);A.right>=0&&A.x<this.view.clientRectangle.width&&e.fillRectangle(l.interlacingVert.interlacedBrush,A,null)}if(c++,++u==v.length-1)break}}catch(e){a={error:e}}finally{try{w&&!w.done&&(s=C.return)&&s.call(C)}finally{if(a)throw a.error}}},t.prototype.drawGridLinesHor=function(e,t,o,a){var s,l;t.x=0,t.width=this.view.clientRectangle.width;for(var u=this.area,c=a?u.yAxis.info.stripPositions:u.yRightAxis.info.stripPositions,h=c.length,p=r.create(Number,h),f=0;f<h;f++)p[h-f-1]=c[f];var m=(c=p)[0],S=0;try{for(var g=__values(c),y=g.next();!y.done;y=g.next()){var d=y.value,b=m-d;if(b<this.minWidth&&b>0)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<this.minWidth)continue;var _=new i(o.minorColor,v);_.penStyle=o.minorStyle;for(var A=0==o.minorCount?u.yAxis.ticks.minorCount:o.minorCount,L=d,O=(x-d)/(A+1),P=1;P<=A;P++){var B=(L=d+O*P)+t.y;B>=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(S<this.minWidth&&S>0)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<this.minWidth)continue;var v=new i(r.minorColor,g);v.penStyle=r.minorStyle;for(var C=0==r.minorCount?l.yAxis.ticks.minorCount:r.minorCount,w=m,x=(b-m)/(C+1),_=1;_<=C;_++){var A=(w=m+x*_)+t.x;A>=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=f<p.points.length-1?new n(b.x+c.width/2*p.points[f+1].x,b.y+c.height/2*p.points[f+1].y):new n(b.x+c.width/2*p.points[0].x,b.y+c.height/2*p.points[0].y);if(1==(1&f)){var w=[];h.radarStyle==t.StiRadarStyle.Circle?(w.push(new i(b.x,b.y,v.x,v.y)),w.push(new a(c,S-90,m)),w.push(new i(C.x,C.y,b.x,b.y))):(w.push(new i(b.x,b.y,v.x,v.y)),w.push(new i(v.x,v.y,C.x,C.y)),w.push(new i(C.x,C.y,b.x,b.y))),e.fillPath(h.interlacingVert.interlacedBrush,w,c,null)}}if(s&&h.gridLinesVert.visible){var x=new r(h.gridLinesVert.color);x.penStyle=h.gridLinesVert.style,e.drawLine(x,b.x,b.y,v.x,v.y)}S+=m,f++}}catch(e){l={error:e}}finally{try{y&&!y.done&&(u=g.return)&&u.call(g)}finally{if(l)throw l.error}}},s.prototype.drawBackground=function(e){var r,n,o=this.clientRectangle.clone(),a=this.area;if(null==a.yAxis.info.stripPositions)return;var s=a.core;if(a.radarStyle==t.StiRadarStyle.Circle)e.fillEllipse2(a.brush,o,null);else{var l=a.yAxis.info.stripPositions[a.yAxis.info.stripPositions.length-1],u=[],c=0;try{for(var h=__values(s.points),p=h.next();!p.done;p=h.next()){var f=p.value,m=c==s.points.length-1?s.points[0]:s.points[c+1];u.push(new i(s.centerPoint.x+l*f.x,s.centerPoint.y+l*f.y,s.centerPoint.x+l*m.x,s.centerPoint.y+l*m.y)),c++}}catch(e){r={error:e}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}e.fillPath(a.brush,u,o,null)}},s.prototype.draw=function(e){var t=this.clientRectangle.clone(),r,i=this.area.core;t.width>0&&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;y<h.length;y++){if(m&&(g=h[y].position,m=!1),null==h[y].stripLine.valueObject||!h[y].stripLine.valueObject.stimulsoft.is(a))continue;switch(p=h[y].stripLine.valueObject,f=y<h.length-2?h[y+1].stripLine.valueObject:p,this.axis.area.xAxis.dateTimeStep.step){case t.StiTimeDateStep.Day:p.toString("yyyyMMMMdd")==f.toString("yyyyMMMMdd")&&y!=h.length-2||(S=p.toString("dd"));break;case t.StiTimeDateStep.Hour:p.toString("yyyyMMMMddHH")==f.toString("yyyyMMMMddHH")&&y!=h.length-2||(S=p.toString("HH"));break;case t.StiTimeDateStep.Minute:p.toString("yyyyMMMMddhhmm")==f.toString("yyyyMMMMddhhmm")&&y!=h.length-2||(S=p.toString("mm"));break;case t.StiTimeDateStep.Month:p.toString("yyyyMMMM")==f.toString("yyyyMMMM")&&y!=h.length-2||(S=p.toString("MMMM"));break;case t.StiTimeDateStep.Second:p.toString("yyyyMMMMddHHmmss")==f.toString("yyyyMMMMddHHmmss")&&y!=h.length-2||(S=p.toString("ss"));break;case t.StiTimeDateStep.Year:p.toString("yyyy")==f.toString("yyyy")&&y!=h.length-2||(S=p.toString("yyyy"));break}if(""!=S){var d=0;d=y==h.length-2?h[y+1].position:h[y].position+(h[y+1].position-h[y].position)/2,e.drawRectangle2(n,g,u,d-g,c),S="",g=d}}else{var y=0;try{for(var b=__values(this.axis.info.ticksCollection),v=b.next();!v.done;v=b.next()){var C,w=v.value.position;if(e.drawLine(n,w,u,w,c),i.minorVisible&&y!=this.axis.info.ticksCollection.length-1){var x=this.axis.info.ticksCollection[y+1].position;this.drawMinorTicks(e,n,w,x,u,i)}y++}}catch(e){o={error:e}}finally{try{v&&!v.done&&(s=b.return)&&s.call(b)}finally{if(o)throw o.error}}}},c.prototype.isArgumentDateTime=function(e){var t,r;try{for(var i=__values(e),n=i.next();!n.done;n=i.next()){var o=n.value;if(null!=o.stripLine.valueObject&&o.stripLine.valueObject.stimulsoft.is(a))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},c.prototype.drawAxis=function(e,r){var n=new i(this.axis.lineColor,this.axis.lineWidth);n.penStyle=this.axis.lineStyle,!this.isCenterAxis||this.axis.showXAxis!=t.StiShowXAxis.Both&&this.axis.showXAxis!=t.StiShowXAxis.Center?this.isCenterAxis||(this.axis.core.isTopSide&&this.drawTicks(e,r,this.axis.ticks,n),!this.axis.core.isBottomSide||this.axis.showXAxis!=t.StiShowXAxis.Both&&this.axis.showXAxis!=t.StiShowXAxis.Bottom||this.drawTicks(e,r,this.axis.ticks,n)):this.drawTicks(e,r,this.axis.ticks,n),this.drawAxisLine(e,r)},c.prototype.getViewclipRect=function(){var e=this.view.clientRectangle.clone();return e.x=this.axis.area.core.scrollDistanceX,e.y=0,e.inflate(1,1),this.isCenterAxis&&e.inflate(0,2),e},c.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.right<r.x||i.x>r.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.bottom<r.y||i.y>r.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<this.series.hyperlinks.length&&(e.interactionHyperlink=this.series.hyperlinks[t]),this.series.interaction.drillDownEnabled&&(e.seriesInteractionData=this.interaction,this.isMouseOver=!1,e.updateContext=!0)},l.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},l.prototype.getHyperlink=function(){return this.getHyperlink2(this.getValueIndex())},l.prototype.getHyperlink2=function(e){return null!=this.series.hyperlinks&&e<this.series.hyperlinks.length?this.series.hyperlinks[e]:null},l.prototype.getToolTip=function(){return this.getToolTip2(this.getValueIndex())},l.prototype.getToolTip2=function(t){var i=null;if(null!=this.series.toolTips&&t<this.series.toolTips.length&&(i=this.series.toolTips[t]),!r.isNullOrEmpty(i)&&i.stimulsoft.contains('"StiColor":"#ffffff"')){var n=a.toColor(this.series.processSeriesBrushes(this.index,this.marker.brush));i=i.replace('"StiColor":"#ffffff"',r.format('"StiColor":"{0}"',e.System.Drawing.ColorTranslator.toHtml2(n,!1)))}return i},Object.defineProperty(l.prototype,"allowMouseOver",{get:function(){var e=this.getValueIndex();return null!=this.getHyperlink2(this.getValueIndex())||null!=this.series.toolTips&&e<this.series.toolTips.length||this.series.interaction.drillDownEnabled&&this.series.interaction.allowSeriesElements},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isMouseOver",{get:function(){if(null==this.series)return!1;return this.series.core.getIsMouseOverSeriesElement(this.index)},set:function(e){null!=this.series&&this.series.core.setIsMouseOverSeriesElement(this.index,e)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"interaction",{get:function(){return this._interaction},set:function(e){this._interaction=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this._index},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"point",{get:function(){return this._point},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"marker",{get:function(){return this._marker},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"showShadow",{get:function(){return this._showShadow},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"series",{get:function(){return this._series},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"elementIndex",{get:function(){return this._elementIndex},set:function(e){this._elementIndex=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isTooltipMode",{get:function(){return this._isTooltipMode},enumerable:!1,configurable:!0}),l.prototype.contains=function(e,t){if(this.invisible)return!1;return this.getMouseOverRect().contains(e,t)},l.prototype.getMouseOverRect=function(){var e=this.clientRectangle.clone();return e.inflate(e.width/2,e.height/2),e},l.prototype.draw=function(e){e.pushSmoothingModeToAntiAlias();var r=e.options.zoom;this.isMouseOver&&e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(),this.getMouseOverRect(),null);var o=this.series.chart,a=this.marker.clone(),s=this.series.processSeriesMarkerVisible(this.index)||this.marker.visible;this._isTooltipMode&&!s||(a.brush=this.series.processSeriesBrushes(this.index,this.marker.brush),a.angle=this.series.processSeriesMarkerAngle(this.index,this.marker.angle),a.type=this.series.processSeriesMarkerType(this.index,this.marker.type),a.visible=s),this._isTooltipMode&&!s&&(a.brush=null,a.borderColor=i.transparent);var l=null;o.isAnimation&&((l=new n).componentName=o.name,l.componentIndex=o.page.components.indexOf(o).toString(),l.pageGuid=this._series.stimulsoft.as(t.StiSeries).drillDownPageGuid,l.pageIndex=o.page.report.renderedPages.indexOf(o.page).toString(),l.elementIndex=this.elementIndex.toString(),l.seriesInteractionData=this.interaction),this.marker.core.draw(e,a,this.point,r,this.showShadow,this.isMouseOver||this.series.core.isMouseOver,this.isTooltipMode,o.isAnimation,this.getToolTip(),this,l),e.popSmoothingMode()},l}(t.StiCellGeom);t.StiMarkerGeom=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=function(e){function t(t,r){var i=e.call(this,r)||this;return i._axis=t,i}return __extends(t,e),Object.defineProperty(t.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),t.prototype.drawAxisLine=function(e,t){var i=t.right,n=new r(this.axis.lineColor,this.axis.lineWidth);n.penStyle=this.axis.lineStyle,e.drawLine(n,i,t.y,i,t.bottom)},t.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=r-l;e.drawLine(t,r,c,h,c)}},t.prototype.drawTicks=function(e,t,r,i){var n,o;if(!r.visible)return;var a=r.length*e.options.zoom,s=t.right,l=s-a,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}}},t.prototype.drawAxis=function(e,t){var i=new r(this.axis.lineColor,this.axis.lineWidth);i.penStyle=this.axis.lineStyle,this.drawTicks(e,t,this.axis.area.yAxis.ticks,i),this.drawAxisLine(e,t)},t.prototype.draw=function(e){var t=this.clientRectangle.clone();if(t.width<=0||t.height<=0)return;this.drawAxis(e,t)},t}(t.StiCellGeom);t.StiRadarAxisGeom=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.StringTrimming,n=e.System.Drawing.StringFormatFlags,o=e.Base.Drawing.StiRotationMode,a=e.Base.Context.StiFontGeom,s=function(e){function t(t,r,i,n,o,a,s,l){var u=e.call(this,a)||this;return u._axis=t,u._labelRect=s,u._text=r,u._angle=o,u._point=l,u._labelBrush=i,u._borderColor=n,u}return __extends(t,e),Object.defineProperty(t.prototype,"borderColor",{get:function(){return this._borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelBrush",{get:function(){return this._labelBrush},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this._text},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this._angle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"point",{get:function(){return this._point},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelRect",{get:function(){return this._labelRect},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"axis",{get:function(){return this._axis},enumerable:!1,configurable:!0}),t.prototype.draw=function(e){var t=this.clientRectangle.clone(),s=new r(this.borderColor),l=a.changeFontSize(this.axis.labels.font,this.axis.labels.font.size*e.options.zoom),u=e.getGenericStringFormat();u.trimming=i.None,this.axis.labels.wordWrap||(u.formatFlags=n.MeasureTrailingSpaces|n.NoWrap),this.axis.labels.antialiasing&&e.pushSmoothingModeToAntiAlias();var c=Math.round2(this.labelRect.x+this.labelRect.width/2,0),h=Math.round2(this.labelRect.y+this.labelRect.height/2,0);e.pushTranslateTransform(c,h),e.pushRotateTransform(this.angle),t.isEmpty||(e.fillRectangle(this.axis.labels.brush,t,null),this.axis.labels.drawBorder&&e.drawRectangle2(s,t.x,t.y,t.width,t.height)),e.popTransform(),e.popTransform(),this.axis.labels.antialiasing&&e.popSmoothingMode();var p=o.CenterBottom,f=this.angle;this.angle>=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&&t<this.series.hyperlinks.length&&(e.interactionHyperlink=this.series.hyperlinks[t]),this.series.interaction.drillDownEnabled&&(e.seriesInteractionData=this.interaction,this.isMouseOver=!1,e.updateContext=this.series.interaction.drillDownEnabled)},a.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},a.prototype.getHyperlink=function(){return this.getHyperlink2(this.getValueIndex())},a.prototype.getHyperlink2=function(e){return null!=this.series.hyperlinks&&e<this.series.hyperlinks.length?this.series.hyperlinks[e]:null},a.prototype.getToolTip=function(){var e=this.getValueIndex();return this.getToolTip2(e)},a.prototype.getToolTip2=function(t){var i=null;if(null!=this.series.toolTips&&t<this.series.toolTips.length&&(i=this.series.toolTips[t]),!r.isNullOrEmpty(i)&&i.stimulsoft.contains('"StiColor":"#ffffff"')){var n=this.seriesBrush||(null!=this.series?this.series["brush"]:null);if(null!=n){var o=e.Base.Drawing.StiBrush.toColor(n);i=i.replace('"StiColor":"#ffffff"',r.format('"StiColor":"{0}"',e.System.Drawing.ColorTranslator.toHtml2(o,!1)))}}return i},Object.defineProperty(a.prototype,"allowMouseOver",{get:function(){var e=this.getValueIndex();return null!=this.series.hyperlinks&&e<this.series.hyperlinks.length||null!=this.series.toolTips&&e<this.series.toolTips.length||this.series.interaction.drillDownEnabled&&this.series.interaction.allowSeriesElements},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isMouseOver",{get:function(){return this.series.core.getIsMouseOverSeriesElement(this.index)},set:function(e){this.series.core.setIsMouseOverSeriesElement(this.index,e)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesBrush",{get:function(){return this._seriesBrush},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"index",{get:function(){return this._index},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"series",{get:function(){return this._series},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"interaction",{get:function(){return this._interaction},set:function(e){this._interaction=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"areaGeom",{get:function(){return this._areaGeom},set:function(e){this._areaGeom=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"elementIndex",{get:function(){return this._elementIndex},set:function(e){this._elementIndex=e},enumerable:!1,configurable:!0}),a.prototype.draw=function(e){},a.prototype.getInteractionData=function(){var e=this._series.chart,r=new i;return r.componentName=e.name,r.componentIndex=e.page.components.indexOf(e).toString(),r.pageGuid=this._series.stimulsoft.as(t.StiSeries).drillDownPageGuid,r.pageIndex=e.page.report.renderedPages.indexOf(e.page).toString(),r.elementIndex=this._elementIndex.toString(),r.interactionData=this.interaction,r},a}(t.StiCellGeom);t.StiSeriesElementGeom=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.Drawing.Size,n=e.Base.Context.StiPenGeom,o=e.Base.Drawing.StiSolidBrush,a=e.System.Drawing.Color,s=e.System.Drawing.Point,l=e.Base.Context.Animation.StiScaleAnimation,u=function(e){function u(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(u,e),Object.defineProperty(u.prototype,"seriesBrush",{get:function(){return this._seriesBrush},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"seriesBorderColor",{get:function(){return this._seriesBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"beginTime",{get:function(){return this._beginTime},enumerable:!1,configurable:!0}),u.prototype.contains=function(e,t){if(this.invisible)return!1;var r=new s(this.clientRectangle.x+this.clientRectangle.width/2,this.clientRectangle.y+this.clientRectangle.height/2),i=Math.abs(r.x-e),n=Math.abs(r.y-t),o;return Math.sqrt(i*i+n*n)<=this.clientRectangle.width/2},u.prototype.draw=function(e){var s=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,s,new i(s.height,s.height),h.icon,this.getToolTip(),!1);if(c.isAnimation){var p=new l(0,0,0,0,0,0,r.StiChartHelper.globalDurationElement,this.beginTime);e.fillDrawAnimationEllipse(this.seriesBrush,u,s.x,s.y,s.width,s.height,this.getToolTip(),this,p,this.getInteractionData())}else{if(this.series.showShadow){var f=new o(a.fromArgb(100,a.black)),m=e.createShadowGraphics(),S=s.clone();S.x=0,S.y=0,S.x+=4*e.options.zoom,S.y+=4*e.options.zoom,m.fillEllipse2(f,S,this.getInteractionData()),e.drawShadow(m,s,0)}e.fillEllipse2(this.seriesBrush,s,this.getInteractionData()),(this.isMouseOver||this.series.core.isMouseOver)&&e.fillEllipse(r.StiMouseOverHelper.getMouseOverColor(),s.x,s.y,s.width,s.height,null),e.pushSmoothingModeToAntiAlias(),e.drawEllipse2(u,s),e.popSmoothingMode()}},u}(r.StiSeriesElementGeom);r.StiBubbleSeriesElementGeom=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.Drawing.Size,n=e.Base.Context.StiPenGeom,o=e.Base.Drawing.StiShadowSides,a=e.System.TimeSpan,s=e.System.Drawing.Point,l=e.System.Drawing.Rectangle,u=e.Base.Context.Animation.StiColumnAnimation,c=e.Base.Context.Animation.StiOpacityAnimation,h=function(e){function h(t,r,i,n,o,a,s,l,u,c){var h=e.call(this,t,i,n,s,u,o)||this;return h._seriesBrush=o,h._seriesBorderColor=a,h._valueStart=r,h._columnRectStart=l,h._beginTime=c,h}return __extends(h,e),Object.defineProperty(h.prototype,"seriesBrush",{get:function(){return this._seriesBrush},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"seriesBorderColor",{get:function(){return this._seriesBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"beginTime",{get:function(){return this._beginTime},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"valueStart",{get:function(){return this._valueStart},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"columnRectStart",{get:function(){return this._columnRectStart},enumerable:!1,configurable:!0}),h.prototype.draw=function(e){var h=this.series.chart,p=this.clientRectangle.clone(),f=this.series.stimulsoft.as(r.IStiFontIconsSeries);if(null!=f&&null!=f.icon)return void t.StiFontIconsHelper.drawDirectionIcons(e,this.seriesBrush,p,new i(p.height,p.height),f.icon,this.getToolTip(),!1);if(h.isAnimation){var m=this.clientRectangle.clone(),S=new n(this.seriesBorderColor,1),g=r.StiChartHelper.globalDurationElement;if(this.series.showShadow){var y=new c(g,new a(this.beginTime.ticks+g.ticks));e.drawShadowRect(m,5,y)}var d=new u(this._valueStart,this._columnRectStart,g,this.beginTime);e.drawAnimationBar(this.seriesBrush,S,p,this.value,this.getToolTip(),this,d,this.getInteractionData())}else{var m=this.clientRectangle.clone();if(this.series.showShadow&&m.width>4&&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;i<this.points.length-1;i++){var n=this.points[i],o=this.points[i+1],a;if(null==n||null==o)continue;if(t.StiPointHelper.isLineContainsPoint(n,o,t.StiMouseOverHelper.mouseOverLineDistance,new u(e,r)))return!0}return!1},h.prototype.draw=function(e){var r,u,h=a.Solid,p=1,f=l.black,m=!0,S=null,g=!0,y=this.series.stimulsoft.as(t.IStiBaseLineSeries);null!=y&&(h=y.lineStyle,p=y.lineWidth,f=y.lineColor,m=y.showShadow,S=y.lineMarker,g=y.lighting);var d=this.series.stimulsoft.as(t.IStiRadarLineSeries);null!=d&&(h=d.lineStyle,p=d.lineWidth,f=d.lineColor,m=d.showShadow,g=d.lighting);var b=this.series.stimulsoft.as(t.IStiRadarAreaSeries);null!=b&&(h=b.lineStyle,p=b.lineWidth,f=b.lineColor,m=b.showShadow,g=b.lighting),e.pushSmoothingModeToAntiAlias();var v=h,C=p*e.options.zoom,w=new n(f,C);w.penStyle=v;var x=this.series.chart;if(m){var _=new n(l.fromArgb(50,0,0,0),C+.5*e.options.zoom);if(_.penStyle=v,e.pushTranslateTransform(C,C),t.StiNullableDrawing.drawLines(e,_,this.points,x.isAnimation),null!=S&&S.visible){var A=new s(l.fromArgb(50,0,0,0));S.core.drawLines(e,this.points,e.options.zoom,A,null,S.type,S.step,S.size,S.angle)}e.popTransform()}if(this.series.core.isMouseOver){var L=e.options.zoom,O=11+p;try{for(var P=__values(this.points),B=P.next();!B.done;B=P.next()){var R;if(null==(R=B.value))continue;var k=new c(R.x-O/2*L,R.y-O/2*L,O*L,O*L);e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(),k,null)}}catch(e){r={error:e}}finally{try{B&&!B.done&&(u=P.return)&&u.call(P)}finally{if(r)throw r.error}}var T=new n(t.StiMouseOverHelper.getLineMouseOverColor(),(4+p)*e.options.zoom);T.startCap=i.Round,T.endCap=i.Round,t.StiNullableDrawing.drawLines(e,T,this.points,x.isAnimation)}if(null!=this.pointsZeroConnect){var j=new n(f,C);j.penStyle=a.Dash,t.StiNullableDrawing.drawLines(e,j,this.pointsZeroConnect,x.isAnimation)}if(null!=this.pointsNullConnect){var F=new n(f,C);F.penStyle=a.Dash,t.StiNullableDrawing.drawLines(e,F,this.pointsNullConnect,x.isAnimation)}if(this.series.stimulsoft.is(t.StiLineSeries)&&this.series.allowApplyColorNegative){var I=this.series.lineColorNegative,D=new n(I,C);D.penStyle=v;for(var N,M=this.series.chart.area.axisCore.getDividerY(),E=[],V=[],G=0;G<this.points.length;G++){var R=this.points[G],X=G!=this.points.length-1?this.points[G+1]:null;if(R.y>M){if(E.push(R),null==X||X.y<M||X.y==M&&G+2<this.points.length&&this.points[G+2].y<=M){if(null!=X){var z=this.getPointCross(R,this.points[G+1],M);E.push(z),X.y==M&&G+2<this.points.length&&this.points[G+2].y<=M&&E.push(this.points[G+2]),V.push(z)}if(this.drawLine(e,D,E),C>=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;a<this.points.length-1;a++){var s=this.points[a],l=this.points[a+1];if(null==s||null==l)continue;var u=new o(l.x,n),c=new o(s.x,n),h;if(t.StiPointHelper.isPointInPolygon(new o(e,r),[s,c,u,l]))return!0}return!1},l.prototype.draw=function(e){var o,l,u,c,h=this.series,p=this.series.chart.area,f=p.axisCore.getDividerY(),m=t.StiNullableDrawing.getPointsList(this.points),S;if(this.series.chart.isAnimation)try{for(var g=__values(m),y=g.next();!y.done;y=g.next()){var d=y.value,b;if((b=[]).push(new n(d[0].x,f,d[0].x,d[0].y)),b.push(new i(d)),b.push(new n(d[d.length-1].x,d[d.length-1].y,d[d.length-1].x,f)),null!=h.brush){var v=new s(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement);e.fillDrawAnimationPath(h.brush,null,b,r.getBoundsState,null,v,null)}}}catch(e){o={error:e}}finally{try{y&&!y.done&&(l=g.return)&&l.call(g)}finally{if(o)throw o.error}}else try{for(var C=__values(m),w=C.next();!w.done;w=C.next()){var d=w.value,b;if((b=[]).push(new n(d[0].x,f,d[0].x,d[0].y)),b.push(new i(d)),b.push(new n(d[d.length-1].x,d[d.length-1].y,d[d.length-1].x,f)),null!=h.brush&&e.fillPath(h.brush,b,r.getBoundsState,null),h.allowApplyBrushNegative&&null!=h.brushNegative){var x=p.axisCore.scrollRangeX*p.axisCore.scrollDpiX,_=p.axisCore.scrollRangeY*p.axisCore.scrollDpiY-f,A=new a(0,f,x,_);e.pushClip(A),e.fillPath(h.brushNegative,b,r.getBoundsState,null),e.popClip()}(this.isMouseOver||this.series.core.isMouseOver)&&e.fillPath(t.StiMouseOverHelper.getMouseOverColor(),b,r.getBoundsState,null)}}catch(e){u={error:e}}finally{try{w&&!w.done&&(c=C.return)&&c.call(C)}finally{if(u)throw u.error}}},l}(t.StiLineSeriesGeom);t.StiAreaSeriesGeom=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.Base.Drawing.StiShadowSides,a=e.System.TimeSpan,s=e.System.Drawing.Point,l=e.System.Drawing.Rectangle,u=e.Base.Context.Animation.StiOpacityAnimation,c=function(e){function c(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(c,e),Object.defineProperty(c.prototype,"seriesBrush",{get:function(){return this._seriesBrush},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"seriesBorderColor",{get:function(){return this._seriesBorderColor},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},enumerable:!1,configurable:!0}),c.prototype.draw=function(e){var c=this.series.chart,h=this.clientRectangle.clone(),p=this.series.stimulsoft.as(r.IStiFontIconsSeries);if(null!=p&&null!=p.icon)return void t.StiFontIconsHelper.drawDirectionIcons(e,this.seriesBrush,h,new i(h.width,h.width),p.icon,this.getToolTip());if(c.isAnimation){var f=new n(this.seriesBorderColor,1);if(this.series.showShadow&&h.width>1){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<this.points.length-1;i++){var n=this.points[i],o=this.points[i+1],a;if(null==n||null==o)continue;if(t.StiPointHelper.isLineContainsPoint(n,o,t.StiMouseOverHelper.mouseOverSplineDistance,new s(e,r)))return!0}return!1},u.prototype.draw=function(e){var s,u,c=o.Solid,h=1,p=a.black,f=!0,m=!0,S=1,g=this.series.stimulsoft.as(t.IStiSplineSeries);null!=g&&(c=g.lineStyle,h=g.lineWidth,p=g.lineColor,f=g.showShadow,m=g.lighting,S=g.tension);var y=this.series.stimulsoft.as(t.IStiRadarLineSeries);null!=y&&(c=y.lineStyle,h=y.lineWidth,p=y.lineColor,f=y.showShadow,m=y.lighting);var d=this.series.stimulsoft.as(t.IStiRadarAreaSeries);null!=d&&(c=d.lineStyle,h=d.lineWidth,p=d.lineColor,f=d.showShadow,m=d.lighting),e.pushSmoothingModeToAntiAlias();var b=c,v=h*e.options.zoom,C=new i(p,v);C.penStyle=b;var w=this.series.chart;if(f){var x=new i(a.fromArgb(50,0,0,0),v+.5*e.options.zoom);x.penStyle=b,e.pushTranslateTransform(v,v),t.StiNullableDrawing.drawCurve(e,x,this.points,S,w.isAnimation),e.popTransform()}if(this.series.core.isMouseOver){var _=e.options.zoom,A=11+h;try{for(var L=__values(this.points),O=L.next();!O.done;O=L.next()){var P=O.value;if(null==P)continue;var B=new l(P.x-A/2*_,P.y-A/2*_,A*_,A*_);e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(),B,null)}}catch(e){s={error:e}}finally{try{O&&!O.done&&(u=L.return)&&u.call(L)}finally{if(s)throw s.error}}var R=new i(t.StiMouseOverHelper.getLineMouseOverColor(),(4+h)*e.options.zoom);R.startCap=r.Round,R.endCap=r.Round,t.StiNullableDrawing.drawCurve(e,R,this.points,S,w.isAnimation)}if(null!=this.pointsZeroConnect){var k=new i(p,v);k.penStyle=o.Dash,t.StiNullableDrawing.drawCurve(e,k,this.pointsZeroConnect,S,w.isAnimation)}if(null!=this.pointsNullConnect){var T=new i(p,v);T.penStyle=o.Dash,t.StiNullableDrawing.drawCurve(e,T,this.pointsNullConnect,S,w.isAnimation)}if(t.StiNullableDrawing.drawCurve(e,C,this.points,S,w.isAnimation),v>=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;a<this.points.length-1;a++){var s=this.points[a],l=this.points[a+1];if(null==s||null==l)continue;var u=new o(l.x,n),c=new o(s.x,n),h;if(t.StiPointHelper.isPointInPolygon(new o(e,r),[s,c,u,l]))return!0}return!1},l.prototype.draw=function(e){var o,l,u=this.series,c=this.series.chart,h=this.series.chart.area,p=h.axisCore.getDividerY(),f=t.StiNullableDrawing.getPointsList(this.points);try{for(var m=__values(f),S=m.next();!S.done;S=m.next()){var g=S.value,y=[];if(y.push(new i(g[0].x,p,g[0].x,g[0].y)),y.push(new n(g,u.tension)),y.push(new i(g[g.length-1].x,g[g.length-1].y,g[g.length-1].x,p)),null!=u.brush)if(c.isAnimation){var d=new s(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement);e.fillDrawAnimationPath(u.brush,null,y,r.getBoundsState,null,d,null)}else e.fillPath(u.brush,y,r.getBoundsState,null);if(u.allowApplyBrushNegative&&null!=u.brushNegative){var b=h.axisCore.scrollRangeX*h.axisCore.scrollDpiX,v=h.axisCore.scrollRangeY*h.axisCore.scrollDpiY-p,C=new a(0,p,b,v);if(e.pushClip(C),c.isAnimation){var d=new s(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement);e.fillDrawAnimationPath(u.brush,null,y,r.getBoundsState,null,d,null)}else e.fillPath(u.brushNegative,y,r.getBoundsState,null);e.popClip()}(this.isMouseOver||this.series.core.isMouseOver)&&e.fillPath(t.StiMouseOverHelper.getMouseOverColor(),y,r.getBoundsState,null)}}catch(e){o={error:e}}finally{try{S&&!S.done&&(l=m.return)&&l.call(m)}finally{if(o)throw o.error}}},l}(t.StiSplineSeriesGeom);t.StiSplineAreaSeriesGeom=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.Base.Context.StiPenLineCap,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.System.Drawing.Rectangle,c=function(e){function c(t,r,i){return e.call(this,t,r,i)||this}return __extends(c,e),c.prototype.getConvertedPoints=function(e){for(var t=this.series,r=[],i=t.chart.area.xAxis.info.dpi/2,n=0;n<e.length-1;n++){var o=e[n],a=e[n+1];null!=o&&null!=a?(t.pointAtCenter&&(o=new l(o.x-i,o.y),a=new l(a.x-i,a.y)),r.push(o),r.push(new l(a.x,o.y))):(r.push(null),r.push(null))}var s=e[e.length-1];return null!=s?t.pointAtCenter?(s=new l(s.x-i,s.y),r.push(s),s=new l(s.x+2*i,s.y),r.push(s)):r.push(s):r.push(null),r.stimulsoft.toArray()},c.prototype.contains=function(e,t){var r,i;if(this.invisible)return!1;var n=this.getConvertedPoints(this.points),o=0;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;if(this.points.length<=o+1)continue;var c=n[o+1];if(null==l||null==c)continue;var h=u.empty;if(c.x>l.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;E<x.length;E++){var k=x[E],V=E!=x.length-1?x[E+1]:null;if(k.y>I){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;S<this.points.length-1;S++){var g=this.points[S],y=this.points[S+1];null!=g&&null!=y?(c.pointAtCenter&&(g=new o(g.x-m,g.y),y=new o(y.x-m,y.y)),f.push(g),f.push(new o(y.x,g.y))):(f.push(null),f.push(null))}var d=this.points[this.points.length-1];null!=d?c.pointAtCenter?(d=new o(d.x-m,d.y),f.push(d),d=new o(d.x+2*m,d.y),f.push(d)):f.push(d):f.push(null);var b=f.stimulsoft.toArray(),v=t.StiNullableDrawing.getPointsList(b),C=this.series.chart;try{for(var w=__values(v),x=w.next();!x.done;x=w.next()){var _=x.value,A=[];if(A.push(new n(_[0].x,p,_[0].x,_[0].y)),A.push(new i(_)),A.push(new n(_[_.length-1].x,_[_.length-1].y,_[_.length-1].x,p)),null!=c.brush)if(C.isAnimation){var L=new s(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement);e.fillDrawAnimationPath(c.brush,null,A,r.getBoundsState,null,L,null)}else e.fillPath(c.brush,A,r.getBoundsState,null);if(c.allowApplyBrushNegative&&null!=c.brushNegative)if(C.isAnimation){var L=new s(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement);e.fillDrawAnimationPath(c.brushNegative,null,A,r.getBoundsState,null,L,null)}else{var O=h.axisCore.scrollRangeX*h.axisCore.scrollDpiX,P=h.axisCore.scrollRangeY*h.axisCore.scrollDpiY-p,B=new a(0,p,O,P);e.pushClip(B),e.fillPath(c.brushNegative,A,r.getBoundsState,null),e.popClip()}(this.isMouseOver||this.series.core.isMouseOver)&&e.fillPath(t.StiMouseOverHelper.getMouseOverColor(),A,r.getBoundsState,null)}}catch(e){l={error:e}}finally{try{x&&!x.done&&(u=w.return)&&u.call(w)}finally{if(l)throw l.error}}},l}(t.StiSteppedLineSeriesGeom);t.StiSteppedAreaSeriesGeom=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.Drawing.Point,i=e.System.TimeSpan,n=e.Report.Chart.StiChartHelper,o=e.Base.Context.Animation.StiTranslationAnimation,a=function(e){function t(t,r,i,n,o){var a=e.call(this,n)||this;return a.pen=i,a.pointStart=t,a.pointEnd=r,a.animation=o,a}return __extends(t,e),t.prototype.draw=function(e){if(this.animation){var t=new o(r.empty,r.empty,n.globalDurationElement,i.zero);e.drawAnimationLines(this.pen,[this.pointStart,this.pointEnd],t)}else e.drawLine(this.pen,this.pointStart.x,this.pointStart.y,this.pointEnd.x,this.pointEnd.y)},t}(t.StiCellGeom);t.StiWaterfallLineGeom=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.System.Drawing.Rectangle,n=e.System.Drawing.Color,o=e.System.Collections.List,a=e.Base.Context.StiArcSegmentGeom,s=e.Base.Context.StiLineSegmentGeom,l=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.draw=function(e){var t=this.clientRectangle,l=new r(n.lightGray),u=new o;u.add(new a(t,0,360)),u.add(new s(t.right,t.y+t.height/2,t.x+3*t.width/4,t.y+t.height/2)),u.add(new a(new i(t.x+t.width/4,t.y+t.height/4,t.width/2,t.height/2),0,360)),u.add(new s(t.x+3*t.width/4,t.y+t.height/2,t.right,t.y+t.height/2)),e.pushSmoothingModeToAntiAlias(),e.fillPath(n.fromArgb(50,n.lightGray.r,n.lightGray.g,n.lightGray.b),u,t,null),e.drawPath(l,u,t),e.drawLine(l,t.x+t.width/2,t.y+3*t.height/4,t.x+t.width/2,t.bottom),e.popSmoothingMode()},t}(t.StiCellGeom);t.StiDoughnutEmptySeriesElementGeom=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.StiPenAlignment,o=e.Base.Context.StiPathGeom,a=e.Base.Context.StiPenGeom,s=e.System.TimeSpan,l=e.System.Drawing.Point,u=e.Base.Context.Animation.StiOpacityAnimation,c=function(e){function c(t,r,i,n,o,a,s,l,u,c,h,p,f,m,S,g,y){var d=e.call(this,t,r,i,n,o,c)||this;return d._path=a,d._pathLight=s,d._pathDark=l,d._borderColor=u,d._brush=c,d._brushLight=h,d._brushDark=p,d._startAngle=f,d._endAngle=m,d._radiusFrom=S,d._radiusTo=g,d._beginTime=y,d}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,"pathDark",{get:function(){return this._pathDark},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,"brushLight",{get:function(){return this._brushLight},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"brushDark",{get:function(){return this._brushDark},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startAngle",{get:function(){return this._startAngle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"endAngle",{get:function(){return this._endAngle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"radiusFrom",{get:function(){return this._radiusFrom},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"radiusTo",{get:function(){return this._radiusTo},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"beginTime",{get:function(){return this._beginTime},enumerable:!1,configurable:!0}),c.prototype.contains=function(e,t){if(this.invisible)return!1;var r=new l(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(o<this.radiusTo||o>this.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&&t<this.series.hyperlinks.length&&(e.interactionHyperlink=this.series.hyperlinks[t]),this.series.interaction.drillDownEnabled&&(e.seriesInteractionData=this.interaction,this.isMouseOver=!1,e.updateContext=this.series.interaction.drillDownEnabled)},r.prototype.getValueIndex=function(){var t=this.index;return this.series.chart.area.stimulsoft.is(e.IStiAxisArea)&&this.series.chart.area.reverseHor&&(t=this.series.arguments.length-t-1),t},r.prototype.getHyperlink=function(e){return null!=this.series.hyperlinks&&e<this.series.hyperlinks.length?this.series.hyperlinks[e]:null},r.prototype.getToolTip=function(e){return null!=this.series.toolTips&&e<this.series.toolTips.length?this.series.toolTips[e]:null},Object.defineProperty(r.prototype,"allowMouseOver",{get:function(){var e=this.getValueIndex();return null!=this.series.hyperlinks&&e<this.series.hyperlinks.length||null!=this.series.toolTips&&e<this.series.toolTips.length||this.series.interaction.drillDownEnabled&&this.series.interaction.allowSeriesElements},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isMouseOver",{get:function(){return this.series.core.getIsMouseOverSeriesElement(this.index)},set:function(e){this.series.core.setIsMouseOverSeriesElement(this.index,e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"series",{get:function(){return this._series},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"interaction",{get:function(){return this._interaction},set:function(e){this._interaction=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"open",{get:function(){return this._open},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"close",{get:function(){return this._close},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"high",{get:function(){return this._high},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"low",{get:function(){return this._low},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"positionX",{get:function(){return this._positionX},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"areaGeom",{get:function(){return this._areaGeom},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"index",{get:function(){return this._index},enumerable:!1,configurable:!0}),r.prototype.draw=function(e){},r}(e.StiCellGeom);e.StiFinancialSeriesElementGeom=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.StiCloseFigureSegmentGeom,o=e.System.Drawing.Color,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,o,a,s,l,u,c,h,p){var f=e.call(this,t,r,i,n,o,a,s,l,u)||this;return f._brush=c,f._borderColor=h,f._beginTime=p,f}return __extends(u,e),Object.defineProperty(u.prototype,"brush",{get:function(){return this._brush},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"borderColor",{get:function(){return this._borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"beginTime",{get:function(){return this._beginTime},enumerable:!1,configurable:!0}),u.prototype.draw=function(e){var u=this.areaGeom.area,c=this.series,h=c.borderWidth*e.options.zoom,p=u.xAxis.info.dpi/2,f=this.open,m=this.close,S=this.high,g=this.low,y=this.positionX,d=new r(this._borderColor,h),b;if(m==f&&(f-=1),this.series.chart.isAnimation){var v=t.StiChartHelper.globalDurationElement,C=[new a(y,S),new a(y,f)],w=[new a(y,m),new a(y,g)],x=[],_=y-p/2,A=f,L=_+p,O=A+m-f;x.push(new i(_,A,L,A)),x.push(new i(L,A,L,O)),x.push(new i(L,O,_,O)),x.push(new i(_,O,_,A)),x.push(new n);var P=new l(v,this.beginTime);if(c.showShadow){var B=h+.5*e.options.zoom,R=new r(o.fromArgb(50,0,0,0),B),k=[new a(y+B/2,S+B/2),new a(y+B/2,f+B/2)],T=[new a(y+B/2,m+B/2),new a(y+B/2,g+B/2)];e.drawAnimationLines(R,k,P),e.drawAnimationLines(R,T,P);var j=[];j.push(new i(_+B/2,A+B/2,L+B/2,A+B/2)),j.push(new i(L+B/2,A+B/2,L+B/2,O+B/2)),j.push(new i(L+B/2,O+B/2,_+B/2,O+B/2)),j.push(new i(_+B/2,O+B/2,_+B/2,A+B/2)),j.push(new n),e.fillDrawAnimationPath(null,R,j,new s(_+B/2,A+B/2,p,m-f),null,P,null)}e.drawAnimationLines(d,C,P),e.drawAnimationLines(d,w,P),e.fillDrawAnimationPath(this.brush,d,x,new s(_,A,p,m-f),this,P,null)}else{if(c.showShadow){var B=h+.5*e.options.zoom,R=new r(o.fromArgb(50,0,0,0),B);e.pushTranslateTransform(h,h),e.drawLine(R,y,m+B/2,y,g+B/2),e.drawLine(R,y,S,y,f-B/2),e.drawRectangle2(R,y-p/2,f,p,m-f),e.popTransform()}e.drawLine(d,y,S,y,f),e.drawLine(d,y,m,y,g),e.fillRectangle2(this.brush,y-p/2,f,p,m-f,null),e.drawRectangle2(d,y-p/2,f,p,m-f)}},u}(t.StiFinancialSeriesElementGeom);t.StiCandlestickSeriesElementGeom=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=e.System.Drawing.Point,o=e.Base.Context.Animation.StiOpacityAnimation,a=function(e){function a(t,r,i,n,o,a,s,l,u,c,h){var p=e.call(this,t,r,i,n,o,a,s,l,u)||this;return p._color=c,p._beginTime=h,p}return __extends(a,e),Object.defineProperty(a.prototype,"color",{get:function(){return this._color},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"beginTime",{get:function(){return this._beginTime},enumerable:!1,configurable:!0}),a.prototype.draw=function(e){var a=this.areaGeom.area,s=this.series,l=s.lineWidth*e.options.zoom,u=a.xAxis.info.dpi/3,c=new r(this.color,l),h;if(c.penStyle=s.lineStyle,this.series.chart.isAnimation){var p=t.StiChartHelper.globalDurationElement,f=new o(t.StiChartHelper.globalDurationElement,this.beginTime);if(s.showShadow){var m=l+.5*e.options.zoom,S;(S=new r(i.fromArgb(50,0,0,0),m)).penStyle=s.lineStyle;var g=[new n(this.positionX,this.high),new n(this.positionX,this.low)],y=[new n(this.positionX-u,this.open),new n(this.positionX-m/2,this.open)],d=[new n(this.positionX+u,this.close),new n(this.positionX+m/2,this.close)];e.drawAnimationLines(S,g,f),e.drawAnimationLines(S,y,f),e.drawAnimationLines(S,d,f)}var b=[new n(this.positionX,this.high),new n(this.positionX,this.low)],v=[new n(this.positionX-u,this.open),new n(this.positionX,this.open)],C=[new n(this.positionX+u,this.close),new n(this.positionX,this.close)];e.drawAnimationLines(c,b,f),e.drawAnimationLines(c,v,f),e.drawAnimationLines(c,C,f)}else{if(s.showShadow){var m=l+.5*e.options.zoom,S;(S=new r(i.fromArgb(50,0,0,0),m)).penStyle=s.lineStyle,e.pushTranslateTransform(l,l),e.drawLine(S,this.positionX,this.high,this.positionX,this.low),e.drawLine(S,this.positionX-u,this.open,this.positionX-m/2,this.open),e.drawLine(S,this.positionX+u,this.close,this.positionX+m/2,this.close),e.popTransform()}e.drawLine(c,this.positionX,this.high,this.positionX,this.low),e.drawLine(c,this.positionX-u,this.open,this.positionX,this.open),e.drawLine(c,this.positionX+u,this.close,this.positionX,this.close)}},a}(t.StiFinancialSeriesElementGeom);t.StiStockSeriesElementGeom=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.System.Drawing.Color,n=function(e){function t(t,r){var i=e.call(this,t)||this;return i.path=r,i}return __extends(t,e),t.prototype.draw=function(e){e.pushSmoothingModeToAntiAlias(),e.fillPath(i.fromArgb(50,i.lightGray),this.path,this.clientRectangle,null),e.drawPath(new r(i.gray),this.path,this.clientRectangle),e.popSmoothingMode()},t}(t.StiCellGeom);t.StiFunnelEmptySeriesElementGeom=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.System.TimeSpan,l=e.System.Drawing.Color,u=e.Base.Context.Animation.StiOpacityAnimation,c=function(e){function c(t,r,i,n,o,a,s,l,u){var c=e.call(this,t,r,i,n,o,a)||this;return c._path=l,c._borderColor=s,c._brush=a,c._beginTime=u,c}return __extends(c,e),Object.defineProperty(c.prototype,"path",{get:function(){return this._path},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,"beginTime",{get:function(){return this._beginTime},enumerable:!1,configurable:!0}),c.prototype.draw=function(e){var c=this.clientRectangle.clone(),h=new o(a.dark(this.borderColor,10));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,c,new i(m,m),f.icon,this.getToolTip()),void e.popClip()}if(p.isAnimation){var S=new u(s.fromSeconds(1),this.beginTime);e.drawAnimationPathElement(this.brush,h,this.path,c,this.getToolTip(),this,S,this.getInteractionData())}else e.pushSmoothingModeToAntiAlias(),this.series.showShadow&&(e.pushTranslateTransform(4,4),e.fillPath(l.fromArgb(50,100,100,100),this.path,c,null),e.popTransform()),e.fillPath(this.brush,this.path,c,this.getInteractionData()),(this.isMouseOver||this.series.core.isMouseOver)&&e.fillPath(r.StiMouseOverHelper.getMouseOverColor(),this.path,c,null),l.transparent.stimulsoft.equals(this.borderColor)||e.drawPath(h,this.path,null),e.popSmoothingMode()},c}(r.StiSeriesElementGeom);r.StiFunnelSeriesElementGeom=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.System.Drawing.Size,n=e.Base.Context.StiPenGeom,o=e.Base.Drawing.StiShadowSides,a=e.Base.Context.Animation.StiOpacityAnimation,s=function(e){function s(t,r,i,n,o,a,s){var l=e.call(this,t,r,i,n,o,s)||this;return l._beginTime=a,l}return __extends(s,e),Object.defineProperty(s.prototype,"beginTime",{get:function(){return this._beginTime},enumerable:!1,configurable:!0}),s.prototype.draw=function(e){var s=this.series,l=this.clientRectangle.clone(),u=this.series.chart,c=s.processSeriesBrushes(this.index,s.brush),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(u.isAnimation){var p=new n(s.borderColor),f=new a(r.StiChartHelper.globalDurationElement,this.beginTime);e.drawAnimationBar(c,p,l,this.value,this.getToolTip(),this,f,this.getInteractionData())}else{s.showShadow&&l.width>4&&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<this.drawRectangles.length;r++){var i;if(this.drawRectangles[r].contains(e,t))return!0}},u.prototype.draw=function(r){var i=this.series.core.getSingleSize(r);t.prototype.draw.call(this,r);for(var n=new s("Stimulsoft",15*r.options.zoom,e.System.Drawing.FontStyle.Regular,e.System.Drawing.GraphicsUnit.Pixel),u=0;u<this.drawRectangles.length;u++){var c=this.drawRectangles[u],h=this.clipRectangles[u],p=!0,f=new o(c.x,c.y);r.pushClip(h);while(p){var m=new a(f.x+r.options.zoom,f.y+r.options.zoom,i.width,i.height);r.drawString3(l.getContent(this.icon),n,this.seriesBrush,m,this.getStringFormatGeom(r),this.getToolTip()),(f=new o(f.x+i.width,f.y)).x>=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;a<this.points.length;a++){var s=this.points[a],l=a==this.points.length-1?this.points[0]:this.points[a+1],u=o.centerPoint,c;if(null==s||null==l)continue;if(t.StiPointHelper.isPointInTriangle(new n(e,r),s,u,l))return!0}return!1},s.prototype.draw=function(e){var n,s,l=this.series,u=[],c=0,h;try{for(var p=__values(this.points),f=p.next();!f.done;f=p.next()){var m,S=f.value,g=c<this.points.length-1?this.points[c+1]:this.points[0];null==S&&(S=this.centerPoint),null==g&&(g=this.centerPoint),u.push(new i(S.x,S.y,g.x,g.y)),c++}}catch(e){n={error:e}}finally{try{f&&!f.done&&(s=p.return)&&s.call(p)}finally{if(n)throw n.error}}if(e.pushSmoothingModeToAntiAlias(),null!=l.brush)if(this.series.chart.isAnimation){var y=new a(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement);e.fillDrawAnimationPath(l.brush,null,u,r.getBoundsState,null,y,null)}else e.fillPath(l.brush,u,o.empty,null);(this.isMouseOver||this.series.core.isMouseOver)&&e.fillPath(t.StiMouseOverHelper.getMouseOverColor(),u,o.empty,null),e.popSmoothingMode()},s}(t.StiCellGeom);t.StiRadarAreaSeriesGeom=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.StiInteractionDataGeom,i=function(e){function i(r,i,n,o,a,s,l){var u=e.call(this,r,i,n,a,t.StiMarkerCoreXF.getMarkerRect(s,a.marker.size,l),o)||this;return u._point=s,u}return __extends(i,e),i.prototype.invokeMouseEnter=function(e){if(!this.allowMouseOver)return;this.isMouseOver||(this.isMouseOver=!0,e.updateContext=!0);var t=this.getValueIndex();e.interactionToolTip=this.getToolTip3(t),e.interactionHyperlink=this.getHyperlink3(t)},i.prototype.invokeMouseLeave=function(e){if(!this.allowMouseOver)return;this.isMouseOver&&(this.isMouseOver=!1,e.updateContext=!0)},i.prototype.invokeClick=function(e){var t=this.getValueIndex();null!=this.series.hyperlinks&&t<this.series.hyperlinks.length&&(e.interactionHyperlink=this.series.hyperlinks[t]),this.series.interaction.drillDownEnabled&&(e.seriesInteractionData=this.interaction,this.isMouseOver=!1,e.updateContext=!0)},i.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},i.prototype.getHyperlink3=function(e){return null!=this.series.hyperlinks&&e<this.series.hyperlinks.length?this.series.hyperlinks[e]:null},i.prototype.getToolTip3=function(e){return null!=this.series.toolTips&&e<this.series.toolTips.length?this.series.toolTips[e]:null},Object.defineProperty(i.prototype,"point",{get:function(){return this._point},enumerable:!1,configurable:!0}),i.prototype.contains=function(e,t){if(this.invisible)return!1;return this.getMouseOverRect().contains(e,t)},i.prototype.getMouseOverRect=function(){var e=this.clientRectangle.clone();return e.inflate(e.width/2,e.height/2),e},i.prototype.draw=function(e){var i=this.series,n=!i.marker.visible&&i.toolTips.length>0;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<s;c++){var h=o[c],p=a[c],f=null,m=null;c!=s-1&&(f=o[c+1],m=a[c+1]);var S=null;(null!=f||this.intersection(h,p,f,m))&&(S=this.getPointCross2(h,p,f,m)),l.push(h),u.push(p),null!=S?(l.push(S),u.push(S),this.fillPath(e,this.getBrush(r,h,p),l,u),l.stimulsoft.clear(),u.stimulsoft.clear(),l.push(S),u.push(S)):null==f&&this.fillPath(e,this.getBrush(r,h,p),l,u)}},s.prototype.getBrush=function(e,t,r){var i=e.brush;return e.allowApplyBrushNegative&&(i=t.y<r.y?e.brushNegative:e.brush),i},s.prototype.fillPath=function(e,s,l,u){var c=[],h=r.create(o,l.length+u.length+1),p;h[0]=u[0],l.stimulsoft.copyTo(h,1);for(var f=0,m=u.length-1;m>=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.y<i.y||e.y<t.y&&r.y>i.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&&f<s?new o(f,((c-p)*-f-(u*p-h*c))/(h-u)):null},s}(t.StiLineSeriesGeom);t.StiRangeSeriesGeom=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.StiArray,i=e.Base.Context.StiPathGeom,n=e.Base.Context.StiLineSegmentGeom,o=e.Base.Context.StiCurveSegmentGeom,a=e.System.Drawing.Point,s=e.Base.Context.Animation.StiOpacityAnimation,l=function(e){function l(t,r,i,n){var o=e.call(this,t,r,n)||this;return o._pointsEnd=i,o}return __extends(l,e),Object.defineProperty(l.prototype,"pointsEnd",{get:function(){return this._pointsEnd},set:function(e){this._pointsEnd=e},enumerable:!1,configurable:!0}),l.prototype.draw=function(e){var r=t.StiNullableDrawing.getPointsList(this.points),i=t.StiNullableDrawing.getPointsList(this.pointsEnd);if(r.length<1||i.length<1)return;var n=r[0],o=i[0];this.fillPath(e,n,o)},l.prototype.fillPath=function(e,l,u){for(var c=this.series,h=c.brush,p=[],f=r.create(a,u.length,!0),m=u.length,S=0;S<m;S++)f[S]=u[m-S-1];var g;if(p.push(new n(u[0].x,u[0].y,l[0].x,l[0].y)),p.push(new o(l,c.tension)),p.push(new n(l[l.length-1].x,l[l.length-1].y,u[u.length-1].x,u[u.length-1].y)),p.push(new o(f,c.tension)),this.series.chart.isAnimation){var y=new s(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement);e.fillDrawAnimationPath(h,null,p,i.getBoundsState,null,y,null)}else e.fillPath(h,p,i.getBoundsState,null);(this.isMouseOver||this.series.core.isMouseOver)&&e.fillPath(t.StiMouseOverHelper.getMouseOverColor(),p,i.getBoundsState,null)},l}(t.StiSplineSeriesGeom);t.StiSplineRangeSeriesGeom=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.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.getConvertedPoints(this.points)),n=t.StiNullableDrawing.getPointsList(this.getConvertedPoints(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<s;c++){var h=o[c],p=a[c],f=null,m=null;c!=s-1&&(f=o[c+1],m=a[c+1]),l.push(h),u.push(p),this.intersection(h,p,f,m)?(l.push(f),u.push(m),this.fillPath(e,this.getBrush(r,h,p),l,u),l.stimulsoft.clear(),u.stimulsoft.clear(),l.push(f),u.push(m)):null==f&&this.fillPath(e,this.getBrush(r,h,p),l,u)}},s.prototype.getBrush=function(e,t,r){var i=e.brush;return e.allowApplyBrushNegative&&(i=t.y<r.y?e.brushNegative:e.brush),i},s.prototype.fillPath=function(e,s,l,u){var c=[],h=r.create(o,l.length+u.length+2,!0),p;if(h[0]=u[0],l.stimulsoft.copyTo(h,1),h[l.length+1]=u[u.length-1],u.stimulsoft.copyTo(h,l.length+2),c.push(new n(h)),this.series.chart.isAnimation){var f=new a(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement);e.fillDrawAnimationPath(s,null,c,i.getBoundsState,null,f,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.y<i.y||e.y<t.y&&r.y>i.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<this.points.length-1;i++){var n=this.points[i],o=this.points[i+1],s;if(null==n||null==o)continue;if(t.StiPointHelper.isLineContainsPoint(n,o,t.StiMouseOverHelper.mouseOverLineDistance,new a(e,r)))return!0}return!1},l.prototype.draw=function(e){var a,l,u=this.series;e.pushSmoothingModeToAntiAlias();var c=u.lineStyle,h=u.lineWidth*e.options.zoom,p=new i(u.lineColor,u.lineWidth);if(p.penStyle=c,u.showShadow){var f=new i(o.fromArgb(50,0,0,0),h+.5*e.options.zoom);f.penStyle=c,e.pushTranslateTransform(h,h),t.StiNullableDrawing.drawCurve(e,f,this.points,u.tension),e.popTransform()}if(this.series.core.isMouseOver){var m=u.lineWidth,S=e.options.zoom,g=11+m;try{for(var y=__values(this.points),d=y.next();!d.done;d=y.next()){var b=d.value;if(null==b)continue;var v=new s(b.x-g/2*S,b.y-g/2*S,g*S,g*S);e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(),v,null)}}catch(e){a={error:e}}finally{try{d&&!d.done&&(l=y.return)&&l.call(y)}finally{if(a)throw a.error}}var C=new i(t.StiMouseOverHelper.getLineMouseOverColor(),(4+m)*e.options.zoom);C.startCap=r.Round,C.endCap=r.Round,t.StiNullableDrawing.drawCurve(e,C,this.points,u.tension)}if(t.StiNullableDrawing.drawCurve(e,p,this.points,u.tension),h>=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;o<this.startPoints.length-1;o++){var s=this.startPoints[o],l=this.startPoints[o+1],u=this.endPoints[o],c=this.endPoints[o+1],h;if(null==s||null==u||null==c||null==l)continue;if(t.StiPointHelper.isPointInPolygon(new a(e,r),[s,l,c,u]))return!0}return!1},l.getClientRectangle=function(e,t){var r,i,n,o;if(null==e||0==e.length||null==t||0==t.length)return s.empty;var l=a.empty,u=a.empty;try{for(var c=__values(e),h=c.next();!h.done;h=c.next()){var p;if(null==(p=h.value))continue;l==a.empty?(l=p,u=p):(l.x=Math.min(l.x,p.x),l.y=Math.min(l.y,p.y),u.x=Math.max(u.x,p.x),u.y=Math.max(u.y,p.y))}}catch(e){r={error:e}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}try{for(var f=__values(t),m=f.next();!m.done;m=f.next()){var p;if(null==(p=m.value))continue;l==a.empty?(l=p,u=p):(l.x=Math.min(l.x,p.x),l.y=Math.min(l.y,p.y),u.x=Math.max(u.x,p.x),u.y=Math.max(u.y,p.y))}}catch(e){n={error:e}}finally{try{m&&!m.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}return new s(l.x,l.y,u.x-l.x,u.y-l.y)},l.prototype.draw=function(e){var l,u,c=this.series,h,p,f={ref:h},m={ref:p};t.StiNullableDrawing.getPointsList2(this.startPoints,this.endPoints,f,m),h=f.ref,p=m.ref;var S=0;try{for(var g=__values(h),y=g.next();!y.done;y=g.next()){var d=y.value,b=p[S],v=[];v.push(new o(d[0].x,d[0].y,b[0].x,b[0].y)),v.push(new n(b)),v.push(new o(b[b.length-1].x,b[b.length-1].y,d[d.length-1].x,d[d.length-1].y));var C=r.create(a,this.startPoints.length,!0),w=0,x=d.length-1;while(w<d.length)C[w]=d[x],w++,x--;if(v.push(new n(C)),null!=c.brush&&e.fillPath(c.brush,v,i.getBoundsState,null),c.allowApplyBrushNegative&&null!=c.brushNegative){var _=this.series.chart.area,A=_.axisCore.getDividerY(),L=_.axisCore.scrollRangeX*_.axisCore.scrollDpiX,O=_.axisCore.scrollRangeY*_.axisCore.scrollDpiY-A,P=new s(0,A,L,O);e.pushClip(P),e.fillPath(c.brushNegative,v,i.getBoundsState,null),e.popClip()}(this.isMouseOver||this.series.core.isMouseOver)&&e.fillPath(t.StiMouseOverHelper.getMouseOverColor(),v,i.getBoundsState,null),S++}}catch(e){l={error:e}}finally{try{y&&!y.done&&(u=g.return)&&u.call(g)}finally{if(l)throw l.error}}},l}(t.StiSeriesGeom);t.StiStackedAreaSeriesGeom=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.Drawing.Point,i=e.System.Drawing.Rectangle,n=function(e){function t(r,i,n){var o=e.call(this,r,n,t.getClientRectangle(i))||this;return o._points=i,o}return __extends(t,e),Object.defineProperty(t.prototype,"points",{get:function(){return this._points},enumerable:!1,configurable:!0}),t.getClientRectangle=function(e){var t,n;if(null==e||0==e.length)return i.empty;var o=r.empty,a=r.empty;try{for(var s=__values(e),l=s.next();!l.done;l=s.next()){var u=l.value;if(null==u)continue;o==r.empty?(o=u,a=u):(o.x=Math.min(o.x,u.x),o.y=Math.min(o.y,u.y),a.x=Math.max(a.x,u.x),a.y=Math.max(a.y,u.y))}}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return new i(o.x,o.y,a.x-o.x,a.y-o.y)},t.prototype.draw=function(e){},t}(t.StiSeriesGeom);t.StiStackedBaseLineSeriesGeom=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.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.width,l.width),h.icon,this.getToolTip());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.drawAnimationColumn(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()),(this.isMouseOver||this.series.core.isMouseOver)&&e.fillRectangle2(r.StiMouseOverHelper.getMouseOverColor(),l.x,l.y,l.width,l.height,null);var m=null;m=this.value>0?[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;i<this.points.length-1;i++){var n=this.points[i],o=this.points[i+1],a;if(null==n||null==o)continue;if(t.StiPointHelper.isLineContainsPoint(n,o,t.StiMouseOverHelper.mouseOverLineDistance,new s(e,r)))return!0}return!1},u.prototype.draw=function(e){var r,s,u=this.series,c=this.series.chart;if(0==this.points.length)return;if(this.points.length>1){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;k<this.points.length;k++){var C=this.points[k],T=k!=this.points.length-1?this.points[k+1]:null;if(C.y>P){if(B.push(C),null==T||T.y<P||T.y==P&&k+2<this.points.length&&this.points[k+2].y<=P){if(null!=T){var j=this.getPointCross(C,this.points[k+1],P);B.push(j),T.y==P&&k+2<this.points.length&&this.points[k+2].y<=P&&B.push(this.points[k+2]),R.push(j)}if(this.drawLine(e,L,B),p>=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;o<this.startPoints.length-1;o++){var s=this.startPoints[o],l=this.startPoints[o+1],u=this.endPoints[o],c=this.endPoints[o+1],h;if(null==s||null==u||null==c||null==l)continue;if(t.StiPointHelper.isPointInPolygon(new a(e,r),[s,l,c,u]))return!0}return!1},u.getClientRectangle=function(e,t){var r,i,n,o;if(null==e||0==e.length||null==t||0==t.length)return s.empty;var l=a.empty,u=a.empty;try{for(var c=__values(e),h=c.next();!h.done;h=c.next()){var p;if(null==(p=h.value))continue;l==a.empty?(l=p,u=p):(l.x=Math.min(l.x,p.x),l.y=Math.min(l.y,p.y),u.x=Math.max(u.x,p.x),u.y=Math.max(u.y,p.y))}}catch(e){r={error:e}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}try{for(var f=__values(t),m=f.next();!m.done;m=f.next()){var p;if(null==(p=m.value))continue;l==a.empty?(l=p,u=p):(l.x=Math.min(l.x,p.x),l.y=Math.min(l.y,p.y),u.x=Math.max(u.x,p.x),u.y=Math.max(u.y,p.y))}}catch(e){n={error:e}}finally{try{m&&!m.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}return new s(l.x,l.y,u.x-l.x,u.y-l.y)},u.prototype.draw=function(e){var u,c,h=this.series,p=this.series.chart.area,f,m,S={ref:f},g={ref:m};t.StiNullableDrawing.getPointsList2(this.startPoints,this.endPoints,S,g),f=S.ref,m=g.ref;var y=this.series.chart,d=0;try{for(var b=__values(f),v=b.next();!v.done;v=b.next()){var C=v.value,w=m[d],x=[];x.push(new n(C[0].x,C[0].y,w[0].x,w[0].y)),x.push(new o(w,h.tension)),x.push(new n(w[w.length-1].x,w[w.length-1].y,C[C.length-1].x,C[C.length-1].y));var _=r.create(a,C.length,!0),A=0,L=C.length-1;while(A<C.length)_[A]=C[L],A++,L--;if(x.push(new o(_,h.tension)),null!=h.brush)if(y.isAnimation){var O=new l(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement);e.fillDrawAnimationPath(h.brush,null,x,i.getBoundsState,null,O,null)}else e.fillPath(h.brush,x,i.getBoundsState,null);if(h.allowApplyBrushNegative&&null!=h.brushNegative){var P=p.axisCore.getDividerY(),B=p.axisCore.scrollRangeX*p.axisCore.scrollDpiX,R=p.axisCore.scrollRangeY*p.axisCore.scrollDpiY-P,k=new s(0,P,B,R);if(e.pushClip(k),y.isAnimation){var O=new l(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement);e.fillDrawAnimationPath(h.brushNegative,null,x,i.getBoundsState,null,O,null)}else e.fillPath(h.brushNegative,x,i.getBoundsState,null);e.popClip()}(this.isMouseOver||this.series.core.isMouseOver)&&e.fillPath(t.StiMouseOverHelper.getMouseOverColor(),x,i.getBoundsState,null),d++}}catch(e){u={error:e}}finally{try{v&&!v.done&&(c=b.return)&&c.call(b)}finally{if(u)throw u.error}}},u}(t.StiSeriesGeom);t.StiStackedSplineAreaSeriesGeom=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.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<this.points.length-1;i++){var n=this.points[i],o=this.points[i+1],s;if(null==n||null==o)continue;if(t.StiPointHelper.isLineContainsPoint(n,o,t.StiMouseOverHelper.mouseOverSplineDistance,new a(e,r)))return!0}return!1},l.prototype.draw=function(e){var a,l;if(0==this.points.length)return;var u=this.series.chart,c=this.series;e.pushSmoothingModeToAntiAlias();var h=c.lineStyle,p=c.lineWidth*e.options.zoom,f=new i(c.lineColor,p);if(f.penStyle=h,null!=this.points&&this.points.length>1){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(o<this.radiusTo||o>this.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&&e<this.series.hyperlinks.length?this.series.hyperlinks[e]:null},s.prototype.getToolTip=function(e){return null!=this.series.toolTips&&e<this.series.toolTips.length?this.series.hyperlinks[e]:null},Object.defineProperty(s.prototype,"allowMouseOver",{get:function(){return null!=this.getHyperlink(this.getValueIndex())||this.series.interaction.drillDownEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isMouseOver",{get:function(){if(null==this.series)return!1;return this.series.core.getIsMouseOverSeriesElement(this.index)},set:function(e){null!=this.series&&this.series.core.setIsMouseOverSeriesElement(this.index,e)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"index",{get:function(){return this._index},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"series",{get:function(){return this._series},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"seriesLabels",{get:function(){return this._seriesLabels},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"beginTime",{get:function(){return this._beginTime},set:function(e){this._beginTime=e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"duration",{get:function(){return this._duration},set:function(e){this._duration=e},enumerable:!1,configurable:!0}),s.prototype.drawMarker=function(e,n,s,l){if(this.seriesLabels.markerVisible){var u=this.series.chart,c=i.empty;switch(this.seriesLabels.markerAlignment==t.StiMarkerAlignment.Right?c.x=Math.trunc(n.right+2*e.options.zoom):c.x=Math.trunc(n.left-(2+this.seriesLabels.markerSize.width)*e.options.zoom),this.seriesLabels.markerAlignment){case t.StiMarkerAlignment.Right:c.x=Math.trunc(n.right+2*e.options.zoom);break;case t.StiMarkerAlignment.Left:c.x=Math.trunc(n.left-(2+this.seriesLabels.markerSize.width)*e.options.zoom);break;case t.StiMarkerAlignment.Center:c.x=Math.trunc(n.left+ +n.width/2-(2+this.seriesLabels.markerSize.width)/2*e.options.zoom);break}c.y=Math.trunc(n.y+(n.height-this.seriesLabels.markerSize.height*e.options.zoom)/2),c.width=Math.trunc(this.seriesLabels.markerSize.width*e.options.zoom),c.height=Math.trunc(this.seriesLabels.markerSize.height*e.options.zoom);var h=s.stimulsoft.is(o)?s.stimulsoft.as(o):o.black,p=new r(h,1);if(u.isAnimation){var f=new a(t.StiChartHelper.globalBeginTimeElement,t.StiChartHelper.globalBeginTimeElement);e.drawAnimationRectangle(l,p,c,null,f,null,this.getToolTip(this.getValueIndex()))}else e.fillRectangle2(l,c.x,c.y,c.width,c.height,null),e.drawRectangle2(p,c.x,c.y,c.width,c.height)}},s.prototype.draw=function(e){},s}(t.StiCellGeom);t.StiSeriesLabelsGeom=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.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._animation=f,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(e){var s=this.clientRectangle.clone(),l=new r(this.labelBorderColor,1),u=new o(this.labelColor),c=this.seriesLabels.core.getStringFormatGeom(e),h;if(c.alignment=i.Center,c.lineAlignment=i.Center,this.series.chart.isAnimation)this.drawMarker(e,s,this.seriesBorderColor,this.seriesBrush),null==this._animation&&(this._animation=new a(this.duration,this.beginTime)),e.drawAnimationLabel(this.text,this.font,u,this.seriesLabelsBrush,l,s,c,n.CenterCenter,this.seriesLabels.angle,this.seriesLabels.drawBorder,this.animation);else{this.drawMarker(e,s,this.seriesBorderColor,this.seriesBrush);var p=s.x+s.width/2,f=s.y+s.height/2;e.pushTranslateTransform(p,f),e.pushRotateTransform(this.seriesLabels.angle);var m=s.clone();m.x=-m.width/2-1,m.y=-m.height/2-1,m.width+=2,m.height+=2,e.fillRectangle(this.seriesLabelsBrush,m,null),this.seriesLabels.drawBorder&&e.drawRectangle2(l,m.x,m.y,m.width,m.height),e.popTransform(),e.popTransform(),e.drawRotatedString6(this.text,this.font,u,s,c,n.CenterCenter,this.seriesLabels.angle,this.seriesLabels.antialiasing,this.seriesLabels.width),this.isMouseOver&&e.fillRectangle(t.StiMouseOverHelper.getLineMouseOverColor(),s,null)}},s}(t.StiSeriesLabelsGeom);t.StiCenterAxisLabelsGeom=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.StringAlignment,n=e.Base.Drawing.StiRotationMode,o=e.Base.Drawing.StiSolidBrush,a=function(e){function a(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._seriesBorderColor=c,m._font=h,m._startPoint=p,m._endPoint=f,m}return __extends(a,e),Object.defineProperty(a.prototype,"labelColor",{get:function(){return this._labelColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"labelBorderColor",{get:function(){return this._labelBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesBrush",{get:function(){return this._seriesBrush},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesBorderColor",{get:function(){return this._seriesBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"font",{get:function(){return this._font},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"text",{get:function(){return this._text},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"startPoint",{get:function(){return this._startPoint},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"endPoint",{get:function(){return this._endPoint},enumerable:!1,configurable:!0}),a.prototype.draw=function(e){var a=this.clientRectangle.clone(),s=new o(this.labelColor),l=new r(this.labelBorderColor),u=this.seriesLabels.core.getStringFormatGeom(e);this.drawMarker(e,a,this.seriesBorderColor,this.seriesBrush),this.seriesLabels.drawBorder&&e.drawLine(l,this.endPoint.x,this.endPoint.y,this.startPoint.x,this.startPoint.y),e.pushTranslateTransform(a.x+a.width/2,a.y+a.height/2),e.pushRotateTransform(this.seriesLabels.angle);var c=a.clone();c.x=-c.width/2,c.y=-c.height/2,e.fillRectangle(this.seriesLabels.brush,c,null),this.seriesLabels.drawBorder&&e.drawRectangle2(l,c.x,c.y,c.width,c.height),u.alignment=i.Center,u.lineAlignment=i.Center,e.popTransform(),e.popTransform(),e.drawRotatedString6(this.text,this.font,s,a,u,n.CenterCenter,this.seriesLabels.angle,this.seriesLabels.antialiasing,this.seriesLabels.width),this.isMouseOver&&e.fillRectangle(t.StiMouseOverHelper.getLineMouseOverColor(),a,null)},a}(t.StiSeriesLabelsGeom);t.StiOutsideAxisLabelsGeom=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.System.Drawing.StringAlignment,n=e.Base.Drawing.StiRotationMode,o=e.Base.Context.StiFontGeom,a=function(e){function a(t,r,i,n,o,a,s,l,u,c,h){var p=e.call(this,t,r,i,n,o)||this;return p._text=a,p._labelBrush=l,p._borderColor=u,p._seriesBorderColor=c,p._seriesBrush=s,p._labelRect=h,p}return __extends(a,e),Object.defineProperty(a.prototype,"seriesBrush",{get:function(){return this._seriesBrush},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"borderColor",{get:function(){return this._borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"seriesBorderColor",{get:function(){return this._seriesBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"labelBrush",{get:function(){return this._labelBrush},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"text",{get:function(){return this._text},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"labelRect",{get:function(){return this._labelRect},enumerable:!1,configurable:!0}),a.prototype.draw=function(e){var a=this.clientRectangle.clone(),s=new r(this.borderColor),l=o.changeFontSize(this.seriesLabels.font,this.seriesLabels.font.size*e.options.zoom),u=this.seriesLabels.core.getStringFormatGeom(e);if(u.alignment=i.Center,u.lineAlignment=i.Center,this.drawMarker(e,this.labelRect,this.seriesBorderColor,this.seriesBrush),!a.isEmpty){var c=a.x+a.width/2,h=a.y+a.height/2;e.pushTranslateTransform(c,h),e.pushRotateTransform(this.seriesLabels.angle);var p=a;p.x=-p.width/2,p.y=-p.height/2,e.fillRectangle(this.seriesLabels.brush,p,null),this.seriesLabels.drawBorder&&e.drawRectangle2(s,p.x-1,p.y,p.width,p.height),e.popTransform(),e.popTransform(),e.drawRotatedString6(this.text,l,this.labelBrush,this.labelRect,u,n.CenterCenter,this.seriesLabels.angle,this.seriesLabels.antialiasing,this.seriesLabels.width),this.isMouseOver&&e.fillRectangle2(t.StiMouseOverHelper.getLineMouseOverColor(),p.x,p.y,p.width,p.height,null)}},a}(t.StiSeriesLabelsGeom);t.StiCenterFunnelLabelsGeom=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 t(t,r,i,n,o,a,s,l,u,c,h,p,f){var m=e.call(this,t,r,i,n,o,a,s,l,u,c,h)||this;return m._startPointLine=p,m._endPointLine=f,m}return __extends(t,e),Object.defineProperty(t.prototype,"startPointLine",{get:function(){return this._startPointLine},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endPointLine",{get:function(){return this._endPointLine},enumerable:!1,configurable:!0}),t.prototype.draw=function(t){var i=new r(this.borderColor);t.drawLine(i,this.startPointLine.x,this.startPointLine.y,this.endPointLine.x,this.endPointLine.y),e.prototype.draw.call(this,t)},t}(t.StiCenterFunnelLabelsGeom);t.StiOutsideFunnelLabelsGeom=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.Context.StiFontGeom,n=e.Base.Context.Animation.StiOpacityAnimation,o=function(e){function o(t,r,i,n,o,a,s,l,u,c,h,p,f,m,S){var g=e.call(this,t,r,i,n,o)||this;return g._text=a,g._labelBrush=l,g._borderColor=c,g._seriesBorderColor=h,g._seriesLabelsBrush=u,g._seriesBrush=s,g._rotationMode=p,g._labelRect=f,g._angleToUse=m,g._animation=S,g}return __extends(o,e),Object.defineProperty(o.prototype,"seriesBrush",{get:function(){return this._seriesBrush},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"borderColor",{get:function(){return this._borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"seriesBorderColor",{get:function(){return this._seriesBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"seriesLabelsBrush",{get:function(){return this._seriesLabelsBrush},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"labelBrush",{get:function(){return this._labelBrush},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"text",{get:function(){return this._text},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"rotationMode",{get:function(){return this._rotationMode},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"labelRect",{get:function(){return this._labelRect},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"angleToUse",{get:function(){return this._angleToUse},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"animation",{get:function(){return this._animation},set:function(e){this._animation=e},enumerable:!1,configurable:!0}),o.prototype.draw=function(e){var o=this.clientRectangle.clone(),a=new r(this.borderColor),s=i.changeFontSize(this.seriesLabels.font,this.seriesLabels.font.size*e.options.zoom),l=this.seriesLabels.core.getStringFormatGeom(e),u;if(this.series.chart.isAnimation)null==this.animation&&(this.animation=new n(this.duration,this.beginTime)),e.drawAnimationLabel(this.text,s,this.labelBrush,this.seriesLabelsBrush,a,this.labelRect,l,this.rotationMode,this.seriesLabels.angle,this.seriesLabels.drawBorder,this.animation);else{this.drawMarker(e,this.labelRect,this.seriesBorderColor,this.seriesBrush);var c=Math.round2(this.labelRect.x+this.labelRect.width/2,0),h=Math.round2(this.labelRect.y+this.labelRect.height/2,0);e.pushTranslateTransform(c,h),e.pushRotateTransform(this.angleToUse),o.isEmpty||(e.fillRectangle(this.seriesLabelsBrush,o,null),this.seriesLabels.drawBorder&&e.drawRectangle2(a,o.x,o.y,o.width,o.height),this.isMouseOver&&e.fillRectangle2(t.StiMouseOverHelper.getLineMouseOverColor(),o.x,o.y,o.width,o.height,null)),e.popTransform(),e.popTransform(),e.drawRotatedString6(this.text,s,this.labelBrush,this.labelRect,l,this.rotationMode,this.angleToUse,this.seriesLabels.antialiasing,this.seriesLabels.width)}},o}(t.StiSeriesLabelsGeom);t.StiCenterPieLabelsGeom=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.Animation.StiOpacityAnimation,n=function(e){function n(t,r,i,n,o,a,s,l,u,c,h,p,f,m,S,g,y){var d=e.call(this,t,r,i,n,o,a,s,l,u,c,h,p,f,m,null)||this;return d._lineColor=S,d._labelPoint=g,d._startPoint=y,d}return __extends(n,e),Object.defineProperty(n.prototype,"lineColor",{get:function(){return this._lineColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelPoint",{get:function(){return this._labelPoint},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"startPoint",{get:function(){return this._startPoint},enumerable:!1,configurable:!0}),n.prototype.draw=function(n){var o=this.seriesLabels;if(e.prototype.draw.call(this,n),o.drawBorder){var a=new r(this.lineColor),s;if(this.series.chart.isAnimation){var l=new i(t.StiChartHelper.globalBeginTimeElement,t.StiChartHelper.globalBeginTimeElement);n.drawAnimationLines(a,[this.labelPoint,this.startPoint],l)}else n.drawLine(a,this.labelPoint.x,this.labelPoint.y,this.startPoint.x,this.startPoint.y)}},n}(t.StiCenterPieLabelsGeom);t.StiOutsidePieLabelsGeom=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.System.Drawing.StringAlignment,n=e.Base.Drawing.StiRotationMode,o=e.Base.Context.StiFontGeom,a=e.System.Drawing.Rectangle,s=e.System.Drawing.Color,l=e.System.Drawing.Point,u=function(u){function c(e,t,r,i,n,o,a,s,l,c,h,p,f,m,S,g,y){var d=u.call(this,e,t,r,i,n)||this;return d._text=o,d._seriesLabelsBrush=l,d._labelBrush=s,d._lineColor=f,d._borderColor=c,d._seriesBorderColor=h,d._seriesBrush=a,d._labelRect=p,d._startPoint=m,d._endPoint=S,d._arcPoint=g,d._centerPie=y,d}return __extends(c,u),Object.defineProperty(c.prototype,"seriesBrush",{get:function(){return this._seriesBrush},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"borderColor",{get:function(){return this._borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"seriesBorderColor",{get:function(){return this._seriesBorderColor},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"labelBrush",{get:function(){return this._labelBrush},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"seriesLabelsBrush",{get:function(){return this._seriesLabelsBrush},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"text",{get:function(){return this._text},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"labelRect",{get:function(){return this._labelRect},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"lineColor",{get:function(){return this._lineColor},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startPoint",{get:function(){return this._startPoint},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"endPoint",{get:function(){return this._endPoint},set:function(e){this._endPoint=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"arcPoint",{get:function(){return this._arcPoint},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"centerPie",{get:function(){return this._centerPie},enumerable:!1,configurable:!0}),c.prototype.draw=function(e){var a=this.clientRectangle.clone(),s=new r(this.borderColor,1),u=o.changeFontSize(this.seriesLabels.font,this.seriesLabels.font.size*e.options.zoom),c=this.seriesLabels.core.getStringFormatGeom(e);if(this.seriesLabels.drawBorder){var h=null,p=new r(this.lineColor,1);(this.centerPie.y>this.startPoint.y&&this.endPoint.y>this.startPoint.y||this.centerPie.y<this.startPoint.y&&this.endPoint.y<this.startPoint.y)&&(h=this.centerPie.x>this.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.x<this.centerPie.x?c:h:u.x=this.clientRectangle.x>this.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;m<this.table.stimulsoft.getLength(1);m++)f.push(this.table[0][m]);this.drawHeaderArgument(e,p,f,r.xAxis.startFromZero);for(var S=r.reverseHor?t.right-this.widthCellLegendTableChart:t.x,g=t.y+this.heightCellHeader,y=this.widthCellLegendTableChart,d=t.height-this.heightCellHeader,b=new u(S,g,y,d),v=[],m=1;m<this.table.stimulsoft.getLength(0);m++)v.push(this.table[m][0]);this.drawTitleLegend(e,b,v);var C=r.reverseHor?t.x:t.x+this.widthCellLegendTableChart,w=t.y+this.heightCellHeader,x=t.width-this.widthCellLegendTableChart,_=t.height-this.heightCellHeader,A=new u(C,w,x,_);this.drawRootTable(e,A,r.xAxis.startFromZero)},c.prototype.drawHeaderArgument=function(e,t,i,n){e.fillRectangle(this.chartTable.header.brush,new u(t.x,t.y,t.width,t.height),null),this.chartTable.gridOutline&&e.drawRectangle(this.pen,t);for(var o=n?i.length+1:i.length-1,a=t.width/o,s=0;s<i.length;s++){var l=0;0!=s&&s!=i.length-1||(l=n?a/2:-a/2);var c=n?a/2:-a/2;0==s&&(c=0);var h=new u(t.x+s*a+c,t.y,a+l,t.height);if(this.chartTable.header.wordWrap?e.drawRotatedString6(i[s],this.fontHeader,this.labelHeaderBrush,h,this.sfHeader,r.CenterCenter,0,!0,Math.trunc(a+l)):e.drawString(i[s],this.fontHeader,this.labelHeaderBrush,h,this.sfHeader),this.chartTable.gridLinesVert&&s!=i.length-1){var p=n?t.x+(s+1)*a+a/2:t.x+(s+1)*a-a/2;e.drawLine(this.pen,p,t.y,p,t.bottom)}}},c.prototype.drawTitleLegend=function(e,r,i){this.chartTable.gridOutline&&e.drawRectangle2(this.pen,r.x,r.y,r.width,r.height);for(var n=r.height/i.length,o=0;o<i.length;o++){var a=r.x,s=r.y,l=r.width;if(this.chartTable.gridLinesHor&&0!=o&&e.drawLine(this.pen,a,s+n*o,a+l,s+n*o),this.chartTable.markerVisible){var c=new u(a+2,s+2+n*o,n-4,n-4),h;t.StiMarkerLegendFactory.createMarker(this.chartTable.chart.series.getByIndex(o)).draw(e,this.chartTable.chart.series.getByIndex(o),c,o,i.length),a+=n,l-=n}var p=new u(a,s+n*o,l,n);e.drawString(i[o],this.font,this.labelBrush,p,this.sf)}},c.prototype.drawRootTable=function(e,t,i){this.chartTable.gridOutline&&e.drawRectangle2(this.pen,t.x,t.y,t.width,t.height);var n=this.table.stimulsoft.getLength(0),o=this.table.stimulsoft.getLength(1),a=i?this.table.stimulsoft.getLength(1):this.table.stimulsoft.getLength(1)-2,s=t.width/a,l=t.height/(n-1),c=this.font;if(this.chartTable.dataCells.shrinkFontToFit)for(var h=1;h<n;h++){this.chartTable.gridLinesHor&&h!=n-1&&e.drawLine(this.pen,t.x,t.y+h*l,t.right,t.y+h*l);for(var p=1;p<o;p++){var f=0;1!=p&&p!=o-1||(f=i?s/2:-s/2);var m=i?s/2:-s/2;1==p&&(m=0);var S=new u(t.x+(p-1)*s+m,t.y+(h-1)*l,s+f,l),g=this.checkFontSize(e,this.table[h][p],c,S);while(!g){if(c.fontSize-=.5,c.fontSize<=this.chartTable.dataCells.shrinkFontToFitMinimumSize){c.fontSize=this.chartTable.dataCells.shrinkFontToFitMinimumSize;break}g=this.checkFontSize(e,this.table[h][p],c,S)}}}for(var h=1;h<n;h++){this.chartTable.gridLinesHor&&h!=n-1&&e.drawLine(this.pen,t.x,t.y+h*l,t.right,t.y+h*l);for(var p=1;p<o;p++){var f=0;1!=p&&p!=o-1||(f=i?s/2:-s/2);var m=i?s/2:-s/2;1==p&&(m=0);var S=new u(t.x+(p-1)*s+m,t.y+(h-1)*l,s+f,l);if(e.drawRotatedString5(this.table[h][p],c,this.labelBrush,S,this.sf,r.CenterCenter,0,!0),this.chartTable.gridLinesVert&&p<o-1){var y=i?t.x+p*s+s/2:t.x+p*s-s/2;e.drawLine(this.pen,y,t.y,y,t.bottom)}}}},c.prototype.checkFontSize=function(e,t,r,i){var n;return e.measureRotatedString(t,r,i,this.sf,0).width<i.width},c}(t.StiCellGeom);t.StiChartTableGeom=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.StiPenGeom,n=e.System.Drawing.Color,o=e.System.Drawing.Point,a=e.Base.Drawing.StiRotationMode,s=e.System.Drawing.Point,l=e.Base.Context.StiFontGeom,u=e.Base.Drawing.StiSolidBrush,c=function(e){function c(r,i){var n=e.call(this,t.StiBaseLineSeriesGeom.getClientRectangle(r,i.lineWidth))||this;return n._points=r,n._trendLine=i,n}return __extends(c,e),Object.defineProperty(c.prototype,"points",{get:function(){return this._points},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"trendLine",{get:function(){return this._trendLine},enumerable:!1,configurable:!0}),c.prototype.draw=function(e){for(var c=r.create(o,this.points.length,!0),h=0;h<this.points.length;h++)c[h]=this.points[h];var p=this.trendLine,f=this.trendLine.lineColor,m=this.trendLine.lineWidth,S=this.trendLine.lineStyle,g=this.trendLine.showShadow,y=m*e.options.zoom;if(e.pushSmoothingModeToAntiAlias(),g){var d=new i(n.fromArgb(50,0,0,0),y+.5*e.options.zoom);d.penStyle=S,e.pushTranslateTransform(y,y),t.StiNullableDrawing.drawCurve(e,d,this.points,0),e.popTransform()}var b=new i(f,m*e.options.zoom);if(b.penStyle=S,e.drawCurve(b,c,0),this.trendLine.titleVisible&&c.length>0){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<r.childNodes.length;i++){var n=r.childNodes[i];switch(n.nodeName){case"AllowApplyStyle":this._allowApplyStyle=n.textContent.stimulsoft.toBoolean();break;case"Font":case"fn":this._font=e.System.Convert.toFont(n.textContent);break;case"Text":case"text":this._text=n.textContent.toString();break;case"Color":this._color=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Antialiasing":this._antialiasing=n.textContent.stimulsoft.toBoolean();break;case"Alignment":this._alignment=s.parse(a,n.textContent);break;case"Position":this._position=s.parse(t.StiTitlePosition,n.textContent);break;case"Direction":this.direction=s.parse(t.StiDirection,n.textContent);break}}},h.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.alignment=this.alignment,e.direction=this.direction,e.font=this.font.clone(),null!=this.core&&(e.core=this.core.clone(),e.core.title=e),e},Object.defineProperty(h.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"antialiasing",{get:function(){return this._antialiasing},set:function(e){this._antialiasing=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"alignment",{get:function(){return this._alignment},set:function(e){this._alignment=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"position",{get:function(){return this._position},set:function(e){this._position=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"direction",{get:function(){return this._direction},set:function(e){this._direction=e},enumerable:!1,configurable:!0}),h}();t.StiAxisTitle=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.StiJson,o=e.Base.JsonReportObject.IStiJsonReportObject,a=e.System.ICloneable,s=e.Base.Drawing.StiPenStyle,l=e.System.Enum,u=e.System.Drawing.Color,c=e.Base.Services.StiService,h=e.System.Drawing.Font,p=function(c){function p(){var e=c.call(this)||this;return e._allowApplyStyle=!0,e._antialiasing=!0,e._position=r.StiConstantLines_StiTextPosition.LeftTop,e._font=new h("Arial",7),e._text="",e._titleVisible=!0,e._orientation=r.StiConstantLines_StiOrientation.Horizontal,e._lineWidth=1,e._lineStyle=s.Solid,e._lineColor=u.black,e._showInLegend=!0,e._showBehind=!1,e._axisValue="1",e._visible=!0,e._core=new r.StiConstantLinesCoreXF(e),e}return __extends(p,c),p.prototype.implements=function(){return p.implementsStiConstantLines||(p.implementsStiConstantLines=c.prototype.implements.call(this).concat([r.IStiConstantLines,a,o])),p.implementsStiConstantLines},p.prototype.saveToJsonObject=function(e){var t=new n;return t.addPropertyBool("AllowApplyStyle",this.allowApplyStyle,!0),t.addPropertyBool("Antialiasing",this.antialiasing,!0),t.addPropertyEnum("Position",r.StiConstantLines_StiTextPosition,this._position,r.StiConstantLines_StiTextPosition.LeftTop),t.addPropertyStringNullOrEmpty("Font",i.Serialize.font(this.font,"Arial",7)),t.addPropertyStringNullOrEmpty("Text",this._text),t.addPropertyBool("TitleVisible",this._titleVisible,!0),t.addPropertyEnum("Orientation",r.StiConstantLines_StiOrientation,this._orientation,r.StiConstantLines_StiOrientation.Horizontal),t.addPropertyNumber("LineWidth",this._lineWidth,1),t.addPropertyEnum("LineStyle",s,this._lineStyle,s.Solid),t.addPropertyStringNullOrEmpty("LineColor",i.Serialize.jColor(this._lineColor,u.black)),t.addPropertyBool("ShowInLegend",this.showInLegend,!0),t.addPropertyBool("ShowBehind",this.showBehind),t.addPropertyString("AxisValue",this.axisValue,"1"),t.addPropertyBool("Visible",this.visible,!0),t},p.prototype.loadFromJsonObject=function(e){var t,n;try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var u=a.value;switch(u.name){case"AllowApplyStyle":this.allowApplyStyle=u.value.stimulsoft.toBoolean();break;case"Antialiasing":this.antialiasing=u.value.stimulsoft.toBoolean();break;case"Position":this._position=l.parse(r.StiConstantLines_StiTextPosition,u.value.toString());break;case"Font":this.font=i.Deserialize.font(u.value.toString(),this.font);break;case"Text":this._text=u.value.toString();break;case"TitleVisible":this._titleVisible=u.value.stimulsoft.toBoolean();break;case"Orientation":this._orientation=l.parse(r.StiConstantLines_StiOrientation,u.value.toString());break;case"LineWidth":this._lineWidth=u.value.stimulsoft.toNumber();break;case"LineStyle":this._lineStyle=l.parse(s,u.value.toString());break;case"LineColor":this.lineColor=i.Deserialize.color(u.value.toString());break;case"ShowInLegend":this.showInLegend=u.value.stimulsoft.toBoolean();break;case"ShowBehind":this.showBehind=u.value.stimulsoft.toBoolean();break;case"AxisValue":this.axisValue=u.value.toString();break;case"Visible":this.visible=u.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},p.prototype.loadFromXml=function(t){for(var i=0;i<t.childNodes.length;i++){var n=t.childNodes[i];switch(n.nodeName){case"AllowApplyStyle":this.allowApplyStyle=n.textContent.stimulsoft.toBoolean();break;case"Antialiasing":this.antialiasing=n.textContent.stimulsoft.toBoolean();break;case"Position":this._position=l.parse(r.StiConstantLines_StiTextPosition,n.textContent);break;case"Font":case"fn":this.font=e.System.Convert.toFont(n.textContent);break;case"Text":case"text":this._text=n.textContent;break;case"TitleVisible":this._titleVisible=n.textContent.stimulsoft.toBoolean();break;case"Orientation":this._orientation=l.parse(r.StiConstantLines_StiOrientation,n.textContent.toString());break;case"LineWidth":this._lineWidth=n.textContent.stimulsoft.toNumber();break;case"LineStyle":this._lineStyle=l.parse(s,n.textContent.toString());break;case"LineColor":this.lineColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"ShowInLegend":this.showInLegend=n.textContent.stimulsoft.toBoolean();break;case"ShowBehind":this.showBehind=n.textContent.stimulsoft.toBoolean();break;case"AxisValue":this.axisValue=n.textContent;break;case"Visible":this.visible=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(p.prototype,"componentId",{get:function(){return t.StiComponentId.StiConstantLines},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),p.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return null!=this.core&&(e.core=this.core.clone(),e.core.constantLines=e),e},Object.defineProperty(p.prototype,"serviceCategory",{get:function(){return"Chart"},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"ServiceType",{get:function(){return p},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e,e&&null!=this.chart&&this.core.applyStyle(this.chart.style))},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"antialiasing",{get:function(){return this._antialiasing},set:function(e){this._antialiasing=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"position",{get:function(){return this._position},set:function(e){this._position=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"titleVisible",{get:function(){return this._titleVisible},set:function(e){this._titleVisible=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"lineWidth",{get:function(){return this._lineWidth},set:function(e){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,"lineColor",{get:function(){return this._lineColor},set:function(e){this._lineColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"showInLegend",{get:function(){return this._showInLegend},set:function(e){this._showInLegend=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"showBehind",{get:function(){return this._showBehind},set:function(e){this._showBehind=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"axisValue",{get:function(){return this._axisValue},set:function(e){this._axisValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart=e},enumerable:!1,configurable:!0}),p.prototype.toString=function(){return this.serviceName},p}(c);r.StiConstantLines=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.Base.StiJson,i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=e.System.Collections.CollectionBase,a=e.System.Enum,s=e.System.Text.XMLConvert,l=e.Report.Components.StiFilterCondition,u=e.Report.Components.StiFilterItem,c=e.Report.Components.StiFilterDataType,h=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiChartFiltersCollection||(o.implementsStiChartFiltersCollection=[i,n]),o.implementsStiChartFiltersCollection},o.prototype.saveToJsonObject=function(e){var t,i;if(0==this.list.length)return null;var n=new r,o=0;try{for(var a=__values(this.list),s=a.next();!s.done;s=a.next()){var l=s.value;n.addPropertyJObject(o.toString(),l.saveToJsonObject(e)),o++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}return n},o.prototype.loadFromJsonObject=function(e){var r,i;try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value,s=new t.StiChartFilter;this.add(s),s.loadFromJsonObject(a.value)}}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(e){for(var r=0;r<e.childNodes.length;r++){var i=e.childNodes[r];if("value"==i.nodeName){var n=i.textContent.split(","),o=n[2];"GreaterThen"==o&&(o="GreaterThan"),"GreaterThenOrEqualTo"==o&&(o="GreaterThanOrEqualTo"),"LessThen"==o&&(o="LessThan"),"LessThenOrEqualTo"==o&&(o="LessThanOrEqualTo");var h=new t.StiChartFilter(a.parse(u,n[0]),a.parse(c,n[1]),a.parse(l,o),s.decodeName(n[3]));this.add(h)}}},o.prototype.clone=function(){var e,t,r=new o;try{for(var i=__values(this.list),n=i.next();!n.done;n=i.next()){var a=n.value;r.add(a.clone())}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return r},o.prototype.add=function(e){this.list.push(e),null==e.filters&&(e.filters=this)},o}(o);t.StiChartFiltersCollection=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(){function e(e,t,r,i,n,o,a,s,l,u,c,h,p){this.argument=e,this.value=t,this.valueEnd=r,this.weight=i,this.valueOpen=n,this.valueClose=o,this.valueLow=a,this.valueHigh=s,this.title=l,this.key=u,this.color=c,this.toolTip=h,this.tag=p}return e}();e.StiDataItem=t;var r=function(){function t(t,r){this.directionFactor=1,this.sortType=e.StiSeriesSortType.None,this.directionFactor=1,r==e.StiSeriesSortDirection.Descending&&(this.directionFactor=-1),this.sortType=t}return t.prototype.compare=function(t,r){var i=null,n=null;if(this.sortType==e.StiSeriesSortType.Value?(i=t.value,n=r.value):(i=t.argument,n=r.argument),null==i&&null==n)return 0;if(null==i)return 1;if(null==n)return-1;return i.stimulsoft.compareTo(n)*this.directionFactor},t}();e.StiDataItemComparer=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.StiJsonReportObjectHelper,n=e.Base.StiJson,o=e.Base.JsonReportObject.IStiJsonReportObject,a=e.System.ICloneable,s=e.Base.Drawing.StiPenStyle,l=e.System.Enum,u=e.System.Drawing.Color,c=function(){function c(e,t,i,n){void 0===e&&(e=u.silver),void 0===t&&(t=s.Solid),void 0===i&&(i=!0),void 0===n&&(n=!0),this.needSetAreaJsonPropertyInternal=!1,this._allowApplyStyle=!0,this._color=u.silver,this._style=s.Solid,this._visible=!0,this._color=e,this._style=t,this._visible=i,this._allowApplyStyle=n,this._core=new r.StiRadarGridLinesCoreXF(this)}return c.prototype.implements=function(){return c.implementsStiRadarGridLines||(c.implementsStiRadarGridLines=[o,r.IStiRadarGridLines,a]),c.implementsStiRadarGridLines},c.prototype.saveToJsonObject=function(e){var t=new n;return t.addPropertyBool("AllowApplyStyle",this._allowApplyStyle,!0),t.addPropertyStringNullOrEmpty("Color",i.Serialize.jColor(this._color,u.silver)),t.addPropertyEnum("Style",s,this._style,s.Solid),t.addPropertyBool("Visible",this._visible,!0),null!=this._area&&t.addPropertyBool("Area",!0),t},c.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"Color":this._color=i.Deserialize.color(a.value.toString());break;case"Style":this._style=l.parse(s,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}}},c.prototype.loadFromXml=function(t){for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"AllowApplyStyle":this._allowApplyStyle=i.textContent.stimulsoft.toBoolean();break;case"Color":this._color=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"Style":this._style=l.parse(s,i.textContent.toString());break;case"Visible":this._visible=i.textContent.stimulsoft.toBoolean();break;case"Area":this.needSetAreaJsonPropertyInternal=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadarGridLines},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),c.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.style=this.style,null!=this.core&&(e.core=this.core.clone(),e.core.gridLines=e),e},Object.defineProperty(c.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e,e&&null!=this.area&&null!=this.area.chart&&this.core.applyStyle(this.area.chart.style))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"style",{get:function(){return this._style},set:function(e){this._style=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=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.StiRadarGridLines=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){return void 0===t&&(t=o.silver),void 0===r&&(r=n.Solid),void 0===i&&(i=!0),void 0===a&&(a=!0),e.call(this,t,r,i,a)||this}return __extends(a,e),a.prototype.implements=function(){return a.implementsStiRadarGridLinesHor||(a.implementsStiRadarGridLinesHor=e.prototype.implements.call(this).concat([r,t.IStiRadarGridLines,t.IStiRadarGridLinesHor,i])),a.implementsStiRadarGridLinesHor},a}(t.StiRadarGridLines);t.StiRadarGridLinesHor=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){return void 0===t&&(t=o.silver),void 0===r&&(r=n.Solid),void 0===i&&(i=!0),void 0===a&&(a=!0),e.call(this,t,r,i,a)||this}return __extends(a,e),a.prototype.implements=function(){return a.implementsStiRadarGridLinesVert||(a.implementsStiRadarGridLinesVert=e.prototype.implements.call(this).concat([r,t.IStiRadarGridLines,t.IStiRadarGridLinesVert,i])),a.implementsStiRadarGridLinesVert},a}(t.StiRadarGridLines);t.StiRadarGridLinesVert=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.Enum,c=e.System.Drawing.Color,h=function(){function h(){this._showInLegend=!0,this._visible=!0,this._extendedVisible=r.StiExtendedStyleBool.FromStyle,this._brush=new s(c.white),this._borderColor=c.black,this._size=7,this._angle=0,this._type=r.StiMarkerType.Circle,this.icon=null,this._core=new r.StiMarkerCoreXF(this)}return h.prototype.implements=function(){return r.StiLineMarker.implementsStiMarker||(r.StiLineMarker.implementsStiMarker=[o,r.IStiMarker,a]),r.StiLineMarker.implementsStiMarker},h.prototype.saveToJsonObject=function(e){var t=new n;return t.addPropertyBool("ShowInLegend",this.showInLegend,!0),t.addPropertyBool("Visible",this.visible,!0),t.addPropertyStringNullOrEmpty("Brush",i.Serialize.jBrush(this.brush)),t.addPropertyStringNullOrEmpty("BorderColor",i.Serialize.jColor(this._borderColor,c.black)),t.addPropertyNumber("Size",this.size,7),t.addPropertyNumber("Angle",this.angle,0),t.addPropertyEnum("Type",r.StiMarkerType,this._type,r.StiMarkerType.Circle),null!=this.icon&&t.addPropertyEnum("Icon",StiFontIcons,this.icon),t},h.prototype.loadFromJsonObject=function(e){var t,n;try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"ShowInLegend":this._showInLegend=s.value.stimulsoft.toBoolean();break;case"Visible":this._visible=s.value.stimulsoft.toBoolean();break;case"Brush":this.brush=i.Deserialize.brush(s.value.toString());break;case"BorderColor":this._borderColor=i.Deserialize.color(s.value.toString());break;case"Size":this.size=s.value.stimulsoft.toNumber();break;case"Angle":this.angle=s.value.stimulsoft.toNumber();break;case"Type":this._type=u.parse(r.StiMarkerType,s.value.toString());break;case"Icon":this.icon=u.parse(StiFontIcons,s.value.toString());break}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},h.prototype.loadFromXml=function(t){for(var i=0;i<t.childNodes.length;i++){var n=t.childNodes[i];switch(n.nodeName){case"ShowInLegend":this._showInLegend=n.textContent.stimulsoft.toBoolean();break;case"Visible":this._visible=n.textContent.stimulsoft.toBoolean();break;case"Brush":case"bh":this.brush=l.convertToBrush(n.textContent);break;case"BorderColor":this._borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Size":this.size=n.textContent.stimulsoft.toNumber();break;case"Angle":this.angle=n.textContent.stimulsoft.toNumber();break;case"Type":this._type=u.parse(r.StiMarkerType,n.textContent);break;case"Icon":this.icon=u.parse(StiFontIcons,n.textContent);break}}},Object.defineProperty(h.prototype,"componentId",{get:function(){return t.StiComponentId.StiMarker},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),h.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return null!=this.core&&(e.core=this.core.clone(),e.core.marker=e),e},Object.defineProperty(h.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"showInLegend",{get:function(){return this._showInLegend},set:function(e){this._showInLegend=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"extendedVisible",{get:function(){return this._extendedVisible},set:function(e){this._extendedVisible=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,"borderColor",{get:function(){return this._borderColor},set:function(e){this._borderColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"size",{get:function(){return this._size},set:function(e){this._size=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"type",{get:function(){return this._type},set:function(e){this._type=e},enumerable:!1,configurable:!0}),h}();r.StiMarker=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.System.Drawing.Color,s=function(e){function s(){var t=e.call(this)||this;return t.step=15,t.visible=!1,t.borderColor=a.transparent,t.size=5,t}return __extends(s,e),s.prototype.implements=function(){return s.implementsStiLineMarker||(s.implementsStiLineMarker=e.prototype.implements.call(this).concat([n,r.IStiLineMarker,r.IStiMarker,o])),s.implementsStiLineMarker},s.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyNumber("Step",this.step,15),r.addPropertyNumber("Size",this.size,5),r.addPropertyBool("Visible",this.visible),r.addPropertyStringNullOrEmpty("BorderColor",i.Serialize.jColor(this.borderColor,a.transparent)),r},s.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"Step":this.step=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}}},s.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Step":this.step=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return t.StiComponentId.StiLineMarker},enumerable:!1,configurable:!0}),s}(r.StiMarker);r.StiLineMarker=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.StiJson,i=e.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0),this.jsonLoadFromJsonObjectArea=!1,this._allowApplyStyle=!0,this._visible=!0,this._visible=e,this._allowApplyStyle=t}return e.prototype.implements=function(){return e.implementsStiRadarAxis||(e.implementsStiRadarAxis=[i,t.IStiRadarAxis,n]),e.implementsStiRadarAxis},e.prototype.saveToJsonObject=function(e){var t=new r;return t.addPropertyBool("AllowApplyStyle",this._allowApplyStyle,!0),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 i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"AllowApplyStyle":this._allowApplyStyle=o.value.stimulsoft.toBoolean();break;case"Visible":this.visible=o.value.stimulsoft.toBoolean();break;case"Area":this.jsonLoadFromJsonObjectArea=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<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"AllowApplyStyle":this._allowApplyStyle=r.textContent.stimulsoft.toBoolean();break;case"Visible":this.visible=r.textContent.stimulsoft.toBoolean();break;case"Area":this.jsonLoadFromJsonObjectArea=r.textContent.stimulsoft.toBoolean();break}}},e.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return null!=this.core&&(e.core=this.core.clone(),e.core.axis=e),e},Object.defineProperty(e.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e,e&&null!=this.area&&null!=this.area.chart&&this.core.applyStyle(this.area.chart.style))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"area",{get:function(){return this._area},set:function(e){this._area=e},enumerable:!1,configurable:!0}),e}();t.StiRadarAxis=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.Base.Drawing.StiSolidBrush,s=e.Base.Drawing.StiBrush,l=e.System.Drawing.Color,u=e.System.Drawing.Font,c=function(){function c(e,r,i,n,o,s,c,h,p,f,m){void 0===e&&(e=""),void 0===r&&(r=new u("Tahoma",8)),void 0===i&&(i=!0),void 0===n&&(n=!1),void 0===o&&(o=l.black),void 0===s&&(s=l.black),void 0===c&&(c=new a(l.gainsboro)),void 0===h&&(h=!0),void 0===p&&(p=!0),void 0===f&&(f=0),void 0===m&&(m=!1),this._rotationLabels=!0,this._textBefore="",this._textAfter="",this._allowApplyStyle=!0,this._drawBorder=!1,this._format="",this._font=new u("Tahoma",8),this._antialiasing=!0,this._color=l.black,this._borderColor=l.black,this._brush=new a(l.gainsboro),this._width=0,this._wordWrap=!1,this._format=e,this._font=r,this._antialiasing=i,this._drawBorder=n,this._color=o,this._borderColor=s,this._allowApplyStyle=h,this._brush=c,this._rotationLabels=p,this._width=f,this._wordWrap=m,this._core=new t.StiRadarAxisLabelsCoreXF(this)}return c.prototype.implements=function(){return c.implementsStiRadarAxisLabels||(c.implementsStiRadarAxisLabels=[n,t.IStiRadarAxisLabels,o]),c.implementsStiRadarAxisLabels},c.prototype.saveToJsonObject=function(e){var t=new i;return t.addPropertyBool("RotationLabels",this._rotationLabels,!0),t.addPropertyStringNullOrEmpty("TextBefore",this._textBefore),t.addPropertyStringNullOrEmpty("TextAfter",this._textAfter),t.addPropertyBool("AllowApplyStyle",this._allowApplyStyle,!0),t.addPropertyBool("DrawBorder",this._drawBorder),t.addPropertyStringNullOrEmpty("Format",this._format),t.addPropertyStringNullOrEmpty("Font",r.Serialize.font(this._font,"Tahoma",8)),t.addPropertyBool("Antialiasing",this._antialiasing,!0),t.addPropertyStringNullOrEmpty("Color",r.Serialize.jColor(this._color,l.black)),t.addPropertyStringNullOrEmpty("BorderColor",r.Serialize.jColor(this._borderColor,l.black)),t.addPropertyStringNullOrEmpty("Brush",r.Serialize.jBrush(this._brush)),t.addPropertyNumber("Width",this._width,0),t.addPropertyBool("WordWrap",this._wordWrap),t},c.prototype.loadFromJsonObject=function(e){var t,i;try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"RotationLabels":this._rotationLabels=a.value.stimulsoft.toBoolean();break;case"TextBefore":this._textBefore=a.value.toString();break;case"TextAfter":this._textAfter=a.value.toString();break;case"AllowApplyStyle":this._allowApplyStyle=a.value.stimulsoft.toBoolean();break;case"DrawBorder":this._drawBorder=a.value.stimulsoft.toBoolean();break;case"Format":this._format=a.value.toString();break;case"Font":this._font=r.Deserialize.font(a.value.toString(),this._font);break;case"Antialiasing":this._antialiasing=a.value.stimulsoft.toBoolean();break;case"Color":this._color=r.Deserialize.color(a.value.toString());break;case"BorderColor":this._borderColor=r.Deserialize.color(a.value.toString());break;case"Brush":this._brush=r.Deserialize.brush(a.value.toString());break;case"Width":this._width=a.value.stimulsoft.toNumber();break;case"WordWrap":this._wordWrap=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}}},c.prototype.loadFromXml=function(t){for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"RotationLabels":this._rotationLabels=i.textContent.stimulsoft.toBoolean();break;case"TextBefore":this._textBefore=i.textContent;break;case"TextAfter":this._textAfter=i.textContent;break;case"AllowApplyStyle":this._allowApplyStyle=i.textContent.stimulsoft.toBoolean();break;case"DrawBorder":this._drawBorder=i.textContent.stimulsoft.toBoolean();break;case"Format":this._format=i.textContent;break;case"Font":case"fn":this._font=e.System.Convert.toFont(i.textContent);break;case"Antialiasing":this._antialiasing=i.textContent.stimulsoft.toBoolean();break;case"Color":this._color=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"BorderColor":this._borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"Brush":case"bh":this._brush=s.convertToBrush(i.textContent);break;case"Width":this._width=i.textContent.stimulsoft.toNumber();break;case"WordWrap":this._wordWrap=i.textContent.stimulsoft.toBoolean();break}}},c.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.font=this.font.clone(),e.brush=this.brush.clone(),null!=this.core&&(e.core=this.core.clone(),e.core.labels=e),e},Object.defineProperty(c.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"rotationLabels",{get:function(){return this._rotationLabels},set:function(e){this._rotationLabels=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"textBefore",{get:function(){return this._textBefore},set:function(e){this._textBefore=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"textAfter",{get:function(){return this._textAfter},set:function(e){this._textAfter=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"drawBorder",{get:function(){return this._drawBorder},set:function(e){this._drawBorder!=e&&(this._drawBorder=e)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"format",{get:function(){return this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"antialiasing",{get:function(){return this._antialiasing},set:function(e){this._antialiasing=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"borderColor",{get:function(){return this._borderColor},set:function(e){this._borderColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"wordWrap",{get:function(){return this._wordWrap},set:function(e){this._wordWrap=e},enumerable:!1,configurable:!0}),c}();t.StiRadarAxisLabels=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(t,i,n){void 0===t&&(t=new r.StiRadarAxisLabels),void 0===i&&(i=!0),void 0===n&&(n=!0);var o=e.call(this,i,n)||this;return o._labels=new r.StiRadarAxisLabels,o.core=new r.StiXRadarAxisCoreXF(o),o._labels=t,o}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiXRadarAxis||(o.implementsStiXRadarAxis=e.prototype.implements.call(this).concat([r.IStiXRadarAxis,r.IStiRadarAxis,n,i])),o.implementsStiXRadarAxis},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyJObject("Labels",this._labels.saveToJsonObject(t)),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"Labels":this._labels.loadFromJsonObject(a.value);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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Labels":this._labels.loadFromXml(i);break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiXRadarAxis},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),o.prototype.clone=function(){var t=e.prototype.clone.call(this);return t.labels=this.labels.clone(),t},Object.defineProperty(o.prototype,"xCore",{get:function(){return this.core},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"labels",{get:function(){return this._labels},set:function(e){this._labels=e},enumerable:!1,configurable:!0}),o}(r.StiRadarAxis);r.StiXRadarAxis=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.StiPenStyle,s=e.System.Enum,l=e.System.Drawing.Color,u=function(u){function c(e,t,i,n,o,s,c){void 0===e&&(e=new r.StiAxisLabels),void 0===t&&(t=new r.StiAxisTicks),void 0===i&&(i=a.Solid),void 0===n&&(n=l.gray),void 0===o&&(o=1),void 0===s&&(s=!0),void 0===c&&(c=!0);var h=u.call(this,s,c)||this;return h._labels=new r.StiAxisLabels,h._ticks=new r.StiAxisTicks,h._lineStyle=a.Solid,h._lineColor=l.gray,h._lineWidth=1,h._info=new r.StiAxisInfoXF,h.core=new r.StiYRadarAxisCoreXF(h),h._labels=e,h._ticks=t,h._lineStyle=i,h._lineColor=n,h._lineWidth=o,h}return __extends(c,u),c.prototype.implements=function(){return c.implementsStiYRadarAxis||(c.implementsStiYRadarAxis=u.prototype.implements.call(this).concat([r.IStiYRadarAxis,r.IStiRadarAxis,o,n])),c.implementsStiYRadarAxis},c.prototype.saveToJsonObject=function(e){var t=u.prototype.saveToJsonObject.call(this,e);return t.addPropertyJObject("Labels",this._labels.saveToJsonObject(e)),t.addPropertyJObject("Ticks",this._ticks.saveToJsonObject(e)),t.addPropertyEnum("LineStyle",a,this._lineStyle,a.Solid),t.addPropertyStringNullOrEmpty("LineColor",i.Serialize.jColor(this._lineColor,l.gray)),t.addPropertyNumber("LineWidth",this._lineWidth,1),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"Labels":this._labels.loadFromJsonObject(l.value);break;case"Ticks":this._ticks.loadFromJsonObject(l.value);break;case"LineStyle":this._lineStyle=s.parse(a,l.value.toString());break;case"LineColor":this._lineColor=i.Deserialize.color(l.value.toString());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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Labels":this._labels.loadFromXml(i);break;case"Ticks":this._ticks.loadFromXml(i);break;case"LineStyle":this._lineStyle=s.parse(a,i.textContent);break;case"LineColor":this._lineColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"LineWidth":this._lineWidth=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return t.StiComponentId.StiYRadarAxis},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),c.prototype.clone=function(){var e=u.prototype.clone.call(this);return e.lineStyle=this.lineStyle,e.labels=this.labels.clone(),e.ticks=this.ticks.clone(),e},Object.defineProperty(c.prototype,"yCore",{get:function(){return this.core},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"labels",{get:function(){return this._labels},set:function(e){this._labels=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"ticks",{get:function(){return this._ticks},set:function(e){this._ticks=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"lineStyle",{get:function(){return this._lineStyle},set:function(e){this._lineStyle=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"lineColor",{get:function(){return this._lineColor},set:function(e){this._lineColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"lineWidth",{get:function(){return this._lineWidth},set:function(e){this._lineWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"info",{get:function(){return this._info},set:function(e){this._info=e},enumerable:!1,configurable:!0}),c}(r.StiRadarAxis);r.StiYRadarAxis=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.System.StiArray,o=e.System.StiString,a=e.Report.Expressions.StiExpression,s=e.Base.StiJsonReportObjectHelper,l=e.Base.JsonReportObject.IStiJsonReportObject,u=e.System.ICloneable,c=e.System.Text.StringBuilder,h=e.Base.Drawing.StiSolidBrush,p=e.Base.Drawing.StiBrush,f=e.System.Drawing.Color,m=e.Report.Components.StiText,S=function(S){function g(){var e=S.call(this)||this;return e._borderColor=f.gray,e._brush=new h(f.gainsboro),e._weights=[1,3,2],e._weightDataColumn="",e._weight="",e._listOfWeights="",e.core=new r.StiBubbleSeriesCoreXF(e),e}return __extends(g,S),g.prototype.implements=function(){return g.implementsStiBubbleSeries||(g.implementsStiBubbleSeries=S.prototype.implements.call(this).concat([r.IStiBaseLineSeries,r.IStiBubbleSeries,r.IStiFontIconsSeries,r.IStiScatterSeries,l,r.IStiSeries,u])),g.implementsStiBubbleSeries},g.prototype.saveToJsonObject=function(e){var t=S.prototype.saveToJsonObject.call(this,e);return t.removeProperty("LineMarker"),t.removeProperty("Marker"),t.addPropertyString("BorderColor",s.Serialize.jColor(this._borderColor,f.gray)),t.addPropertyStringNullOrEmpty("Brush",s.Serialize.jBrush(this._brush)),t.addPropertyStringNullOrEmpty("WeightDataColumn",this._weightDataColumn),t.addPropertyJObject("Weight",new a(this.weight).saveToJsonObject(e)),t.addPropertyJObject("ListOfWeights",new a(this.listOfWeights).saveToJsonObject(e)),null!=this.icon&&t.addPropertyEnum("Icon",StiFontIcons,this.icon),t},g.prototype.loadFromJsonObject=function(e){var t,r;S.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"BorderColor":this._borderColor=s.Deserialize.color(l.value.toString());break;case"Brush":this._brush=s.Deserialize.brush(l.value.toString());break;case"WeightDataColumn":this._weightDataColumn=l.value.toString();break;case"GetWeightEvent":break;case"GetListOfWeightsEvent":break;case"Weight":var u;(u=new a).loadFromJsonObject(l.value),this.weight=u.value;break;case"ListOfWeights":var u;(u=new a).loadFromJsonObject(l.value),this.listOfWeights=u.value;break;case"Icon":this.icon=i.parse(StiFontIcons,l.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}}},g.prototype.loadFromXml=function(t){S.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"BorderColor":this._borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Brush":case"bh":this._brush=p.convertToBrush(n.textContent);break;case"WeightDataColumn":this._weightDataColumn=n.textContent.toString();break;case"GetWeightEvent":break;case"GetListOfWeightsEvent":break;case"Weight":var o;(o=new a).loadFromXml(n),this.weight=o.value;break;case"ListOfWeights":var o;(o=new a).loadFromXml(n),this.listOfWeights=o.value;break;case"Icon":this.icon=i.parse(StiFontIcons,n.textContent);break}}},Object.defineProperty(g.prototype,"componentId",{get:function(){return t.StiComponentId.StiBubbleSeries},enumerable:!1,configurable:!0}),g.prototype.clone=function(){var e;return S.prototype.clone.call(this)},g.prototype.getDefaultAreaType=function(){return r.StiBubbleArea},Object.defineProperty(g.prototype,"borderColor",{get:function(){return this._borderColor},set:function(e){this._borderColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"weights",{get:function(){if(null!=this.chart&&null!=this.chart.report&&this.chart.isDesigning){if(!o.isNullOrEmpty(this.listOfWeights))return r.StiSeries.getValuesFromString(this.listOfWeights);var e=this.chart.series.indexOf(this);if(0==e)return this._weights;return[3+3*e,5+4*e,9+3*e]}return this._weights},set:function(e){this._weights=e},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"weightsString",{get:function(){var e,t,r=new c,i=!0;try{for(var n=__values(this.weights),o=n.next();!o.done;o=n.next()){var a=o.value;i?r.appendFormat("{0}",a):r.appendFormat(";{0}",a),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._weights=[];else{var i=e.split(";");this._weights=n.create(Number,i.length);var o=0;try{for(var a=__values(i),s=a.next();!s.done;s=a.next()){var l=s.value;this._weights[o++]=l.stimulsoft.toNumber()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"weightDataColumn",{get:function(){return this._weightDataColumn},set:function(e){this._weightDataColumn=e},enumerable:!1,configurable:!0}),g.prototype.onGetWeight=function(e){},g.prototype.invokeGetWeight=function(r,i){try{this.onGetWeight(i),null!=this.getWeight&&this.getWeight(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series InvokeGetWeight...ERROR"),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series "+r)}},g.prototype.onGetListOfWeights=function(e){},g.prototype.invokeGetListOfWeights=function(r,i,n){try{if(this.onGetListOfWeights(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var o=new m;o.name="**ChartSeriesListOfWeights**",o.page=r.report.pages.getByIndex(0);var a=t.Engine.StiParser.StiParser.parseTextValue(n._listOfWeights,o);i.value=r.report.toString2(a)}null!=this.getListOfWeights&&this.getListOfWeights(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),"InvokeGetListOfWeights...Warning"),t.StiLogService.write(this.stimulsoft.getType(),r)}},Object.defineProperty(g.prototype,"weight",{get:function(){return this._weight},set:function(e){this._weight=e},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"listOfWeights",{get:function(){return this._listOfWeights},set:function(e){this._listOfWeights=e},enumerable:!1,configurable:!0}),g.prototype.createNew=function(){return new g},g}(r.StiScatterSeries);r.StiBubbleSeries=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.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=.9,e._borderColor=u.gray,e._brush=new s(u.gainsboro),e._brushNegative=new s(u.firebrick),e._allowApplyBrushNegative=!1,e.core=new r.StiClusteredColumnSeriesCoreXF(e),e}return __extends(h,c),h.prototype.implements=function(){return h.implementsStiClusteredColumnSeries||(h.implementsStiClusteredColumnSeries=c.prototype.implements.call(this).concat([o,r.IStiClusteredColumnSeries,r.IStiFontIconsSeries,a,r.IStiSeries,r.IStiAllowApplyBrushNegative,r.IStiShowZerosSeries])),h.implementsStiClusteredColumnSeries},h.prototype.saveToJsonObject=function(e){var t=c.prototype.saveToJsonObject.call(this,e);return t.addPropertyBool("ShowZeros",this.showZeros),t.addPropertyNumber("Width",this._width,.9),t.addPropertyStringNullOrEmpty("BorderColor",n.Serialize.jColor(this._borderColor,u.gray)),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<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"ShowZeros":this.showZeros=n.textContent.stimulsoft.toBoolean();break;case"Width":this._width=n.textContent.stimulsoft.toNumber();break;case"BorderColor":this._borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Brush":case"bh":this._brush=l.convertToBrush(n.textContent);break;case"BrushNegative":this.brushNegative=l.convertToBrush(n.textContent);break;case"AllowApplyBrushNegative":this.allowApplyBrushNegative=n.textContent.stimulsoft.toBoolean();break;case"Icon":this.icon=i.parse(StiFontIcons,n.textContent);break}}},Object.defineProperty(h.prototype,"componentId",{get:function(){return t.StiComponentId.StiClusteredColumnSeries},enumerable:!1,configurable:!0}),h.prototype.clone=function(){var e=c.prototype.clone.call(this);return e.brush=this.brush.clone(),e},h.prototype.getDefaultAreaType=function(){return r.StiClusteredColumnArea},h.prototype.createNew=function(){return new h},Object.defineProperty(h.prototype,"showZeros",{get:function(){return this._showZeros},set:function(e){this._showZeros=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"width",{get:function(){return this._width},set:function(e){e>=.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<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"TopmostLine":this._topmostLine=i.textContent.stimulsoft.toBoolean();break;case"Brush":case"bh":this._brush=s.convertToBrush(i.textContent);break;case"BrushNegative":this._brushNegative=s.convertToBrush(i.textContent);break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return t.StiComponentId.StiAreaSeries},enumerable:!1,configurable:!0}),u.prototype.clone=function(){var t=e.prototype.clone.call(this);return t.brush=this.brush.clone(),t},Object.defineProperty(u.prototype,"topmostLine",{get:function(){return this._topmostLine},set:function(e){this._topmostLine=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"brushNegative",{get:function(){return this._brushNegative},set:function(e){this.brushNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"allowApplyBrushNegative",{get:function(){return this._allowApplyBrushNegative},set:function(e){this._allowApplyBrushNegative=e},enumerable:!1,configurable:!0}),u.prototype.getDefaultAreaType=function(){return r.StiClusteredColumnArea},u.prototype.createNew=function(){return new u},u}(r.StiLineSeries);r.StiAreaSeries=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._width1=.98,t.core=new r.StiHistogramSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiHistogramSeries||(o.implementsStiHistogramSeries=e.prototype.implements.call(this).concat([i,r.IStiHistogramSeries,n,r.IStiSeries])),o.implementsStiHistogramSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiHistogramSeries},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiHistogramArea},o.prototype.createNew=function(){return new o},Object.defineProperty(o.prototype,"width",{get:function(){return this._width1},set:function(e){e>=.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<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"AllowApplyLineColor":this.allowApplyLineColor=i.textContent.stimulsoft.toBoolean();break;case"ShowZeros":this.showZeros=i.textContent.stimulsoft.toBoolean();break;case"Width":this._width=i.textContent.stimulsoft.toNumber();break;case"BorderColor":this._borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"Brush":case"bh":this._brush=s.convertToBrush(i.textContent);break;case"Marker":this._marker.loadFromXml(i);break;case"LineMarker":this.lineMarker.loadFromXml(i);break;case"LineColor":this.lineColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"LineStyle":this.lineStyle=h.parse(u,i.textContent);break;case"Lighting":this.lighting=i.textContent.stimulsoft.toBoolean();break;case"LineWidth":this.lineWidth=i.textContent.stimulsoft.toNumber();break;case"Icon":this.icon=h.parse(StiFontIcons,i.textContent);break}}},Object.defineProperty(f.prototype,"componentId",{get:function(){return t.StiComponentId.StiParetoSeries},enumerable:!1,configurable:!0}),f.prototype.clone=function(){var e=p.prototype.clone.call(this);return e.brush=this.brush.clone(),e.marker=this.marker.clone(),e.lineStyle=this.lineStyle,e},f.prototype.getDefaultAreaType=function(){return r.StiParetoArea},f.prototype.createNew=function(){return new f},Object.defineProperty(f.prototype,"showZeros",{get:function(){return this._showZeros},set:function(e){this._showZeros=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"width",{get:function(){return this._width},set:function(e){e>=.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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Tension":this._tension=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiSplineSeries},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiClusteredColumnArea},Object.defineProperty(o.prototype,"tension",{get:function(){return this._tension},set:function(e){this._tension=e},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiBaseLineSeries);r.StiSplineSeries=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.StiSplineAreaSeriesCoreXF(t),t}return __extends(u,e),u.prototype.implements=function(){return u.implementsStiSplineAreaSeries||(u.implementsStiSplineAreaSeries=e.prototype.implements.call(this).concat([r.IStiSplineSeries,r.IStiBaseLineSeries,n,r.IStiSeries,o,r.IStiSplineAreaSeries,r.IStiAllowApplyColorNegative])),u.implementsStiSplineAreaSeries},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<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"TopmostLine":this._topmostLine=i.textContent.stimulsoft.toBoolean();break;case"Brush":case"bh":this._brush=s.convertToBrush(i.textContent);break;case"BrushNegative":this._brushNegative=s.convertToBrush(i.textContent);break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return t.StiComponentId.StiSplineAreaSeries},enumerable:!1,configurable:!0}),u.prototype.clone=function(){var t=e.prototype.clone.call(this);return t.brush=this.brush.clone(),t},u.prototype.getDefaultAreaType=function(){return r.StiClusteredColumnArea},Object.defineProperty(u.prototype,"topmostLine",{get:function(){return this._topmostLine},set:function(e){this._topmostLine=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"brushNegative",{get:function(){return this._brushNegative},set:function(e){this.brushNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"allowApplyBrushNegative",{get:function(){return this._allowApplyBrushNegative},set:function(e){this._allowApplyBrushNegative=e},enumerable:!1,configurable:!0}),u.prototype.createNew=function(){return new u},u}(r.StiSplineSeries);r.StiSplineAreaSeries=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._pointAtCenter=!1,t.core=new r.StiSteppedLineSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiSteppedLineSeries||(o.implementsStiSteppedLineSeries=e.prototype.implements.call(this).concat([i,r.IStiBaseLineSeries,r.IStiSeries,n,r.IStiSteppedLineSeries,r.IStiAllowApplyColorNegative])),o.implementsStiSteppedLineSeries},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyBool("PointAtCenter",this._pointAtCenter),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"PointAtCenter":this._pointAtCenter=a.value.stimulsoft.toBoolean();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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"PointAtCenter":this._pointAtCenter=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiSteppedLineSeries},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiClusteredColumnArea},Object.defineProperty(o.prototype,"pointAtCenter",{get:function(){return this._pointAtCenter},set:function(e){this._pointAtCenter=e},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiBaseLineSeries);r.StiSteppedLineSeries=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.StiSteppedAreaSeriesCoreXF(t),t}return __extends(u,e),u.prototype.implements=function(){return u.implementsStiSteppedAreaSeries||(u.implementsStiSteppedAreaSeries=e.prototype.implements.call(this).concat([r.IStiSteppedLineSeries,r.IStiBaseLineSeries,n,r.IStiSteppedAreaSeries,r.IStiSeries,o,r.IStiAllowApplyColorNegative])),u.implementsStiSteppedAreaSeries},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<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"TopmostLine":this._topmostLine=i.textContent.stimulsoft.toBoolean();break;case"Brush":case"bh":this._brush=s.convertToBrush(i.textContent);break;case"BrushNegative":this._brushNegative=s.convertToBrush(i.textContent);break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return t.StiComponentId.StiSteppedAreaSeries},enumerable:!1,configurable:!0}),u.prototype.clone=function(){var t=e.prototype.clone.call(this);return t.brush=this.brush.clone(),t},u.prototype.getDefaultAreaType=function(){return r.StiClusteredColumnArea},Object.defineProperty(u.prototype,"topmostLine",{get:function(){return this._topmostLine},set:function(e){this._topmostLine=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"brushNegative",{get:function(){return this._brushNegative},set:function(e){this.brushNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"allowApplyBrushNegative",{get:function(){return this._allowApplyBrushNegative},set:function(e){this._allowApplyBrushNegative=e},enumerable:!1,configurable:!0}),u.prototype.createNew=function(){return new u},u}(r.StiSteppedLineSeries);r.StiSteppedAreaSeries=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.StiWaterfallSeriesCoreXF(t),t.connectorLine=new r.StiWaterfallConnectorLine,t.total=new r.StiWaterfallTotal,t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiWaterfallSeries||(o.implementsStiWaterfallSeries=e.prototype.implements.call(this).concat([i,r.IStiSunburstSeries,n,r.IStiSeries])),o.implementsStiWaterfallSeries},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyJObject("ConnectorLine",this.connectorLine.saveToJsonObject(t)),r.addPropertyJObject("Total",this.total.saveToJsonObject(t)),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"ConnectorLine":this.connectorLine.loadFromJsonObject(a.value);break;case"Total":this.total.loadFromJsonObject(a.value);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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"ConnectorLine":this.connectorLine.loadFromXml(i);break;case"Total":this.total.loadFromXml(i);break}}},o.prototype.clone=function(){var t=e.prototype.clone.call(this);return t.brush=this.brush.clone(),t},o.prototype.getDefaultAreaType=function(){return r.StiWaterfallArea},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiWaterfallSeries},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiClusteredColumnSeries);r.StiWaterfallSeries=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(e){var t=function(){function e(){}return e}();e.StiSeriesInteractionConverter=t}(t=e.Design||(e.Design={}))}(t=e.Components||(e.Components={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={})),function(e){var t;!function(t){var r;!function(r){var i=e.System.Enum,n=e.System.StiString,o=e.Report.Expressions.StiExpression,a=e.Base.StiJsonReportObjectHelper,s=e.Base.JsonReportObject.IStiJsonReportObject,l=e.System.ICloneable,u=e.Report.Components.StiText,c=e.Base.Drawing.StiSolidBrush,h=e.Base.Drawing.StiBrush,p=e.System.Drawing.Color,f=function(f){function m(){var e=f.call(this)||this;return e._allowApplyBrush=!0,e._allowApplyBorderColor=!0,e._startAngle=0,e._borderColor=p.gray,e._brush=new c(p.gainsboro),e._lighting=!0,e._diameter=0,e._distance=0,e._cutPieListValues=[],e._cutPieList="",e.core=new r.StiPieSeriesCoreXF(e),e}return __extends(m,f),m.prototype.implements=function(){return m.implementsStiPieSeries||(m.implementsStiPieSeries=f.prototype.implements.call(this).concat([r.IStiPieSeries,r.IStiFontIconsSeries,l,r.IStiSeries,s,r.IStiAllowApplyBorderColor,r.IStiAllowApplyBrush])),m.implementsStiPieSeries},m.prototype.saveToJsonObject=function(e){var t=f.prototype.saveToJsonObject.call(this,e);return t.removeProperty("TrendLine"),t.addPropertyBool("AllowApplyBrush",this._allowApplyBrush,!0),t.addPropertyBool("AllowApplyBorderColor",this._allowApplyBorderColor,!0),t.addPropertyNumber("StartAngle",this.startAngle,0),t.addPropertyStringNullOrEmpty("BorderColor",a.Serialize.jColor(this._borderColor,p.gray)),t.addPropertyStringNullOrEmpty("Brush",a.Serialize.jBrush(this._brush)),t.addPropertyBool("Lighting",this._lighting,!0),t.addPropertyNumber("Diameter",this.diameter,0),t.addPropertyNumber("Distance",this.distance,0),t.addPropertyJObject("CutPieList",new o(this._cutPieList).saveToJsonObject(e)),null!=this.icon&&t.addPropertyEnum("Icon",StiFontIcons,this.icon),t},m.prototype.loadFromJsonObject=function(e){var t,r;f.prototype.loadFromJsonObject.call(this,e);try{for(var n=__values(e.properties()),s=n.next();!s.done;s=n.next()){var l=s.value;switch(l.name){case"AllowApplyBrush":this._allowApplyBrush=l.value.stimulsoft.toBoolean();break;case"AllowApplyBorderColor":this._allowApplyBorderColor=l.value.stimulsoft.toBoolean();break;case"StartAngle":this.startAngle=l.value.stimulsoft.toNumber();break;case"BorderColor":this._borderColor=a.Deserialize.color(l.value.toString());break;case"Brush":this._brush=a.Deserialize.brush(l.value.toString());break;case"Lighting":this._lighting=l.value.stimulsoft.toBoolean();break;case"Diameter":this.diameter=l.value.stimulsoft.toNumber();break;case"Distance":this.distance=l.value.stimulsoft.toNumber();break;case"CutPieList":var u=new o;u.loadFromJsonObject(l.value),this._cutPieList=u.value;break;case"GetCutPieListEvent":break;case"Icon":this.icon=i.parse(StiFontIcons,l.value.toString());break}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},m.prototype.loadFromXml=function(t){f.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"AllowApplyBrush":this._allowApplyBrush=n.textContent.stimulsoft.toBoolean();break;case"AllowApplyBorderColor":this._allowApplyBorderColor=n.textContent.stimulsoft.toBoolean();break;case"StartAngle":this.startAngle=n.textContent.stimulsoft.toNumber();break;case"BorderColor":this._borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Brush":case"bh":this._brush=h.convertToBrush(n.textContent);break;case"Lighting":this._lighting=n.textContent.stimulsoft.toBoolean();break;case"Diameter":this.diameter=n.textContent.stimulsoft.toNumber();break;case"Distance":this.distance=n.textContent.stimulsoft.toNumber();break;case"CutPieList":var a=new o;a.loadFromXml(n),this._cutPieList=a.value;break;case"GetCutPieListEvent":break;case"Icon":this.icon=i.parse(StiFontIcons,n.textContent);break}}},Object.defineProperty(m.prototype,"componentId",{get:function(){return t.StiComponentId.StiPieSeries},enumerable:!1,configurable:!0}),m.prototype.clone=function(){var e;return f.prototype.clone.call(this)},m.prototype.getDefaultAreaType=function(){return r.StiPieArea},Object.defineProperty(m.prototype,"allowApplyBrush",{get:function(){return this._allowApplyBrush},set:function(e){this._allowApplyBrush!=e&&(this._allowApplyBrush=e)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"allowApplyBorderColor",{get:function(){return this._allowApplyBorderColor},set:function(e){this._allowApplyBorderColor!=e&&(this._allowApplyBorderColor=e)},enumerable:!1,configurable:!0}),m.prototype.getArguments=function(){var e=f.prototype.getArguments.call(this);if(0==e.length&&null!=this.chart&&null!=this.chart.report&&this.chart.report.isDesigning)return["Arg1","Arg2","Arg3"];return e},m.prototype.setArguments=function(e){f.prototype.setArguments.call(this,e)},Object.defineProperty(m.prototype,"startAngle",{get:function(){return this._startAngle},set:function(e){this._startAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"borderColor",{get:function(){return this._borderColor},set:function(e){this._borderColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"lighting",{get:function(){return this._lighting},set:function(e){this._lighting=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"diameter",{get:function(){return this._diameter},set:function(e){this._diameter=e,e<5&&(this._diameter=0)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"distance",{get:function(){return this._distance},set:function(e){this._distance=Math.max(0,e)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"cutPieListValues",{get:function(){if(null!=this.chart&&null!=this.chart.report&&this.chart.isDesigning){if(!n.isNullOrEmpty(this.cutPieList))return r.StiSeries.getValuesFromString(this.cutPieList);return[]}return this._cutPieListValues},set:function(e){this._cutPieListValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"cuttedPieList",{get:function(){return this.cutPieList},set:function(e){this.cutPieList=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"cutPieList",{get:function(){return this._cutPieList},set:function(e){this._cutPieList=e},enumerable:!1,configurable:!0}),m.prototype.onGetCutPieList=function(e){},m.prototype.invokeGetCutPieList=function(r,i){try{if(this.onGetCutPieList(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var o=new u;o.name="**ChartPieSeriesCutPieList**",o.page=r.report.pages.getByIndex(0);var a=t.Engine.StiParser.StiParser.parseTextValue(this.cutPieList,o);i.value=r.report.toString2(a)}null!=this.getCutPieList&&this.getCutPieList(r,i)}catch(r){e.System.StiError.showError(r.message,!1);var s=n.format("Expression in GetCutPieList 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)}},m.prototype.createNew=function(){return new m},m}(r.StiSeries);r.StiPieSeries=f}(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.width=0,t.core=new r.StiDoughnutSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiDoughnutSeries||(o.implementsStiDoughnutSeries=e.prototype.implements.call(this).concat([r.IStiPieSeries,r.IStiSeries,n,r.IStiDoughnutSeries,i,r.IStiAllowApplyBorderColor,r.IStiAllowApplyBrush])),o.implementsStiDoughnutSeries},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyNumber("Width",this.width,0),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"Width":this.width=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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Width":this.width=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiDoughnutSeries},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiDoughnutArea},o.prototype.createNew=function(){return new o},o}(r.StiPieSeries);r.StiDoughnutSeries=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.StiJsonReportObjectHelper,s=e.Base.JsonReportObject.IStiJsonReportObject,l=e.System.ICloneable,u=e.Report.Components.StiText,c=e.System.Text.StringBuilder,h=e.Base.Drawing.StiSolidBrush,p=e.Base.Drawing.StiBrush,f=e.System.Drawing.Color,m=function(m){function S(){var e=m.call(this)||this;return e._valuesOpen=[4,7,5],e._valuesClose=[2,3,5],e._valuesHigh=[6,9,7],e._valuesLow=[1,3,4],e._valueDataColumnOpen="",e._valueDataColumnClose="",e._valueDataColumnHigh="",e._valueDataColumnLow="",e._borderColor=f.gray,e._borderColorNegative=f.gray,e._borderWidth=2,e._brush=new h(f.gainsboro),e._brushNegative=new h(f.transparent),e.valueObjOpen="",e._listOfValuesOpen="",e.valueObjClose="",e._listOfValuesClose="",e.valueObjHigh="",e._listOfValuesHigh="",e.valueObjLow="",e._listOfValuesLow="",e.core=new r.StiCandlestickSeriesCoreXF(e),e}return __extends(S,m),S.prototype.implements=function(){return S.implementsStiCandlestickSeries||(S.implementsStiCandlestickSeries=m.prototype.implements.call(this).concat([s,r.IStiSeries,r.IStiFinancialSeries,l,r.IStiCandlestickSeries])),S.implementsStiCandlestickSeries},S.prototype.saveToJsonObject=function(e){var t=m.prototype.saveToJsonObject.call(this,e);return t.removeProperty("TopN"),t.removeProperty("TrendLine"),t.removeProperty("ValueDataColumn"),t.removeProperty("Value"),t.removeProperty("ListOfValues"),t.addPropertyStringNullOrEmpty("ValueDataColumnOpen",this._valueDataColumnOpen),t.addPropertyStringNullOrEmpty("ValueDataColumnClose",this._valueDataColumnClose),t.addPropertyStringNullOrEmpty("ValueDataColumnHigh",this._valueDataColumnHigh),t.addPropertyStringNullOrEmpty("ValueDataColumnLow",this._valueDataColumnLow),t.addPropertyStringNullOrEmpty("BorderColor",a.Serialize.jColor(this.borderColor,f.gray)),t.addPropertyStringNullOrEmpty("BorderColorNegative",a.Serialize.jColor(this.borderColorNegative,f.gray)),t.addPropertyNumber("BorderWidth",this.borderWidth,2),t.addPropertyStringNullOrEmpty("Brush",a.Serialize.jBrush(this.brush)),t.addPropertyStringNullOrEmpty("BrushNegative",a.Serialize.jBrush(this.brushNegative)),t.addPropertyJObject("ValueOpen",new o(this.valueOpen).saveToJsonObject(e)),t.addPropertyJObject("ListOfValuesOpen",new o(this.listOfValuesOpen).saveToJsonObject(e)),t.addPropertyJObject("ValueClose",new o(this.valueClose).saveToJsonObject(e)),t.addPropertyJObject("ListOfValuesClose",new o(this.listOfValuesClose).saveToJsonObject(e)),t.addPropertyJObject("ValueHigh",new o(this.valueHigh).saveToJsonObject(e)),t.addPropertyJObject("ListOfValuesHigh",new o(this.listOfValuesHigh).saveToJsonObject(e)),t.addPropertyJObject("ValueLow",new o(this.valueLow).saveToJsonObject(e)),t.addPropertyJObject("ListOfValuesLow",new o(this.listOfValuesLow).saveToJsonObject(e)),t},S.prototype.loadFromJsonObject=function(e){var t,r;m.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var s=n.value;switch(s.name){case"ValueDataColumnOpen":this._valueDataColumnOpen=s.value.toString();break;case"ValueDataColumnClose":this._valueDataColumnClose=s.value.toString();break;case"ValueDataColumnHigh":this._valueDataColumnHigh=s.value.toString();break;case"ValueDataColumnLow":this._valueDataColumnLow=s.value.toString();break;case"BorderColor":this.borderColor=a.Deserialize.color(s.value.toString());break;case"BorderColorNegative":this.borderColorNegative=a.Deserialize.color(s.value.toString());break;case"BorderWidth":this.borderWidth=s.value.stimulsoft.toNumber();break;case"Brush":this.brush=a.Deserialize.brush(s.value.toString());break;case"BrushNegative":this.brushNegative=a.Deserialize.brush(s.value.toString());break;case"GetValueOpenEvent":break;case"GetListOfValuesOpenEvent":break;case"GetValueCloseEvent":break;case"GetListOfValuesCloseEvent":break;case"GetValueHighEvent":break;case"GetListOfValuesHighEvent":break;case"GetValueLowEvent":break;case"GetListOfValuesLowEvent":break;case"ValueOpen":var l;(l=new o).loadFromJsonObject(s.value),this.valueOpen=l.value;break;case"ListOfValuesOpen":var l;(l=new o).loadFromJsonObject(s.value),this.listOfValuesOpen=l.value;break;case"ValueClose":var l;(l=new o).loadFromJsonObject(s.value),this.valueClose=l.value;break;case"ListOfValuesClose":var l;(l=new o).loadFromJsonObject(s.value),this.listOfValuesClose=l.value;break;case"ValueHigh":var l;(l=new o).loadFromJsonObject(s.value),this.valueHigh=l.value;break;case"ListOfValuesHigh":var l;(l=new o).loadFromJsonObject(s.value),this.listOfValuesHigh=l.value;break;case"ValueLow":var l;(l=new o).loadFromJsonObject(s.value),this.valueLow=l.value;break;case"ListOfValuesLow":var l;(l=new o).loadFromJsonObject(s.value),this.listOfValuesLow=l.value;break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},S.prototype.loadFromXml=function(t){m.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"ValueDataColumnOpen":this._valueDataColumnOpen=i.textContent;break;case"ValueDataColumnClose":this._valueDataColumnClose=i.textContent;break;case"ValueDataColumnHigh":this._valueDataColumnHigh=i.textContent;break;case"ValueDataColumnLow":this._valueDataColumnLow=i.textContent;break;case"BorderColor":this.borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"BorderColorNegative":this.borderColorNegative=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"BorderWidth":this.borderWidth=i.textContent.stimulsoft.toNumber();break;case"Brush":case"bh":this.brush=p.loadFromXml(i.textContent);break;case"BrushNegative":this.brushNegative=p.loadFromXml(i.textContent);break;case"GetValueOpenEvent":break;case"GetListOfValuesOpenEvent":break;case"GetValueCloseEvent":break;case"GetListOfValuesCloseEvent":break;case"GetValueHighEvent":break;case"GetListOfValuesHighEvent":break;case"GetValueLowEvent":break;case"GetListOfValuesLowEvent":break;case"ValueOpen":var n;(n=new o).loadFromXml(i),this.valueOpen=n.value;break;case"ListOfValuesOpen":var n;(n=new o).loadFromXml(i),this.listOfValuesOpen=n.value;break;case"ValueClose":var n;(n=new o).loadFromXml(i),this.valueClose=n.value;break;case"ListOfValuesClose":var n;(n=new o).loadFromXml(i),this.listOfValuesClose=n.value;break;case"ValueHigh":var n;(n=new o).loadFromXml(i),this.valueHigh=n.value;break;case"ListOfValuesHigh":var n;(n=new o).loadFromXml(i),this.listOfValuesHigh=n.value;break;case"ValueLow":var n;(n=new o).loadFromXml(i),this.valueLow=n.value;break;case"ListOfValuesLow":var n;(n=new o).loadFromXml(i),this.listOfValuesLow=n.value;break}}},Object.defineProperty(S.prototype,"componentId",{get:function(){return t.StiComponentId.StiCandlestickSeries},enumerable:!1,configurable:!0}),S.prototype.clone=function(){var e;return m.prototype.clone.call(this)},S.prototype.getDefaultAreaType=function(){return r.StiCandlestickArea},Object.defineProperty(S.prototype,"valuesOpen",{get:function(){if(null!=this.chart&&null!=this.chart.report&&this.chart.isDesigning){if(!n.isNullOrEmpty(this.listOfValuesOpen))return r.StiSeries.getNullableValuesFromString(this,this.listOfValuesOpen);var e=this.chart.series.indexOf(this);if(0==e)return this._valuesOpen;return[4+7*e,7+7*e,5+7*e]}return this._valuesOpen},set:function(e){this._valuesOpen=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valuesClose",{get:function(){if(null!=this.chart&&null!=this.chart.report&&this.chart.isDesigning){if(!n.isNullOrEmpty(this.listOfValuesClose))return r.StiSeries.getNullableValuesFromString(this,this.listOfValuesClose);var e=this.chart.series.indexOf(this);if(0==e)return this._valuesClose;return[2+7*e,3+7*e,5+7*e]}return this._valuesClose},set:function(e){this._valuesClose=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valuesStringOpen",{get:function(){var e,t,r=new c,i=!0;try{for(var n=__values(this.valuesOpen),o=n.next();!o.done;o=n.next()){var a=o.value;i?r.appendFormat("{0}",a):r.appendFormat(";{0}",a),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.valuesOpen=[];else{var n=e.split(";");this.valuesOpen=i.create(Number,n.length);var o=0;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;this.valuesOpen[o++]=l.stimulsoft.toNumber()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valuesStringClose",{get:function(){var e,t,r=new c,i=!0;try{for(var n=__values(this.valuesClose),o=n.next();!o.done;o=n.next()){var a=o.value;i?r.appendFormat("{0}",a):r.appendFormat(";{0}",a),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.valuesClose=[];else{var n=e.split(";");this.valuesClose=i.create(Number,n.length);var o=0;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;this.valuesClose[o++]=l.stimulsoft.toNumber()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valuesStringHigh",{get:function(){var e,t,r=new c,i=!0;try{for(var n=__values(this.valuesHigh),o=n.next();!o.done;o=n.next()){var a=o.value;i?r.appendFormat("{0}",a):r.appendFormat(";{0}",a),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.valuesHigh=[];else{var n=e.split(";");this.valuesHigh=i.create(Number,n.length);var o=0;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;this.valuesHigh[o++]=l.stimulsoft.toNumber()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valuesStringLow",{get:function(){var e,t,r=new c,i=!0;try{for(var n=__values(this.valuesLow),o=n.next();!o.done;o=n.next()){var a=o.value;i?r.appendFormat("{0}",a):r.appendFormat(";{0}",a),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.valuesLow=[];else{var n=e.split(";");this.valuesLow=i.create(Number,n.length);var o=0;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;this.valuesLow[o++]=l.stimulsoft.toNumber()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valuesHigh",{get:function(){if(null!=this.chart&&null!=this.chart.report&&this.chart.isDesigning){if(!n.isNullOrEmpty(this.listOfValuesHigh))return r.StiSeries.getNullableValuesFromString(this,this.listOfValuesHigh);var e=this.chart.series.indexOf(this);if(0==e)return this._valuesHigh;return[6+7*e,9+7*e,7+7*e]}return this._valuesHigh},set:function(e){this._valuesHigh=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valuesLow",{get:function(){if(null!=this.chart&&null!=this.chart.report&&this.chart.isDesigning){if(!n.isNullOrEmpty(this.listOfValuesLow))return r.StiSeries.getNullableValuesFromString(this,this.listOfValuesLow);var e=this.chart.series.indexOf(this);if(0==e)return this._valuesLow;return[1+7*e,3+7*e,4+7*e]}return this._valuesLow},set:function(e){this._valuesLow=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valueDataColumnOpen",{get:function(){return this._valueDataColumnOpen},set:function(e){this._valueDataColumnOpen=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valueDataColumnClose",{get:function(){return this._valueDataColumnClose},set:function(e){this._valueDataColumnClose=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valueDataColumnHigh",{get:function(){return this._valueDataColumnHigh},set:function(e){this._valueDataColumnHigh=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valueDataColumnLow",{get:function(){return this._valueDataColumnLow},set:function(e){this._valueDataColumnLow=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"borderColor",{get:function(){return this._borderColor},set:function(e){this._borderColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"borderColorNegative",{get:function(){return this._borderColorNegative},set:function(e){this._borderColorNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"borderWidth",{get:function(){return this._borderWidth},set:function(e){e>0&&(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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"LineColor":this.lineColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"LineStyle":this.lineStyle=s.parse(a,i.textContent);break;case"LineWidth":this.lineWidth=i.textContent.stimulsoft.toNumber();break;case"LineColorNegative":this.lineColorNegative=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"AllowApplyColorNegative":this.allowApplyColorNegative=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return t.StiComponentId.StiStockSeries},enumerable:!1,configurable:!0}),c.prototype.clone=function(){var e;return u.prototype.clone.call(this)},c.prototype.getDefaultAreaType=function(){return r.StiStockArea},Object.defineProperty(c.prototype,"lineColor",{get:function(){return this._lineColor},set:function(e){this._lineColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"lineStyle",{get:function(){return this._lineStyle},set:function(e){this._lineStyle=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"lineWidth",{get:function(){return this._lineWidth},set:function(e){e>0&&(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<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"ShowZeros":this.showZeros=n.textContent.stimulsoft.toBoolean();break;case"Width":this._width=n.textContent.stimulsoft.toNumber();break;case"BorderColor":this._borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Brush":case"bh":this._brush=l.loadFromXml(n.textContent);break;case"BrushNegative":this._brushNegative=l.loadFromXml(n.textContent);break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=n.textContent.stimulsoft.toBoolean();break;case"Icon":this.icon=i.parse(StiFontIcons,n.textContent);break}}},Object.defineProperty(h.prototype,"componentId",{get:function(){return t.StiComponentId.StiStackedBarSeries},enumerable:!1,configurable:!0}),h.prototype.clone=function(){var e=c.prototype.clone.call(this);return e.brush=this.brush.clone(),e},h.prototype.getDefaultAreaType=function(){return r.StiStackedBarArea},Object.defineProperty(h.prototype,"showZeros",{get:function(){return this._showZeros},set:function(e){this._showZeros=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"width",{get:function(){return this._width},set:function(e){e>=.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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"ShowNulls":this._showNulls=i.textContent.stimulsoft.toBoolean();break;case"Marker":this._marker.loadFromXml(i);break;case"LineMarker":this.lineMarker.loadFromXml(i);break;case"Lighting":this._lighting=i.textContent.stimulsoft.toBoolean();break;case"LineColor":this._lineColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"LineWidth":this._lineWidth=i.textContent.stimulsoft.toNumber();break;case"LineStyle":this._lineStyle=u.parse(s,i.textContent.toString());break;case"LineColorNegative":this.lineColorNegative=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"AllowApplyColorNegative":this._allowApplyColorNegative=i.textContent.stimulsoft.toBoolean();break}}},p.prototype.clone=function(){var e=h.prototype.clone.call(this);return e.lineStyle=this.lineStyle,e},Object.defineProperty(p.prototype,"showNulls",{get:function(){return this._showNulls},set:function(e){this._showNulls=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"showMarker",{get:function(){return this.marker.visible},set:function(e){this.marker.visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"markerColor",{get:function(){return l.toColor(this.marker.brush)},set:function(e){this.marker.brush=new a(e),this.marker.borderColor=o.dark(e,50)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"markerSize",{get:function(){return this.marker.size},set:function(e){this.marker.size=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"markerType",{get:function(){return this.marker.type},set:function(e){this.marker.type=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"marker",{get:function(){return this._marker},set:function(e){this._marker=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"lineMarker",{get:function(){return this._lineMarker},set:function(e){this._lineMarker=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"lighting",{get:function(){return this._lighting},set:function(e){this._lighting=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"lineColor",{get:function(){return this._lineColor},set:function(e){this._lineColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"lineWidth",{get:function(){return this._lineWidth},set:function(e){e>0&&(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<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Brush":case"bh":this._brush=s.loadFromXml(i.textContent);break;case"BrushNegative":this._brushNegative=s.loadFromXml(i.textContent);break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return t.StiComponentId.StiStackedAreaSeries},enumerable:!1,configurable:!0}),u.prototype.clone=function(){var t=e.prototype.clone.call(this);return t.brush=this.coreBrush.clone(),t},u.prototype.getDefaultAreaType=function(){return r.StiStackedColumnArea},Object.defineProperty(u.prototype,"coreBrush",{get:function(){return this.brush},set:function(e){this.brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"brushNegative",{get:function(){return this._brushNegative},set:function(e){this.brushNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"allowApplyBrushNegative",{get:function(){return this._allowApplyBrushNegative},set:function(e){this._allowApplyBrushNegative=e},enumerable:!1,configurable:!0}),u.prototype.createNew=function(){return new u},u}(r.StiStackedLineSeries);r.StiStackedAreaSeries=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.StiFullStackedAreaSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFullStackedAreaSeries||(o.implementsStiFullStackedAreaSeries=e.prototype.implements.call(this).concat([r.IStiStackedAreaSeries,r.IStiStackedBaseLineSeries,r.IStiSeries,i,r.IStiFullStackedAreaSeries,r.IStiStackedLineSeries,n,r.IStiAllowApplyBrushNegative])),o.implementsStiFullStackedAreaSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFullStackedAreaSeries},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiFullStackedColumnArea},o.prototype.createNew=function(){return new o},o}(r.StiStackedAreaSeries);r.StiFullStackedAreaSeries=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.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.StiStackedColumnSeriesCoreXF(e),e}return __extends(h,c),h.prototype.implements=function(){return h.implementsStiStackedColumnSeries||(h.implementsStiStackedColumnSeries=c.prototype.implements.call(this).concat([o,r.IStiStackedColumnSeries,r.IStiFontIconsSeries,a,r.IStiSeries,r.IStiAllowApplyBrushNegative,r.IStiShowZerosSeries])),h.implementsStiStackedColumnSeries},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<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"ShowZeros":this.showZeros=n.textContent.stimulsoft.toBoolean();break;case"Width":this._width=n.textContent.stimulsoft.toNumber();break;case"BorderColor":this._borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Brush":case"bh":this._brush=l.convertToBrush(n.textContent);break;case"BrushNegative":this._brushNegative=l.convertToBrush(n.textContent);break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=n.textContent.stimulsoft.toBoolean();break;case"Icon":this.icon=i.parse(StiFontIcons,n.textContent);break}}},Object.defineProperty(h.prototype,"componentId",{get:function(){return t.StiComponentId.StiStackedColumnSeries},enumerable:!1,configurable:!0}),h.prototype.clone=function(){var e=c.prototype.clone.call(this);return e.brush=this.brush.clone(),e},Object.defineProperty(h.prototype,"showZeros",{get:function(){return this._showZeros},set:function(e){this._showZeros=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"width",{get:function(){return this._width},set:function(e){e>=.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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Tension":this._tension=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiStackedSplineSeries},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"tension",{get:function(){return this._tension},set:function(e){this._tension=e},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiStackedColumnArea},o.prototype.createNew=function(){return new o},o}(r.StiStackedBaseLineSeries);r.StiStackedSplineSeries=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.StiStackedSplineAreaSeriesCoreXF(t),t}return __extends(u,e),u.prototype.implements=function(){return u.implementsStiStackedSplineAreaSeries||(u.implementsStiStackedSplineAreaSeries=e.prototype.implements.call(this).concat([r.IStiStackedSplineSeries,r.IStiStackedBaseLineSeries,r.IStiStackedSplineAreaSeries,n,r.IStiSeries,o,r.IStiAllowApplyBrushNegative])),u.implementsStiStackedSplineAreaSeries},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<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Brush":case"bh":this._brush=s.convertToBrush(i.textContent);break;case"BrushNegative":this._brushNegative=s.convertToBrush(i.textContent);break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return t.StiComponentId.StiStackedSplineAreaSeries},enumerable:!1,configurable:!0}),u.prototype.clone=function(){var t=e.prototype.clone.call(this);return t.brush=this.brush.clone(),t},Object.defineProperty(u.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"brushNegative",{get:function(){return this._brushNegative},set:function(e){this.brushNegative=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"allowApplyBrushNegative",{get:function(){return this._allowApplyBrushNegative},set:function(e){this._allowApplyBrushNegative=e},enumerable:!1,configurable:!0}),u.prototype.getDefaultAreaType=function(){return r.StiStackedColumnArea},u.prototype.createNew=function(){return new u},u}(r.StiStackedSplineSeries);r.StiStackedSplineAreaSeries=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.StiFullStackedSplineAreaSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFullStackedSplineAreaSeries||(o.implementsStiFullStackedSplineAreaSeries=e.prototype.implements.call(this).concat([r.IStiStackedSplineSeries,r.IStiFullStackedSplineAreaSeries,r.IStiStackedBaseLineSeries,r.IStiStackedSplineAreaSeries,i,r.IStiSeries,n,r.IStiAllowApplyBrushNegative])),o.implementsStiFullStackedSplineAreaSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFullStackedSplineAreaSeries},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiFullStackedColumnArea},o.prototype.createNew=function(){return new o},o}(r.StiStackedSplineAreaSeries);r.StiFullStackedSplineAreaSeries=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.StiFullStackedSplineSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFullStackedSplineSeries||(o.implementsStiFullStackedSplineSeries=e.prototype.implements.call(this).concat([r.IStiStackedSplineSeries,r.IStiStackedBaseLineSeries,r.IStiFullStackedSplineSeries,i,r.IStiSeries,n,r.IStiAllowApplyColorNegative])),o.implementsStiFullStackedSplineSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFullStackedSplineSeries},enumerable:!1,configurable:!0}),o.prototype.getDefaultAreaType=function(){return r.StiFullStackedColumnArea},o.prototype.createNew=function(){return new o},o}(r.StiStackedSplineSeries);r.StiFullStackedSplineSeries=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.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._allowApplyBrush=!0,e._allowApplyBorderColor=!0,e._brush=new s(u.gainsboro),e._borderColor=u.gray,e.core=new r.StiFunnelSeriesCoreXF(e),e}return __extends(h,c),h.prototype.implements=function(){return h.implementsStiFunnelSeries||(h.implementsStiFunnelSeries=c.prototype.implements.call(this).concat([o,r.IStiFunnelSeries,r.IStiFontIconsSeries,r.IStiSeries,a,r.IStiShowZerosSeries])),h.implementsStiFunnelSeries},h.prototype.saveToJsonObject=function(e){var t=c.prototype.saveToJsonObject.call(this,e);return t.removeProperty("TrendLine"),t.addPropertyBool("ShowZeros",this.showZeros),t.addPropertyBool("AllowApplyBrush",this._allowApplyBrush,!0),t.addPropertyBool("AllowApplyBorderColor",this._allowApplyBorderColor,!0),t.addPropertyStringNullOrEmpty("Brush",n.Serialize.jBrush(this._brush)),t.addPropertyStringNullOrEmpty("BorderColor",n.Serialize.jColor(this._borderColor,u.gray)),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"AllowApplyBrush":this._allowApplyBrush=s.value.stimulsoft.toBoolean();break;case"AllowApplyBorderColor":this._allowApplyBorderColor=s.value.stimulsoft.toBoolean();break;case"Brush":this._brush=n.Deserialize.brush(s.value.toString());break;case"BorderColor":this._borderColor=n.Deserialize.color(s.value.toString());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<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"ShowZeros":this.showZeros=n.textContent.stimulsoft.toBoolean();break;case"AllowApplyBrush":this._allowApplyBrush=n.textContent.stimulsoft.toBoolean();break;case"AllowApplyBorderColor":this._allowApplyBorderColor=n.textContent.stimulsoft.toBoolean();break;case"Brush":case"bh":this._brush=l.loadFromXml(n.textContent);break;case"BorderColor":this._borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Icon":this.icon=i.parse(StiFontIcons,n.textContent);break}}},Object.defineProperty(h.prototype,"componentId",{get:function(){return t.StiComponentId.StiFunnelSeries},enumerable:!1,configurable:!0}),h.prototype.clone=function(){var e;return c.prototype.clone.call(this)},h.prototype.getDefaultAreaType=function(){return r.StiFunnelArea},Object.defineProperty(h.prototype,"showZeros",{get:function(){return this._showZeros},set:function(e){this._showZeros=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"allowApplyBrush",{get:function(){return this._allowApplyBrush},set:function(e){this._allowApplyBrush!=e&&(this._allowApplyBrush=e)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"allowApplyBorderColor",{get:function(){return this._allowApplyBorderColor},set:function(e){this._allowApplyBorderColor!=e&&(this._allowApplyBorderColor=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,"borderColor",{get:function(){return this._borderColor},set:function(e){this._borderColor=e},enumerable:!1,configurable:!0}),h.prototype.createNew=function(){return new h},h}(r.StiSeries);r.StiFunnelSeries=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.StiFunnelWeightedSlicesSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiFunnelWeightedSlicesSeries||(o.implementsStiFunnelWeightedSlicesSeries=e.prototype.implements.call(this).concat([i,r.IStiFunnelSeries,r.IStiFunnelWeightedSlicesSeries,r.IStiSeries,n])),o.implementsStiFunnelWeightedSlicesSeries},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiFunnelWeightedSlicesSeries},enumerable:!1,configurable:!0}),o.prototype.clone=function(){var t;return e.prototype.clone.call(this)},o.prototype.getDefaultAreaType=function(){return r.StiFunnelWeightedSlicesArea},o.prototype.createNew=function(){return new o},o}(r.StiFunnelSeries);r.StiFunnelWeightedSlicesSeries=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.StiGanttSeriesCoreXF(e),e}return __extends(h,c),h.prototype.implements=function(){return h.implementsStiGanttSeries||(h.implementsStiGanttSeries=c.prototype.implements.call(this).concat([r.IStiClusteredColumnSeries,r.IStiClusteredBarSeries,r.IStiRangeSeries,a,r.IStiSeries,r.IStiGanttSeries,s,r.IStiAllowApplyBrushNegative])),h.implementsStiGanttSeries},h.prototype.saveToJsonObject=function(e){var t=c.prototype.saveToJsonObject.call(this,e);return t.removeProperty("TopN"),t.removeProperty("TrendLine"),t.addPropertyString("ValueDataColumnEnd",this._valueDataColumnEnd),t.addPropertyJObject("ValueEnd",new o(this.valueEnd).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"ValueEnd":var s;(s=new o).loadFromJsonObject(a.value),this.valueEnd=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;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"ValueDataColumnEnd":this._valueDataColumnEnd=r.textContent.toString();break;case"GetValueEndEvent":break;case"GetListOfValuesEndEvent":break;case"ValueEnd":var i;(i=new o).loadFromXml(r),this.valueEnd=i.value;break;case"ListOfValuesEnd":var i;(i=new o).loadFromXml(r),this.listOfValuesEnd=i.value;break}}},Object.defineProperty(h.prototype,"componentId",{get:function(){return t.StiComponentId.StiGanttSeries},enumerable:!1,configurable:!0}),h.prototype.clone=function(){var e;return c.prototype.clone.call(this)},h.prototype.getDefaultAreaType=function(){return r.StiGanttArea},Object.defineProperty(h.prototype,"valuesEnd",{get:function(){if(null!=this.chart&&null!=this.chart.report&&this.chart.isDesigning){if(!n.isNullOrEmpty(this.listOfValuesEnd))return r.StiSeries.getNullableValuesFromString(this,this.listOfValuesEnd);var e=this.chart.series.indexOf(this);if(0==e)return this._valuesEnd;return[3+3*e,5+4*e,9+3*e]}return this._valuesEnd},set:function(e){this._valuesEnd=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"valuesStringEnd",{get:function(){var e,t,r=new u,i=!0;try{for(var n=__values(this.valuesEnd),o=n.next();!o.done;o=n.next()){var a=o.value;i?r.appendFormat("{0}",a):r.appendFormat(";{0}",a),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._valuesEnd=[];else{var n=e.split(";");this._valuesEnd=i.create(Number,n.length);var o=0;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;this._valuesEnd[o++]=l.stimulsoft.toNumber()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"valueDataColumnEnd",{get:function(){return this._valueDataColumnEnd},set:function(e){this._valueDataColumnEnd=e},enumerable:!1,configurable:!0}),h.prototype.onGetValueEnd=function(e){},h.prototype.invokeGetValueEnd=function(r,i){try{if(this.onGetValueEnd(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var n=new l;n.name="**ChartGanttSeriesValueEnd**",n.page=r.report.pages.getByIndex(0);var o=t.Engine.StiParser.StiParser.parseTextValue(this.valueEnd,n);i.value=r.report.toString2(o)}null!=this.getValueEnd&&this.getValueEnd(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series InvokeGetValueEnd...ERROR"),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series "+r)}},h.prototype.onGetListOfValuesEnd=function(e){},h.prototype.invokeGetListOfValuesEnd=function(r,i,n){try{if(n.onGetListOfValuesEnd(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var o=new l;o.name="**ChartGanttSeriesListOfValuesEnd**",o.page=r.report.pages.getByIndex(0);var a=t.Engine.StiParser.StiParser.parseTextValue(n.listOfValuesEnd,o);i.value=r.report.toString2(a)}null!=n.getListOfValuesEnd&&n.getListOfValuesEnd(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),"InvokeGetListOfValuesEnd...Warning"),t.StiLogService.write(this.stimulsoft.getType(),r)}},Object.defineProperty(h.prototype,"valueEnd",{get:function(){return this.valueObjEnd},set:function(e){this.valueObjEnd=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"listOfValuesEnd",{get:function(){return this._listOfValuesEnd},set:function(e){this._listOfValuesEnd=e},enumerable:!1,configurable:!0}),h.prototype.createNew=function(){return new h},h}(r.StiClusteredBarSeries);r.StiGanttSeries=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.Report.Helpers.StiFontIcons,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.System.ICloneable,a=e.System.Enum,s=function(e){function s(){var t=e.call(this)||this;return t._icon=i.QuarterFull,t.core=new r.StiPictorialSeriesCoreXF(t),t}return __extends(s,e),s.prototype.implements=function(){return s.implementsStiPictorialSeries||(s.implementsStiPictorialSeries=e.prototype.implements.call(this).concat([r.IStiPictorialSeries,o,r.IStiSeries,n])),s.implementsStiPictorialSeries},s.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyEnum("Icon",i,this.icon,i.QuarterFull),r},s.prototype.loadFromJsonObject=function(t){var r,n;e.prototype.loadFromJsonObject.call(this,t);try{for(var o=__values(t.properties()),s=o.next();!s.done;s=o.next()){var l=s.value;switch(l.name){case"Icon":this._icon=a.parse(i,l.value.toString());break}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},s.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"Icon":this._icon=a.parse(i,n.textContent);break}}},Object.defineProperty(s.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"icon",{get:function(){return this._icon},set:function(e){this._icon=e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"componentId",{get:function(){return t.StiComponentId.StiPictorialSeries},enumerable:!1,configurable:!0}),s.prototype.clone=function(){var t;return e.prototype.clone.call(this)},s.prototype.getDefaultAreaType=function(){return r.StiPictorialArea},s.prototype.createNew=function(){return new s},s}(r.StiSeries);r.StiPictorialSeries=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.JsonReportObject.IStiJsonReportObject,i=e.System.ICloneable,n=function(e){function n(){var r=null!==e&&e.apply(this,arguments)||this;return r._showNulls=!0,r._marker=new t.StiMarker,r}return __extends(n,e),n.prototype.implements=function(){return n.implementsStiRadarSeries||(n.implementsStiRadarSeries=e.prototype.implements.call(this).concat([r,i,t.IStiSeries,t.IStiRadarSeries,t.IStiShowNullsSeries])),n.implementsStiRadarSeries},n.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.removeProperty("TrendLine"),r.addPropertyBool("ShowNulls",this._showNulls,!0),r.addPropertyJObject("Marker",this.marker.saveToJsonObject(t)),r},n.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"ShowNulls":this._showNulls=a.value.stimulsoft.toBoolean();break;case"Marker":this._marker.loadFromJsonObject(a.value);break}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}},n.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"ShowNulls":this._showNulls=i.textContent.stimulsoft.toBoolean();break;case"Marker":this._marker.loadFromXml(i);break}}},n.prototype.clone=function(){var t=e.prototype.clone.call(this);return null!=this.marker&&(t.marker=this.marker.clone()),t},Object.defineProperty(n.prototype,"showNulls",{get:function(){return this._showNulls},set:function(e){this._showNulls=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"marker",{get:function(){return this._marker},set:function(e){this._marker=e},enumerable:!1,configurable:!0}),n}(t.StiSeries);t.StiRadarSeries=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.Base.StiJsonReportObjectHelper,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.System.ICloneable,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=h.call(this)||this;return e._lineColor=c.black,e._lineStyle=s.Solid,e._lighting=!0,e._lineWidth=2,e._brush=new a(c.gainsboro),e.core=new r.StiRadarAreaSeriesCoreXF(e),e}return __extends(p,h),p.prototype.implements=function(){return p.implementsStiRadarAreaSeries||(p.implementsStiRadarAreaSeries=h.prototype.implements.call(this).concat([r.IStiRadarSeries,r.IStiRadarLineSeries,n,r.IStiSeries,r.IStiRadarAreaSeries,o])),p.implementsStiRadarAreaSeries},p.prototype.saveToJsonObject=function(e){var t=h.prototype.saveToJsonObject.call(this,e);return t.addPropertyStringNullOrEmpty("LineColor",i.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.addPropertyStringNullOrEmpty("Brush",i.Serialize.jBrush(this._brush)),t},p.prototype.loadFromJsonObject=function(e){var t,r;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"LineColor":this.lineColor=i.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"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}}},p.prototype.loadFromXml=function(t){h.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"LineColor":this.lineColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"LineStyle":this.lineStyle=u.parse(s,i.textContent);break;case"Lighting":this.lighting=i.textContent.stimulsoft.toBoolean();break;case"LineWidth":this.lineWidth=i.textContent.stimulsoft.toNumber();break;case"Brush":case"bh":this._brush=l.convertToBrush(i.textContent);break}}},Object.defineProperty(p.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadarAreaSeries},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"lineColor",{get:function(){return this._lineColor},set:function(e){this._lineColor=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,"lighting",{get:function(){return this._lighting},set:function(e){this._lighting=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"lineWidth",{get:function(){return this._lineWidth},set:function(e){e>0&&(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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"LineColor":this.lineColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"LineStyle":this.lineStyle=s.parse(a,i.textContent);break;case"Lighting":this.lighting=i.textContent.stimulsoft.toBoolean();break;case"LineWidth":this.lineWidth=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadarLineSeries},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"lineColor",{get:function(){return this._lineColor},set:function(e){this._lineColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"lineStyle",{get:function(){return this._lineStyle},set:function(e){this._lineStyle=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"lighting",{get:function(){return this._lighting},set:function(e){this._lighting=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"lineWidth",{get:function(){return this._lineWidth},set:function(e){e>0&&(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;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"ValueDataColumnEnd":this._valueDataColumnEnd=r.textContent;break;case"GetValueEndEvent":break;case"GetListOfValuesEndEvent":break;case"Value":var i;(i=new o).loadFromXml(r),this.value=i.value;break;case"ValueEnd":var i;(i=new o).loadFromXml(r),this.valueEnd=i.value;break;case"ListOfValues":var i;(i=new o).loadFromXml(r),this.listOfValues=i.value;break;case"ListOfValuesEnd":var i;(i=new o).loadFromXml(r),this.listOfValuesEnd=i.value;break}}},Object.defineProperty(h.prototype,"componentId",{get:function(){return t.StiComponentId.StiRangeBarSeries},enumerable:!1,configurable:!0}),h.prototype.clone=function(){var e;return c.prototype.clone.call(this)},h.prototype.getDefaultAreaType=function(){return r.StiRangeBarArea},Object.defineProperty(h.prototype,"valuesEnd",{get:function(){if(null!=this.chart&&null!=this.chart.report&&this.chart.isDesigning){if(!n.isNullOrEmpty(this.listOfValuesEnd))return r.StiSeries.getNullableValuesFromString(this,this.listOfValuesEnd);var e=this.chart.series.indexOf(this);if(0==e)return this._valuesEnd;return[3+3*e,5+4*e,9+3*e]}return this._valuesEnd},set:function(e){this._valuesEnd=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"valuesStringEnd",{get:function(){var e,t,r=new u,i=!0;try{for(var n=__values(this.valuesEnd),o=n.next();!o.done;o=n.next()){var a=o.value;i?r.appendFormat("{0}",a):r.appendFormat(";{0}",a),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._valuesEnd=[];else{var n=e.split(";");this._valuesEnd=i.create(Number,n.length);var o=0;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;this._valuesEnd[o++]=l.stimulsoft.toNumber()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"valueDataColumnEnd",{get:function(){return this._valueDataColumnEnd},set:function(e){this._valueDataColumnEnd=e},enumerable:!1,configurable:!0}),h.prototype.onGetValueEnd=function(e){},h.prototype.invokeGetValueEnd=function(r,i){try{if(this.onGetValueEnd(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var n=new l;n.name="**ChartGanttSeriesValueEnd**",n.page=r.report.pages.getByIndex(0);var o=t.Engine.StiParser.StiParser.parseTextValue(this.valueEnd,n);i.value=r.report.toString2(o)}null!=this.getValueEnd&&this.getValueEnd(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series InvokeGetValueEnd...ERROR"),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series "+r)}},h.prototype.onGetListOfValuesEnd=function(e){},h.prototype.invokeGetListOfValuesEnd=function(r,i,n){try{if(n.onGetListOfValuesEnd(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var o=new l;o.name="**ChartGanttSeriesListOfValuesEnd**",o.page=r.report.pages.getByIndex(0);var a=t.Engine.StiParser.StiParser.parseTextValue(n.listOfValuesEnd,o);i.value=r.report.toString2(a)}null!=n.getListOfValuesEnd&&n.getListOfValuesEnd(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),"InvokeGetListOfValuesEnd...Warning"),t.StiLogService.write(this.stimulsoft.getType(),r)}},Object.defineProperty(h.prototype,"valueEnd",{get:function(){return this.valueObjEnd},set:function(e){this.valueObjEnd=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"listOfValuesEnd",{get:function(){return this._listOfValuesEnd},set:function(e){this._listOfValuesEnd=e},enumerable:!1,configurable:!0}),h.prototype.createNew=function(){return new h},h}(r.StiClusteredColumnSeries);r.StiRangeBarSeries=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.System.StiArray,n=e.System.StiString,o=e.Report.Expressions.StiExpression,a=e.Base.StiJsonReportObjectHelper,s=e.Base.JsonReportObject.IStiJsonReportObject,l=e.System.ICloneable,u=e.Report.Components.StiText,c=e.System.Text.StringBuilder,h=e.Base.Drawing.StiSolidBrush,p=e.Base.Drawing.StiBrush,f=e.System.Drawing.Color,m=function(m){function S(){var e=m.call(this)||this;return e._brush=new h(f.gainsboro),e._valuesEnd=[3,5,9],e._valueDataColumnEnd="",e._brushNegative=new h(f.firebrick),e._allowApplyBrushNegative=!1,e.valueObjEnd="",e._listOfValuesEnd="",e.core=new r.StiRangeSeriesCoreXF(e),e}return __extends(S,m),S.prototype.implements=function(){return S.implementsStiRangeSeries||(S.implementsStiRangeSeries=m.prototype.implements.call(this).concat([r.IStiLineSeries,r.IStiLineRangeSeries,r.IStiBaseLineSeries,r.IStiRangeSeries,s,r.IStiSeries,l,r.IStiAllowApplyColorNegative])),S.implementsStiRangeSeries},S.prototype.saveToJsonObject=function(e){var t=m.prototype.saveToJsonObject.call(this,e);return t.removeProperty("TopN"),t.removeProperty("TrendLine"),t.addPropertyStringNullOrEmpty("Brush",a.Serialize.jBrush(this._brush)),t.addPropertyStringNullOrEmpty("ValueDataColumnEnd",this._valueDataColumnEnd),t.addPropertyStringNullOrEmpty("BrushNegative",a.Serialize.jBrush(this._brushNegative)),t.addPropertyBool("AllowApplyBrushNegative",this._allowApplyBrushNegative),t.addPropertyJObject("ValueEnd",new o(this.valueEnd).saveToJsonObject(e)),t.addPropertyJObject("ListOfValuesEnd",new o(this.listOfValuesEnd).saveToJsonObject(e)),t},S.prototype.loadFromJsonObject=function(e){var t,r;m.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var s=n.value;switch(s.name){case"Brush":this._brush=a.Deserialize.brush(s.value.toString());break;case"ValueDataColumnEnd":this._valueDataColumnEnd=s.value.toString();break;case"BrushNegative":this._brushNegative=a.Deserialize.brush(s.value.toString());break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=s.value.stimulsoft.toBoolean();break;case"GetValueEndEvent":break;case"GetListOfValuesEndEvent":break;case"ValueEnd":var l;(l=new o).loadFromJsonObject(s.value),this.valueEnd=l.value;break;case"ListOfValuesEnd":var l;(l=new o).loadFromJsonObject(s.value),this.listOfValuesEnd=l.value;break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},S.prototype.loadFromXml=function(e){m.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Brush":case"bh":this._brush=p.loadFromXml(r.textContent);break;case"ValueDataColumnEnd":this._valueDataColumnEnd=r.textContent;break;case"BrushNegative":this._brushNegative=p.loadFromXml(r.textContent);break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=r.textContent.stimulsoft.toBoolean();break;case"GetValueEndEvent":break;case"GetListOfValuesEndEvent":break;case"ValueEnd":var i;(i=new o).loadFromXml(r),this.valueEnd=i.value;break;case"ListOfValuesEnd":var i;(i=new o).loadFromXml(r),this.listOfValuesEnd=i.value;break}}},Object.defineProperty(S.prototype,"componentId",{get:function(){return t.StiComponentId.StiRangeSeries},enumerable:!1,configurable:!0}),S.prototype.clone=function(){var e;return m.prototype.clone.call(this)},S.prototype.getDefaultAreaType=function(){return r.StiRangeArea},Object.defineProperty(S.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valuesEnd",{get:function(){if(null!=this.chart&&null!=this.chart.report&&this.chart.isDesigning){if(!n.isNullOrEmpty(this.listOfValuesEnd))return r.StiSeries.getNullableValuesFromString(this,this.listOfValuesEnd);var e=this.chart.series.indexOf(this);if(0==e)return this._valuesEnd;return[3+3*e,5+4*e,9+3*e]}return this._valuesEnd},set:function(e){this._valuesEnd=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valuesStringEnd",{get:function(){var e,t,r=new c,i=!0;try{for(var n=__values(this.valuesEnd),o=n.next();!o.done;o=n.next()){var a=o.value;i?r.appendFormat("{0}",a):r.appendFormat(";{0}",a),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.valuesEnd=[];else{var n=e.split(";");this.valuesEnd=i.create(Number,n.length);var o=0;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;this.valuesEnd[o++]=l.stimulsoft.toNumber()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valueDataColumnEnd",{get:function(){return this._valueDataColumnEnd},set:function(e){this._valueDataColumnEnd=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}),Object.defineProperty(S.prototype,"allowApplyBrushNegative",{get:function(){return this._allowApplyBrushNegative},set:function(e){this._allowApplyBrushNegative=e},enumerable:!1,configurable:!0}),S.prototype.onGetValueEnd=function(e){},S.prototype.invokeGetValueEnd=function(r,i){try{if(this.onGetValueEnd(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var n=new u;n.name="**ChartRangeSeriesValueEnd**",n.page=r.report.pages.getByIndex(0);var o=t.Engine.StiParser.StiParser.parseTextValue(this.valueEnd,n);i.value=r.report.toString2(o)}null!=this.getValueEnd&&this.getValueEnd(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series InvokeGetValueEnd...ERROR"),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series "+r)}},S.prototype.onGetListOfValuesEnd=function(e){},S.prototype.invokeGetListOfValuesEnd=function(r,i,n){try{if(n.onGetListOfValuesEnd(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var o=new u;o.name="**ChartRangeSeriesListOfValuesEnd**",o.page=r.report.pages.getByIndex(0);var a=t.Engine.StiParser.StiParser.parseTextValue(n.listOfValuesEnd,o);i.value=r.report.toString2(a)}null!=n.getListOfValuesEnd&&n.getListOfValuesEnd(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),"InvokeGetListOfValuesEnd...Warning"),t.StiLogService.write(this.stimulsoft.getType(),r)}},Object.defineProperty(S.prototype,"valueEnd",{get:function(){return this.valueObjEnd},set:function(e){this.valueObjEnd=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"listOfValuesEnd",{get:function(){return this._listOfValuesEnd},set:function(e){this._listOfValuesEnd=e},enumerable:!1,configurable:!0}),S.prototype.createNew=function(){return new S},S}(r.StiLineSeries);r.StiRangeSeries=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.System.StiArray,n=e.System.StiString,o=e.Report.Expressions.StiExpression,a=e.Base.StiJsonReportObjectHelper,s=e.Base.JsonReportObject.IStiJsonReportObject,l=e.System.ICloneable,u=e.Report.Components.StiText,c=e.System.Text.StringBuilder,h=e.Base.Drawing.StiSolidBrush,p=e.Base.Drawing.StiBrush,f=e.System.Drawing.Color,m=function(m){function S(){var e=m.call(this)||this;return e._brush=new h(f.gainsboro),e._valuesEnd=[4,5,9],e._valueDataColumnEnd="",e.valueObjEnd="",e._listOfValuesEnd="",e.core=new r.StiSplineRangeSeriesCoreXF(e),e}return __extends(S,m),S.prototype.implements=function(){return S.implementsStiSplineRangeSeries||(S.implementsStiSplineRangeSeries=m.prototype.implements.call(this).concat([r.IStiSplineSeries,r.IStiSplineRangeSeries,r.IStiBaseLineSeries,r.IStiRangeSeries,s,r.IStiSeries,l,r.IStiAllowApplyColorNegative])),S.implementsStiSplineRangeSeries},S.prototype.saveToJsonObject=function(e){var t=m.prototype.saveToJsonObject.call(this,e);return t.removeProperty("TopN"),t.removeProperty("TrendLine"),t.addPropertyStringNullOrEmpty("Brush",a.Serialize.jBrush(this._brush)),t.addPropertyStringNullOrEmpty("ValueDataColumnEnd",this._valueDataColumnEnd),t.addPropertyJObject("ValueEnd",new o(this.valueEnd).saveToJsonObject(e)),t.addPropertyJObject("ListOfValuesEnd",new o(this.listOfValuesEnd).saveToJsonObject(e)),t},S.prototype.loadFromJsonObject=function(e){var t,r;m.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var s=n.value;switch(s.name){case"Brush":this._brush=a.Deserialize.brush(s.value.toString());break;case"ValueDataColumnEnd":this._valueDataColumnEnd=s.value.toString();break;case"GetValueEndEvent":break;case"GetListOfValuesEndEvent":break;case"ValueEnd":var l;(l=new o).loadFromJsonObject(s.value),this.valueEnd=l.value;break;case"ListOfValuesEnd":var l;(l=new o).loadFromJsonObject(s.value),this.listOfValuesEnd=l.value;break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},S.prototype.loadFromXml=function(e){m.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Brush":case"bh":this._brush=p.convertToBrush(r.textContent);break;case"ValueDataColumnEnd":this._valueDataColumnEnd=r.textContent;break;case"GetValueEndEvent":break;case"GetListOfValuesEndEvent":break;case"ValueEnd":var i;(i=new o).loadFromXml(r),this.valueEnd=i.value;break;case"ListOfValuesEnd":var i;(i=new o).loadFromXml(r),this.listOfValuesEnd=i.value;break}}},Object.defineProperty(S.prototype,"componentId",{get:function(){return t.StiComponentId.StiSplineRangeSeries},enumerable:!1,configurable:!0}),S.prototype.clone=function(){var e;return m.prototype.clone.call(this)},S.prototype.getDefaultAreaType=function(){return r.StiSplineRangeArea},Object.defineProperty(S.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valuesEnd",{get:function(){if(null!=this.chart&&null!=this.chart.report&&this.chart.isDesigning){if(!n.isNullOrEmpty(this.listOfValuesEnd))return r.StiSeries.getNullableValuesFromString(this,this.listOfValuesEnd);var e=this.chart.series.indexOf(this);if(0==e)return this._valuesEnd;return[3+3*e,5+4*e,9+3*e]}return this._valuesEnd},set:function(e){this._valuesEnd=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valuesStringEnd",{get:function(){var e,t,r=new c,i=!0;try{for(var n=__values(this._valuesEnd),o=n.next();!o.done;o=n.next()){var a=o.value;i?r.appendFormat("{0}",a):r.appendFormat(";{0}",a),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._valuesEnd=[];else{var n=e.split(";");this._valuesEnd=i.create(Number,n.length);var o=0;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;this._valuesEnd[o++]=l.stimulsoft.toNumber()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valueDataColumnEnd",{get:function(){return this._valueDataColumnEnd},set:function(e){this._valueDataColumnEnd=e},enumerable:!1,configurable:!0}),S.prototype.onGetValueEnd=function(e){},S.prototype.invokeGetValueEnd=function(r,i){try{if(this.onGetValueEnd(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var n=new u;n.name="**ChartSteppedRangeSeriesValueEnd**",n.page=r.report.pages.getByIndex(0);var o=t.Engine.StiParser.StiParser.parseTextValue(this.valueEnd,n);i.value=r.report.toString2(o)}null!=this.getValueEnd&&this.getValueEnd(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series InvokeGetValueEnd...ERROR"),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series "+r)}},S.prototype.onGetListOfValuesEnd=function(e){},S.prototype.invokeGetListOfValuesEnd=function(r,i,n){try{if(n.onGetListOfValuesEnd(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var o=new u;o.name="**ChartSteppedRangeSeriesListOfValuesEnd**",o.page=r.report.pages.getByIndex(0);var a=t.Engine.StiParser.StiParser.parseTextValue(n.listOfValuesEnd,o);i.value=r.report.toString2(a)}null!=n.getListOfValuesEnd&&n.getListOfValuesEnd(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),"InvokeGetListOfValuesEnd...Warning"),t.StiLogService.write(this.stimulsoft.getType(),r)}},Object.defineProperty(S.prototype,"valueEnd",{get:function(){return this.valueObjEnd},set:function(e){this.valueObjEnd=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"listOfValuesEnd",{get:function(){return this._listOfValuesEnd},set:function(e){this._listOfValuesEnd=e},enumerable:!1,configurable:!0}),S.prototype.createNew=function(){return new S},S}(r.StiSplineSeries);r.StiSplineRangeSeries=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.System.StiArray,n=e.System.StiString,o=e.Report.Expressions.StiExpression,a=e.Base.StiJsonReportObjectHelper,s=e.Base.JsonReportObject.IStiJsonReportObject,l=e.System.ICloneable,u=e.Report.Components.StiText,c=e.System.Text.StringBuilder,h=e.Base.Drawing.StiSolidBrush,p=e.Base.Drawing.StiBrush,f=e.System.Drawing.Color,m=function(m){function S(){var e=m.call(this)||this;return e._brush=new h(f.gainsboro),e._valuesEnd=[4,5,7,6,6],e._valueDataColumnEnd="",e._brushNegative=new h(f.firebrick),e._allowApplyBrushNegative=!1,e.valueObjEnd="",e._listOfValuesEnd="",e.core=new r.StiSteppedRangeSeriesCoreXF(e),e}return __extends(S,m),S.prototype.implements=function(){return S.implementsStiSteppedRangeSeries||(S.implementsStiSteppedRangeSeries=m.prototype.implements.call(this).concat([r.IStiSteppedLineSeries,r.IStiBaseLineSeries,r.IStiRangeSeries,r.IStiSteppedRangeSeries,s,r.IStiSeries,l,r.IStiAllowApplyColorNegative])),S.implementsStiSteppedRangeSeries},S.prototype.saveToJsonObject=function(e){var t=m.prototype.saveToJsonObject.call(this,e);return t.removeProperty("TopN"),t.removeProperty("TrendLine"),t.addPropertyStringNullOrEmpty("Brush",a.Serialize.jBrush(this._brush)),t.addPropertyStringNullOrEmpty("ValueDataColumnEnd",this._valueDataColumnEnd),t.addPropertyStringNullOrEmpty("BrushNegative",a.Serialize.jBrush(this._brushNegative)),t.addPropertyBool("AllowApplyBrushNegative",this._allowApplyBrushNegative),t.addPropertyJObject("ValueEnd",new o(this.valueObjEnd).saveToJsonObject(e)),t.addPropertyJObject("ListOfValuesEnd",new o(this.listOfValuesEnd).saveToJsonObject(e)),t},S.prototype.loadFromJsonObject=function(e){var t,r;m.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var s=n.value;switch(s.name){case"Brush":this._brush=a.Deserialize.brush(s.value.toString());break;case"ValueDataColumnEnd":this._valueDataColumnEnd=s.value.toString();break;case"BrushNegative":this._brushNegative=a.Deserialize.brush(s.value.toString());break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=s.value.stimulsoft.toBoolean();break;case"GetValueEndEvent":break;case"GetListOfValuesEndEvent":break;case"ValueEnd":var l;(l=new o).loadFromJsonObject(s.value),this.valueObjEnd=l.value;break;case"ListOfValuesEnd":var l;(l=new o).loadFromJsonObject(s.value),this.listOfValuesEnd=l.value;break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},S.prototype.loadFromXml=function(e){m.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Brush":case"bh":this._brush=p.loadFromXml(r.textContent);break;case"ValueDataColumnEnd":this._valueDataColumnEnd=r.textContent;break;case"BrushNegative":this._brushNegative=p.loadFromXml(r.textContent);break;case"AllowApplyBrushNegative":this._allowApplyBrushNegative=r.textContent.stimulsoft.toBoolean();break;case"GetValueEndEvent":break;case"GetListOfValuesEndEvent":break;case"ValueEnd":var i;(i=new o).loadFromXml(r),this.valueObjEnd=i.value;break;case"ListOfValuesEnd":var i;(i=new o).loadFromXml(r),this.listOfValuesEnd=i.value;break}}},Object.defineProperty(S.prototype,"componentId",{get:function(){return t.StiComponentId.StiSteppedRangeSeries},enumerable:!1,configurable:!0}),S.prototype.clone=function(){var e;return m.prototype.clone.call(this)},S.prototype.getDefaultAreaType=function(){return r.StiSteppedRangeArea},Object.defineProperty(S.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valuesEnd",{get:function(){if(null!=this.chart&&null!=this.chart.report&&this.chart.isDesigning){if(!n.isNullOrEmpty(this.listOfValuesEnd))return r.StiSeries.getNullableValuesFromString(this,this.listOfValuesEnd);var e=this.chart.series.indexOf(this);if(0==e)return this._valuesEnd;return[3+3*e,5+4*e,7+3*e,6+3*e,6+3*e]}return this._valuesEnd},set:function(e){this._valuesEnd=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valuesStringEnd",{get:function(){var e,t,r=new c,i=!0;try{for(var n=__values(this.valuesEnd),o=n.next();!o.done;o=n.next()){var a=o.value;i?r.appendFormat("{0}",a):r.appendFormat(";{0}",a),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.valuesEnd=[];else{var n=e.split(";");this._valuesEnd=i.create(Number,n.length);var o=0;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;this._valuesEnd[o++]=l.stimulsoft.toNumber()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"valueDataColumnEnd",{get:function(){return this._valueDataColumnEnd},set:function(e){this._valueDataColumnEnd=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}),Object.defineProperty(S.prototype,"allowApplyBrushNegative",{get:function(){return this._allowApplyBrushNegative},set:function(e){this._allowApplyBrushNegative=e},enumerable:!1,configurable:!0}),S.prototype.onGetValueEnd=function(e){},S.prototype.invokeGetValueEnd=function(r,i){try{if(this.onGetValueEnd(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var n=new u;n.name="**ChartSteppedRangeSeriesValueEnd**",n.page=r.report.pages.getByIndex(0);var o=t.Engine.StiParser.StiParser.parseTextValue(this.valueEnd,n);i.value=r.report.toString2(o)}null!=this.getValueEnd&&this.getValueEnd(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series InvokeGetValueEnd...ERROR"),t.StiLogService.write(this.stimulsoft.getType(),this.chart.name+"Series "+r)}},S.prototype.onGetListOfValuesEnd=function(e){},S.prototype.invokeGetListOfValuesEnd=function(r,i,n){try{if(n.onGetListOfValuesEnd(i),r.report.calculationMode==t.StiCalculationMode.Interpretation){var o=new u;o.name="**ChartSteppedRangeSeriesListOfValuesEnd**",o.page=r.report.pages.getByIndex(0);var a=t.Engine.StiParser.StiParser.parseTextValue(n.listOfValuesEnd,o);i.value=r.report.toString2(a)}null!=n.getListOfValuesEnd&&n.getListOfValuesEnd(r,i)}catch(r){e.System.StiError.showError(r.message,!1),t.StiLogService.write(this.stimulsoft.getType(),"InvokeGetListOfValuesEnd...Warning"),t.StiLogService.write(this.stimulsoft.getType(),r)}},Object.defineProperty(S.prototype,"valueEnd",{get:function(){return this.valueObjEnd},set:function(e){this.valueObjEnd=e},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"listOfValuesEnd",{get:function(){return this._listOfValuesEnd},set:function(e){this._listOfValuesEnd=e},enumerable:!1,configurable:!0}),S.prototype.createNew=function(){return new S},S}(r.StiSteppedLineSeries);r.StiSteppedRangeSeries=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.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.StiScatterSplineSeriesCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiScatterSplineSeries||(o.implementsStiScatterSplineSeries=e.prototype.implements.call(this).concat([n,r.IStiScatterLineSeries,r.IStiBaseLineSeries,r.IStiScatterSplineSeries,i,r.IStiSeries,r.IStiScatterSeries,r.IStiAllowApplyColorNegative])),o.implementsStiScatterSplineSeries},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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Tension":this._tension=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiScatterSplineSeries},enumerable:!1,configurable:!0}),o.prototype.clone=function(){var t;return e.prototype.clone.call(this)},o.prototype.getDefaultAreaType=function(){return r.StiScatterArea},Object.defineProperty(o.prototype,"tension",{get:function(){return this._tension},set:function(e){this._tension=e},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiScatterSeries);r.StiScatterSplineSeries=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.Base.Drawing.StiSolidBrush,o=e.System.Drawing.Color,a=e.System.ICloneable,s=function(e){function s(){var t=e.call(this)||this;return t._borderColor=o.gray,t._brush=new n(o.gainsboro),t.core=new r.StiSunburstSeriesCoreXF(t),t}return __extends(s,e),s.prototype.implements=function(){return s.implementsStiSunburstSeries||(s.implementsStiSunburstSeries=e.prototype.implements.call(this).concat([i,r.IStiSunburstSeries,a,r.IStiSeries])),s.implementsStiSunburstSeries},s.prototype.saveToJsonObject=function(t){var r;return e.prototype.saveToJsonObject.call(this,t)},s.prototype.loadFromJsonObject=function(t){e.prototype.loadFromJsonObject.call(this,t)},s.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t)},s.prototype.clone=function(){var t=e.prototype.clone.call(this);return t.brush=this.brush.clone(),t},s.prototype.getDefaultAreaType=function(){return r.StiSunburstArea},Object.defineProperty(s.prototype,"componentId",{get:function(){return t.StiComponentId.StiSunburstSeries},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},Object.defineProperty(s.prototype,"borderColor",{get:function(){return this._borderColor},set:function(e){this._borderColor=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}),s}(r.StiSeries);r.StiSunburstSeries=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.System.Enum,n=e.Base.StiJsonReportObjectHelper,o=e.Base.JsonReportObject.IStiJsonReportObject,a=e.Base.Drawing.StiSolidBrush,s=e.Base.Drawing.StiBrush,l=e.System.Drawing.Color,u=e.System.ICloneable,c=function(c){function h(){var e=c.call(this)||this;return e._borderColor=l.gray,e._brush=new a(l.gainsboro),e.core=new r.StiTreemapSeriesCoreXF(e),e}return __extends(h,c),h.prototype.implements=function(){return h.implementsStiTreemapSeries||(h.implementsStiTreemapSeries=c.prototype.implements.call(this).concat([o,r.IStiTreemapSeries,r.IStiFontIconsSeries,u,r.IStiSeries])),h.implementsStiTreemapSeries},h.prototype.saveToJsonObject=function(e){var t=c.prototype.saveToJsonObject.call(this,e);return t.addPropertyStringNullOrEmpty("BorderColor",n.Serialize.jColor(this._borderColor,l.gray)),t.addPropertyStringNullOrEmpty("Brush",n.Serialize.jBrush(this._brush)),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"BorderColor":this._borderColor=n.Deserialize.color(s.value.toString());break;case"Brush":this._brush=n.Deserialize.brush(s.value.toString());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<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"Brush":case"bh":this._brush=s.loadFromXml(n.textContent);break;case"BorderColor":this._borderColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Icon":this.icon=i.parse(StiFontIcons,n.textContent);break}}},h.prototype.clone=function(){var e=c.prototype.clone.call(this);return e.brush=this.brush.clone(),e},h.prototype.getDefaultAreaType=function(){return r.StiTreemapArea},Object.defineProperty(h.prototype,"componentId",{get:function(){return t.StiComponentId.StiTreemapSeries},enumerable:!1,configurable:!0}),h.prototype.createNew=function(){return new h},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}),h}(r.StiSeries);r.StiTreemapSeries=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.StiInsideBaseAxisLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiInsideBaseAxisLabels||(o.implementsStiInsideBaseAxisLabels=e.prototype.implements.call(this).concat([r.IStiInsideBaseAxisLabels,r.IStiSeriesLabels,n,r.IStiAxisSeriesLabels,i])),o.implementsStiInsideBaseAxisLabels},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiInsideBaseAxisLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiCenterAxisLabels);r.StiInsideBaseAxisLabels=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.StiInsideEndAxisLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiInsideEndAxisLabels||(o.implementsStiInsideEndAxisLabels=e.prototype.implements.call(this).concat([r.IStiCenterAxisLabels,r.IStiAxisSeriesLabels,r.IStiSeriesLabels,i,r.IStiInsideEndAxisLabels,n])),o.implementsStiInsideEndAxisLabels},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiInsideEndAxisLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiCenterAxisLabels);r.StiInsideEndAxisLabels=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.StiLeftAxisLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiLeftAxisLabels||(o.implementsStiLeftAxisLabels=e.prototype.implements.call(this).concat([r.IStiCenterAxisLabels,r.IStiLeftAxisLabels,r.IStiAxisSeriesLabels,i,r.IStiSeriesLabels,n])),o.implementsStiLeftAxisLabels},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiLeftAxisLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiCenterAxisLabels);r.StiLeftAxisLabels=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._lineLength=15,t.core=new r.StiOutsideAxisLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiOutsideAxisLabels||(o.implementsStiOutsideAxisLabels=e.prototype.implements.call(this).concat([r.IStiOutsideAxisLabels,r.IStiSeriesLabels,n,r.IStiAxisSeriesLabels,i])),o.implementsStiOutsideAxisLabels},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyNumber("LineLength",this._lineLength,15),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"LineLength":this._lineLength=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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"LineLength":this._lineLength=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiOutsideAxisLabels},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"lineLength",{get:function(){return this._lineLength},set:function(e){this._lineLength=e},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiAxisSeriesLabels);r.StiOutsideAxisLabels=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.StiOutsideBaseAxisLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiOutsideBaseAxisLabels||(o.implementsStiOutsideBaseAxisLabels=e.prototype.implements.call(this).concat([r.IStiCenterAxisLabels,r.IStiAxisSeriesLabels,i,r.IStiOutsideBaseAxisLabels,r.IStiSeriesLabels,n])),o.implementsStiOutsideBaseAxisLabels},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiOutsideBaseAxisLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiCenterAxisLabels);r.StiOutsideBaseAxisLabels=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.StiOutsideEndAxisLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiOutsideEndAxisLabels||(o.implementsStiOutsideEndAxisLabels=e.prototype.implements.call(this).concat([r.IStiOutsideEndAxisLabels,r.IStiCenterAxisLabels,r.IStiAxisSeriesLabels,i,r.IStiSeriesLabels,n])),o.implementsStiOutsideEndAxisLabels},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiOutsideEndAxisLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiCenterAxisLabels);r.StiOutsideEndAxisLabels=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.StiRightAxisLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiRightAxisLabels||(o.implementsStiRightAxisLabels=e.prototype.implements.call(this).concat([r.IStiCenterAxisLabels,r.IStiAxisSeriesLabels,r.IStiRightAxisLabels,i,r.IStiSeriesLabels,n])),o.implementsStiRightAxisLabels},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiRightAxisLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiCenterAxisLabels);r.StiRightAxisLabels=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.StiValueAxisLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiValueAxisLabels||(o.implementsStiValueAxisLabels=e.prototype.implements.call(this).concat([r.IStiValueAxisLabels,r.IStiCenterAxisLabels,r.IStiAxisSeriesLabels,i,r.IStiSeriesLabels,n])),o.implementsStiValueAxisLabels},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiValueAxisLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiCenterAxisLabels);r.StiValueAxisLabels=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.JsonReportObject.IStiJsonReportObject,i=e.System.ICloneable,n=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return __extends(n,e),n.prototype.implements=function(){return n.implementsStiFunnelSeriesLabels||(n.implementsStiFunnelSeriesLabels=e.prototype.implements.call(this).concat([r,t.IStiFunnelSeriesLabels,i,t.IStiSeriesLabels])),n.implementsStiFunnelSeriesLabels},n}(t.StiSeriesLabels);t.StiFunnelSeriesLabels=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.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiCenterFunnelLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiCenterFunnelLabels||(o.implementsStiCenterFunnelLabels=e.prototype.implements.call(this).concat([i,r.IStiSeriesLabels,r.IStiFunnelSeriesLabels,n,r.IStiCenterFunnelLabels])),o.implementsStiCenterFunnelLabels},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiCenterFunnelLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiFunnelSeriesLabels);r.StiCenterFunnelLabels=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.StiOutsideLeftFunnelLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiOutsideLeftFunnelLabels||(o.implementsStiOutsideLeftFunnelLabels=e.prototype.implements.call(this).concat([r.IStiCenterFunnelLabels,r.IStiOutsideLeftFunnelLabels,i,r.IStiSeriesLabels,r.IStiFunnelSeriesLabels,n])),o.implementsStiOutsideLeftFunnelLabels},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiOutsideLeftFunnelLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiFunnelSeriesLabels);r.StiOutsideLeftFunnelLabels=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.StiOutsideRightFunnelLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiOutsideRightFunnelLabels||(o.implementsStiOutsideRightFunnelLabels=e.prototype.implements.call(this).concat([r.IStiOutsideRightFunnelLabels,r.IStiCenterFunnelLabels,i,r.IStiSeriesLabels,r.IStiFunnelSeriesLabels,n])),o.implementsStiOutsideRightFunnelLabels},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiOutsideRightFunnelLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiFunnelSeriesLabels);r.StiOutsideRightFunnelLabels=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.JsonReportObject.IStiJsonReportObject,i=e.System.ICloneable,n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._showInPercent=!1,t}return __extends(n,e),n.prototype.implements=function(){return n.implementsStiPieSeriesLabels||(n.implementsStiPieSeriesLabels=e.prototype.implements.call(this).concat([r,t.IStiPieSeriesLabels,t.IStiSeriesLabels,i])),n.implementsStiPieSeriesLabels},n.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyBool("ShowInPercent",this._showInPercent),r},n.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"ShowInPercent":this._showInPercent=a.value.stimulsoft.toBoolean();break}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)
|
|
}finally{if(r)throw r.error}}},n.prototype.loadFromXml=function(t){e.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"ShowInPercent":this._showInPercent=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(n.prototype,"showInPercent",{get:function(){return this._showInPercent},set:function(e){this._showInPercent=e,this._showInPercent&&!this.format.stimulsoft.startsWith("P")&&(this.format="P2"),this._showInPercent||(this.format="")},enumerable:!1,configurable:!0}),n}(t.StiSeriesLabels);t.StiPieSeriesLabels=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.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t._autoRotate=!1,t.core=new r.StiCenterPieLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiCenterPieLabels||(o.implementsStiCenterPieLabels=e.prototype.implements.call(this).concat([i,r.IStiPieSeriesLabels,r.IStiSeriesLabels,r.IStiCenterPieLabels,n])),o.implementsStiCenterPieLabels},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.addPropertyBool("AutoRotate",this.autoRotate),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"AutoRotate":this.autoRotate=a.value.stimulsoft.toBoolean();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;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"AutoRotate":this.autoRotate=i.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiCenterPieLabels},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"autoRotate",{get:function(){return this._autoRotate},set:function(e){this._autoRotate=e},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiPieSeriesLabels);r.StiCenterPieLabels=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.StiInsideEndPieLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiInsideEndPieLabels||(o.implementsStiInsideEndPieLabels=e.prototype.implements.call(this).concat([r.IStiCenterPieLabels,r.IStiSeriesLabels,r.IStiPieSeriesLabels,r.IStiInsideEndPieLabels,i,n])),o.implementsStiInsideEndPieLabels},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiInsideEndPieLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiCenterPieLabels);r.StiInsideEndPieLabels=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.System.Drawing.Color,s=function(s){function l(){var e=s.call(this)||this;return e._showValue=!1,e._lineLength=20,e._lineColor=a.black,e.core=new r.StiOutsidePieLabelsCoreXF(e),e}return __extends(l,s),l.prototype.implements=function(){return l.implementsStiOutsidePieLabels||(l.implementsStiOutsidePieLabels=s.prototype.implements.call(this).concat([r.IStiOutsidePieLabels,r.IStiCenterPieLabels,r.IStiPieSeriesLabels,r.IStiSeriesLabels,n,o])),l.implementsStiOutsidePieLabels},l.prototype.saveToJsonObject=function(e){var t=s.prototype.saveToJsonObject.call(this,e);return t.removeProperty("Angle"),t.addPropertyBool("ShowValue",this.showValue),t.addPropertyNumber("LineLength",this.lineLength,20),t.addPropertyStringNullOrEmpty("LineColor",i.Serialize.jColor(this.lineColor,a.black)),t},l.prototype.loadFromJsonObject=function(e){var t,r;s.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"ShowValue":this.showValue=a.value.stimulsoft.toBoolean();break;case"LineLength":this.lineLength=a.value.stimulsoft.toNumber();break;case"LineColor":this.lineColor=i.Deserialize.color(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}}},l.prototype.loadFromXml=function(t){s.prototype.loadFromXml.call(this,t);for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"ShowValue":this.showValue=i.textContent.stimulsoft.toBoolean();break;case"LineLength":this.lineLength=i.textContent.stimulsoft.toNumber();break;case"LineColor":this.lineColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break}}},Object.defineProperty(l.prototype,"componentId",{get:function(){return t.StiComponentId.StiOutsidePieLabels},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"showValue",{get:function(){return this._showValue},set:function(e){this._showValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"lineLength",{get:function(){return this._lineLength},set:function(e){this._lineLength=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"lineColor",{get:function(){return this._lineColor},set:function(e){this._lineColor=e},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},l}(r.StiCenterPieLabels);r.StiOutsidePieLabels=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.StiTwoColumnsPieLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiTwoColumnsPieLabels||(o.implementsStiTwoColumnsPieLabels=e.prototype.implements.call(this).concat([r.IStiTwoColumnsPieLabels,r.IStiOutsidePieLabels,r.IStiCenterPieLabels,r.IStiPieSeriesLabels,r.IStiSeriesLabels,i,n])),o.implementsStiTwoColumnsPieLabels},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.removeProperty("AutoRotate"),r},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiTwoColumnsPieLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiOutsidePieLabels);r.StiTwoColumnsPieLabels=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.StiCenterTreemapLabelsCoreXF(e),e}return __extends(i,r),Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiCenterTreemapLabels},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},i}(t.StiAxisSeriesLabels);t.StiCenterTreemapLabels=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.System.StiString,n=e.Base.StiJson,o=e.Base.JsonReportObject.IStiJsonReportObject,a=e.System.ICloneable,s=function(){function e(){this.parentSeries=null}return e.prototype.implements=function(){return e.implementsStiSeriesInteraction||(e.implementsStiSeriesInteraction=[r.IStiSeriesInteraction,o,a]),e.implementsStiSeriesInteraction},e.prototype.saveToJsonObject=function(e){var t=new n;return t.addPropertyStringNullOrEmpty("DrillDownPageGuid",this.drillDownPageGuid),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"DrillDownPageGuid":this.drillDownPageGuid=o.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){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"DrillDownPageGuid":this.drillDownPageGuid=r.textContent;break}}},Object.defineProperty(e.prototype,"componentId",{get:function(){return t.StiComponentId.StiSeriesInteraction},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),e.prototype.getReport=function(){if(null==this.parentSeries)return null;if(null==this.parentSeries.chart)return null;return this.parentSeries.chart.report},e.prototype.clone=function(){var e;return this.stimulsoft.memberwiseClone()},e.prototype.isDefault=function(){return i.isNullOrEmpty(this.hyperlinkDataColumn)&&i.isNullOrEmpty(this.tagDataColumn)&&i.isNullOrEmpty(this.toolTipDataColumn)&&i.isNullOrEmpty(this.hyperlink)&&i.isNullOrEmpty(this.tag)&&i.isNullOrEmpty(this.toolTip)&&i.isNullOrEmpty(this.listOfHyperlinks)&&i.isNullOrEmpty(this.listOfTags)&&i.isNullOrEmpty(this.listOfToolTips)},Object.defineProperty(e.prototype,"hyperlink",{get:function(){return this.parentSeries.hyperlink},set:function(e){this.parentSeries.hyperlink=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tag",{get:function(){return this.parentSeries.tag},set:function(e){this.parentSeries.tag=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"toolTip",{get:function(){return this.parentSeries.toolTip},set:function(e){this.parentSeries.toolTip=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hyperlinkDataColumn",{get:function(){return this.parentSeries.hyperlinkDataColumn},set:function(e){this.parentSeries.hyperlinkDataColumn=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagDataColumn",{get:function(){return this.parentSeries.tagDataColumn},set:function(e){this.parentSeries.tagDataColumn=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"toolTipDataColumn",{get:function(){return this.parentSeries.toolTipDataColumn},set:function(e){this.parentSeries.toolTipDataColumn=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"listOfHyperlinks",{get:function(){return this.parentSeries.listOfHyperlinks},set:function(e){this.parentSeries.listOfHyperlinks=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"listOfTags",{get:function(){return this.parentSeries.listOfTags},set:function(e){this.parentSeries.listOfTags=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"listOfToolTips",{get:function(){return this.parentSeries.listOfToolTips},set:function(e){this.parentSeries.listOfToolTips=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allowSeries",{get:function(){return this.parentSeries.allowSeries},set:function(e){this.parentSeries.allowSeries=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allowSeriesElements",{get:function(){return this.parentSeries.allowSeriesElements},set:function(e){this.parentSeries.allowSeriesElements=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"drillDownEnabled",{get:function(){return this.parentSeries.drillDownEnabled},set:function(e){this.parentSeries.drillDownEnabled=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"drillDownReport",{get:function(){return this.parentSeries.drillDownReport},set:function(e){this.parentSeries.drillDownReport=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"drillDownPage",{get:function(){return this.parentSeries.drillDownPage},set:function(e){this.parentSeries.drillDownPage=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"drillDownPageGuid",{get:function(){return this.parentSeries.drillDownPageGuid},set:function(e){this.parentSeries.drillDownPageGuid=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentComponent",{get:function(){if(null==this.parentSeries||null==this.parentSeries.chart)return null;return this.parentSeries.chart},enumerable:!1,configurable:!0}),e}();r.StiSeriesInteraction=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(){function e(e,t,r,i){null!=e&&(this.pointsFrom=e),null!=t&&(this.points=t),null!=r&&(this.pointsZeroConnect=r),null!=i&&(this.pointsNullConnect=i)}return e}();e.StiSeriesPointsInfo=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.Base.JsonReportObject.IStiJsonReportObject,n=e.System.ICloneable,o=function(e){function o(){var t=e.call(this)||this;return t.core=new r.StiNoneLabelsCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiNoneLabels||(o.implementsStiNoneLabels=e.prototype.implements.call(this).concat([r.IStiNoneLabels,r.IStiSeriesLabels,n,i])),o.implementsStiNoneLabels},o.prototype.saveToJsonObject=function(t){var r=e.prototype.saveToJsonObject.call(this,t);return r.removeProperty("Antialiasing"),r.removeProperty("Visible"),r.removeProperty("LabelColor"),r.removeProperty("BorderColor"),r.removeProperty("Brush"),r.removeProperty("Font"),r},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiNoneLabels},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiSeriesLabels);r.StiNoneLabels=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.StiJson,o=e.Base.JsonReportObject.IStiJsonReportObject,a=e.System.ICloneable,s=e.Base.Drawing.StiSolidBrush,l=e.Base.Drawing.StiBrush,u=e.System.Enum,c=e.System.Drawing.Color,h=e.Base.Services.StiService,p=e.System.Drawing.Font,f=function(h){function f(){var e=h.call(this)||this;return e._allowApplyStyle=!0,e._showBehind=!0,e._stripBrush=new s(c.transparent),e._antialiasing=!0,e._font=new p("Arial",7),e._text="",e._titleVisible=!0,e._titleColor=c.green,e._orientation=r.StiStrips_StiOrientation.Horizontal,e._showInLegend=!0,e._maxValue="1",e._minValue="0",e._visible=!0,e._core=new r.StiStripsCoreXF(e),e}return __extends(f,h),f.prototype.implements=function(){return f.implementsStiStrips||(f.implementsStiStrips=h.prototype.implements.call(this).concat([o,r.IStiStrips,a])),f.implementsStiStrips},f.prototype.saveToJsonObject=function(e){var t=new n;return t.addPropertyBool("AllowApplyStyle",this.allowApplyStyle,!0),t.addPropertyBool("ShowBehind",this.showBehind,!0),t.addPropertyStringNullOrEmpty("StripBrush",i.Serialize.jBrush(this._stripBrush)),t.addPropertyBool("Antialiasing",this._antialiasing,!0),t.addPropertyStringNullOrEmpty("Font",i.Serialize.font(this.font,"Arial",7)),t.addPropertyStringNullOrEmpty("Text",this._text),t.addPropertyBool("TitleVisible",this._titleVisible,!0),t.addPropertyStringNullOrEmpty("TitleColor",i.Serialize.jColor(this.titleColor,c.green)),t.addPropertyEnum("Orientation",r.StiStrips_StiOrientation,this._orientation,r.StiStrips_StiOrientation.Horizontal),t.addPropertyBool("ShowInLegend",this.showInLegend,!0),t.addPropertyString("MaxValue",this.maxValue,"1"),t.addPropertyString("MinValue",this.minValue,"0"),t.addPropertyBool("Visible",this.visible,!0),t},f.prototype.loadFromJsonObject=function(e){var t,n;try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"AllowApplyStyle":this.allowApplyStyle=s.value.stimulsoft.toBoolean();break;case"ShowBehind":this.showBehind=s.value.stimulsoft.toBoolean();break;case"StripBrush":this._stripBrush=i.Deserialize.brush(s.value.toString());break;case"Antialiasing":this._antialiasing=s.value.stimulsoft.toBoolean();break;case"Font":this.font=i.Deserialize.font(s.value.toString(),this.font);break;case"Text":this._text=s.value.toString();break;case"TitleVisible":this._titleVisible=s.value.stimulsoft.toBoolean();break;case"TitleColor":this.titleColor=i.Deserialize.color(s.value.toString());break;case"Orientation":this._orientation=u.parse(r.StiStrips_StiOrientation,s.value.toString());break;case"ShowInLegend":this.showInLegend=s.value.stimulsoft.toBoolean();break;case"MaxValue":this.maxValue=s.value.toString();break;case"MinValue":this.minValue=s.value.toString();break;case"Visible":this.visible=s.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},f.prototype.loadFromXml=function(t){for(var i=0;i<t.childNodes.length;i++){var n=t.childNodes[i];switch(n.nodeName){case"AllowApplyStyle":this.allowApplyStyle=n.textContent.stimulsoft.toBoolean();break;case"ShowBehind":this.showBehind=n.textContent.stimulsoft.toBoolean();break;case"StripBrush":this._stripBrush=l.convertToBrush(n.textContent);break;case"Antialiasing":this._antialiasing=n.textContent.stimulsoft.toBoolean();break;case"Font":case"fn":this.font=e.System.Convert.toFont(n.textContent);break;case"Text":case"text":this._text=n.textContent;break;case"TitleVisible":this._titleVisible=n.textContent.stimulsoft.toBoolean();break;case"TitleColor":this.titleColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Orientation":this._orientation=u.parse(r.StiStrips_StiOrientation,n.textContent);break;case"ShowInLegend":this.showInLegend=n.textContent.stimulsoft.toBoolean();break;case"MaxValue":this.maxValue=n.textContent;break;case"MinValue":this.minValue=n.textContent;break;case"Visible":this.visible=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(f.prototype,"componentId",{get:function(){return t.StiComponentId.StiStrips},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),f.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return null!=this.core&&(e.core=this.core.clone(),e.core.strips=e),e},Object.defineProperty(f.prototype,"serviceCategory",{get:function(){return"Chart"},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"serviceType",{get:function(){return f},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e,e&&null!=this.chart&&this.core.applyStyle(this.chart.style))},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"showBehind",{get:function(){return this._showBehind},set:function(e){this._showBehind=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"stripBrush",{get:function(){return this._stripBrush},set:function(e){this._stripBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"antialiasing",{get:function(){return this._antialiasing},set:function(e){this._antialiasing=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"titleVisible",{get:function(){return this._titleVisible},set:function(e){this._titleVisible=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"titleColor",{get:function(){return this._titleColor},set:function(e){this._titleColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"showInLegend",{get:function(){return this._showInLegend},set:function(e){this._showInLegend=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"maxValue",{get:function(){return this._maxValue},set:function(e){this._maxValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"minValue",{get:function(){return this._minValue},set:function(e){this._minValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"chart",{get:function(){return this._chart},set:function(e){this._chart=e},enumerable:!1,configurable:!0}),f}(h);r.StiStrips=f}(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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF01,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle01=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(r){void 0===r&&(r=null);var i=t.call(this)||this;return i.core=new e.StiCustomStyleCoreXF(i),i.core.reportStyleName=r,i}return __extends(r,t),r.prototype.implements=function(){return r.implementsStiCustomStyle||(r.implementsStiCustomStyle=t.prototype.implements.call(this).concat([e.IStiCustomStyle])),r.implementsStiCustomStyle},Object.defineProperty(r.prototype,"serviceName",{get:function(){return"CustomStyle"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"customCore",{get:function(){return this.core},enumerable:!1,configurable:!0}),r}(e.StiStyle01);e.StiCustomStyle=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF02,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle02=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF03,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle03=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF04,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle04=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF05,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle05=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF06,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle06=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF07,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle07=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF08,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiStyle03);e.StiStyle08=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF09,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle09=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF10,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle10=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF11,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle11=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF12,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle12=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF13,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle13=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF14,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle14=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF15,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle15=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF16,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle16=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF17,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle17=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF18,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle18=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF19,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle19=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(){var r=t.call(this)||this;return r.core=new e.StiStyleCoreXF20,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle20=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(){var r=t.call(this)||this;return r.isOffice2015Style=!0,r.core=new e.StiStyleCoreXF21,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle21=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(){var r=t.call(this)||this;return r.isOffice2015Style=!0,r.core=new e.StiStyleCoreXF22,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle22=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(){var r=t.call(this)||this;return r.isOffice2015Style=!0,r.core=new e.StiStyleCoreXF23,r}return __extends(r,t),r.prototype.createNew=function(){return new r},r}(e.StiChartStyle);e.StiStyle23=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.Localization.StiLocalization,i=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.Orange,r.isOffice2015Style=!0,r.core=new t.StiStyleCoreXF24,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiChartStyle);t.StiStyle24=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=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.Turquoise,r.core=new t.StiStyleCoreXF26,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiChartStyle);t.StiStyle26=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=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.SlateGray,r.core=new t.StiStyleCoreXF27,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiChartStyle);t.StiStyle27=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=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.DarkBlue,r.core=new t.StiStyleCoreXF28,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiChartStyle);t.StiStyle28=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=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.DarkGray,r.isOffice2015Style=!0,r.core=new t.StiStyleCoreXF30,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiChartStyle);t.StiStyle30=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=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.DarkTurquoise,r.isOffice2015Style=!0,r.core=new t.StiStyleCoreXF31,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiChartStyle);t.StiStyle31=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=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.Silver,r.isOffice2015Style=!0,r.core=new t.StiStyleCoreXF32,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiChartStyle);t.StiStyle32=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=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.AliceBlue,r.isOffice2015Style=!0,r.core=new t.StiStyleCoreXF33,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiChartStyle);t.StiStyle33=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=e.Report.Dashboard.StiElementStyleIdent,n=function(e){function n(){var r=e.call(this)||this;return r.allowDashboard=!0,r.styleIdent=i.DarkGreen,r.isOffice2015Style=!0,r.core=new t.StiStyleCoreXF34,r}return __extends(n,e),Object.defineProperty(n.prototype,"dashboardName",{get:function(){return r.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),n.prototype.createNew=function(){return new n},n}(t.StiChartStyle);t.StiStyle34=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.StiJsonReportObjectHelper,i=e.Base.StiJson,n=e.System.Drawing.Color,o=e.System.Drawing.Font,a=function(){function t(e,t,r,i){void 0===e&&(e=!1),void 0===t&&(t=1),void 0===r&&(r=new o("Arial",8)),void 0===i&&(i=n.darkGray),this._font=new o("Arial",8),this._textColor=n.darkGray,this._shrinkFontToFit=!1,this._shrinkFontToFitMinimumSize=1,this._font=r,this._textColor=i,this._shrinkFontToFit=e,this._shrinkFontToFitMinimumSize=t}return t.prototype.saveToJsonObject=function(e){var t=new i;return t.addPropertyStringNullOrEmpty("Font",r.Serialize.fontArial8(this.font)),t.addPropertyStringNullOrEmpty("TextColor",r.Serialize.jColor(this._textColor,n.darkGray)),t.addPropertyNumber("ShrinkFontToFitMinimumSize",this._shrinkFontToFitMinimumSize,1),t.addPropertyBool("ShrinkFontToFit",this._shrinkFontToFit),t},t.prototype.loadFromJsonObject=function(e){var t,i;try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"Font":this.font=r.Deserialize.font(a.value.toString(),this.font);break;case"TextColor":this._textColor=r.Deserialize.color(a.value.toString());break;case"ShrinkFontToFitMinimumSize":this._shrinkFontToFitMinimumSize=a.value.stimulsoft.toNumber();break;case"ShrinkFontToFit":this._shrinkFontToFit=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}}},t.prototype.loadFromXml=function(t){for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Font":case"fn":this.font=e.System.Convert.toFont(i.textContent);break;case"TextColor":this._textColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"ShrinkFontToFitMinimumSize":this._shrinkFontToFitMinimumSize=i.textContent.stimulsoft.toNumber();break;case"ShrinkFontToFit":this._shrinkFontToFit=i.textContent.stimulsoft.toBoolean();break}}},t.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.font=this.font.clone(),e},Object.defineProperty(t.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textColor",{get:function(){return this._textColor},set:function(e){this._textColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shrinkFontToFit",{get:function(){return this._shrinkFontToFit},set:function(e){this._shrinkFontToFit=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shrinkFontToFitMinimumSize",{get:function(){return this._shrinkFontToFitMinimumSize},set:function(e){this._shrinkFontToFitMinimumSize=e},enumerable:!1,configurable:!0}),t}();t.StiChartTableDataCells=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.StiJsonReportObjectHelper,i=e.Base.StiJson,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.System.Drawing.Font,c=function(){function c(e,t,r,i){void 0===e&&(e=new a(l.white)),void 0===t&&(t=new u("Arial",8)),void 0===r&&(r=l.darkGray),void 0===i&&(i=!1),this._brush=new a(l.white),this._font=new u("Arial",8),this._textColor=l.darkGray,this._wordWrap=!1,this._brush=e,this._font=t,this._textColor=r,this._wordWrap=i}return c.prototype.implements=function(){return c.implementsStiChartTableHeader||(c.implementsStiChartTableHeader=[n,t.IStiChartTableHeader,o]),c.implementsStiChartTableHeader},c.prototype.saveToJsonObject=function(e){var t=new i;return t.addPropertyStringNullOrEmpty("Brush",r.Serialize.jBrush(this.brush)),t.addPropertyStringNullOrEmpty("Font",r.Serialize.fontArial8(this.font)),t.addPropertyStringNullOrEmpty("TextColor",r.Serialize.jColor(this._textColor,l.darkGray)),t.addPropertyBool("WordWrap",this.wordWrap),t},c.prototype.loadFromJsonObject=function(e){var t,i;try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var a=o.value;switch(a.name){case"Brush":this.brush=r.Deserialize.brush(a.value.toString());break;case"Font":this.font=r.Deserialize.font(a.value.toString(),this.font);break;case"TextColor":this._textColor=r.Deserialize.color(a.value.toString());break;case"WordWrap":this.wordWrap=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}}},c.prototype.loadFromXml=function(t){for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Brush":case"bh":this.brush=s.convertToBrush(i.textContent);break;case"Font":case"fn":this.font=e.System.Convert.toFont(i.textContent);break;case"TextColor":this._textColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"WordWrap":this.wordWrap=i.textContent.stimulsoft.toBoolean();break}}},c.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.brush=this.brush.clone(),e.font=this.font.clone(),e},Object.defineProperty(c.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"textColor",{get:function(){return this._textColor},set:function(e){this._textColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"wordWrap",{get:function(){return this._wordWrap},set:function(e){this._wordWrap=e},enumerable:!1,configurable:!0}),c}();t.StiChartTableHeader=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.StiJson,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.System.ICloneable,a=e.System.Enum,s=function(){function e(){this._mode=r.StiTopNMode.None,this._count=5,this._showOthers=!0,this._othersText="Others"}return e.prototype.implements=function(){return e.implementsStiSeriesTopN||(e.implementsStiSeriesTopN=[n,r.IStiSeriesTopN,o]),e.implementsStiSeriesTopN},e.prototype.saveToJsonObject=function(e){var t=new i;return t.addPropertyEnum("Mode",r.StiTopNMode,this._mode,r.StiTopNMode.None),t.addPropertyNumber("Count",this._count,5),t.addPropertyBool("ShowOthers",this._showOthers,!0),t.addPropertyString("OthersText",this._othersText,"Others"),t},e.prototype.loadFromJsonObject=function(e){var t,i;try{for(var n=__values(e.properties()),o=n.next();!o.done;o=n.next()){var s=o.value;switch(s.name){case"Mode":this._mode=a.parse(r.StiTopNMode,s.value.toString());break;case"Count":this._count=s.value.stimulsoft.toNumber();break;case"ShowOthers":this._showOthers=s.value.stimulsoft.toBoolean();break;case"OthersText":this._othersText=s.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}}},e.prototype.loadFromXml=function(e){for(var t=0;t<e.childNodes.length;t++){var i=e.childNodes[t];switch(i.nodeName){case"Mode":this._mode=a.parse(r.StiTopNMode,i.textContent);break;case"Count":this._count=i.textContent.stimulsoft.toNumber();break;case"ShowOthers":this._showOthers=i.textContent.stimulsoft.toBoolean();break;case"OthersText":this._othersText=i.textContent;break}}},Object.defineProperty(e.prototype,"componentId",{get:function(){return t.StiComponentId.StiSeriesTopN},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),e.prototype.clone=function(){var e;return this.stimulsoft.memberwiseClone()},Object.defineProperty(e.prototype,"mode",{get:function(){return this._mode},set:function(e){this._mode=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return this._count},set:function(e){this._count=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showOthers",{get:function(){return this._showOthers},set:function(e){this._showOthers=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"othersText",{get:function(){return this._othersText},set:function(e){this._othersText=e},enumerable:!1,configurable:!0}),e}();r.StiSeriesTopN=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.System.StiString,n=e.Base.StiJsonReportObjectHelper,o=e.Base.StiJson,a=e.Base.JsonReportObject.IStiJsonReportObject,s=e.System.ICloneable,l=e.Base.Drawing.StiPenStyle,u=e.System.Enum,c=e.System.Drawing.Color,h=e.Base.Services.StiService,p=e.System.Drawing.Font,f=function(h){function f(){var e=null!==h&&h.apply(this,arguments)||this;return e._lineColor=c.black,e._lineWidth=1,e._lineStyle=l.Solid,e._showShadow=!0,e._allowApplyStyle=!0,e._position=r.StiTrendLine_StiTextPosition.LeftBottom,e._font=new p("Arial",7),e._text="",e._titleVisible=!0,e}return __extends(f,h),f.prototype.implements=function(){return f.implementsStiTrendLine||(f.implementsStiTrendLine=h.prototype.implements.call(this).concat([r.IStiTrendLine,s,a])),f.implementsStiTrendLine},f.prototype.saveToJsonObject=function(e){var t=new o;return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyStringNullOrEmpty("LineColor",n.Serialize.jColor(this.lineColor,c.black)),t.addPropertyNumber("LineWidth",this._lineWidth,1),t.addPropertyEnum("LineStyle",l,this._lineStyle,l.Solid),t.addPropertyBool("ShowShadow",this._showShadow,!0),t.addPropertyEnum("Position",r.StiTrendLine_StiTextPosition,this._position,r.StiConstantLines_StiTextPosition.LeftBottom),t.addPropertyStringNullOrEmpty("Font",n.Serialize.font(this.font,"Arial",7)),t.addPropertyStringNullOrEmpty("Text",this._text),t.addPropertyBool("TitleVisible",this._titleVisible,!0),t.addPropertyBool("AllowApplyStyle",this.allowApplyStyle,!0),t},f.prototype.loadFromJsonObject=function(e){var t,i;try{for(var o=__values(e.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"Position":this._position=u.parse(r.StiTrendLine_StiTextPosition,s.value.toString());break;case"Font":this.font=n.Deserialize.font(s.value.toString(),this.font);break;case"Text":this._text=s.value.toString();break;case"TitleVisible":this._titleVisible=s.value.stimulsoft.toBoolean();break;case"LineColor":this.lineColor=n.Deserialize.color(s.value.toString());break;case"LineWidth":this._lineWidth=s.value.stimulsoft.toNumber();break;case"LineStyle":this._lineStyle=u.parse(l,s.value.toString());break;case"ShowShadow":this._showShadow=s.value.stimulsoft.toBoolean();break;case"AllowApplyStyle":this.allowApplyStyle=s.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}},f.loadFromJsonObjectInternal=function(t){var r=t.properties().firstOrDefault((function(e){return"Ident"==e.name})).value.toString(),n=e["StiOptions"].Services.chartTrendLines.firstOrDefault((function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==r}));if(null==n)throw i.format("Type {0} is not found!",r);var o=n.createNew();return o.loadFromJsonObject(t),o},f.prototype.loadFromXml=function(t){for(var i=0;i<t.childNodes.length;i++){var n=t.childNodes[i];switch(n.nodeName){case"Position":this._position=u.parse(r.StiTrendLine_StiTextPosition,n.textContent);break;case"Font":case"fn":this.font=e.System.Convert.toFont(n.textContent);break;case"Text":this._text=n.textContent;break;case"TitleVisible":this._titleVisible=n.textContent.stimulsoft.toBoolean();break;case"LineColor":this.lineColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"LineWidth":this._lineWidth=n.textContent.stimulsoft.toNumber();break;case"LineStyle":this._lineStyle=u.parse(l,n.textContent.toString());break;case"ShowShadow":this._showShadow=n.textContent.stimulsoft.toBoolean();break;case"AllowApplyStyle":this.allowApplyStyle=n.textContent.stimulsoft.toBoolean();break}}},f.loadTrendLineFromXml=function(e){switch(e.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Chart.StiTrendLineNone":var t=new r.StiTrendLineNone;return t.loadFromXml(e),t;case"Stimulsoft.Report.Chart.StiTrendLineLinear":var i=new r.StiTrendLineLinear;return i.loadFromXml(e),i;case"Stimulsoft.Report.Chart.StiTrendLineExponential":var n=new r.StiTrendLineExponential;return n.loadFromXml(e),n;case"Stimulsoft.Report.Chart.StiTrendLineLogarithmic":var o=new r.StiTrendLineLogarithmic;return o.loadFromXml(e),o}return new r.StiTrendLineNone},Object.defineProperty(f.prototype,"componentId",{get:function(){return t.StiComponentId.StiTrendLine},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),f.prototype.clone=function(){var e=h.prototype.clone.call(this);return null!=this.core&&(e.core=this.core.clone(),e.core.trendLine=e),e},Object.defineProperty(f.prototype,"serviceName",{get:function(){return this.core.localizedName},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"serviceCategory",{get:function(){return"Chart"},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"serviceType",{get:function(){return f},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"lineColor",{get:function(){return this._lineColor},set:function(e){this._lineColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"lineWidth",{get:function(){return this._lineWidth},set:function(e){this._lineWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"lineStyle",{get:function(){return this._lineStyle},set:function(e){this._lineStyle=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"showShadow",{get:function(){return this._showShadow},set:function(e){this._showShadow=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"position",{get:function(){return this._position},set:function(e){this._position=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"titleVisible",{get:function(){return this._titleVisible},set:function(e){this._titleVisible=e},enumerable:!1,configurable:!0}),f.prototype.createNew=function(){return null},f.prototype.toString=function(){return this.serviceName},f}(h);r.StiTrendLine=f}(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.StiTrendLineExponentialCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiTrendLineExponential||(o.implementsStiTrendLineExponential=e.prototype.implements.call(this).concat([r.IStiTrendLine,n,i,r.IStiTrendLineExponential])),o.implementsStiTrendLineExponential},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiTrendLineExponential},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiTrendLine);r.StiTrendLineExponential=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.StiTrendLineLinearCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiTrendLineLinear||(o.implementsStiTrendLineLinear=e.prototype.implements.call(this).concat([r.IStiTrendLine,r.IStiTrendLineLinear,n,i])),o.implementsStiTrendLineLinear},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiTrendLineLinear},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiTrendLine);r.StiTrendLineLinear=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.StiTrendLineLogarithmicCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiTrendLineLogarithmic||(o.implementsStiTrendLineLogarithmic=e.prototype.implements.call(this).concat([r.IStiTrendLine,r.IStiTrendLineLogarithmic,n,i])),o.implementsStiTrendLineLogarithmic},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiTrendLineLogarithmic},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiTrendLine);r.StiTrendLineLogarithmic=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.StiTrendLineNoneCoreXF(t),t}return __extends(o,e),o.prototype.implements=function(){return o.implementsStiTrendLineNone||(o.implementsStiTrendLineNone=e.prototype.implements.call(this).concat([r.IStiTrendLine,r.IStiTrendLineNone,i,n])),o.implementsStiTrendLineNone},Object.defineProperty(o.prototype,"componentId",{get:function(){return t.StiComponentId.StiTrendLineNone},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},o}(r.StiTrendLine);r.StiTrendLineNone=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.StiJson,o=e.Base.JsonReportObject.IStiJsonReportObject,a=e.System.ICloneable,s=e.Base.Drawing.StiPenStyle,l=e.System.Enum,u=e.System.Drawing.Color,c=function(){function c(){this.lineColor=u.lightGray,this.lineWidth=1,this.visible=!0}return c.prototype.implements=function(){return c.implementsStiWaterfallConnectorLine||(c.implementsStiWaterfallConnectorLine=[r.IStiTrendLine,a,o]),c.implementsStiWaterfallConnectorLine},c.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},c.prototype.saveToJsonObject=function(e){var t=new n;return t.addPropertyStringNullOrEmpty("LineColor",i.Serialize.jColor(this.lineColor,u.lightGray)),t.addPropertyNumber("LineWidth",this.lineWidth,1),t.addPropertyEnum("LineStyle",s,this.lineStyle,s.Solid),t.addPropertyBool("TitleVisible",this.visible,!0),t},c.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"Visible":this.visible=a.value.stimulsoft.toBoolean();break;case"LineColor":this.lineColor=i.Deserialize.color(a.value.toString());break;case"LineWidth":this.lineWidth=a.value.stimulsoft.toNumber();break;case"LineStyle":this.lineStyle=l.parse(s,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}}},c.prototype.loadFromXml=function(t){for(var r=0;r<t.childNodes.length;r++){var i=t.childNodes[r];switch(i.nodeName){case"Visible":this.visible=i.textContent.stimulsoft.toBoolean();break;case"LineColor":this.lineColor=e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent);break;case"LineWidth":this.lineWidth=i.textContent.stimulsoft.toNumber();break;case"LineStyle":this.lineStyle=l.parse(s,i.textContent.toString());break}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return t.StiComponentId.StiTrendLine},enumerable:!1,configurable:!0}),c}();r.StiWaterfallConnectorLine=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.StiJson,n=e.Base.JsonReportObject.IStiJsonReportObject,o=e.System.ICloneable,a=function(){function e(){this.text="Total",this.visible=!0}return e.prototype.implements=function(){return e.implementsStiWaterfallTotal||(e.implementsStiWaterfallTotal=[r.IStiTrendLine,o,n]),e.implementsStiWaterfallTotal},e.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},e.prototype.saveToJsonObject=function(e){var t=new i;return t.addPropertyStringNullOrEmpty("Text",this.text),t.addPropertyBool("Visible",this.visible,!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"Visible":this.visible=o.value.stimulsoft.toBoolean();break;case"Text":this.text=o.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){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Visible":this.visible=r.textContent.stimulsoft.toBoolean();break;case"Text":this.text=r.textContent;break}}},Object.defineProperty(e.prototype,"componentId",{get:function(){return t.StiComponentId.StiTrendLine},enumerable:!1,configurable:!0}),e}();r.StiWaterfallTotal=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(){function e(){}return Object.defineProperty(e,"oldChartPercentMode",{get:function(){return e._oldChartPercentMode},set:function(t){e._oldChartPercentMode=t},enumerable:!1,configurable:!0}),e._oldChartPercentMode=!1,e}();e.StiChartOptions=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.System.Drawing.Point,n=e.System.Drawing.Size,o=function(){function e(){this._updateContext=!1,this._recallEvent=!1,this._recallTime=r.zero,this._isRecalled=!1,this._mousePoint=i.empty,this._dragEnabled=!1,this._dragDelta=n.empty,this._interactionToolTip=null,this._interactionHyperlink=null,this._seriesInteractionData=null}return Object.defineProperty(e.prototype,"updateContext",{get:function(){return this._updateContext},set:function(e){this._updateContext=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"recallEvent",{get:function(){return this._recallEvent},set:function(e){this._recallEvent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"recallTime",{get:function(){return this._recallTime},set:function(e){this._recallTime=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRecalled",{get:function(){return this._isRecalled},set:function(e){this._isRecalled=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mousePoint",{get:function(){return this._mousePoint},set:function(e){this._mousePoint=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dragEnabled",{get:function(){return this._dragEnabled},set:function(e){this._dragEnabled=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dragDelta",{get:function(){return this._dragDelta},set:function(e){this._dragDelta=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"interactionToolTip",{get:function(){return this._interactionToolTip},set:function(e){this._interactionToolTip=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"interactionHyperlink",{get:function(){return this._interactionHyperlink},set:function(e){this._interactionHyperlink=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seriesInteractionData",{get:function(){return this._seriesInteractionData},set:function(e){this._seriesInteractionData=e},enumerable:!1,configurable:!0}),e}();t.StiInteractionOptions=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(e){e[e["Left"]=0]="Left",e[e["Right"]=1]="Right",e[e["Beyond"]=2]="Beyond",e[e["Behind"]=3]="Behind",e[e["Between"]=4]="Between",e[e["Origin"]=5]="Origin",e[e["Destination"]=6]="Destination"}(n||(n={}));var o=function(){function e(){}return e.getPointClassify=function(e,t,r){var o=new i(r.x-t.x,r.y-t.y),a=new i(e.x-t.x,e.y-t.y),s=o.x*a.y-a.x*o.y;if(s>0)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)<Math.sqrt(a.x*a.x+a.y*a.y))return n.Beyond;if(t.stimulsoft.equals(e))return n.Origin;if(r.stimulsoft.equals(e))return n.Destination;return n.Between},e.isPointInTriangle=function(t,r,i,o){return e.getPointClassify(t,r,i)!=n.Left&&e.getPointClassify(t,i,o)!=n.Left&&e.getPointClassify(t,o,r)!=n.Left},e.isPointInPolygon=function(t,r){for(var i=0;i<r.length;i++)if(e.getPointClassify(t,r[i],i+1<r.length?r[i+1]:r[0])==n.Left)return!1;return!0},e.getLineOffsetRectangle=function(e,t,n){var o=Math.atan2(t.y-e.y,t.x-e.x),a=n/2,s=r.create(i,4,!0);return s[0]=new i(e.x+a*Math.cos(o+.5*Math.PI),e.y+a*Math.sin(o+.5*Math.PI)),s[1]=new i(t.x+a*Math.cos(o+.5*Math.PI),t.y+a*Math.sin(o+.5*Math.PI)),s[2]=new i(t.x+a*Math.cos(o+1.5*Math.PI),t.y+a*Math.sin(o+1.5*Math.PI)),s[3]=new i(e.x+a*Math.cos(o+1.5*Math.PI),e.y+a*Math.sin(o+1.5*Math.PI)),s},e.isLineContainsPoint=function(t,r,i,n){var o=this.getLineOffsetRectangle(t,r,i);return e.isPointInPolygon(n,o)},e.optimizePoints=function(e){if(e.length<800)return e;var t=1,r=0,n=0,o=0,a=0,s=[];while(r<e.length){if(null==e[r]){while(r<e.length&&null==e[r])r++;s.push(null);continue}var l=e[r];if(++r<e.length&&null!=e[r]&&null!=e[r]&&e[r].x-l.x<t){n=l.x,o=l.y,a=l.y;var u=l.y,c=l.y;while(r<e.length&&null!=e[r]&&null!=e[r]&&e[r].x-n<t)o=Math.min(o,e[r].y),a=Math.max(a,e[r].y),c=e[r].y,r++;c>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;s<t.length;s++)a=t[s],e.getSquareDistance(a,n)>r&&(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;p<s;p++){var f=e.getSquareSegmentDistance(t[p],t[a],t[s]);f>h&&(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<n;p++)0!=o[p]&&c.push(t[p]);return c},e.simplify=function(t,r,i){if(null==t||0==t.length)return[];var n=r*r;if(i)return e.simplifyDouglasPeucker(t,n);var o=e.simplifyRadialDistance(t,n);return e.simplifyDouglasPeucker(o,n)},e}();t.StiSimplifyHelper=n}(r=t.Chart||(t.Chart={}))}(t=e.Report||(e.Report={}))}(Stimulsoft||(Stimulsoft={}));;
|
|
var Stimulsoft;
|
|
(function (Stimulsoft) {
|
|
var Reflection;
|
|
(function (Reflection) {
|
|
var StiTypesHelper = (function () {
|
|
function StiTypesHelper() {
|
|
}
|
|
StiTypesHelper.run = function (type, namespace) {
|
|
if (type === undefined) {
|
|
StiTypesHelper.run(Stimulsoft, "Stimulsoft");
|
|
return;
|
|
}
|
|
namespace = namespace.stimulsoft.replaceAll("Stimulsoft.System", "System");
|
|
for (var name_1 in type) {
|
|
if (typeof type[name_1] == "function") {
|
|
type[name_1].ssTypeName = name_1;
|
|
type[name_1].ssNamespace = namespace;
|
|
}
|
|
else if (typeof type[name_1] == "object") {
|
|
StiTypesHelper.run(type[name_1], namespace + "." + name_1);
|
|
}
|
|
}
|
|
};
|
|
return StiTypesHelper;
|
|
}());
|
|
Reflection.StiTypesHelper = StiTypesHelper;
|
|
})(Reflection = Stimulsoft.Reflection || (Stimulsoft.Reflection = {}));
|
|
})(Stimulsoft || (Stimulsoft = {}));
|
|
Stimulsoft.Reflection.StiTypesHelper.run();
|
|
if (typeof module === "object") {
|
|
module.exports = Stimulsoft;
|
|
}
|
|
; |