@nebula.js/sn-bar-chart 1.28.0 → 1.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  {
2
- "scriptappy": "1.0.0",
2
+ "scriptappy": "1.1.0",
3
3
  "info": {
4
4
  "name": "@nebula.js/sn-bar-chart:properties",
5
5
  "description": "Bar chart generic object definition",
6
- "version": "1.28.0",
6
+ "version": "1.29.0",
7
7
  "license": "MIT",
8
8
  "stability": "stable",
9
9
  "x-qlik-visibility": "public"
@@ -14,7 +14,6 @@
14
14
  "entries": {
15
15
  "barGrouping": {
16
16
  "description": "Bar grouping.",
17
- "kind": "object",
18
17
  "entries": {
19
18
  "grouping": {
20
19
  "description": "Group setting",
@@ -29,14 +28,13 @@
29
28
  "kind": "literal",
30
29
  "value": "'grouped'"
31
30
  }
32
- ],
33
- "type": "string"
31
+ ]
34
32
  }
35
- }
33
+ },
34
+ "kind": "object"
36
35
  },
37
36
  "color": {
38
37
  "description": "Color settings.\nMost color options for visualizations are set in the color object in the options. You activate custom coloring by setting `\"auto\": false` which turns off auto-coloring.\nIf `\"auto\": true`, no other properties need to be defined in the color object.\nNote: Some of the color properties are depending on which theme is currently being used.",
39
- "kind": "object",
40
38
  "entries": {
41
39
  "auto": {
42
40
  "description": "Set to use automatic coloring.\nWhen `\"auto\": true`, color settings are based on the visualization used and the number of dimensions\nand measures, that is, the settings are not fixed, but are dependent on the data input.",
@@ -133,8 +131,7 @@
133
131
  "kind": "literal",
134
132
  "value": "'dc'"
135
133
  }
136
- ],
137
- "type": "string"
134
+ ]
138
135
  },
139
136
  "mode": {
140
137
  "description": "Sets the coloring mode for the visualization when auto-coloring has been switched off (`\"auto\": false`). Can be one of:\n* `primary`: a single color (by default blue) is used for all items in the chart. In visualizations that do not benefit from multiple colors (bar charts with one dimension and scatter plots), single color is the default setting.\n* `byDimension`: coloring is based upon the amount of dimension values. Details are set in the `\"byDimDef\"` property.\n!Note: `byDimension` can only be used in conjunction with an attribute dimension on the dimension to color by, as shown in the example below.\n```json\n{\n \"qDef\": {\n \"qFieldDefs\": [\n \"NetScoreName\"\n ]\n },\n \"qAttributeDimensions\": [\n {\n \"qDef\": \"NetScoreName\",\n \"id\": \"colorByAlternative\",\n \"label\": \"Year\"\n }\n ]\n}\n```\n* `byExpression`: coloring is based on an expression, which in most cases is a color code. Details are set in the `\"expressionIsColor\"`, `\"expressionLabel`\" and `\"colorExpression\"` properties.\n* `byMeasure`: coloring is based on the measure value. Details are set in the `\"byMeasureDef\"` property.\n* `byMultiple`: can be used when more than one measure is used. By default, 12 colors are used for the dimensions. The colors are reused when there are more than 12 dimension values.",
@@ -161,8 +158,7 @@
161
158
  "kind": "literal",
162
159
  "value": "'byMultiple'"
163
160
  }
164
- ],
165
- "type": "string"
161
+ ]
166
162
  },
167
163
  "paletteColor": {
168
164
  "description": "The paletteColor object is used to define the color when you color by single color `(\"mode\": \"primary\")`.",
@@ -202,8 +198,7 @@
202
198
  "kind": "literal",
203
199
  "value": "'measure'"
204
200
  }
205
- ],
206
- "type": "string"
201
+ ]
207
202
  },
208
203
  "useDimColVal": {
209
204
  "description": "Set to true if you want to apply the colors defined for library dimensions when used.\nOnly applicable if `'colorMode': 'byDimension'`.",
@@ -213,21 +208,20 @@
213
208
  "useMeasureGradient": {
214
209
  "description": "Set to true if you want to apply the colors defined for library measures when used. Only applicable if `\"mode\": \"byMeasure\"`.",
215
210
  "defaultValue": true,
216
- "kind": "literal",
217
- "value": true
211
+ "type": "boolean"
218
212
  }
219
- }
213
+ },
214
+ "kind": "object"
220
215
  },
