Skip to content

Commit e4ce694

Browse files
committed
set schema to prod
1 parent 72b5d55 commit e4ce694

24 files changed

Lines changed: 1489 additions & 1309 deletions
Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,72 @@
11
{
2-
"$schema": "../../../../schema/idoc_v1.json",
3-
"title": "Feature: Chart",
4-
"dataLoaders": [
2+
"$schema": "https://microsoft.github.io/chartifact/schema/idoc_v1.json",
3+
"title": "Feature: Chart",
4+
"dataLoaders": [
5+
{
6+
"dataSourceName": "chartData",
7+
"type": "inline",
8+
"format": "json",
9+
"content": [
510
{
6-
"dataSourceName": "chartData",
7-
"type": "inline",
8-
"format": "json",
9-
"content": [
10-
{
11-
"category": "A",
12-
"value": 20
13-
},
14-
{
15-
"category": "B",
16-
"value": 34
17-
},
18-
{
19-
"category": "C",
20-
"value": 55
21-
},
22-
{
23-
"category": "D",
24-
"value": 40
25-
},
26-
{
27-
"category": "E",
28-
"value": 67
29-
}
30-
]
11+
"category": "A",
12+
"value": 20
13+
},
14+
{
15+
"category": "B",
16+
"value": 34
17+
},
18+
{
19+
"category": "C",
20+
"value": 55
21+
},
22+
{
23+
"category": "D",
24+
"value": 40
25+
},
26+
{
27+
"category": "E",
28+
"value": 67
3129
}
32-
],
33-
"groups": [
30+
]
31+
}
32+
],
33+
"groups": [
34+
{
35+
"groupId": "main",
36+
"elements": [
37+
"## Chart\nUse charts for data visualizations with Vega-Lite specifications.",
3438
{
35-
"groupId": "main",
36-
"elements": [
37-
"## Chart\nUse charts for data visualizations with Vega-Lite specifications.",
38-
{
39-
"type": "chart",
40-
"chartKey": "1"
41-
}
42-
]
39+
"type": "chart",
40+
"chartKey": "1"
4341
}
44-
],
45-
"resources": {
46-
"charts": {
47-
"1": {
48-
"$schema": "https://vega.github.io/schema/vega-lite/v6.json",
49-
"data": {
50-
"name": "chartData"
51-
},
52-
"mark": "bar",
53-
"encoding": {
54-
"x": {
55-
"field": "category",
56-
"type": "nominal",
57-
"title": "Category"
58-
},
59-
"y": {
60-
"field": "value",
61-
"type": "quantitative",
62-
"title": "Value"
63-
},
64-
"color": {
65-
"field": "category",
66-
"type": "nominal"
67-
}
68-
}
69-
}
42+
]
43+
}
44+
],
45+
"resources": {
46+
"charts": {
47+
"1": {
48+
"$schema": "https://vega.github.io/schema/vega-lite/v6.json",
49+
"data": {
50+
"name": "chartData"
51+
},
52+
"mark": "bar",
53+
"encoding": {
54+
"x": {
55+
"field": "category",
56+
"type": "nominal",
57+
"title": "Category"
58+
},
59+
"y": {
60+
"field": "value",
61+
"type": "quantitative",
62+
"title": "Value"
63+
},
64+
"color": {
65+
"field": "category",
66+
"type": "nominal"
67+
}
7068
}
69+
}
7170
}
71+
}
7272
}

0 commit comments

Comments
 (0)