@astrato-io/visualizations 0.8.0 → 0.10.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.
Files changed (161) hide show
  1. package/README.md +9 -5
  2. package/THIRD_PARTY_NOTICES.md +403 -325
  3. package/VISUALIZATION_DEFINITIONS.md +319 -32
  4. package/chunks/{Button-BrGKp9Nm.js → Button-CCF851ea.js} +10 -10
  5. package/chunks/CircularProgress-yupH6YWs.js +765 -0
  6. package/chunks/FieldTypeIcon-D_MzsdfY.js +22 -0
  7. package/chunks/LinearProgress-CyFjN4px.js +327 -0
  8. package/chunks/{MenuOption-ByRqhRdX.js → MenuOption-CQpT79AP.js} +1391 -1008
  9. package/chunks/Title-C-p4ZarD.js +1804 -0
  10. package/chunks/_createAggregator-BF4qG9XK.js +50 -0
  11. package/chunks/{app-filter-bar.compiler-TwVTeoj5.js → app-filter-bar.compiler-8fxCo2q7.js} +10 -10
  12. package/chunks/bar-layout-DStC-GNV.js +9 -0
  13. package/chunks/{bar.compiler-DuQg8EUb.js → bar.compiler-CQAu8KL8.js} +102 -84
  14. package/chunks/{builder-DEDvNq1k.js → builder-CScg1TOS.js} +156 -60
  15. package/chunks/color-rules-DYJL4fIW.js +15 -0
  16. package/chunks/color-settings-DJFoFTip.js +5 -0
  17. package/chunks/{coloring-CncX_JRX.js → coloring-9jU3s_-p.js} +41 -41
  18. package/chunks/contains-BK-sRXcB.js +21 -0
  19. package/chunks/createSimplePaletteValueFilter-C4hZpCdn.js +2005 -0
  20. package/chunks/defaults-cyNhn37t.js +3 -0
  21. package/chunks/{definitions-BPJQTx16.js → definitions-C4grxhye.js} +612 -400
  22. package/chunks/{escobar-DRhRMYRE.js → escobar-CjirINHP.js} +5354 -5473
  23. package/chunks/{extend-preset-CUFNpmPe.js → extend-preset-D-l9u_we.js} +974 -909
  24. package/chunks/{filter.compiler-w27dlv0C.js → filter.compiler-lji2Acgn.js} +7 -7
  25. package/chunks/{filtering-cc7WqWpg.js → filtering-C1zakrrX.js} +570 -390
  26. package/chunks/handlers-ZviIUC-j.js +15387 -0
  27. package/chunks/{icon-picker-styles-CoJmwTRi.js → icon-picker-styles-Bj80ZUBK.js} +11 -11
  28. package/chunks/isEqual-Ch9OEye3.js +16 -0
  29. package/chunks/isFocusVisible-CgMP0qkR.js +144 -0
  30. package/chunks/label-format-type-C46pzgx7.js +17 -0
  31. package/chunks/{line.compiler-Ct1WhN2p.js → line.compiler-De5fiKuR.js} +6 -6
  32. package/chunks/{logger-DpQtYQnX.js → logger-CKRjhSHQ.js} +77 -66
  33. package/chunks/map.compiler-CKzorLgK.js +345 -0
  34. package/chunks/{metadata-WABZrt7Y.js → metadata-Bb9pTXrq.js} +1 -1
  35. package/chunks/{number.compiler-D8TPly-4.js → number.compiler-CaTmJkmi.js} +4 -4
  36. package/chunks/operations-DZoY50VX.js +31297 -0
  37. package/chunks/{range-Bi-7zT0k.js → range-D1BTmFMp.js} +2 -2
  38. package/chunks/react-dom-Dgv2azN2.js +368 -0
  39. package/chunks/{render-wrappers-OEmtaM8g.js → render-wrappers-_P3xwu5A.js} +1 -1
  40. package/chunks/{requirements-Dvd8jqYF.js → requirements-NHNrR8Ie.js} +55 -53
  41. package/chunks/responsive.styles-FItb913l.js +93 -0
  42. package/chunks/shared-UitWpq1J.js +1331 -0
  43. package/chunks/standalone-B0U6c3su.js +3638 -0
  44. package/chunks/{standalone-we5D5MIn.js → standalone-BBu90BhK.js} +113 -113
  45. package/chunks/standalone-BEekPuA12.js +357 -0
  46. package/chunks/{standalone-BMTCb10X.js → standalone-BOzHA_d4.js} +41 -41
  47. package/chunks/standalone-BR2JuRIC.js +422 -0
  48. package/chunks/{standalone-BGkmozIb.js → standalone-BapqaniK.js} +619 -619
  49. package/chunks/standalone-Bnnr87pc.js +2009 -0
  50. package/chunks/standalone-BwJqDj2Z.js +396 -0
  51. package/chunks/{standalone-BDhPQtzQ.js → standalone-ByKKqT5L.js} +308 -300
  52. package/chunks/{standalone-vBnBS2YC.js → standalone-CRdDZYeM.js} +1788 -1004
  53. package/chunks/standalone-CRfDOO1x.js +287 -0
  54. package/chunks/{standalone-D5Q5ngsD.js → standalone-CVknVdUC.js} +30 -27
  55. package/chunks/standalone-CbPk8bKn.js +580 -0
  56. package/chunks/{standalone-CJvIXsQE.js → standalone-Ck63MZzj.js} +234 -232
  57. package/chunks/{standalone-CM5XcAN5.js → standalone-DCFY1MAV.js} +8075 -7729
  58. package/chunks/{standalone-DW6NT205.js → standalone-DZDGX3aa.js} +168 -168
  59. package/chunks/standalone-DhfgeJIk.js +1012 -0
  60. package/chunks/{standalone-DT0wKji7.js → standalone-DibjA73M.js} +2 -2
  61. package/chunks/{standalone-XuGksArp.js → standalone-DtBk_iUz.js} +9 -8
  62. package/chunks/standalone-DxBAyqAu.js +772 -0
  63. package/chunks/standalone-KMQPsNsq.js +2 -0
  64. package/chunks/standalone-MBLSvsrY.js +2 -0
  65. package/chunks/standalone-U0WJwFlG.js +354 -0
  66. package/chunks/{standalone-C8ZAEutO.js → standalone-swGs70tD.js} +49 -51
  67. package/chunks/standalone-wgFAVnnm.js +355 -0
  68. package/chunks/standalone-xGV0dqPV.js +689 -0
  69. package/chunks/{table.compiler-DMeeHxb6.js → table.compiler-OWSx5MOq.js} +7 -7
  70. package/chunks/{typeof-CJDtcySz.js → typeof-DCq3QgvY.js} +6 -1
  71. package/chunks/useFieldName-B8iCYyw1.js +7 -0
  72. package/chunks/{utils-vdmi_2PK.js → utils-3Igg6xmO.js} +7668 -12779
  73. package/chunks/{view-BuwQugKb.js → view-DdMLZySj.js} +2430 -2110
  74. package/chunks/{visualization-filters-Cc4KU-l-.js → visualization-filters-CzvFHE6M.js} +5205 -4438
  75. package/chunks/with-html-element-DOfkR3C1.js +16094 -0
  76. package/definitions.js +2 -2
  77. package/docs/operations/astrato-app-filter-bar.md +1 -1
  78. package/docs/operations/bar.md +303 -2
  79. package/docs/operations/combo.md +262 -1
  80. package/docs/operations/date-picker.md +1 -1
  81. package/docs/operations/distribution-gauge.md +1 -1
  82. package/docs/operations/dot.md +148 -1
  83. package/docs/operations/filter.md +1 -1
  84. package/docs/operations/gauge.md +1 -1
  85. package/docs/operations/heatMap.md +1 -1
  86. package/docs/operations/histogram.md +262 -1
  87. package/docs/operations/iframe.md +1 -1
  88. package/docs/operations/image.md +1 -1
  89. package/docs/operations/index.md +8 -8
  90. package/docs/operations/line.md +262 -1
  91. package/docs/operations/number.md +1 -1
  92. package/docs/operations/pie.md +1 -1
  93. package/docs/operations/radar.md +1 -1
  94. package/docs/operations/sankey.md +1 -1
  95. package/docs/operations/scatter.md +148 -1
  96. package/docs/operations/shape.md +1 -1
  97. package/docs/operations/simpleTextObject.md +1 -1
  98. package/docs/operations/slider.md +1 -1
  99. package/docs/operations/table.md +439 -157
  100. package/docs/operations/tree.md +1 -1
  101. package/docs/operations/treemap.md +1 -1
  102. package/docs/operations/waterfall.md +1 -1
  103. package/docs/operations/word-cloud.md +1 -1
  104. package/getters.js +2 -2
  105. package/index.js +523 -469
  106. package/metadata.js +2 -2
  107. package/operations.js +5 -5
  108. package/package.json +74 -68
  109. package/src/definitions/index.d.ts +1 -1
  110. package/src/definitions/model/definitions/available-fields.d.ts +2 -2
  111. package/src/definitions/model/definitions/compilers/compile.d.ts +1 -0
  112. package/src/definitions/model/definitions/data-item-resolution.d.ts +3 -3
  113. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +535 -349
  114. package/src/definitions/model/definitions/index.d.ts +2 -1
  115. package/src/definitions/model/definitions/schema-registry.d.ts +406 -101
  116. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +10 -8
  117. package/src/definitions/model/definitions/schemas/common.schema.d.ts +33 -32
  118. package/src/definitions/model/definitions/schemas/index.d.ts +1 -0
  119. package/src/definitions/model/definitions/schemas/line.schema.d.ts +10 -10
  120. package/src/definitions/model/definitions/schemas/map.schema.d.ts +590 -0
  121. package/src/definitions/model/definitions/schemas/number.schema.d.ts +4 -4
  122. package/src/definitions/model/definitions/schemas/object.schema.d.ts +38 -38
  123. package/src/definitions/model/definitions/schemas/table.schema.d.ts +61 -61
  124. package/src/definitions/model/definitions/types/compilation.types.d.ts +7 -2
  125. package/src/definitions/model/definitions/types/definition.types.d.ts +2 -2
  126. package/src/definitions/model/definitions/types/index.d.ts +1 -1
  127. package/src/index.d.ts +1 -1
  128. package/src/operations/index.d.ts +1 -1
  129. package/src/types.d.ts +45 -41
  130. package/src/visualization-catalog.d.ts +26 -26
  131. package/chunks/DefaultPropsProvider-BsfB7QTn.js +0 -257
  132. package/chunks/FieldTypeIcon-Drs6hSJF.js +0 -22
  133. package/chunks/LinearProgress-VtfFx2vJ.js +0 -253
  134. package/chunks/Title-CO5dP1ma.js +0 -1691
  135. package/chunks/ToggleButton-KOBAimC1.js +0 -112
  136. package/chunks/color-rules-CN7TcGrC.js +0 -6
  137. package/chunks/color-settings-3VRlf_Vw.js +0 -6
  138. package/chunks/colorManipulator-D8Pjy1pf.js +0 -45
  139. package/chunks/handlers-TOT-7INo.js +0 -12871
  140. package/chunks/isEqual-B8loyPsC.js +0 -12
  141. package/chunks/label-format-type-weq1XfcX.js +0 -8
  142. package/chunks/operations-Dh4v1Ovt.js +0 -26280
  143. package/chunks/responsive.styles-DSiOGD7u.js +0 -82
  144. package/chunks/shared-Bn4N5QcZ.js +0 -1218
  145. package/chunks/standalone-B55oyW6c.js +0 -689
  146. package/chunks/standalone-BXKRE_Se.js +0 -468
  147. package/chunks/standalone-Bes8srx1.js +0 -354
  148. package/chunks/standalone-BjZp0QMe.js +0 -2
  149. package/chunks/standalone-BlMIwpEe.js +0 -1877
  150. package/chunks/standalone-C8qAelL4.js +0 -2
  151. package/chunks/standalone-CLmGb7nn2.js +0 -355
  152. package/chunks/standalone-CXNP6-xD.js +0 -420
  153. package/chunks/standalone-DLlyRIE6.js +0 -287
  154. package/chunks/standalone-DMcI1afI.js +0 -396
  155. package/chunks/standalone-DN4S1MjT.js +0 -3874
  156. package/chunks/standalone-DYQIQH4c.js +0 -2095
  157. package/chunks/standalone-D__XCp-h.js +0 -1003
  158. package/chunks/standalone-XTgSsTAa.js +0 -354
  159. package/chunks/useFieldName-Cjn9KCVp.js +0 -7
  160. package/chunks/useSlotProps-DLbQp4lc.js +0 -166
  161. package/chunks/with-html-element-D0uY2zjI.js +0 -7328