221
216
  "components": {
222
217
  "description": "Styling of chart components.",
223
218
  "kind": "array",
224
219
  "items": {
225
- "type": "#/definitions/Component"
220
+ "type": "#/definitions/Bar"
226
221
  }
227
222
  },
228
223
  "dataPoint": {
229
224
  "description": "Data point settings.",
230
- "kind": "object",
231
225
  "entries": {
232
226
  "showLabels": {
233
227
  "description": "Show labels on data points",
@@ -244,11 +238,11 @@
244
238
  "defaultValue": true,
245
239
  "type": "boolean"
246
240
  }
247
- }
241
+ },
242
+ "kind": "object"
248
243
  },
249
244
  "dimensionAxis": {
250
245
  "description": "Dimension axis settings.",
251
- "kind": "object",
252
246
  "entries": {
253
247
  "axisDisplayMode": {
254
248
  "description": "Set to specify axis display mode (number of bars).",
@@ -267,8 +261,7 @@
267
261
  "kind": "literal",
268
262
  "value": "'max'"
269
263
  }
270
- ],
271
- "type": "string"
264
+ ]
272
265
  },
273
266
  "continuousAuto": {
274
267
  "description": "Continuous setting used for toggling between auto and custom setting",
@@ -288,8 +281,7 @@
288
281
  "kind": "literal",
289
282
  "value": "'far'"
290
283
  }
291
- ],
292
- "type": "string"
284
+ ]
293
285
  },
294
286
  "label": {
295
287
  "description": "Label orientation",
@@ -308,8 +300,7 @@
308
300
  "kind": "literal",
309
301
  "value": "'tilted'"
310
302
  }
311
- ],
312
- "type": "string"
303
+ ]
313
304
  },
314
305
  "maxVisibleItems": {
315
306
  "description": "Only visible when axisDisplayMode is custom.\nMax = 10000 / (numDims+numMeasures)",
@@ -322,8 +313,7 @@
322
313
  {
323
314
  "type": "ValueExpression"
324
315
  }
325
- ],
326
- "type": "any"
316
+ ]
327
317
  },
328
318
  "show": {
329
319
  "description": "Labels and title",
@@ -346,10 +336,10 @@
346
336
  "kind": "literal",
347
337
  "value": "'none'"
348
338
  }
349
- ],
350
- "type": "string"
339
+ ]
351
340
  }
352
- }
341
+ },
342
+ "kind": "object"
353
343
  },
354
344
  "footnote": {
355
345
  "description": "Visualization footnote.",
@@ -363,12 +353,10 @@
363
353
  {
364
354
  "type": "StringExpression"
365
355
  }
366
- ],
367
- "type": "any"
356
+ ]
368
357
  },
369
358
  "gridLine": {
370
359
  "description": "Grid lines settings.",
371
- "kind": "object",
372
360
  "entries": {
373
361
  "auto": {
374
362
  "description": "Automatic grid line spacing.",
@@ -396,14 +384,13 @@
396
384
  "kind": "literal",
397
385
  "value": 3
398
386
  }
399
- ],
400
- "type": "number"
387
+ ]
401
388
  }
402
- }
389
+ },
390
+ "kind": "object"
403
391
  },
404
392
  "legend": {
405
393
  "description": "Legend settings.",
406
- "kind": "object",
407
394
  "entries": {
408
395
  "dock": {
409
396
  "description": "Sets the legend position.",
@@ -430,8 +417,7 @@
430
417
  "kind": "literal",
431
418
  "value": "'top'"
432
419
  }
433
- ],
434
- "type": "string"
420
+ ]
435
421
  },
436
422
  "show": {
437
423
  "description": "Set to show the legend.",
@@ -443,11 +429,11 @@
443
429
  "defaultValue": true,
444
430
  "type": "boolean"
445
431
  }
446
- }
432
+ },
433
+ "kind": "object"
447
434
  },
448
435
  "measureAxis": {
449
436
  "description": "Measure axis settings.",
450
- "kind": "object",
451
437
  "entries": {
452
438
  "autoMinMax": {
453
439
  "description": "Automatic max/min",
@@ -467,8 +453,7 @@
467
453
  "kind": "literal",
468
454
  "value": "'far'"
469
455
  }
470
- ],
471
- "type": "string"
456
+ ]
472
457
  },
