@opendata-ai/openchart-core 9.1.0 → 9.2.1
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.
- package/dist/index.d.ts +96 -6
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
- package/schema/chart.schema.json +142 -20
- package/schema/vizspec.schema.json +319 -22
package/schema/chart.schema.json
CHANGED
|
@@ -417,6 +417,10 @@
|
|
|
417
417
|
],
|
|
418
418
|
"description": "Corner radius for rect/bar marks. 'pill' sets rx to half the bar thickness."
|
|
419
419
|
},
|
|
420
|
+
"mirror": {
|
|
421
|
+
"type": "boolean",
|
|
422
|
+
"description": "Mirror horizontal bars around a shared center axis (a population pyramid). Only meaningful when `type` is `'bar'`; needs a color field with exactly two values, the first drawn to the left. Defaults to false."
|
|
423
|
+
},
|
|
420
424
|
"type": {
|
|
421
425
|
"type": "string",
|
|
422
426
|
"const": "bar"
|
|
@@ -654,7 +658,7 @@
|
|
|
654
658
|
"$ref": "#/definitions/TrendlineConfig"
|
|
655
659
|
}
|
|
656
660
|
],
|
|
657
|
-
"description": "Overlay a least-squares regression line on scatter (point) marks. Defaults to true. Set `mark: { type: 'point', trendline: false }` to suppress it when the chart already carries its own reference line (e.g. a manual x=y diagonal in a separate layer), which would otherwise produce two competing diagonals.\n\nPass an object to control stacking order: the line renders `below` the points by default, but a dense scatter (thousands of overlapping dots) fully occludes a line drawn underneath, so `{ layer: 'above' }` lifts the reference line over the cloud."
|
|
661
|
+
"description": "Overlay a least-squares regression line on scatter (point) marks. Defaults to true. Set `mark: { type: 'point', trendline: false }` to suppress it when the chart already carries its own reference line (e.g. a manual x=y diagonal in a separate layer), which would otherwise produce two competing diagonals. In a faceted chart each panel gets its own fit.\n\nPass an object to control stacking order: the line renders `below` the points by default, but a dense scatter (thousands of overlapping dots) fully occludes a line drawn underneath, so `{ layer: 'above' }` lifts the reference line over the cloud."
|
|
658
662
|
},
|
|
659
663
|
"type": {
|
|
660
664
|
"type": "string",
|
|
@@ -2414,7 +2418,7 @@
|
|
|
2414
2418
|
},
|
|
2415
2419
|
"facet": {
|
|
2416
2420
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
2417
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
2421
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
2418
2422
|
},
|
|
2419
2423
|
"row": {
|
|
2420
2424
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -5848,6 +5852,108 @@
|
|
|
5848
5852
|
],
|
|
5849
5853
|
"description": "Resolution strategy for shared resources across layers. 'shared' (default): union domains, single axis/legend. 'independent': each layer gets its own scale/axis/legend."
|
|
5850
5854
|
},
|
|
5855
|
+
"PlaybackConfig": {
|
|
5856
|
+
"type": "object",
|
|
5857
|
+
"properties": {
|
|
5858
|
+
"duration": {
|
|
5859
|
+
"type": "number",
|
|
5860
|
+
"description": "Total playback duration in milliseconds at 1× speed. Defaults to 700ms per period, clamped to 8000–90000ms. Mutually exclusive with `step`."
|
|
5861
|
+
},
|
|
5862
|
+
"step": {
|
|
5863
|
+
"type": "number",
|
|
5864
|
+
"description": "Duration per period in milliseconds. Omitted by default and mutually exclusive with `duration`."
|
|
5865
|
+
},
|
|
5866
|
+
"gaps": {
|
|
5867
|
+
"type": "string",
|
|
5868
|
+
"enum": [
|
|
5869
|
+
"interpolate",
|
|
5870
|
+
"hold",
|
|
5871
|
+
"drop"
|
|
5872
|
+
],
|
|
5873
|
+
"description": "Interior gap policy. Defaults to `interpolate`. Use `hold` to carry the previous value or `drop` to leave the value absent."
|
|
5874
|
+
},
|
|
5875
|
+
"holdEnd": {
|
|
5876
|
+
"type": "number",
|
|
5877
|
+
"description": "Time to dwell on the final frame in milliseconds. Defaults to 1500."
|
|
5878
|
+
},
|
|
5879
|
+
"loop": {
|
|
5880
|
+
"type": "boolean",
|
|
5881
|
+
"description": "Restart after the final hold. Defaults to false."
|
|
5882
|
+
},
|
|
5883
|
+
"autoplay": {
|
|
5884
|
+
"anyOf": [
|
|
5885
|
+
{
|
|
5886
|
+
"type": "string",
|
|
5887
|
+
"const": "visible"
|
|
5888
|
+
},
|
|
5889
|
+
{
|
|
5890
|
+
"type": "boolean"
|
|
5891
|
+
}
|
|
5892
|
+
],
|
|
5893
|
+
"description": "Start when 25% visible (`visible`, the default), immediately (`true`), or on demand (`false`). Reduced motion disables autoplay."
|
|
5894
|
+
},
|
|
5895
|
+
"controls": {
|
|
5896
|
+
"type": "boolean",
|
|
5897
|
+
"description": "Show play/pause, scrubber, and period readout. Defaults to true."
|
|
5898
|
+
},
|
|
5899
|
+
"period": {
|
|
5900
|
+
"anyOf": [
|
|
5901
|
+
{
|
|
5902
|
+
"type": "boolean",
|
|
5903
|
+
"const": false
|
|
5904
|
+
},
|
|
5905
|
+
{
|
|
5906
|
+
"type": "object",
|
|
5907
|
+
"properties": {
|
|
5908
|
+
"format": {
|
|
5909
|
+
"type": "string",
|
|
5910
|
+
"description": "Overrides the time channel's format."
|
|
5911
|
+
},
|
|
5912
|
+
"position": {
|
|
5913
|
+
"$ref": "#/definitions/PlaybackPeriodPosition",
|
|
5914
|
+
"description": "Where the label sits. Defaults to `auto`: centered for point charts, upper right for bars, and the corner that covers the least geography on maps."
|
|
5915
|
+
}
|
|
5916
|
+
},
|
|
5917
|
+
"additionalProperties": false
|
|
5918
|
+
}
|
|
5919
|
+
],
|
|
5920
|
+
"description": "Large period label. On by default with automatic placement and the time channel's format. Set false to hide it."
|
|
5921
|
+
},
|
|
5922
|
+
"labels": {
|
|
5923
|
+
"type": "array",
|
|
5924
|
+
"items": {
|
|
5925
|
+
"type": "string"
|
|
5926
|
+
},
|
|
5927
|
+
"description": "Point marks only: keys whose name is drawn next to the mark for the whole run."
|
|
5928
|
+
},
|
|
5929
|
+
"trails": {
|
|
5930
|
+
"anyOf": [
|
|
5931
|
+
{
|
|
5932
|
+
"type": "boolean"
|
|
5933
|
+
},
|
|
5934
|
+
{
|
|
5935
|
+
"type": "array",
|
|
5936
|
+
"items": {
|
|
5937
|
+
"type": "string"
|
|
5938
|
+
}
|
|
5939
|
+
}
|
|
5940
|
+
],
|
|
5941
|
+
"description": "Point marks only: draw past positions as a trail. `true` is every key; an array names keys. Defaults to false."
|
|
5942
|
+
}
|
|
5943
|
+
},
|
|
5944
|
+
"additionalProperties": false,
|
|
5945
|
+
"description": "Playback options for charts and maps with a `time` channel. Fields shared with the race's `race` block have the same names, types and defaults."
|
|
5946
|
+
},
|
|
5947
|
+
"PlaybackPeriodPosition": {
|
|
5948
|
+
"type": "string",
|
|
5949
|
+
"enum": [
|
|
5950
|
+
"auto",
|
|
5951
|
+
"center",
|
|
5952
|
+
"top-right",
|
|
5953
|
+
"bottom-left"
|
|
5954
|
+
],
|
|
5955
|
+
"description": "Placement of the large faint period label behind a playback chart."
|
|
5956
|
+
},
|
|
5851
5957
|
"ArcEncoding<DataRow>": {
|
|
5852
5958
|
"type": "object",
|
|
5853
5959
|
"properties": {
|
|
@@ -5950,7 +6056,7 @@
|
|
|
5950
6056
|
},
|
|
5951
6057
|
"facet": {
|
|
5952
6058
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
5953
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6059
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
5954
6060
|
},
|
|
5955
6061
|
"row": {
|
|
5956
6062
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -6073,7 +6179,7 @@
|
|
|
6073
6179
|
},
|
|
6074
6180
|
"facet": {
|
|
6075
6181
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
6076
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6182
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6077
6183
|
},
|
|
6078
6184
|
"row": {
|
|
6079
6185
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -6196,7 +6302,7 @@
|
|
|
6196
6302
|
},
|
|
6197
6303
|
"facet": {
|
|
6198
6304
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
6199
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6305
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6200
6306
|
},
|
|
6201
6307
|
"row": {
|
|
6202
6308
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -6205,6 +6311,10 @@
|
|
|
6205
6311
|
"column": {
|
|
6206
6312
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
6207
6313
|
"description": "Column facet channel: partitions data into side-by-side panels. Each unique value of the column field produces one panel, arranged in a single row. Shares the y-axis scale by default; x-axis is independent. Mutually exclusive with `facet` and `row`."
|
|
6314
|
+
},
|
|
6315
|
+
"time": {
|
|
6316
|
+
"$ref": "#/definitions/EncodingChannel%3CDataRow%3E",
|
|
6317
|
+
"description": "Playback field. Each distinct value is one period, and the chart animates through them with the shared `playback` controls. Temporal and quantitative periods sort by value; ordinal periods follow `sort` or first-seen order."
|
|
6208
6318
|
}
|
|
6209
6319
|
},
|
|
6210
6320
|
"required": [
|
|
@@ -6319,7 +6429,7 @@
|
|
|
6319
6429
|
},
|
|
6320
6430
|
"facet": {
|
|
6321
6431
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
6322
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6432
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6323
6433
|
},
|
|
6324
6434
|
"row": {
|
|
6325
6435
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -6465,7 +6575,7 @@
|
|
|
6465
6575
|
},
|
|
6466
6576
|
"facet": {
|
|
6467
6577
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
6468
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6578
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6469
6579
|
},
|
|
6470
6580
|
"row": {
|
|
6471
6581
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -6474,6 +6584,10 @@
|
|
|
6474
6584
|
"column": {
|
|
6475
6585
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
6476
6586
|
"description": "Column facet channel: partitions data into side-by-side panels. Each unique value of the column field produces one panel, arranged in a single row. Shares the y-axis scale by default; x-axis is independent. Mutually exclusive with `facet` and `row`."
|
|
6587
|
+
},
|
|
6588
|
+
"time": {
|
|
6589
|
+
"$ref": "#/definitions/EncodingChannel%3CDataRow%3E",
|
|
6590
|
+
"description": "Playback field. Each distinct value is one period, and the chart animates through them with the shared `playback` controls. Temporal and quantitative periods sort by value; ordinal periods follow `sort` or first-seen order."
|
|
6477
6591
|
}
|
|
6478
6592
|
},
|
|
6479
6593
|
"required": [
|
|
@@ -6588,7 +6702,7 @@
|
|
|
6588
6702
|
},
|
|
6589
6703
|
"facet": {
|
|
6590
6704
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
6591
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6705
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6592
6706
|
},
|
|
6593
6707
|
"row": {
|
|
6594
6708
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -6597,6 +6711,10 @@
|
|
|
6597
6711
|
"column": {
|
|
6598
6712
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
6599
6713
|
"description": "Column facet channel: partitions data into side-by-side panels. Each unique value of the column field produces one panel, arranged in a single row. Shares the y-axis scale by default; x-axis is independent. Mutually exclusive with `facet` and `row`."
|
|
6714
|
+
},
|
|
6715
|
+
"time": {
|
|
6716
|
+
"$ref": "#/definitions/EncodingChannel%3CDataRow%3E",
|
|
6717
|
+
"description": "Playback field. Each distinct value is one period, and the chart animates through them with the shared `playback` controls. Temporal and quantitative periods sort by value; ordinal periods follow `sort` or first-seen order."
|
|
6600
6718
|
}
|
|
6601
6719
|
},
|
|
6602
6720
|
"required": [
|
|
@@ -6711,7 +6829,7 @@
|
|
|
6711
6829
|
},
|
|
6712
6830
|
"facet": {
|
|
6713
6831
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
6714
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6832
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6715
6833
|
},
|
|
6716
6834
|
"row": {
|
|
6717
6835
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -6834,7 +6952,7 @@
|
|
|
6834
6952
|
},
|
|
6835
6953
|
"facet": {
|
|
6836
6954
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
6837
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6955
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6838
6956
|
},
|
|
6839
6957
|
"row": {
|
|
6840
6958
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -6953,7 +7071,7 @@
|
|
|
6953
7071
|
},
|
|
6954
7072
|
"facet": {
|
|
6955
7073
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
6956
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7074
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
6957
7075
|
},
|
|
6958
7076
|
"row": {
|
|
6959
7077
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -7072,7 +7190,7 @@
|
|
|
7072
7190
|
},
|
|
7073
7191
|
"facet": {
|
|
7074
7192
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
7075
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7193
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7076
7194
|
},
|
|
7077
7195
|
"row": {
|
|
7078
7196
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -7194,7 +7312,7 @@
|
|
|
7194
7312
|
},
|
|
7195
7313
|
"facet": {
|
|
7196
7314
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
7197
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7315
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7198
7316
|
},
|
|
7199
7317
|
"row": {
|
|
7200
7318
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -7316,7 +7434,7 @@
|
|
|
7316
7434
|
},
|
|
7317
7435
|
"facet": {
|
|
7318
7436
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
7319
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7437
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7320
7438
|
},
|
|
7321
7439
|
"row": {
|
|
7322
7440
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -7439,7 +7557,7 @@
|
|
|
7439
7557
|
},
|
|
7440
7558
|
"facet": {
|
|
7441
7559
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
7442
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7560
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7443
7561
|
},
|
|
7444
7562
|
"row": {
|
|
7445
7563
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -7562,7 +7680,7 @@
|
|
|
7562
7680
|
},
|
|
7563
7681
|
"facet": {
|
|
7564
7682
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
7565
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7683
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7566
7684
|
},
|
|
7567
7685
|
"row": {
|
|
7568
7686
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -7670,7 +7788,7 @@
|
|
|
7670
7788
|
},
|
|
7671
7789
|
"facet": {
|
|
7672
7790
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
7673
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7791
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7674
7792
|
},
|
|
7675
7793
|
"row": {
|
|
7676
7794
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -7790,7 +7908,7 @@
|
|
|
7790
7908
|
},
|
|
7791
7909
|
"facet": {
|
|
7792
7910
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
7793
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7911
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7794
7912
|
},
|
|
7795
7913
|
"row": {
|
|
7796
7914
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -7912,7 +8030,7 @@
|
|
|
7912
8030
|
},
|
|
7913
8031
|
"facet": {
|
|
7914
8032
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
7915
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
8033
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
7916
8034
|
},
|
|
7917
8035
|
"row": {
|
|
7918
8036
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -8034,7 +8152,7 @@
|
|
|
8034
8152
|
},
|
|
8035
8153
|
"facet": {
|
|
8036
8154
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
8037
|
-
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
8155
|
+
"description": "Facet channel: partitions data into a grid of small-multiple panels. Each unique value of the facet field produces one panel. Panels share x, y, color and size scales by default; use `resolve: { scale: { y: 'independent' } }` for per-panel axes."
|
|
8038
8156
|
},
|
|
8039
8157
|
"row": {
|
|
8040
8158
|
"$ref": "#/definitions/FacetChannel%3CDataRow%3E",
|
|
@@ -8261,6 +8379,10 @@
|
|
|
8261
8379
|
"zIndex": {
|
|
8262
8380
|
"type": "number",
|
|
8263
8381
|
"description": "Render order within a LayerSpec. Higher values render on top. When omitted, layers render in array order (later layers paint on top). Axis assignment (left/right y) is always determined by array position, not zIndex."
|
|
8382
|
+
},
|
|
8383
|
+
"playback": {
|
|
8384
|
+
"$ref": "#/definitions/PlaybackConfig",
|
|
8385
|
+
"description": "Playback timing, controls and period label for a chart with `encoding.time` (point, circle and bar marks). Ignored with a warning when the chart has no time channel."
|
|
8264
8386
|
}
|
|
8265
8387
|
}
|
|
8266
8388
|
}
|