@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
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `combo` 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
 
@@ -11,11 +11,13 @@ Use each schema below for the request’s `payload`, not for the whole operation
11
11
  ## Available operations
12
12
 
13
13
  - [`addDimension`](#adddimension)
14
+ - [`addDimensionAxisBand`](#adddimensionaxisband)
14
15
  - [`addMeasure`](#addmeasure)
15
16
  - [`addMeasureAdvancedAdditionalDimensionDataField`](#addmeasureadvancedadditionaldimensiondatafield)
16
17
  - [`addMeasureAdvancedDimensionDataField`](#addmeasureadvanceddimensiondatafield)
17
18
  - [`addMeasureAxisBand`](#addmeasureaxisband)
18
19
  - [`addMeasureFilter`](#addmeasurefilter)
20
+ - [`addReferenceLine`](#addreferenceline)
19
21
  - [`addResultFilter`](#addresultfilter)
20
22
  - [`changeMeasureAggregation`](#changemeasureaggregation)
21
23
  - [`changeMeasureAxis`](#changemeasureaxis)
@@ -29,12 +31,14 @@ Use each schema below for the request’s `payload`, not for the whole operation
29
31
  - [`enableTooltips`](#enabletooltips)
30
32
  - [`enableTopN`](#enabletopn)
31
33
  - [`removeDimension`](#removedimension)
34
+ - [`removeDimensionAxisBand`](#removedimensionaxisband)
32
35
  - [`removeMeasure`](#removemeasure)
33
36
  - [`removeMeasureAdvancedAdditionalDimensionDataField`](#removemeasureadvancedadditionaldimensiondatafield)
34
37
  - [`removeMeasureAdvancedCompareMeasure`](#removemeasureadvancedcomparemeasure)
35
38
  - [`removeMeasureAdvancedDimensionDataField`](#removemeasureadvanceddimensiondatafield)
36
39
  - [`removeMeasureAxisBand`](#removemeasureaxisband)
37
40
  - [`removeMeasureGraphColor`](#removemeasuregraphcolor)
41
+ - [`removeReferenceLine`](#removereferenceline)
38
42
  - [`resetChartPaletteToThemeDefault`](#resetchartpalettetothemedefault)
39
43
  - [`setAnimationEnabled`](#setanimationenabled)
40
44
  - [`setAxisLabelColor`](#setaxislabelcolor)
@@ -53,6 +57,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
53
57
  - [`setComboMeasureGraphType`](#setcombomeasuregraphtype)
54
58
  - [`setCustomNullValue`](#setcustomnullvalue)
55
59
  - [`setCustomPaletteColors`](#setcustompalettecolors)
60
+ - [`setDimensionAxisBands`](#setdimensionaxisbands)
56
61
  - [`setDimensionFormatString`](#setdimensionformatstring)
57
62
  - [`setDimensionFormatType`](#setdimensionformattype)
58
63
  - [`setDimensionTemporalGrouping`](#setdimensiontemporalgrouping)
@@ -140,6 +145,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
140
145
  - [`toggleSortingItem`](#togglesortingitem)
141
146
  - [`updateDimension`](#updatedimension)
142
147
  - [`updateMeasure`](#updatemeasure)
148
+ - [`updateReferenceLine`](#updatereferenceline)
143
149
 
144
150
  ## `addDimension`
145
151
 
@@ -165,6 +171,43 @@ Add a new dimension to the chart
165
171
  }
166
172
  ```
167
173
 
174
+ ## `addDimensionAxisBand`
175
+
176
+ Add dimension axis band
177
+
178
+ Add a shaded band on the dimension axis between two raw dimension values (inclusive for categories)
179
+
180
+ **Payload schema**
181
+
182
+ ```json
183
+ {
184
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
185
+ "type": "object",
186
+ "properties": {
187
+ "start": {
188
+ "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",
189
+ "type": ["number", "string", "boolean"]
190
+ },
191
+ "end": {
192
+ "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",
193
+ "type": ["number", "string", "boolean"]
194
+ },
195
+ "color": {
196
+ "description": "Band fill as #RRGGBB or #RRGGBBAA; defaults to a light grey when omitted",
197
+ "type": "string",
198
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
199
+ },
200
+ "label": {
201
+ "description": "Text drawn inside the band",
202
+ "type": "string"
203
+ }
204
+ },
205
+ "required": ["start", "end"],
206
+ "additionalProperties": false,
207
+ "title": "Add dimension axis band schema"
208
+ }
209
+ ```
210
+
168
211
  ## `addMeasure`
169
212
 
170
213
  Add measure
@@ -540,6 +583,57 @@ Add another measure filter before aggregation. Keeps existing filters.
540
583
  }
541
584
  ```
542
585
 
586
+ ## `addReferenceLine`
587
+
588
+ Add reference line
589
+
590
+ Add a reference line at a value on the x or y axis, with an optional label, color and width
591
+
592
+ **Payload schema**
593
+
594
+ ```json
595
+ {
596
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
597
+ "type": "object",
598
+ "properties": {
599
+ "axis": {
600
+ "type": "string",
601
+ "enum": ["x", "y"],
602
+ "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"
603
+ },
604
+ "value": {
605
+ "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)",
606
+ "type": ["string", "number"]
607
+ },
608
+ "label": {
609
+ "description": "Text drawn next to the line",
610
+ "type": "string"
611
+ },
612
+ "color": {
613
+ "description": "Line color as #RRGGBB or #RRGGBBAA; null uses the theme grid color",
614
+ "anyOf": [
615
+ {
616
+ "type": "string",
617
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
618
+ },
619
+ {
620
+ "type": "null"
621
+ }
622
+ ]
623
+ },
624
+ "strokeWidth": {
625
+ "description": "Line width in pixels, 0 to 50",
626
+ "type": "number",
627
+ "minimum": 0,
628
+ "maximum": 50
629
+ }
630
+ },
631
+ "required": ["axis", "value"],
632
+ "additionalProperties": false,
633
+ "title": "Add reference line schema"
634
+ }
635
+ ```
636
+
543
637
  ## `addResultFilter`
544
638
 
545
639
  Add result filter
@@ -1021,6 +1115,32 @@ Remove a dimension from the chart
1021
1115
  }
1022
1116
  ```
1023
1117
 
1118
+ ## `removeDimensionAxisBand`
1119
+
1120
+ Remove dimension axis band
1121
+
1122
+ Remove one shaded band from the dimension axis by its position
1123
+
1124
+ **Payload schema**
1125
+
1126
+ ```json
1127
+ {
1128
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1129
+ "type": "object",
1130
+ "properties": {
1131
+ "index": {
1132
+ "type": "integer",
1133
+ "minimum": 0,
1134
+ "maximum": 9007199254740991,
1135
+ "description": "Zero-based position of the band to remove"
1136
+ }
1137
+ },
1138
+ "required": ["index"],
1139
+ "additionalProperties": false,
1140
+ "title": "Remove dimension axis band schema"
1141
+ }
1142
+ ```
1143
+
1024
1144
  ## `removeMeasure`
1025
1145
 
1026
1146
  Remove measure
@@ -1225,6 +1345,37 @@ Remove a measure color override
1225
1345
  }
1226
1346
  ```
1227
1347
 
1348
+ ## `removeReferenceLine`
1349
+
1350
+ Remove reference line
1351
+
1352
+ Remove one reference line by its axis and position
1353
+
1354
+ **Payload schema**
1355
+
1356
+ ```json
1357
+ {
1358
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1359
+ "type": "object",
1360
+ "properties": {
1361
+ "axis": {
1362
+ "type": "string",
1363
+ "enum": ["x", "y"],
1364
+ "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"
1365
+ },
1366
+ "index": {
1367
+ "type": "integer",
1368
+ "minimum": 0,
1369
+ "maximum": 9007199254740991,
1370
+ "description": "Zero-based position of the line within its axis"
1371
+ }
1372
+ },
1373
+ "required": ["axis", "index"],
1374
+ "additionalProperties": false,
1375
+ "title": "Remove reference line schema"
1376
+ }
1377
+ ```
1378
+
1228
1379
  ## `resetChartPaletteToThemeDefault`
1229
1380
 
1230
1381
  Reset chart palette
@@ -1725,6 +1876,54 @@ Replace the whole custom categorical palette with a provided list of colors and
1725
1876
  }
1726
1877
  ```
1727
1878
 
1879
+ ## `setDimensionAxisBands`
1880
+
1881
+ Dimension axis bands
1882
+
1883
+ Replace all shaded bands on the dimension axis. Each band fills the plot between two raw dimension values (inclusive for categories)
1884
+
1885
+ **Payload schema**
1886
+
1887
+ ```json
1888
+ {
1889
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1890
+ "type": "object",
1891
+ "properties": {
1892
+ "bands": {
1893
+ "type": "array",
1894
+ "items": {
1895
+ "type": "object",
1896
+ "properties": {
1897
+ "start": {
1898
+ "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",
1899
+ "type": ["number", "string", "boolean"]
1900
+ },
1901
+ "end": {
1902
+ "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",
1903
+ "type": ["number", "string", "boolean"]
1904
+ },
1905
+ "color": {
1906
+ "description": "Band fill as #RRGGBB or #RRGGBBAA; defaults to a light grey when omitted",
1907
+ "type": "string",
1908
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1909
+ },
1910
+ "label": {
1911
+ "description": "Text drawn inside the band",
1912
+ "type": "string"
1913
+ }
1914
+ },
1915
+ "required": ["start", "end"],
1916
+ "additionalProperties": false
1917
+ },
1918
+ "description": "Bands to draw, in order; an empty array removes all bands"
1919
+ }
1920
+ },
1921
+ "required": ["bands"],
1922
+ "additionalProperties": false,
1923
+ "title": "Set dimension axis bands schema"
1924
+ }
1925
+ ```
1926
+
1728
1927
  ## `setDimensionFormatString`
1729
1928
 
1730
1929
  Dimension format string
@@ -5802,3 +6001,65 @@ Modify properties of an existing measure
5802
6001
  "title": "Update measure schema"
5803
6002
  }
5804
6003
  ```
6004
+
6005
+ ## `updateReferenceLine`
6006
+
6007
+ Update reference line
6008
+
6009
+ Change the value, label, color or width of a reference line, or move it to the other axis. Omitted fields keep their value
6010
+
6011
+ **Payload schema**
6012
+
6013
+ ```json
6014
+ {
6015
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
6016
+ "type": "object",
6017
+ "properties": {
6018
+ "axis": {
6019
+ "type": "string",
6020
+ "enum": ["x", "y"],
6021
+ "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"
6022
+ },
6023
+ "index": {
6024
+ "type": "integer",
6025
+ "minimum": 0,
6026
+ "maximum": 9007199254740991,
6027
+ "description": "Zero-based position of the line within its axis, as getReferenceLines lists"
6028
+ },
6029
+ "value": {
6030
+ "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)",
6031
+ "type": ["string", "number"]
6032
+ },
6033
+ "newAxis": {
6034
+ "description": "Move the line to this axis; it is appended after the existing lines",
6035
+ "type": "string",
6036
+ "enum": ["x", "y"]
6037
+ },
6038
+ "label": {
6039
+ "description": "Text drawn next to the line",
6040
+ "type": "string"
6041
+ },
6042
+ "color": {
6043
+ "description": "Line color as #RRGGBB or #RRGGBBAA; null uses the theme grid color",
6044
+ "anyOf": [
6045
+ {
6046
+ "type": "string",
6047
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
6048
+ },
6049
+ {
6050
+ "type": "null"
6051
+ }
6052
+ ]
6053
+ },
6054
+ "strokeWidth": {
6055
+ "description": "Line width in pixels, 0 to 50",
6056
+ "type": "number",
6057
+ "minimum": 0,
6058
+ "maximum": 50
6059
+ }
6060
+ },
6061
+ "required": ["axis", "index"],
6062
+ "additionalProperties": false,
6063
+ "title": "Update reference line schema"
6064
+ }
6065
+ ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `date-picker` 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
  # `distribution-gauge` 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
  # `dot` 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
 
@@ -17,6 +17,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
17
17
  - [`addMeasureAdvancedAdditionalDimensionDataField`](#addmeasureadvancedadditionaldimensiondatafield)
18
18
  - [`addMeasureAdvancedDimensionDataField`](#addmeasureadvanceddimensiondatafield)
19
19
  - [`addMeasureFilter`](#addmeasurefilter)
20
+ - [`addReferenceLine`](#addreferenceline)
20
21
  - [`addResultFilter`](#addresultfilter)
21
22
  - [`changeMeasureAggregation`](#changemeasureaggregation)
22
23
  - [`clearMeasureFilter`](#clearmeasurefilter)
@@ -31,6 +32,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
31
32
  - [`removeMeasureAdvancedAdditionalDimensionDataField`](#removemeasureadvancedadditionaldimensiondatafield)
32
33
  - [`removeMeasureAdvancedCompareMeasure`](#removemeasureadvancedcomparemeasure)
33
34
  - [`removeMeasureAdvancedDimensionDataField`](#removemeasureadvanceddimensiondatafield)
35
+ - [`removeReferenceLine`](#removereferenceline)
34
36
  - [`resetChartPaletteToThemeDefault`](#resetchartpalettetothemedefault)
35
37
  - [`setAnimationEnabled`](#setanimationenabled)
36
38
  - [`setAxisLabelColor`](#setaxislabelcolor)
@@ -118,6 +120,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
118
120
  - [`toggleMeasure`](#togglemeasure)
119
121
  - [`updateDimension`](#updatedimension)
120
122
  - [`updateMeasure`](#updatemeasure)
123
+ - [`updateReferenceLine`](#updatereferenceline)
121
124
 
122
125
  ## `addColoringOverwrite`
123
126
 
@@ -763,6 +766,57 @@ Add another measure filter before aggregation. Keeps existing filters.
763
766
  }
764
767
  ```
765
768
 
769
+ ## `addReferenceLine`
770
+
771
+ Add reference line
772
+
773
+ Add a reference line at a value on the x or y axis, with an optional label, color and width
774
+
775
+ **Payload schema**
776
+
777
+ ```json
778
+ {
779
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
780
+ "type": "object",
781
+ "properties": {
782
+ "axis": {
783
+ "type": "string",
784
+ "enum": ["x", "y"],
785
+ "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"
786
+ },
787
+ "value": {
788
+ "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)",
789
+ "type": ["string", "number"]
790
+ },
791
+ "label": {
792
+ "description": "Text drawn next to the line",
793
+ "type": "string"
794
+ },
795
+ "color": {
796
+ "description": "Line color as #RRGGBB or #RRGGBBAA; null uses the theme grid color",
797
+ "anyOf": [
798
+ {
799
+ "type": "string",
800
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
801
+ },
802
+ {
803
+ "type": "null"
804
+ }
805
+ ]
806
+ },
807
+ "strokeWidth": {
808
+ "description": "Line width in pixels, 0 to 50",
809
+ "type": "number",
810
+ "minimum": 0,
811
+ "maximum": 50
812
+ }
813
+ },
814
+ "required": ["axis", "value"],
815
+ "additionalProperties": false,
816
+ "title": "Add reference line schema"
817
+ }
818
+ ```
819
+
766
820
  ## `addResultFilter`
767
821
 
768
822
  Add result filter
@@ -1323,6 +1377,37 @@ Remove additional dimension field from nested advanced calculations
1323
1377
  }
1324
1378
  ```
1325
1379
 
1380
+ ## `removeReferenceLine`
1381
+
1382
+ Remove reference line
1383
+
1384
+ Remove one reference line by its axis and position
1385
+
1386
+ **Payload schema**
1387
+
1388
+ ```json
1389
+ {
1390
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1391
+ "type": "object",
1392
+ "properties": {
1393
+ "axis": {
1394
+ "type": "string",
1395
+ "enum": ["x", "y"],
1396
+ "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"
1397
+ },
1398
+ "index": {
1399
+ "type": "integer",
1400
+ "minimum": 0,
1401
+ "maximum": 9007199254740991,
1402
+ "description": "Zero-based position of the line within its axis"
1403
+ }
1404
+ },
1405
+ "required": ["axis", "index"],
1406
+ "additionalProperties": false,
1407
+ "title": "Remove reference line schema"
1408
+ }
1409
+ ```
1410
+
1326
1411
  ## `resetChartPaletteToThemeDefault`
1327
1412
 
1328
1413
  Reset chart palette
@@ -5568,3 +5653,65 @@ Modify properties of an existing measure
5568
5653
  "title": "Update measure schema"
5569
5654
  }
5570
5655
  ```
5656
+
5657
+ ## `updateReferenceLine`
5658
+
5659
+ Update reference line
5660
+
5661
+ Change the value, label, color or width of a reference line, or move it to the other axis. Omitted fields keep their value
5662
+
5663
+ **Payload schema**
5664
+
5665
+ ```json
5666
+ {
5667
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
5668
+ "type": "object",
5669
+ "properties": {
5670
+ "axis": {
5671
+ "type": "string",
5672
+ "enum": ["x", "y"],
5673
+ "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"
5674
+ },
5675
+ "index": {
5676
+ "type": "integer",
5677
+ "minimum": 0,
5678
+ "maximum": 9007199254740991,
5679
+ "description": "Zero-based position of the line within its axis, as getReferenceLines lists"
5680
+ },
5681
+ "value": {
5682
+ "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)",
5683
+ "type": ["string", "number"]
5684
+ },
5685
+ "newAxis": {
5686
+ "description": "Move the line to this axis; it is appended after the existing lines",
5687
+ "type": "string",
5688
+ "enum": ["x", "y"]
5689
+ },
5690
+ "label": {
5691
+ "description": "Text drawn next to the line",
5692
+ "type": "string"
5693
+ },
5694
+ "color": {
5695
+ "description": "Line color as #RRGGBB or #RRGGBBAA; null uses the theme grid color",
5696
+ "anyOf": [
5697
+ {
5698
+ "type": "string",
5699
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
5700
+ },
5701
+ {
5702
+ "type": "null"
5703
+ }
5704
+ ]
5705
+ },
5706
+ "strokeWidth": {
5707
+ "description": "Line width in pixels, 0 to 50",
5708
+ "type": "number",
5709
+ "minimum": 0,
5710
+ "maximum": 50
5711
+ }
5712
+ },
5713
+ "required": ["axis", "index"],
5714
+ "additionalProperties": false,
5715
+ "title": "Update reference line schema"
5716
+ }
5717
+ ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `filter` 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
  # `gauge` 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
  # `heatMap` 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