473
458
  "max": {
474
459
  "description": "Axis max value. `\"autoMinMax\"` must be set to false and `\"minMax\"`\nmust be set to `\"max\"` or `\"minMax\"` to use this property",
@@ -481,8 +466,7 @@
481
466
  {
482
467
  "type": "ValueExpression"
483
468
  }
484
- ],
485
- "type": "any"
469
+ ]
486
470
  },
487
471
  "min": {
488
472
  "description": "Axis min value. `\"autoMinMax\"` must be set to false and `\"minMax\"`\nmust be set to `\"min\"` or `\"minMax\"` to use this property",
@@ -495,8 +479,7 @@
495
479
  {
496
480
  "type": "ValueExpression"
497
481
  }
498
- ],
499
- "type": "any"
482
+ ]
500
483
  },
501
484
  "minMax": {
502
485
  "description": "Set custom max/min",
@@ -515,8 +498,7 @@
515
498
  "kind": "literal",
516
499
  "value": "'minMax'"
517
500
  }
518
- ],
519
- "type": "string"
501
+ ]
520
502
  },
521
503
  "show": {
522
504
  "description": "Labels and title",
@@ -539,15 +521,15 @@
539
521
  "kind": "literal",
540
522
  "value": "'none'"
541
523
  }
542
- ],
543
- "type": "string"
524
+ ]
544
525
  },
545
526
  "spacing": {
546
527
  "description": "Axis scale",
547
528
  "defaultValue": 1,
548
529
  "type": "number"
549
530
  }
550
- }
531
+ },
532
+ "kind": "object"
551
533
  },
552
534
  "orientation": {
553
535
  "description": "Orientation setting.\nIf vertical, the dimension axis can only be docked on bottom or top and measure axis on left or right.",
@@ -562,8 +544,7 @@
562
544
  "kind": "literal",
563
545
  "value": "'horizontal'"
564
546
  }
565
- ],
566
- "type": "string"
547
+ ]
567
548
  },
568
549
  "preferContinuousAxis": {
569
550
  "description": "Chart axis setting to control preference of scale on a dimensional axis.\nIf true, the scale along the dimensional axis will be continuous if\nthe data supports it, discrete otherwise.",
@@ -603,7 +584,6 @@
603
584
  },
604
585
  "refLine": {
605
586
  "description": "Reference lines settings",
606
- "kind": "object",
607
587
  "entries": {
608
588
  "dimRefLines": {
609
589
  "description": "Array of dimension based reference line definitions",
@@ -619,7 +599,8 @@
619
599
  "type": "#/definitions/refLine"
620
600
  }
621
601
  }
622
- }
602
+ },
603
+ "kind": "object"
623
604
  },
624
605
  "scrollbar": {
625
606
  "description": "Sets the style of the scroll bar",
@@ -638,8 +619,7 @@
638
619
  "kind": "literal",
639
620
  "value": "'none'"
640
621
  }
641
- ],
642
- "type": "string"
622
+ ]
643
623
  },
644
624
  "scrollStartPos": {
645
625
  "description": "Scroll Alignment. If 0, then the scrollbar will start at the left/top of the chart,\nif 1 it starts at the right/bottom of the chart. Generally decides if the scroll\nstarts at the beginning or end of the data",
@@ -649,7 +629,7 @@
649
629
  "showDetails": {
650
630
  "description": "Show visualization details toggle",
651
631
  "optional": true,
652
- "defaultValue": false,
632
+ "defaultValue": true,
653
633
  "type": "boolean"
654
634
  },
655
635
  "showDisclaimer": {
@@ -680,8 +660,7 @@
680
660
  {
681
661
  "type": "StringExpression"
682
662
  }
683
- ],
684
- "type": "any"
663
+ ]
685
664
  },
686
665
  "title": {
687
666
  "description": "Visualization title.",
@@ -695,12 +674,10 @@
695
674
  {
696
675
  "type": "StringExpression"
697
676
  }
698
- ],
699
- "type": "any"
677
+ ]
700
678
  },