package/definitions.js CHANGED
@@ -1,3 +1,3 @@
1
- import { M as e } from "./chunks/shared-Bn4N5QcZ.js";
2
- import { i as t, n, r, t as i } from "./chunks/definitions-BPJQTx16.js";
1
+ import { M as e } from "./chunks/shared-UitWpq1J.js";
2
+ import { i as t, n, r, t as i } from "./chunks/definitions-C4grxhye.js";
3
3
  export { i as compileVisualizationDefinition, e as createVisualizationAvailableFields, n as getVisualizationDefinitionDescriptor, r as listVisualizationDefinitionDescriptors, t as validateVisualizationDefinition };
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `astrato-app-filter-bar` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.8.0`.
5
+ Reference for `@astrato-io/visualizations@0.10.0`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `bar` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.8.0`.
5
+ Reference for `@astrato-io/visualizations@0.10.0`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -13,11 +13,13 @@ Use each schema below for the request’s `payload`, not for the whole operation
13
13
  - [`addColoringOverwrite`](#addcoloringoverwrite)
14
14
  - [`addColoringRule`](#addcoloringrule)
15
15
  - [`addDimension`](#adddimension)
16
+ - [`addDimensionAxisBand`](#adddimensionaxisband)
16
17
  - [`addMeasure`](#addmeasure)
17
18
  - [`addMeasureAdvancedAdditionalDimensionDataField`](#addmeasureadvancedadditionaldimensiondatafield)
18
19
  - [`addMeasureAdvancedDimensionDataField`](#addmeasureadvanceddimensiondatafield)
19
20
  - [`addMeasureAxisBand`](#addmeasureaxisband)
20
21
  - [`addMeasureFilter`](#addmeasurefilter)
22
+ - [`addReferenceLine`](#addreferenceline)
21
23
  - [`addResultFilter`](#addresultfilter)
22
24
  - [`addSupportingMeasure`](#addsupportingmeasure)
23
25
  - [`changeMeasureAggregation`](#changemeasureaggregation)
@@ -37,12 +39,14 @@ Use each schema below for the request’s `payload`, not for the whole operation
37
39
  - [`removeColoringOverwrite`](#removecoloringoverwrite)
38
40
  - [`removeColoringRule`](#removecoloringrule)
39
41
  - [`removeDimension`](#removedimension)
42
+ - [`removeDimensionAxisBand`](#removedimensionaxisband)
40
43
  - [`removeMeasure`](#removemeasure)
41
44
  - [`removeMeasureAdvancedAdditionalDimensionDataField`](#removemeasureadvancedadditionaldimensiondatafield)
42
45
  - [`removeMeasureAdvancedCompareMeasure`](#removemeasureadvancedcomparemeasure)
43
46
  - [`removeMeasureAdvancedDimensionDataField`](#removemeasureadvanceddimensiondatafield)
44
47
  - [`removeMeasureAxisBand`](#removemeasureaxisband)
45
48
  - [`removeMeasureGraphColor`](#removemeasuregraphcolor)
49
+ - [`removeReferenceLine`](#removereferenceline)
46
50
  - [`removeSupportingMeasure`](#removesupportingmeasure)
47
51
  - [`resetChartPaletteToThemeDefault`](#resetchartpalettetothemedefault)
48
52
  - [`setAnimationEnabled`](#setanimationenabled)
@@ -80,6 +84,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
80
84
  - [`setCustomGradientColors`](#setcustomgradientcolors)
81
85
  - [`setCustomNullValue`](#setcustomnullvalue)
82
86
  - [`setCustomPaletteColors`](#setcustompalettecolors)
87
+ - [`setDimensionAxisBands`](#setdimensionaxisbands)
83
88
  - [`setDimensionFormatString`](#setdimensionformatstring)
84
89
  - [`setDimensionFormatType`](#setdimensionformattype)
85
90
  - [`setDimensionTemporalGrouping`](#setdimensiontemporalgrouping)
@@ -132,6 +137,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
132
137
  - [`setMeasureDataLabelFontSize`](#setmeasuredatalabelfontsize)
133
138
  - [`setMeasureDataLabelShowBackdrop`](#setmeasuredatalabelshowbackdrop)
134
139
  - [`setMeasureDataLabelsShow`](#setmeasuredatalabelsshow)
140
+ - [`setMeasureDataLabelTextColor`](#setmeasuredatalabeltextcolor)
135
141
  - [`setMeasureDefinedParameter`](#setmeasuredefinedparameter)
136
142
  - [`setMeasureFilter`](#setmeasurefilter)
137
143
  - [`setMeasureFormatString`](#setmeasureformatstring)
@@ -165,6 +171,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
165
171
  - [`toggleSupportingMeasure`](#togglesupportingmeasure)
166
172
  - [`updateDimension`](#updatedimension)
167
173
  - [`updateMeasure`](#updatemeasure)
174
+ - [`updateReferenceLine`](#updatereferenceline)
168
175
  - [`updateSupportingMeasure`](#updatesupportingmeasure)
169
176
 
170
177
  ## `addColoringOverwrite`
@@ -473,6 +480,43 @@ Add a new dimension to the chart
473
480
  }
474
481
  ```
475
482
 
483
+ ## `addDimensionAxisBand`
484
+
485
+ Add dimension axis band
486
+
487
+ Add a shaded band on the dimension axis between two raw dimension values (inclusive for categories)
488
+
489
+ **Payload schema**
490
+
491
+ ```json
492
+ {
493
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
494
+ "type": "object",
495
+ "properties": {
496
+ "start": {
497
+ "description": "Raw dimension value: number for numeric/bin axes, ISO 8601 date or date-time with an uppercase T and Z (for example 2026-10-01 or 2026-10-01T12:30:00Z) or epoch milliseconds for dates, exact number/string/boolean for categories. Dates without an offset use UTC. Discrete endpoints must exist in the current data. Band start, inclusive for categories",
498
+ "type": ["number", "string", "boolean"]
499
+ },
500
+ "end": {
501
+ "description": "Raw dimension value: number for numeric/bin axes, ISO 8601 date or date-time with an uppercase T and Z (for example 2026-10-01 or 2026-10-01T12:30:00Z) or epoch milliseconds for dates, exact number/string/boolean for categories. Dates without an offset use UTC. Discrete endpoints must exist in the current data. Band end, inclusive for categories",
502
+ "type": ["number", "string", "boolean"]
503
+ },
504
+ "color": {
505
+ "description": "Band fill as #RRGGBB or #RRGGBBAA; defaults to a light grey when omitted",
506
+ "type": "string",
507
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
508
+ },
509
+ "label": {
510
+ "description": "Text drawn inside the band",
511
+ "type": "string"
512
+ }
513
+ },
514
+ "required": ["start", "end"],
515
+ "additionalProperties": false,
516
+ "title": "Add dimension axis band schema"
517
+ }
518
+ ```
519
+
476
520
  ## `addMeasure`
477
521
 
478
522
  Add measure
@@ -848,6 +892,57 @@ Add another measure filter before aggregation. Keeps existing filters.
848
892
  }
849
893
  ```
850
894
 
895
+ ## `addReferenceLine`
896
+
897
+ Add reference line
898
+
899
+ Add a reference line at a value on the x or y axis, with an optional label, color and width
900
+
901
+ **Payload schema**
902
+
903
+ ```json
904
+ {
905
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
906
+ "type": "object",
907
+ "properties": {
908
+ "axis": {
909
+ "type": "string",
910
+ "enum": ["x", "y"],
911
+ "description": "Chart axis the line sits on: \"x\" is the horizontal axis and \"y\" the vertical one. On a vertical bar, line or combo chart y is the measure axis, on a horizontal bar chart x is"
912
+ },
913
+ "value": {
914
+ "description": "Axis value to draw the line at: a number on a measure axis, the category name on a category axis, and a number of epoch milliseconds on a date axis (a date string is accepted but draws nothing)",
915
+ "type": ["string", "number"]
916
+ },
917
+ "label": {
918
+ "description": "Text drawn next to the line",
919
+ "type": "string"
920
+ },
921
+ "color": {
922
+ "description": "Line color as #RRGGBB or #RRGGBBAA; null uses the theme grid color",
923
+ "anyOf": [
924
+ {
925
+ "type": "string",
926
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
927
+ },
928
+ {
929
+ "type": "null"
930
+ }
931
+ ]
932
+ },
933
+ "strokeWidth": {
934
+ "description": "Line width in pixels, 0 to 50",
935
+ "type": "number",
936
+ "minimum": 0,
937
+ "maximum": 50
938
+ }
939
+ },
940
+ "required": ["axis", "value"],
941
+ "additionalProperties": false,
942
+ "title": "Add reference line schema"
943
+ }
944
+ ```
945
+
851
946
  ## `addResultFilter`
852
947
 
853
948
  Add result filter
@@ -1529,6 +1624,32 @@ Remove a dimension from the chart
1529
1624
  }
1530
1625
  ```
1531
1626
 
1627
+ ## `removeDimensionAxisBand`
1628
+
1629
+ Remove dimension axis band
1630
+
1631
+ Remove one shaded band from the dimension axis by its position
1632
+
1633
+ **Payload schema**
1634
+
1635
+ ```json
1636
+ {
1637
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1638
+ "type": "object",
1639
+ "properties": {
1640
+ "index": {
1641
+ "type": "integer",
1642
+ "minimum": 0,
1643
+ "maximum": 9007199254740991,
1644
+ "description": "Zero-based position of the band to remove"
1645
+ }
1646
+ },
1647
+ "required": ["index"],
1648
+ "additionalProperties": false,
1649
+ "title": "Remove dimension axis band schema"
1650
+ }
1651
+ ```
1652
+
1532
1653
  ## `removeMeasure`
1533
1654
 
1534
1655
  Remove measure
@@ -1733,6 +1854,37 @@ Remove a measure color override
1733
1854
  }
1734
1855
  ```
1735
1856
 
1857
+ ## `removeReferenceLine`
1858
+
1859
+ Remove reference line
1860
+
1861
+ Remove one reference line by its axis and position
1862
+
1863
+ **Payload schema**
1864
+
1865
+ ```json
1866
+ {
1867
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1868
+ "type": "object",
1869
+ "properties": {
1870
+ "axis": {
1871
+ "type": "string",
1872
+ "enum": ["x", "y"],
1873
+ "description": "Chart axis the line sits on: \"x\" is the horizontal axis and \"y\" the vertical one. On a vertical bar, line or combo chart y is the measure axis, on a horizontal bar chart x is"
1874
+ },
1875
+ "index": {
1876
+ "type": "integer",
1877
+ "minimum": 0,
1878
+ "maximum": 9007199254740991,
1879
+ "description": "Zero-based position of the line within its axis"
1880
+ }
1881
+ },
1882
+ "required": ["axis", "index"],
1883
+ "additionalProperties": false,
1884
+ "title": "Remove reference line schema"
1885
+ }
1886
+ ```
1887
+
1736
1888
  ## `removeSupportingMeasure`
1737
1889
 
1738
1890
  Remove supporting measure
@@ -2168,7 +2320,7 @@ Set the corner radius for rounded bar edges
2168
2320
 
2169
2321
  Bar chart layout
2170
2322
 
2171
- Set how bars are laid out: "stacked" stacks measures/dimensions into one bar, "groups" places them side by side, "offset" renders a waterfall, "bars" renders plain bars. Stacked and groups need more than one dimension or measure; offset needs exactly one dimension and one measure
2323
+ Set how bars are laid out: "stacked" stacks measures/dimensions into one bar, "groups" places them side by side, "offset" renders a waterfall, "bars" renders plain bars. Stacked and groups need more than one dimension or measure; offset needs exactly one dimension and one measure. Available layouts by shape: 1 dimension x 1 measure: bars, offset; 1 dimension x 2+ measures or 2 dimensions x 1 measure: stacked, groups, pyramid; any other shape with more than one dimension or measure: stacked, groups. With several measures and no layout set, bars are grouped
2172
2324
 
2173
2325
  **Payload schema**
2174
2326
 
@@ -2917,6 +3069,54 @@ Replace the whole custom categorical palette with a provided list of colors and
2917
3069
  }
2918
3070
  ```
2919
3071
 
3072
+ ## `setDimensionAxisBands`
3073
+
3074
+ Dimension axis bands
3075
+
3076
+ Replace all shaded bands on the dimension axis. Each band fills the plot between two raw dimension values (inclusive for categories)
3077
+
3078
+ **Payload schema**
3079
+
3080
+ ```json
3081
+ {
3082
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3083
+ "type": "object",
3084
+ "properties": {
3085
+ "bands": {
3086
+ "type": "array",
3087
+ "items": {
3088
+ "type": "object",
3089
+ "properties": {
3090
+ "start": {
3091
+ "description": "Raw dimension value: number for numeric/bin axes, ISO 8601 date or date-time with an uppercase T and Z (for example 2026-10-01 or 2026-10-01T12:30:00Z) or epoch milliseconds for dates, exact number/string/boolean for categories. Dates without an offset use UTC. Discrete endpoints must exist in the current data. Band start, inclusive for categories",
3092
+ "type": ["number", "string", "boolean"]
3093
+ },
3094
+ "end": {
3095
+ "description": "Raw dimension value: number for numeric/bin axes, ISO 8601 date or date-time with an uppercase T and Z (for example 2026-10-01 or 2026-10-01T12:30:00Z) or epoch milliseconds for dates, exact number/string/boolean for categories. Dates without an offset use UTC. Discrete endpoints must exist in the current data. Band end, inclusive for categories",
3096
+ "type": ["number", "string", "boolean"]
3097
+ },
3098
+ "color": {
3099
+ "description": "Band fill as #RRGGBB or #RRGGBBAA; defaults to a light grey when omitted",
3100
+ "type": "string",
3101
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
3102
+ },
3103
+ "label": {
3104
+ "description": "Text drawn inside the band",
3105
+ "type": "string"
3106
+ }
3107
+ },
3108
+ "required": ["start", "end"],
3109
+ "additionalProperties": false
3110
+ },
3111
+ "description": "Bands to draw, in order; an empty array removes all bands"
3112
+ }
3113
+ },
3114
+ "required": ["bands"],
3115
+ "additionalProperties": false,
3116
+ "title": "Set dimension axis bands schema"
3117
+ }
3118
+ ```
3119
+
2920
3120
  ## `setDimensionFormatString`
2921
3121
 
2922
3122
  Dimension format string
@@ -5320,6 +5520,45 @@ Show or hide data labels for a measure
5320
5520
  }
5321
5521
  ```
5322
5522
 
5523
+ ## `setMeasureDataLabelTextColor`
5524
+
5525
+ Measure data label text color
5526
+
5527
+ Set the text color of data labels for a measure
5528
+
5529
+ **Payload schema**
5530
+
5531
+ ```json
5532
+ {
5533
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
5534
+ "type": "object",
5535
+ "properties": {
5536
+ "dataItemInternalKey": {
5537
+ "type": "string",
5538
+ "description": "Internal key of the data item of the measure to be updated"
5539
+ },
5540
+ "dataItemUniqueSignature": {
5541
+ "type": "string",
5542
+ "description": "Unique signature of the data item of the measure to be updated"
5543
+ },
5544
+ "textColor": {
5545
+ "anyOf": [
5546
+ {
5547
+ "type": "string",
5548
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
5549
+ },
5550
+ {
5551
+ "type": "null"
5552
+ }
5553
+ ]
5554
+ }
5555
+ },
5556
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
5557
+ "additionalProperties": false,
5558
+ "title": "Set measure data label text color schema"
5559
+ }
5560
+ ```
5561
+
5323
5562
  ## `setMeasureDefinedParameter`
5324
5563
 
5325
5564
  Measure defined parameter
@@ -6936,6 +7175,68 @@ Modify properties of an existing measure
6936
7175
  }
6937
7176
  ```
6938
7177
 
7178
+ ## `updateReferenceLine`
7179
+
7180
+ Update reference line
7181
+
7182
+ Change the value, label, color or width of a reference line, or move it to the other axis. Omitted fields keep their value
7183
+
7184
+ **Payload schema**
7185
+
7186
+ ```json
7187
+ {
7188
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
7189
+ "type": "object",
7190
+ "properties": {
7191
+ "axis": {
7192
+ "type": "string",
7193
+ "enum": ["x", "y"],
7194
+ "description": "Chart axis the line sits on: \"x\" is the horizontal axis and \"y\" the vertical one. On a vertical bar, line or combo chart y is the measure axis, on a horizontal bar chart x is"
7195
+ },
7196
+ "index": {
7197
+ "type": "integer",
7198
+ "minimum": 0,
7199
+ "maximum": 9007199254740991,
7200
+ "description": "Zero-based position of the line within its axis, as getReferenceLines lists"
7201
+ },
7202
+ "value": {
7203
+ "description": "Axis value to draw the line at: a number on a measure axis, the category name on a category axis, and a number of epoch milliseconds on a date axis (a date string is accepted but draws nothing)",
7204
+ "type": ["string", "number"]
7205
+ },
7206
+ "newAxis": {
7207
+ "description": "Move the line to this axis; it is appended after the existing lines",
7208
+ "type": "string",
7209
+ "enum": ["x", "y"]
7210
+ },
7211
+ "label": {
7212
+ "description": "Text drawn next to the line",
7213
+ "type": "string"
7214
+ },
7215
+ "color": {
7216
+ "description": "Line color as #RRGGBB or #RRGGBBAA; null uses the theme grid color",
7217
+ "anyOf": [
7218
+ {
7219
+ "type": "string",
7220
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
7221
+ },
7222
+ {
7223
+ "type": "null"
7224
+ }
7225
+ ]
7226
+ },
7227
+ "strokeWidth": {
7228
+ "description": "Line width in pixels, 0 to 50",
7229
+ "type": "number",
7230
+ "minimum": 0,
7231
+ "maximum": 50
7232
+ }
7233
+ },
7234
+ "required": ["axis", "index"],
7235
+ "additionalProperties": false,
7236
+ "title": "Update reference line schema"
7237
+ }
7238
+ ```
7239
+
6939
7240
  ## `updateSupportingMeasure`
6940
7241
 
6941
7242
  Update supporting measure