@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
  # `histogram` 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,10 +11,14 @@ 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
  - [`addMeasureAxisBand`](#addmeasureaxisband)
16
+ - [`addReferenceLine`](#addreferenceline)
15
17
  - [`duplicateDimension`](#duplicatedimension)
16
18
  - [`removeDimension`](#removedimension)
19
+ - [`removeDimensionAxisBand`](#removedimensionaxisband)
17
20
  - [`removeMeasureAxisBand`](#removemeasureaxisband)
21
+ - [`removeReferenceLine`](#removereferenceline)
18
22
  - [`setAnimationEnabled`](#setanimationenabled)
19
23
  - [`setAxisLabelColor`](#setaxislabelcolor)
20
24
  - [`setAxisLineColor`](#setaxislinecolor)
@@ -26,6 +30,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
26
30
  - [`setAxisTitle`](#setaxistitle)
27
31
  - [`setAxisTitleColor`](#setaxistitlecolor)
28
32
  - [`setColoringType`](#setcoloringtype)
33
+ - [`setDimensionAxisBands`](#setdimensionaxisbands)
29
34
  - [`setDimensionFormatString`](#setdimensionformatstring)
30
35
  - [`setDimensionFormatType`](#setdimensionformattype)
31
36
  - [`setDimensionTemporalGrouping`](#setdimensiontemporalgrouping)
@@ -57,6 +62,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
57
62
  - [`toggleDimension`](#toggledimension)
58
63
  - [`toggleDimensionByName`](#toggledimensionbyname)
59
64
  - [`updateDimension`](#updatedimension)
65
+ - [`updateReferenceLine`](#updatereferenceline)
60
66
 
61
67
  ## `addDimension`
62
68
 
@@ -82,6 +88,43 @@ Add a new dimension to the chart
82
88
  }
83
89
  ```
84
90
 
91
+ ## `addDimensionAxisBand`
92
+
93
+ Add dimension axis band
94
+
95
+ Add a shaded band on the dimension axis between two raw dimension values (inclusive for categories)
96
+
97
+ **Payload schema**
98
+
99
+ ```json
100
+ {
101
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
102
+ "type": "object",
103
+ "properties": {
104
+ "start": {
105
+ "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",
106
+ "type": ["number", "string", "boolean"]
107
+ },
108
+ "end": {
109
+ "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",
110
+ "type": ["number", "string", "boolean"]
111
+ },
112
+ "color": {
113
+ "description": "Band fill as #RRGGBB or #RRGGBBAA; defaults to a light grey when omitted",
114
+ "type": "string",
115
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
116
+ },
117
+ "label": {
118
+ "description": "Text drawn inside the band",
119
+ "type": "string"
120
+ }
121
+ },
122
+ "required": ["start", "end"],
123
+ "additionalProperties": false,
124
+ "title": "Add dimension axis band schema"
125
+ }
126
+ ```
127
+
85
128
  ## `addMeasureAxisBand`
86
129
 
87
130
  Add measure axis band
@@ -119,6 +162,57 @@ Add a shaded band on the primary measure axis between two measure values
119
162
  }
120
163
  ```
121
164
 
165
+ ## `addReferenceLine`
166
+
167
+ Add reference line
168
+
169
+ Add a reference line at a value on the x or y axis, with an optional label, color and width
170
+
171
+ **Payload schema**
172
+
173
+ ```json
174
+ {
175
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
176
+ "type": "object",
177
+ "properties": {
178
+ "axis": {
179
+ "type": "string",
180
+ "enum": ["x", "y"],
181
+ "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"
182
+ },
183
+ "value": {
184
+ "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)",
185
+ "type": ["string", "number"]
186
+ },
187
+ "label": {
188
+ "description": "Text drawn next to the line",
189
+ "type": "string"
190
+ },
191
+ "color": {
192
+ "description": "Line color as #RRGGBB or #RRGGBBAA; null uses the theme grid color",
193
+ "anyOf": [
194
+ {
195
+ "type": "string",
196
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
197
+ },
198
+ {
199
+ "type": "null"
200
+ }
201
+ ]
202
+ },
203
+ "strokeWidth": {
204
+ "description": "Line width in pixels, 0 to 50",
205
+ "type": "number",
206
+ "minimum": 0,
207
+ "maximum": 50
208
+ }
209
+ },
210
+ "required": ["axis", "value"],
211
+ "additionalProperties": false,
212
+ "title": "Add reference line schema"
213
+ }
214
+ ```
215
+
122
216
  ## `duplicateDimension`
123
217
 
124
218
  Duplicate dimension
@@ -175,6 +269,32 @@ Remove a dimension from the chart
175
269
  }
176
270
  ```
177
271
 
272
+ ## `removeDimensionAxisBand`
273
+
274
+ Remove dimension axis band
275
+
276
+ Remove one shaded band from the dimension axis by its position
277
+
278
+ **Payload schema**
279
+
280
+ ```json
281
+ {
282
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
283
+ "type": "object",
284
+ "properties": {
285
+ "index": {
286
+ "type": "integer",
287
+ "minimum": 0,
288
+ "maximum": 9007199254740991,
289
+ "description": "Zero-based position of the band to remove"
290
+ }
291
+ },
292
+ "required": ["index"],
293
+ "additionalProperties": false,
294
+ "title": "Remove dimension axis band schema"
295
+ }
296
+ ```
297
+
178
298
  ## `removeMeasureAxisBand`
179
299
 
180
300
  Remove measure axis band
@@ -201,6 +321,37 @@ Remove one shaded band from the primary measure axis by its position
201
321
  }
202
322
  ```
203
323
 
324
+ ## `removeReferenceLine`
325
+
326
+ Remove reference line
327
+
328
+ Remove one reference line by its axis and position
329
+
330
+ **Payload schema**
331
+
332
+ ```json
333
+ {
334
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
335
+ "type": "object",
336
+ "properties": {
337
+ "axis": {
338
+ "type": "string",
339
+ "enum": ["x", "y"],
340
+ "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"
341
+ },
342
+ "index": {
343
+ "type": "integer",
344
+ "minimum": 0,
345
+ "maximum": 9007199254740991,
346
+ "description": "Zero-based position of the line within its axis"
347
+ }
348
+ },
349
+ "required": ["axis", "index"],
350
+ "additionalProperties": false,
351
+ "title": "Remove reference line schema"
352
+ }
353
+ ```
354
+
204
355
  ## `setAnimationEnabled`
205
356
 
206
357
  Animations
@@ -518,6 +669,54 @@ Set how colors are applied to the chart
518
669
  }
519
670
  ```
520
671
 
672
+ ## `setDimensionAxisBands`
673
+
674
+ Dimension axis bands
675
+
676
+ Replace all shaded bands on the dimension axis. Each band fills the plot between two raw dimension values (inclusive for categories)
677
+
678
+ **Payload schema**
679
+
680
+ ```json
681
+ {
682
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
683
+ "type": "object",
684
+ "properties": {
685
+ "bands": {
686
+ "type": "array",
687
+ "items": {
688
+ "type": "object",
689
+ "properties": {
690
+ "start": {
691
+ "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",
692
+ "type": ["number", "string", "boolean"]
693
+ },
694
+ "end": {
695
+ "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",
696
+ "type": ["number", "string", "boolean"]
697
+ },
698
+ "color": {
699
+ "description": "Band fill as #RRGGBB or #RRGGBBAA; defaults to a light grey when omitted",
700
+ "type": "string",
701
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
702
+ },
703
+ "label": {
704
+ "description": "Text drawn inside the band",
705
+ "type": "string"
706
+ }
707
+ },
708
+ "required": ["start", "end"],
709
+ "additionalProperties": false
710
+ },
711
+ "description": "Bands to draw, in order; an empty array removes all bands"
712
+ }
713
+ },
714
+ "required": ["bands"],
715
+ "additionalProperties": false,
716
+ "title": "Set dimension axis bands schema"
717
+ }
718
+ ```
719
+
521
720
  ## `setDimensionFormatString`
522
721
 
523
722
  Dimension format string
@@ -1854,3 +2053,65 @@ Modify properties of an existing dimension
1854
2053
  "title": "Update dimension schema"
1855
2054
  }
1856
2055
  ```
2056
+
2057
+ ## `updateReferenceLine`
2058
+
2059
+ Update reference line
2060
+
2061
+ Change the value, label, color or width of a reference line, or move it to the other axis. Omitted fields keep their value
2062
+
2063
+ **Payload schema**
2064
+
2065
+ ```json
2066
+ {
2067
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2068
+ "type": "object",
2069
+ "properties": {
2070
+ "axis": {
2071
+ "type": "string",
2072
+ "enum": ["x", "y"],
2073
+ "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"
2074
+ },
2075
+ "index": {
2076
+ "type": "integer",
2077
+ "minimum": 0,
2078
+ "maximum": 9007199254740991,
2079
+ "description": "Zero-based position of the line within its axis, as getReferenceLines lists"
2080
+ },
2081
+ "value": {
2082
+ "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)",
2083
+ "type": ["string", "number"]
2084
+ },
2085
+ "newAxis": {
2086
+ "description": "Move the line to this axis; it is appended after the existing lines",
2087
+ "type": "string",
2088
+ "enum": ["x", "y"]
2089
+ },
2090
+ "label": {
2091
+ "description": "Text drawn next to the line",
2092
+ "type": "string"
2093
+ },
2094
+ "color": {
2095
+ "description": "Line color as #RRGGBB or #RRGGBBAA; null uses the theme grid color",
2096
+ "anyOf": [
2097
+ {
2098
+ "type": "string",
2099
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
2100
+ },
2101
+ {
2102
+ "type": "null"
2103
+ }
2104
+ ]
2105
+ },
2106
+ "strokeWidth": {
2107
+ "description": "Line width in pixels, 0 to 50",
2108
+ "type": "number",
2109
+ "minimum": 0,
2110
+ "maximum": 50
2111
+ }
2112
+ },
2113
+ "required": ["axis", "index"],
2114
+ "additionalProperties": false,
2115
+ "title": "Update reference line schema"
2116
+ }
2117
+ ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `iframe` 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
  # `image` 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
  # Visualization operations reference
4
4
 
5
- Reference for `@astrato-io/visualizations@0.8.0`.
5
+ Reference for `@astrato-io/visualizations@0.10.0`.
6
6
 
7
7
  Read the page for your visualization type to find every operation exposed by its standalone metadata, including its description and complete JSON payload schema. These files are included in the installed package under `docs/operations/`; you can read them without importing JavaScript or loading a chart.
8
8
 
@@ -19,27 +19,27 @@ This reference describes the standalone operation catalog, rather than the small
19
19
  | Type | Family | Operations |
20
20
  | ------------------------------------------------------- | ------ | ---------- |
21
21
  | [`astrato-app-filter-bar`](./astrato-app-filter-bar.md) | filter | 8 |
22
- | [`bar`](./bar.md) | chart | 156 |
23
- | [`combo`](./combo.md) | chart | 130 |
22
+ | [`bar`](./bar.md) | chart | 163 |
23
+ | [`combo`](./combo.md) | chart | 136 |
24
24
  | [`date-picker`](./date-picker.md) | filter | 16 |
25
25
  | [`distribution-gauge`](./distribution-gauge.md) | chart | 50 |
26
- | [`dot`](./dot.md) | chart | 108 |
26
+ | [`dot`](./dot.md) | chart | 111 |
27
27
  | [`filter`](./filter.md) | filter | 33 |
28
28
  | [`gauge`](./gauge.md) | chart | 60 |
29
29
  | [`heatMap`](./heatMap.md) | chart | 120 |
30
- | [`histogram`](./histogram.md) | chart | 47 |
30
+ | [`histogram`](./histogram.md) | chart | 53 |
31
31
  | [`iframe`](./iframe.md) | object | 1 |
32
32
  | [`image`](./image.md) | object | 6 |
33
- | [`line`](./line.md) | chart | 144 |
33
+ | [`line`](./line.md) | chart | 150 |
34
34
  | [`number`](./number.md) | object | 72 |
35
35
  | [`pie`](./pie.md) | chart | 121 |
36
36
  | [`radar`](./radar.md) | chart | 81 |
37
37
  | [`sankey`](./sankey.md) | chart | 49 |
38
- | [`scatter`](./scatter.md) | chart | 123 |
38
+ | [`scatter`](./scatter.md) | chart | 126 |
39
39
  | [`shape`](./shape.md) | object | 14 |
40
40
  | [`simpleTextObject`](./simpleTextObject.md) | object | 35 |
41
41
  | [`slider`](./slider.md) | filter | 7 |
42
- | [`table`](./table.md) | chart | 235 |
42
+ | [`table`](./table.md) | chart | 237 |
43
43
  | [`tree`](./tree.md) | chart | 60 |
44
44
  | [`treemap`](./treemap.md) | chart | 69 |
45
45
  | [`waterfall`](./waterfall.md) | chart | 56 |