701
679
  "tooltip": {
702
680
  "description": "Custom tooltip properties",
703
- "kind": "object",
704
681
  "entries": {
705
682
  "auto": {
706
683
  "description": "Toggle for using custom tooltip or regular tooltip",
@@ -714,14 +691,14 @@
714
691
  },
715
692
  "data": {
716
693
  "description": "Data for the custom tooltip.",
717
- "kind": "object",
718
694
  "entries": {
719
695
  "qHyperCubeDef": {
720
696
  "description": "A hypercube definition containing measures to be displayed in the custom tooltip.\nExtends `HyperCubeDef`, see Engine API: `HyperCubeDef`.",
721
697
  "defaultValue": "undefined",
722
698
  "type": "HyperCubeDef"
723
699
  }
724
- }
700
+ },
701
+ "kind": "object"
725
702
  },
726
703
  "hideBasic": {
727
704
  "description": "Toggle for hiding basic information from custom tooltip",
@@ -736,7 +713,8 @@
736
713
  "type": "#/definitions/ImageComponent"
737
714
  }
738
715
  }
739
- }
716
+ },
717
+ "kind": "object"
740
718
  },
741
719
  "version": {
742
720
  "description": "Current version of this generic object definition",
@@ -750,6 +728,14 @@
750
728
  "description": "It allows you to accumulate values of your measure over one or two dimensions.",
751
729
  "kind": "object",
752
730
  "entries": {
731
+ "fullAccumulation": {
732
+ "description": "Select whether the accumulation will happen on the Full range or Custom range.",
733
+ "type": "boolean"
734
+ },
735
+ "showExcludedValues": {
736
+ "description": "Shows the excluded values (values not in the current selection) in the accumulation.",
737
+ "type": "boolean"
738
+ },
753
739
  "type": {
754
740
  "description": "This should be set to `\"accumulation\"`.",
755
741
  "type": "string"
@@ -764,22 +750,14 @@
764
750
  "optional": true,
765
751
  "type": "boolean"
766
752
  },
767
- "fullAccumulation": {
768
- "description": "Select whether the accumulation will happen on the Full range or Custom range.",
753
+ "disabled": {
754
+ "optional": true,
769
755
  "type": "boolean"
770
756
  },
771
757
  "steps": {
772
758
  "description": "Only applicable when `fullAccumulation` is set to `false`. The number of steps in the dimensions which form an accumulation range. Only zero and positive integers are accepted.\nNote: Sorting order of dimension values (or step order) is important and affects results.",
773
759
  "optional": true,
774
760
  "type": "number"
775
- },
776
- "showExcludedValues": {
777
- "description": "Shows the excluded values (values not in the current selection) in the accumulation.",
778
- "type": "boolean"
779
- },
780
- "disabled": {
781
- "optional": true,
782
- "type": "boolean"
783
761
  }
784
762
  }
785
763
  },
@@ -799,16 +777,18 @@
799
777
  }
800
778
  },
801
779
  "AttributeExpressionProperties": {
802
- "kind": "union",
803
- "items": [
804
- {
805
- "type": "#/definitions/ColorAttributes"
806
- },
807
- {
808
- "type": "#/definitions/CustomTooltipAttributes"
809
- }
810
- ],
811
- "type": "any"
780
+ "kind": "alias",
781
+ "items": {
782
+ "kind": "union",
783
+ "items": [
784
+ {
785
+ "type": "#/definitions/ColorAttributes"
786
+ },
787
+ {
788
+ "type": "#/definitions/CustomTooltipAttributes"
789
+ }
790
+ ]
791
+ }
812
792
  },
813
793
  "Bar": {
814
794
  "kind": "object",
@@ -849,8 +829,7 @@
849
829
  "kind": "literal",
850
830
  "value": "'large'"
851
831
  }
852
- ],
853
- "type": "string"
832
+ ]
854
833
  },
855
834
  "width": {
856
835
  "description": "A number greater than 0 and less than or equal to 1.",
@@ -881,8 +860,7 @@
881
860
  "kind": "literal",
882
861
  "value": "'libraryItem'"
883
862
  }
884
- ],
885
- "type": "string"
863
+ ]
886
864
  }
887
865
  }
888
866
  },
@@ -909,8 +887,7 @@
909
887
  "kind": "literal",
910
888
  "value": "'libraryItem'"
911
889
  }
912
- ],
913
- "type": "string"
890
+ ]
914
891
  }
915
892
  }
916
893
  },
@@ -929,9 +906,6 @@
929
906
  }
930
907
  }
931
908
  },
