text: "use strict";define(["./lib/js/analysis/analysis","qlik","ng!$q"],function(e,n,l){var o=!0,a=function(){var e=n.currApp(void 0),o=l.defer();return e.getAppLayout(function(e){var n=e.qLocaleInfo.qThousandSep,l=e.qLocaleInfo.qDecimalSep;return o.resolve([{value:0,label:"1"+n+"000"},{value:1,label:"1"+n+"000"+l+"1"},{value:2,label:"1"+n+"000"+l+"12"},{value:3,label:"12%"},{value:4,label:"12"+l+"3%"},{value:5,label:"12"+l+"34%"}])}),o.promise};return{type:"items",component:"accordion",items:{dims:{label:"Dimensions",items:{Dimensions:{type:"array",ref:"props.dimensions",label:"Dimensions",itemTitleRef:"label",allowAdd:!0,allowRemove:!0,addTranslation:"Add dimension",items:{expression:{label:"Field",type:"string",ref:"expression",expression:"optional"},label:{label:"Label",type:"string",maxlength:100,ref:"label"}}}}},meas:{label:"Measures",items:{Measures:{type:"array",ref:"props.measures",label:"Measures",itemTitleRef:"label",allowAdd:!0,allowRemove:!0,addTranslation:"Add measure",items:{expression:{label:"Expression",type:"string",ref:"expression",expression:"optional"},label:{label:"Label",type:"string",maxlength:100,ref:"label"},numberFormatting:{type:"string",component:"dropdown",label:"Number formatting",ref:"numberFormatting",options:[{value:0,label:"Auto"},{value:1,label:"Number"},{value:2,label:"Money"},{value:5,label:"Custom"}],defaultValue:0},formatting:{type:"boolean",component:"switch",label:"Formatting",ref:"formatting",options:[{value:!0,label:"Simple"},{value:!1,label:"Custom"}],defaultValue:!0,show:function(e){return 1===e.numberFormatting}},numberFormattingSimple:{type:"string",component:"dropdown",ref:"numberFormattingSimple",options:a().then(function(e){return e}),defaultValue:2,show:function(e){return 1===e.numberFormatting&&(e.formatting===!0||"undefined"==typeof e.formatting)}},customCurrency:{label:"Currency",type:"string",maxlength:100,ref:"customCurrency",defaultValue:"$",show:function(e){return 2===e.numberFormatting}},prefixSuffix:{type:"string",component:"dropdown",ref:"prefixSuffix",options:[{value:"prefix",label:"Prefix"},{value:"suffix",label:"Suffix"}],defaultValue:"prefix",show:function(e){return 2===e.numberFormatting}},numberFormatPattern:{label:"Format pattern",type:"string",maxlength:100,ref:"numberFormatPattern",defaultValue:",.2f",show:function(e){return 1===e.numberFormatting&&e.formatting===!1}},moneyFormatPattern:{label:"Format pattern",type:"string",maxlength:100,ref:"moneyFormatPattern",defaultValue:",.2f",show:function(e){return 2===e.numberFormatting}},customFormatPattern:{label:"Format pattern",type:"string",maxlength:100,ref:"customFormatPattern",defaultValue:",.2f",show:function(e){return 5===e.numberFormatting}}}}}},sorting:{type:"items",label:"Sorting",items:{sortMessage:{label:"Sort function is not provided for this analysis type. Sort the data source or perform sort in the load script.",component:"text",show:function(e){return[0,17].indexOf(e.props.analysisTypeId)<0}},sortDim:{type:"items",label:"Dimension",show:function(e){return[0,17].indexOf(e.props.analysisTypeId)>=0},items:{dimSort:{type:"boolean",component:"switch",label:"Sorting",ref:"props.dimSort",options:[{value:!0,label:"Auto"},{value:!1,label:"Custom"}],defaultValue:!0},dimSortByExpression:{type:"boolean",label:"Sort by expression",ref:"props.dimSortByExpression",defaultValue:!1,show:function(e){return!e.props.dimSort}},dimSortByExpressionAsc:{type:"integer",component:"dropdown",ref:"props.dimSortByExpressionAsc",options:[{value:1,label:"Ascending"},{value:-1,label:"Descending"}],defaultValue:1,show:function(e){return!e.props.dimSort&&e.props.dimSortByExpression}},dimSortByExpressionString:{label:"Expression",type:"string",ref:"props.dimSortByExpressionString",expression:"optional",show:function(e){return!e.props.dimSort&&e.props.dimSortByExpression}},dimSortByNum:{type:"boolean",label:"Sort numerically",ref:"props.dimSortByNum",defaultValue:!1,show:function(e){return!e.props.dimSort}},dimSortByNumAsc:{type:"integer",component:"dropdown",ref:"props.dimSortByNumAsc",options:[{value:1,label:"Ascending"},{value:-1,label:"Descending"}],defaultValue:1,show:function(e){return!e.props.dimSort&&e.props.dimSortByNum}},dimSortByAlph:{type:"boolean",label:"Sort alphabetically",ref:"props.dimSortByAlph",defaultValue:!1,show:function(e){return!e.props.dimSort}},dimSortByAlphAsc:{type:"integer",component:"dropdown",ref:"props.dimSortByAlphAsc",options:[{value:1,label:"Ascending"},{value:-1,label:"Descending"}],defaultValue:1,show:function(e){return!e.props.dimSort&&e.props.dimSortByAlph}}}}}},addons:{uses:"addons",items:{dataHandling:{uses:"dataHandling"},ReferenceLine:{label:"Reference Line",items:{fixlimit:{ref:"props.limit",label:"Limit",type:"integer",defaultValue:"",show:function(e){return[9].indexOf(e.props.analysisTypeId)>=0}},fixlimitlabel:{type:"string",label:"Label",ref:"props.limitlabel",defaultValue:"Reference Line",show:function(e){return[9].indexOf(e.props.analysisTypeId)>=0}},fixlimitstyle:{type:"string",label:"Line style",component:"dropdown",ref:"props.limitstyle",options:[{value:"lines",label:"lines"},{value:"dashdot",label:"dashdot"},{value:"solid",label:"solid"},{value:"dot",label:"dot"}],defaultValue:"lines",show:function(e){return[9].indexOf(e.props.analysisTypeId)>=0}},fixlimitwidth:{type:"string",label:"Line Width",component:"dropdown",ref:"props.limitwidth",options:[{value:"1",label:"tiny"},{value:"2",label:"mid"},{value:"4",label:"huge"}],defaultValue:"1",show:function(e){return[9].indexOf(e.props.analysisTypeId)>=0}},fixlimitcolor:{label:"Color",component:"color-picker",ref:"props.limitcolor",type:"object",defaultValue:{index:11,color:"#000000"},show:function(e){return[9].indexOf(e.props.analysisTypeId)>=0}}}}}},analysis:{label:"Analysis Settings",items:{analysisCategoryDropDown:{type:"integer",component:"dropdown",label:"Analysis Category",ref:"props.analysisCategoryId",options:e.analysisCategories.map(function(e){return{value:e.id,label:e.name}}),defaultValue:-1},analysisTypeDropDown:{type:"integer",component:"dropdown",label:"Analysis Type",ref:"props.analysisTypeId",options:function(n){var l=e.analysisTypes.filter(function(e){return e.category===n.props.analysisCategoryId}).map(function(e){return{value:e.id,label:e.name}});return l},show:function(e){return e.props.analysisCategoryId>=0},defaultValue:-1},displayTable:{type:"boolean",component:"switch",label:"Table display mode",ref:"props.displayTable",options:[{value:!1,label:"Off"},{value:!0,label:"On"}],defaultValue:!1,show:function(e){return[0,9,30].indexOf(e.props.analysisTypeId)>=0}},displayFormula:{type:"boolean",component:"switch",label:"Display formula",ref:"props.displayFormula",options:[{value:!1,label:"Off"},{value:!0,label:"On"}],defaultValue:!1,show:function(e){return[0].indexOf(e.props.analysisTypeId)>=0}},extendLine:{type:"boolean",component:"switch",label:"Extend line",ref:"props.extendLine",options:[{value:!1,label:"Off"},{value:!0,label:"On"}],defaultValue:!1,show:function(e){return[0].indexOf(e.props.analysisTypeId)>=0}},extendDurations:{ref:"props.extendDurations",label:"Extend durations",type:"string",show:function(e){return[0].indexOf(e.props.analysisTypeId)>=0&&e.props.extendLine===!0},defaultValue:12},interval:{type:"string",component:"dropdown",label:"Interval",ref:"props.interval",options:[{value:"confidence",label:"confidence"},{value:"prediction",label:"prediction"}],defaultValue:"confidence",show:function(e){return[0,1,17].indexOf(e.props.analysisTypeId)>=0}},confidenceLevel:{ref:"props.confidenceLevel",label:"Confidence level",type:"string",show:function(e){return[0,1,2,3,4,5,9,17,22,30].indexOf(e.props.analysisTypeId)>=0},defaultValue:.95},frequency:{ref:"props.frequency",label:"Frequency",type:"integer",show:function(e){return[8,9,30].indexOf(e.props.analysisTypeId)>=0},defaultValue:12},numberOfClusters:{ref:"props.numberOfClusters",label:"Number of clusters",type:"integer",show:function(e){return[10,16,24].indexOf(e.props.analysisTypeId)>=0},defaultValue:3},optimizationMethod:{ref:"props.optimizationMethod",label:"Optimization method",component:"dropdown",type:"string",options:[{value:"gap",label:"Gap Statistic"}],defaultValue:"gap",show:function(e){return[23].indexOf(e.props.analysisTypeId)>=0}},clusterMax:{ref:"props.clusterMax",label:"Max number of clusters",type:"integer",show:function(e){return[23].indexOf(e.props.analysisTypeId)>=0},defaultValue:10},bootstrap:{ref:"props.bootstrap",label:"Number of Monte Carlo samples",type:"integer",show:function(e){return[23].indexOf(e.props.analysisTypeId)>=0},defaultValue:10},scaleData:{type:"boolean",component:"switch",label:"Scale data",ref:"props.scaleData",options:[{value:!1,label:"Off"},{value:!0,label:"On"}],defaultValue:!1,show:function(e){return[10,16,23,24].indexOf(e.props.analysisTypeId)>=0}},dividedBy:{type:"string",component:"dropdown",label:"Grouped by",ref:"props.dividedBy",options:[{value:"variables",label:"Variables"},{value:"clusters",label:"Clusters"}],defaultValue:"clusters",show:function(e){return[24].indexOf(e.props.analysisTypeId)>=0}},differencing:{ref:"props.differencing",label:"Differencing",component:"dropdown",type:"integer",options:[{value:0,label:"Off"},{value:1,label:"Seasonal differences"},{value:2,label:"First and seasonal differences"}],defaultValue:0,show:function(e){return[6,7,12].indexOf(e.props.analysisTypeId)>=0}},seasonalDifferences:{ref:"props.seasonalDifferences",label:"Seasonal differences",type:"integer",defaultValue:12,show:function(e){return[6,7,12].indexOf(e.props.analysisTypeId)>=0&&[1,2].indexOf(e.props.differencing)>=0}},firstDifferences:{ref:"props.firstDifferences",label:"First differences",type:"integer",defaultValue:1,show:function(e){return[6,7,9,12].indexOf(e.props.analysisTypeId)>=0&&2===e.props.differencing}},lagMax:{type:"boolean",component:"switch",label:"Lag max",ref:"props.lagMax",options:[{value:!0,label:"Auto"},{value:!1,label:"Custom"}],defaultValue:!0,show:function(e){return[6].indexOf(e.props.analysisTypeId)>=0}},lagMaxValue:{ref:"props.lagMaxValue",label:"Lag max",type:"integer",defaultValue:20,show:function(e){return[6].indexOf(e.props.analysisTypeId)>=0&&e.props.lagMax===!1}},lag:{type:"boolean",component:"switch",label:"Lag",ref:"props.lag",options:[{value:!0,label:"Auto"},{value:!1,label:"Custom"}],defaultValue:!0,show:function(e){return[7].indexOf(e.props.analysisTypeId)>=0}},lagValue:{ref:"props.lagValue",label:"Lag",type:"integer",defaultValue:1,show:function(e){return[7].indexOf(e.props.analysisTypeId)>=0&&e.props.lag===!1}},decomposeInFourCharts:{type:"boolean",component:"switch",label:"Display in 4 charts ",ref:"props.decomposeInFourCharts",options:[{value:!0,label:"On"},{value:!1,label:"Off"}],defaultValue:!0,show:function(e){return[8].indexOf(e.props.analysisTypeId)>=0}},forecastingPeriods:{ref:"props.forecastingPeriods",label:"Forecasting periods",type:"integer",show:function(e){return[9,30].indexOf(e.props.analysisTypeId)>=0},defaultValue:12},displayARIMAParams:{type:"boolean",component:"switch",label:"Display ARIMA parameters",ref:"props.displayARIMAParams",options:[{value:!1,label:"Off"},{value:!0,label:"On"}],defaultValue:!1,show:function(e){return[9].indexOf(e.props.analysisTypeId)>=0}},autoARIMA:{type:"boolean",component:"switch",label:"Parameter settings",ref:"props.autoARIMA",options:[{value:!0,label:"Auto"},{value:!1,label:"Custom"}],defaultValue:!0,show:function(e){return[9].indexOf(e.props.analysisTypeId)>=0}},AROrder:{ref:"props.AROrder",label:"AR Order(p)",type:"integer",defaultValue:0,show:function(e){return[9].indexOf(e.props.analysisTypeId)>=0&&e.props.autoARIMA===!1}},DegreeOfDifferencing:{ref:"props.DegreeOfDifferencing",label:"Degree of differencing(d)",type:"integer",defaultValue:0,show:function(e){return[9].indexOf(e.props.analysisTypeId)>=0&&e.props.autoARIMA===!1}},MAOrder:{ref:"props.MAOrder",label:"MA Order(q)",type:"integer",defaultValue:0,show:function(e){return[9].indexOf(e.props.analysisTypeId)>=0&&e.props.autoARIMA===!1}},SeasonalAROrder:{ref:"props.SeasonalAROrder",label:"Seasonal AR Order(P)",type:"integer",defaultValue:0,show:function(e){return[9].indexOf(e.props.analysisTypeId)>=0&&e.props.autoARIMA===!1}},SeasonalDegreeOfDifferencing:{ref:"props.SeasonalDegreeOfDifferencing",label:"Seasonal degree of differencing(D)",type:"integer",defaultValue:0,show:function(e){return[9].indexOf(e.props.analysisTypeId)>=0&&e.props.autoARIMA===!1}},SeasonalMAOrder:{ref:"props.SeasonalMAOrder",label:"Seasonal MA Order(Q)",type:"integer",defaultValue:0,show:function(e){return[9].indexOf(e.props.analysisTypeId)>=0&&e.props.autoARIMA===!1}},displayHoltWintersParams:{type:"boolean",component:"switch",label:"Display Holt-Winters parameters",ref:"props.displayHoltWintersParams",options:[{value:!1,label:"Off"},{value:!0,label:"On"}],defaultValue:!1,show:function(e){return[30].indexOf(e.props.analysisTypeId)>=0}},autoHoltWinters:{type:"boolean",component:"switch",label:"Parameter settings",ref:"props.autoHoltWinters",options:[{value:!0,label:"Auto"},{value:!1,label:"Custom"}],defaultValue:!0,show:function(e){return[30].indexOf(e.props.analysisTypeId)>=0}},holtWintersAlpha:{ref:"props.holtWintersAlpha",label:"Alpha",type:"integer",defaultValue:1,show:function(e){return[30].indexOf(e.props.analysisTypeId)>=0&&e.props.autoHoltWinters===!1}},holtWintersBeta:{ref:"props.holtWintersBeta",label:"Beta",type:"integer",defaultValue:1,show:function(e){return[30].indexOf(e.props.analysisTypeId)>=0&&e.props.autoHoltWinters===!1}},holtWintersGamma:{ref:"props.holtWintersGamma",label:"Alpha",type:"integer",defaultValue:1,show:function(e){return[30].indexOf(e.props.analysisTypeId)>=0&&e.props.autoHoltWinters===!1}},seasonal:{type:"string",component:"dropdown",label:"Seasonal",ref:"props.seasonal",options:[{value:"mult",label:"Multiplicative"},{value:"additive",label:"Additive"}],defaultValue:"additive",show:function(e){return[8,30].indexOf(e.props.analysisTypeId)>=0}},numOfFrequentTerms:{ref:"props.numOfFrequentTerms",label:"Show top N frequent terms",type:"integer",defaultValue:50,show:function(e){return[13].indexOf(e.props.analysisTypeId)>=0}},tolower:{type:"string",component:"switch",label:"Convert to lower case",ref:"props.tolower",options:[{value:"FALSE",label:"Off"},{value:"TRUE",label:"On"}],defaultValue:"TRUE",show:function(e){return[13].indexOf(e.props.analysisTypeId)>=0}},removeNumbers:{type:"string",component:"switch",label:"Remove numbers",ref:"props.removeNumbers",options:[{value:"FALSE",label:"Off"},{value:"TRUE",label:"On"}],defaultValue:"TRUE",show:function(e){return[13].indexOf(e.props.analysisTypeId)>=0}},stopwords:{type:"string",component:"switch",label:"Remove English common stepwords",ref:"props.stopwords",options:[{value:"FALSE",label:"Off"},{value:"TRUE",label:"On"}],defaultValue:"TRUE",show:function(e){return[13].indexOf(e.props.analysisTypeId)>=0}},removePunctuation:{type:"string",component:"switch",label:"Remove punctuations",ref:"props.removePunctuation",options:[{value:"FALSE",label:"Off"},{value:"TRUE",label:"On"}],defaultValue:"TRUE",show:function(e){return[13].indexOf(e.props.analysisTypeId)>=0}},stemming:{type:"string",component:"switch",label:"Text stemming",ref:"props.stemming",options:[{value:"FALSE",label:"Off"},{value:"TRUE",label:"On"}],defaultValue:"TRUE",show:function(e){return[13].indexOf(e.props.analysisTypeId)>=0}},rpartMethod:{type:"string",component:"dropdown",label:"Method",ref:"props.rpartMethod",options:[{value:"class",label:"Class"},{value:"anova",label:"Anova"}],defaultValue:"class",show:function(e){return[25,26].indexOf(e.props.analysisTypeId)>=0}},minSplit:{ref:"props.minSplit",label:"Minimum split",type:"integer",defaultValue:20,show:function(e){return[25,26].indexOf(e.props.analysisTypeId)>=0}},minBucket:{ref:"props.minBucket",label:"Minimum bucket",type:"integer",defaultValue:6,show:function(e){return[25,26].indexOf(e.props.analysisTypeId)>=0}},cp:{ref:"props.cp",label:"Complexity parameter(cp)",type:"number",defaultValue:.01,show:function(e){return[25,26].indexOf(e.props.analysisTypeId)>=0}},maxDepth:{ref:"props.maxDepth",label:"Max depth",type:"integer",defaultValue:30,show:function(e){return[25,26].indexOf(e.props.analysisTypeId)>=0}},defaultCollapseLevel:{ref:"props.defaultCollapseLevel",label:"Default Collapse Level",type:"integer",defaultValue:3,show:function(e){return[25].indexOf(e.props.analysisTypeId)>=0}},displayResultsOnAllNodes:{type:"boolean",component:"switch",label:"Display results on all nodes",ref:"props.displayResultsOnAllNodes",options:[{value:!0,label:"On"},{value:!1,label:"Off"}],defaultValue:!1,show:function(e){return[25].indexOf(e.props.analysisTypeId)>=0}},calcOddsRatio:{type:"boolean",component:"switch",label:"Calculate odds ratio",ref:"props.calcOddsRatio",options:[{value:!0,label:"On"},{value:!1,label:"Off"}],defaultValue:!0,show:function(e){return[29].indexOf(e.props.analysisTypeId)>=0}},splitDataset:{type:"boolean",component:"switch",label:"Split into training and test datasets",ref:"props.splitDataset",options:[{value:!0,label:"On"},{value:!1,label:"Off"}],defaultValue:!1,show:function(e){return[25,27,29].indexOf(e.props.analysisTypeId)>=0}},splitPercentage:{ref:"props.splitPercentage",label:"Treat first N% records as training dataset",type:"number",min:.01,max:.99,defaultValue:.8,show:function(e){return[25,27,29].indexOf(e.props.analysisTypeId)>=0&&e.props.splitDataset===!0||[26,28].indexOf(e.props.analysisTypeId)>=0}},debugMode:{type:"boolean",component:"switch",label:"Debug mode",ref:"props.debugMode",options:[{value:!1,label:"Off"},{value:!0,label:"On"}],defaultValue:!1,show:function(e){return o}},debugModeLink:{label:"What is debug mode?",component:"link",url:"https://github.com/mhamano/advanced-analytics-toolbox/blob/master/docs/debugmode.md",show:function(e){return o}}}},settings:{uses:"settings",items:{presentation:{type:"items",label:"Presentation",items:{line:{type:"string",component:"dropdown",ref:"props.line",options:[{value:"none",label:"Line"},{value:"tozeroy",label:"Area"}],defaultValue:"none",show:function(e){return[0,6,8,9,17,20,30].indexOf(e.props.analysisTypeId)>=0}},datapoints:{type:"boolean",label:"Show data points",ref:"props.datapoints",defaultValue:!1,show:function(e){return[0,6,8,9,17,20,30].indexOf(e.props.analysisTypeId)>=0}},borderWidth:{type:"number",component:"slider",label:"Border Width",ref:"props.borderWidth",min:0,max:10,step:1,defaultValue:1,show:function(e){return[0,6,8,9,15,17,20,29,30].indexOf(e.props.analysisTypeId)>=0}},pointRadius:{type:"number",component:"slider",label:"Point Radius",ref:"props.pointRadius",min:1,max:10,step:1,defaultValue:6,show:function(e){return[0,6,8,9,15,17,20,29,30].indexOf(e.props.analysisTypeId)>=0}},bubbleSize:{type:"number",component:"slider",label:"Bubble Size",ref:"props.bubbleSize",min:0,max:50,step:1,defaultValue:12,show:function(e){return[1,10,16,19,25].indexOf(e.props.analysisTypeId)>=0}},marginTop:{type:"number",component:"slider",label:"Margin top",ref:"props.marginTop",min:0,max:200,step:1,defaultValue:10,show:function(e){return[0,1,6,8,9,10,14,15,16,17,19,20,23,24,29,30].indexOf(e.props.analysisTypeId)>=0}},marginBottom:{type:"number",component:"slider",label:"Margin bottom",ref:"props.marginBottom",min:0,max:200,step:1,defaultValue:10,show:function(e){return[0,1,6,8,9,10,14,15,16,17,19,20,23,24,29,30].indexOf(e.props.analysisTypeId)>=0}},marginRight:{type:"number",component:"slider",label:"Margin right",ref:"props.marginRight",min:0,max:200,step:1,defaultValue:10,show:function(e){return[0,1,6,8,9,10,14,15,16,17,19,20,23,24,29,30].indexOf(e.props.analysisTypeId)>=0}},marginLeft:{type:"number",component:"slider",label:"Margin left",ref:"props.marginLeft",min:0,max:200,step:1,defaultValue:10,show:function(e){return[0,1,6,8,9,10,14,15,16,17,19,20,23,24,29,30].indexOf(e.props.analysisTypeId)>=0}},defineScreenSize:{type:"boolean",component:"switch",label:"Screen size",ref:"props.defineScreenSize",options:[{value:!0,label:"Auto"},{value:!1,label:"Custom"}],defaultValue:!0,show:function(e){return[25].indexOf(e.props.analysisTypeId)>=0}},screenWidth:{label:"Width",ref:"props.screenWidth",type:"integer",defaultValue:960,show:function(e){return[25].indexOf(e.props.analysisTypeId)>=0&&e.props.defineScreenSize===!1}},screenHeight:{label:"Height",ref:"props.screenHeight",type:"integer",defaultValue:500,show:function(e){return[25].indexOf(e.props.analysisTypeId)>=0&&e.props.defineScreenSize===!1}}}},colorsAndLegend:{type:"items",label:"Colors and legend",items:{colors:{type:"boolean",component:"switch",label:"Colors",ref:"props.colors",options:[{value:!0,label:"Auto"},{value:!1,label:"Custom"}],defaultValue:!0,show:function(e){return[0,1,6,8,9,15,17,19,20,25,29,30].indexOf(e.props.analysisTypeId)>=0}},colorForMain:{label:"Color",component:"color-picker",ref:"props.colorForMain",type:"object",defaultValue:{index:3,color:"#4477aa"},show:function(e){return[0,1,6,8,9,15,17,19,20,25,29,30].indexOf(e.props.analysisTypeId)>=0&&e.props.colors===!1}},colorForSub:{label:"Color (Trend/Forecast)",component:"color-picker",ref:"props.colorForSub",type:"object",defaultValue:{index:7,color:"#f93f17"},show:function(e){return[0,1,9,17,19,20,30].indexOf(e.props.analysisTypeId)>=0&&e.props.colors===!1}},showLegend:{type:"boolean",component:"switch",label:"Show legend",ref:"props.showLegend",options:[{value:!0,label:"On"},{value:!1,label:"Off"}],defaultValue:!1,show:function(e){return[0,1,9,10,15,16,17,19,20,24,29,30].indexOf(e.props.analysisTypeId)>=0}}}},xAxis:{type:"items",label:"X-axis",items:{xLabelsAndTitle:{type:"boolean",label:"Show title",component:"switch",ref:"props.xLabelsAndTitle",options:[{value:!0,label:"On"},{value:!1,label:"Off"}],defaultValue:!1,show:function(e){return[0,1,9,10,16,17,20,24,30].indexOf(e.props.analysisTypeId)>=0}},xAxisPosition:{type:"string",label:"Position",component:"dropdown",ref:"props.xAxisPosition",options:[{value:"bottom",label:"Bottom"},{value:"top",label:"Top"}],defaultValue:"bottom",show:function(e){return[0,1,9,10,15,17,20,24,29,30].indexOf(e.props.analysisTypeId)>=0}},xScale:{type:"boolean",component:"switch",label:"Scale",ref:"props.xScale",options:[{value:!0,label:"On"},{value:!1,label:"Off"}],defaultValue:!0,show:function(e){return[0,1,6,8,9,10,15,17,19,20,24,29,30].indexOf(e.props.analysisTypeId)>=0}},xAxisType:{type:"string",label:"Axis Type",component:"dropdown",ref:"props.xAxisType",options:[{value:"-",label:"Auto"},{value:"linear",label:"Linear"},{value:"category",label:"Category"},{value:"log",label:"Log"},{value:"data",label:"Date"}],defaultValue:"-",show:function(e){return[0,17].indexOf(e.props.analysisTypeId)>=0}}}},yAxis:{type:"items",label:"Y-axis",items:{yLabelsAndTitle:{type:"boolean",label:"Show title",component:"switch",ref:"props.yLabelsAndTitle",options:[{value:!0,label:"On"},{value:!1,label:"Off"}],defaultValue:!1,show:function(e){return[0,1,9,10,16,17,20,24,30].indexOf(e.props.analysisTypeId)>=0}},yAxisPosition:{type:"string",label:"Position",component:"dropdown",ref:"props.yAxisPosition",options:[{value:"left",label:"Left"},{value:"right",label:"Right"}],defaultValue:"left",show:function(e){return[0,1,9,10,15,17,20,24,29,30].indexOf(e.props.analysisTypeId)>=0}},yScale:{type:"boolean",component:"switch",label:"Scale",ref:"props.yScale",options:[{value:!0,label:"On"},{value:!1,label:"Off"}],defaultValue:!0,show:function(e){return[0,1,6,8,9,10,15,17,19,24,29,30].indexOf(e.props.analysisTypeId)>=0}}}},zAxis:{type:"items",label:"Z-axis",show:function(e){return[16].indexOf(e.props.analysisTypeId)>=0},items:{zLabelsAndTitle:{type:"boolean",label:"Show title",component:"switch",ref:"props.zLabelsAndTitle",options:[{value:!0,label:"On"},{value:!1,label:"Off"}],defaultValue:!1,show:function(e){return[16].indexOf(e.props.analysisTypeId)>=0}}}}}}}}});
  //# sourceMappingURL=lib/maps/properties.js.map
  