Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions assets/resources.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"handlebars": "",
"options.json": "https://raw.githubusercontent.com/apache/echarts-website/asf-site/en/documents/option.json",
"plotly.js.json": "https://raw.githubusercontent.com/plotly/plotly.js/master/dist/plot-schema.json",
"vega.v5.json": "https://raw.githubusercontent.com/vega/schema/299178c0679fc5e7aa439b76cdd6d867c68989ea/vega/v5.25.0.json",
"vega-lite.v5.json": "https://raw.githubusercontent.com/vega/schema/51c769bb1e0d0a56cf4e039097a2c2187ebd10f4/vega-lite/v5.7.1.json"
"handlebars.hbs": "",
"charticulator.json": "https://raw.githubusercontent.com/zBritva/zbritva.github.io/refs/heads/master/static/schemas/charticulator.json",
"echarts.json": "https://raw.githubusercontent.com/apache/echarts-website/asf-site/en/documents/option.json",
"plotly.json": "https://raw.githubusercontent.com/zBritva/zbritva.github.io/refs/heads/master/static/schemas/plotly.json",
"vega.json": "https://raw.githubusercontent.com/zBritva/zbritva.github.io/refs/heads/master/static/schemas/vega.v5.30.json",
"vega-lite.json": "https://raw.githubusercontent.com/zBritva/zbritva.github.io/refs/heads/master/static/schemas/vega-lite.5.20.1.json"
}
82 changes: 29 additions & 53 deletions capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@
"text": true
}
},
"apexchart": {
"description": "ApexCharts schema",
"descriptionKey": "Visual_ApexChartsSchema",
"displayName": "ApexCharts schema",
"displayNameKey": "Visual_ApexChartsSchema",
"type": {
"text": true
}
},
"schema": {
"description": "Chart schema",
"descriptionKey": "Visual_ChartSchema",
Expand Down Expand Up @@ -56,6 +65,22 @@
"type": {
"text": true
}
},
"provider": {
"type": {
"enumeration": [
{
"displayNameKey": "Provider_VegaLite",
"displayName": "vegaLite",
"value": "vegaLite"
},
{
"displayNameKey": "Provider_Vega",
"displayName": "vega",
"value": "vega"
}
]
}
}
}
},
Expand Down Expand Up @@ -88,60 +113,11 @@
"bool": true
}
},
"targetVisual": {
"displayName": "Target visual for editing",
"description": "Specifies the visual to edit",
"showAllSettings": {
"displayName": "Show all tabs",
"description": "Load JSON schema for all supported visuals",
"type": {
"enumeration": [
{
"displayName": "PlotlyJS Visual",
"value": "plotlyjs"
},
{
"displayName": "Deneb",
"value": "deneb"
},
{
"displayName": "ECharts",
"value": "echart"
},
{
"displayName": "Charticulator",
"value": "charticulator"
},
{
"displayName": "HTML/SVG/Handlebars",
"value": "handlebars"
}
]
}
},
"jsonSchema": {
"displayName": "JSON schema",
"description": "Specifies the schema to load for code completion",
"type": {
"enumeration": [
{
"displayName": "ECharts",
"value": "options.json"
},
{
"displayName": "Plotly.js",
"value": "plotly.js.json"
},
{
"displayName": "Vega v5",
"value": "vega.v5.json"
},
{
"displayName": "Vega-Lite v5",
"value": "vega-lite.v5.json"
},
{
"displayName": "Handlebars",
"value": "handlebars"
}
]
"bool": true
}
}
}
Expand Down
Loading