932
- "Component": {
933
- "type": "#/definitions/Bar"
934
- },
935
909
  "CustomTooltipAttributes": {
936
910
  "description": "Extends `NxAttrExprDef`, see Engine API: `NxAttrExprDef`.",
937
911
  "extends": [
@@ -961,8 +935,7 @@
961
935
  "kind": "literal",
962
936
  "value": "'customTooltipImages'"
963
937
  }
964
- ],
965
- "type": "string"
938
+ ]
966
939
  }
967
940
  },
968
941
  "examples": [
@@ -972,6 +945,10 @@
972
945
  "Difference": {
973
946
  "kind": "object",
974
947
  "entries": {
948
+ "showExcludedValues": {
949
+ "description": "Shows the excluded values (values not in the current selection) in the difference.",
950
+ "type": "boolean"
951
+ },
975
952
  "type": {
976
953
  "description": "This should be set to `\"difference\"`.",
977
954
  "type": "string"
@@ -986,10 +963,6 @@
986
963
  "optional": true,
987
964
  "type": "boolean"
988
965
  },
989
- "showExcludedValues": {
990
- "description": "Shows the excluded values (values not in the current selection) in the difference.",
991
- "type": "boolean"
992
- },
993
966
  "disabled": {
994
967
  "optional": true,
995
968
  "type": "boolean"
@@ -1019,71 +992,13 @@
1019
992
  "dimRefLine": {
1020
993
  "kind": "object",
1021
994
  "entries": {
1022
- "show": {
1023
- "description": "Set to true to display this reference line.",
1024
- "defaultValue": true,
1025
- "kind": "union",
1026
- "items": [
1027
- {
1028
- "type": "boolean"
1029
- },
1030
- {
1031
- "type": "ValueExpression"
1032
- }
1033
- ],
1034
- "type": "any"
1035
- },
1036
995
  "label": {
1037
996
  "description": "Reference line label.",
1038
997
  "type": "string"
1039
998
  },
1040
- "showLabel": {
1041
- "description": "Set to true to show the label of this reference line.",
1042
- "optional": true,
1043
- "defaultValue": true,
1044
- "type": "boolean"
1045
- },
1046
- "showValue": {
1047
- "description": "Set to true to show the value of this reference line.",
1048
- "optional": true,
1049
- "defaultValue": true,
1050
- "type": "boolean"
1051
- },
1052
999
  "paletteColor": {
1053
1000
  "type": "#/definitions/paletteColor"
1054
1001
  },
1055
- "style": {
1056
- "description": "Styling settings for reference line",
1057
- "optional": true,
1058
- "type": "#/definitions/refLineStyle"
1059
- },
1060
- "coloredBackground": {
1061
- "description": "Set to true to fill the label and/or value of this reference line with this color",
1062
- "optional": true,
1063
- "defaultValue": false,
1064
- "type": "boolean"
1065
- },
1066
- "align": {
1067
- "description": "Set alignment for this reference line",
1068
- "optional": true,
1069
- "defaultValue": "'center'",
1070
- "kind": "union",
1071
- "items": [
1072
- {
1073
- "kind": "literal",
1074
- "value": "'start'"
1075
- },
1076
- {
1077
- "kind": "literal",
1078
- "value": "'center'"
1079
- },
1080
- {
1081
- "kind": "literal",
1082
- "value": "'end'"
1083
- }
1084
- ],
1085
- "type": "string"
1086
- },
1087
1002
  "refLineExpr": {
1088
1003
  "kind": "object",
1089
1004
  "entries": {
@@ -1096,8 +1011,7 @@
1096
1011
  {
1097
1012
  "type": "ValueExpression"
1098
1013
  }
1099
- ],
1100
- "type": "any"
1014
+ ]
1101
1015
  },
1102
1016
  "label": {
1103
1017
  "optional": true,
@@ -1109,8 +1023,7 @@
1109
1023
  {
1110
1024
  "type": "StringExpression"
1111
1025
  }
1112
- ],
1113
- "type": "any"
1026
+ ]
1114
1027
  },
1115
1028
  "stringValue": {
1116
1029
  "kind": "union",
@@ -1121,10 +1034,65 @@
1121
1034
  {
1122
1035
  "type": "StringExpression"
1123
1036
  }
1124
- ],
1125
- "type": "any"
1037
+ ]
1126
1038
  }
1127
1039
  }
1040
+ },
1041
+ "show": {
1042
+ "description": "Set to true to display this reference line.",
1043
+ "defaultValue": true,
1044
+ "kind": "union",
1045
+ "items": [
1046
+ {
1047
+ "type": "boolean"
1048
+ },
1049
+ {
1050
+ "type": "ValueExpression"
1051
+ }
1052
+ ]
1053
+ },
1054
+ "align": {
1055
+ "description": "Set alignment for this reference line",
1056
+ "optional": true,
1057
+ "defaultValue": "'center'",
1058
+ "kind": "union",
1059
+ "items": [
1060
+ {
1061
+ "kind": "literal",
1062
+ "value": "'start'"
1063
+ },
1064
+ {
1065
+ "kind": "literal",
1066
+ "value": "'center'"
1067
+ },
1068
+ {
1069
+ "kind": "literal",
1070
+ "value": "'end'"
1071
+ }
1072
+ ]
1073
+ },
1074
+ "coloredBackground": {
1075
+ "description": "Set to true to fill the label and/or value of this reference line with this color",
1076
+ "optional": true,
1077
+ "defaultValue": false,
1078
+ "type": "boolean"
1079
+ },
1080
+ "showLabel": {
1081
+ "description": "Set to true to show the label of this reference line.",
1082
+ "optional": true,
1083
+ "defaultValue": true,
1084
+ "type": "boolean"
1085
+ },
1086
+ "showValue": {
1087
+ "description": "Set to true to show the value of this reference line.",
1088
+ "optional": true,
1089
+ "defaultValue": true,
1090
+ "type": "boolean"
1091
+ },
1092
+ "style": {
1093
+ "description": "Styling settings for reference line",
1094
+ "optional": true,
1095
+ "type": "#/definitions/refLineStyle"
1128
1096
  }
1129
1097
  }
1130
1098
  },
@@ -1132,14 +1100,6 @@
1132
1100
  "description": "Image component information structure.",
1133
1101
  "kind": "object",
1134
1102
  "entries": {
1135
- "type": {
1136
- "description": "Input type as 'url' or 'media library'",
1137
- "type": "string"
1138
- },
1139
- "size": {
1140
- "description": "Size as 'small','medium','large' or 'original'",
1141
- "type": "string"
1142
- },
1143
1103
  "cId": {
1144
1104
  "description": "Identifier of the image component - used as a link with an attribute expression",
1145
1105
  "type": "string"
@@ -1157,8 +1117,15 @@
1157
1117
  {
1158
1118
  "type": "#/definitions/MediaLibraryRef"
1159
1119
  }
1160
- ],
1161
- "type": "any"
1120
+ ]
1121
+ },
1122
+ "size": {
1123
+ "description": "Size as 'small','medium','large' or 'original'",
1124
+ "type": "string"
1125
+ },
1126
+ "type": {
1127
+ "description": "Input type as 'url' or 'media library'",
1128
+ "type": "string"
1162
1129
  }
1163
1130
  }
1164
1131
  },
@@ -1171,16 +1138,6 @@
1171
1138
  ],
1172
1139
  "kind": "object",
1173
1140
  "entries": {
1174
- "autoSort": {
1175
- "description": "Set to automatically sort the dimension.",
1176
- "optional": true,
1177
- "type": "boolean"
1178
- },
1179
- "cId": {
1180
- "description": "ID used by the Qlik Sense. Must be unique within the current chart.",
1181
- "optional": true,
1182
- "type": "string"
1183
- },
1184
1141
  "othersLabel": {
1185
1142
  "kind": "union",
1186
1143
  "items": [
@@ -1190,8 +1147,17 @@
1190
1147
  {
1191
1148
  "type": "StringExpression"
1192
1149
  }
1193
- ],
1194
- "type": "any"
1150
+ ]
1151
+ },
1152
+ "autoSort": {
1153
+ "description": "Set to automatically sort the dimension.",
1154
+ "optional": true,
1155
+ "type": "boolean"
1156
+ },
1157
+ "cId": {
1158
+ "description": "ID used by the Qlik Sense. Must be unique within the current chart.",
1159
+ "optional": true,
1160
+ "type": "string"
1195
1161
  }
1196
1162
  }
1197
1163
  },
@@ -1204,24 +1170,6 @@
1204
1170
  ],
1205
1171
  "kind": "object",
1206
1172
  "entries": {
1207
- "autoSort": {
1208
- "description": "Set to automatically sort the measure.",
1209
- "optional": true,
1210
- "type": "boolean"
1211
- },
1212
- "cId": {
1213
- "description": "ID used by the Qlik Sense. Must be unique within the current chart.",
1214
- "optional": true,
1215
- "type": "string"
1216
- },
1217
- "modifiers": {
1218
- "description": "Set to apply a modifier to a measure.",
1219
- "optional": true,
1220
- "kind": "array",
1221
- "items": {
1222
- "type": "#/definitions/Modifier"
1223
- }
1224
- },
1225
1173
  "isCustomFormatted": {
1226
1174
  "description": "Set to true to toggle off the default client formatting.",
1227
1175
  "type": "boolean"
@@ -1240,8 +1188,30 @@
1240
1188
  {
1241
1189
  "type": "StringExpression"
1242
1190
  }
1243
- ],
1244
- "type": "any"
1191
+ ]
1192
+ },
1193
+ "autoSort": {
1194
+ "description": "Set to automatically sort the measure.",
1195
+ "optional": true,
1196
+ "type": "boolean"
1197
+ },
1198
+ "cId": {
1199
+ "description": "ID used by the Qlik Sense. Must be unique within the current chart.",
1200
+ "optional": true,
1201
+ "type": "string"
1202
+ },
1203
+ "modifiers": {
1204
+ "description": "Set to apply a modifier to a measure.",
1205
+ "optional": true,
1206
+ "kind": "union",
1207
+ "items": [
1208
+ {
1209
+ "kind": "array",
1210
+ "items": {
1211
+ "type": "#/definitions/Modifier"
1212
+ }
1213
+ }
1214
+ ]
1245
1215
  }
1246
1216
  }
1247
1217
  },
@@ -1249,13 +1219,13 @@
1249
1219
  "description": "Chart component information structure.",
1250
1220
  "kind": "object",
1251
1221
  "entries": {
1252
- "style": {
1253
- "description": "Object containing the styles of the chart such as 'size'",
1254
- "type": "#/definitions/MasterVisualizationChartStyle"
1255
- },
1256
1222
  "object": {
1257
1223
  "description": "Object containing the information fo the visualization, such as refId in case of master visualization",
1258
1224
  "type": "#/definitions/MasterVisualizationChartObject"
1225
+ },
1226
+ "style": {
1227
+ "description": "Object containing the styles of the chart such as 'size'",
1228
+ "type": "#/definitions/MasterVisualizationChartStyle"
1259
1229
  }
1260
1230
  }
1261
1231
  },
@@ -1310,23 +1280,37 @@
1310
1280
  }
1311
1281
  },
1312
1282
  "Modifier": {
1313
- "kind": "union",
1314
- "items": [
1315
- {
1316
- "type": "#/definitions/Accumulation"
1317
- },
1318
- {
1319
- "type": "#/definitions/Difference"
1320
- },
1321
- {
1322
- "type": "#/definitions/MovingAverage"
1323
- }
1324
- ],
1325
- "type": "any"
1283
+ "kind": "alias",
1284
+ "items": {
1285
+ "kind": "union",
1286
+ "items": [
1287
+ {
1288
+ "type": "#/definitions/Accumulation"
1289
+ },
1290
+ {
1291
+ "type": "#/definitions/Difference"
1292
+ },
1293
+ {
1294
+ "type": "#/definitions/MovingAverage"
1295
+ }
1296
+ ]
1297
+ }
1326
1298
  },
1327
1299
  "MovingAverage": {
1328
1300
  "kind": "object",
1329
1301
  "entries": {
1302
+ "fullRange": {
1303
+ "description": "Select whether the moving average will happen on the Full range or Custom range.",
1304
+ "type": "boolean"
1305
+ },
1306
+ "nullSuppression": {
1307
+ "description": "Choose to have null values calculated by the moving average modifier.",
1308
+ "type": "boolean"
1309
+ },
1310
+ "showExcludedValues": {
1311
+ "description": "Shows the excluded values (values not in the current selection) in the moving average.",
1312
+ "type": "boolean"
1313
+ },
1330
1314
  "type": {
1331
1315
  "description": "This should be set to `\"movingAverage\"`.",
1332
1316
  "type": "string"
@@ -1341,26 +1325,14 @@
1341
1325
  "optional": true,
1342
1326
  "type": "boolean"
1343
1327
  },
1344
- "fullRange": {
1345
- "description": "Select whether the moving average will happen on the Full range or Custom range.",
1328
+ "disabled": {
1329
+ "optional": true,
1346
1330
  "type": "boolean"
1347
1331
  },
1348
1332
  "steps": {
1349
1333
  "description": "Only applicable when `fullRange` is set to `false`. The number of steps in the dimension which form a moving average. Only zero and positive integers are accepted.\nNote: Sorting order of dimension values (or step order) is important and affects results.",
1350
1334
  "optional": true,
1351
1335
  "type": "number"
1352
- },
1353
- "nullSuppression": {
1354
- "description": "Choose to have null values calculated by the moving average modifier.",
1355
- "type": "boolean"
1356
- },
1357
- "showExcludedValues": {
1358
- "description": "Shows the excluded values (values not in the current selection) in the moving average.",
1359
- "type": "boolean"
1360
- },
1361
- "disabled": {
1362
- "optional": true,
1363
- "type": "boolean"
1364
1336
  }
1365
1337
  }
1366
1338
  },
@@ -1391,50 +1363,13 @@
1391
1363
  "refLine": {
1392
1364
  "kind": "object",
1393
1365
  "entries": {
1394
- "show": {
1395
- "description": "Set to true to display this reference line.",
1396
- "defaultValue": true,
1397
- "kind": "union",
1398
- "items": [
1399
- {
1400
- "type": "boolean"
1401
- },
1402
- {
1403
- "type": "ValueExpression"
1404
- }
1405
- ],
1406
- "type": "any"
1407
- },
1408
1366
  "label": {
1409
1367
  "description": "Reference line label.",
1410
1368
  "type": "string"
1411
1369
  },
1412
- "showLabel": {
1413
- "description": "Set to true to show the label of this reference line.",
1414
- "optional": true,
1415
- "defaultValue": true,
1416
- "type": "boolean"
1417
- },
1418
- "showValue": {
1419
- "description": "Set to true to show the value of this reference line.",
1420
- "optional": true,
1421
- "defaultValue": true,
1422
- "type": "boolean"
1423
- },
1424
1370
  "paletteColor": {
1425
1371
  "type": "#/definitions/paletteColor"
1426
1372
  },
1427
- "style": {
1428
- "description": "Styling settings for reference line",
1429
- "optional": true,
1430
- "type": "#/definitions/refLineStyle"
1431
- },
1432
- "coloredBackground": {
1433
- "description": "Set to true to fill the label and/or value of this reference line with this color",
1434
- "optional": true,
1435
- "defaultValue": false,
1436
- "type": "boolean"
1437
- },
1438
1373
  "refLineExpr": {
1439
1374
  "kind": "object",
1440
1375
  "entries": {
@@ -1447,8 +1382,7 @@
1447
1382
  {
1448
1383
  "type": "ValueExpression"
1449
1384
  }
1450
- ],
1451
- "type": "any"
1385
+ ]
1452
1386
  },
1453
1387
  "label": {
1454
1388
  "optional": true,
@@ -1460,10 +1394,45 @@
1460
1394
  {
1461
1395
  "type": "StringExpression"
1462
1396
  }
1463
- ],
1464
- "type": "any"
1397
+ ]
1465
1398
  }
1466
1399
  }
1400
+ },
1401
+ "show": {
1402
+ "description": "Set to true to display this reference line.",
1403
+ "defaultValue": true,
1404
+ "kind": "union",
1405
+ "items": [
1406
+ {
1407
+ "type": "boolean"
1408
+ },
1409
+ {
1410
+ "type": "ValueExpression"
1411
+ }
1412
+ ]
1413
+ },
1414
+ "coloredBackground": {
1415
+ "description": "Set to true to fill the label and/or value of this reference line with this color",
1416
+ "optional": true,
1417
+ "defaultValue": false,
1418
+ "type": "boolean"
1419
+ },
1420
+ "showLabel": {
1421
+ "description": "Set to true to show the label of this reference line.",
1422
+ "optional": true,
1423
+ "defaultValue": true,
1424
+ "type": "boolean"
1425
+ },
1426
+ "showValue": {
1427
+ "description": "Set to true to show the value of this reference line.",
1428
+ "optional": true,
1429
+ "defaultValue": true,
1430
+ "type": "boolean"
1431
+ },
1432
+ "style": {
1433
+ "description": "Styling settings for reference line",
1434
+ "optional": true,
1435
+ "type": "#/definitions/refLineStyle"
1467
1436
  }
1468
1437
  }
1469
1438
  },