Allow spec without data source
See original GitHub issue{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"layer": [
{
"data": {
"values": [
{"a": "A", "b": 28},
{"a": "B", "b": 55},
{"a": "C", "b": 43},
{"a": "D", "b": 91},
{"a": "E", "b": -81},
{"a": "F", "b": 53},
{"a": "G", "b": -19},
{"a": "H", "b": 87},
{"a": "I", "b": 52}
]
},
"mark": "line",
"encoding": {
"x": {"field": "a", "type": "ordinal"},
"y": {"field": "b", "type": "quantitative"}
}
},
{"mark": "rule", "encoding": {"y": {"value": 50}}}
]
}
should render the rule layer and the rule layer should have no data source bound in Vega.
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (14 by maintainers)
Top Results From Across the Web
Failed to configure a DataSource: 'url' attribute is not specified ...
Just add : @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class }) works for me. I was getting same error I tried with ...
Read more >Class DataSource | Apps Script - Google Developers
updateSpec(spec) Updates the data source specification and refreshes the data source objects linked with this data source with the new ...
Read more >Data sources should allow empty results without failing #16380
An optional allow_empty_result attribute on the data source would support many use cases where a datasource value is not explicitly required.
Read more >Connecting to Multiple Data Sources Without Joining or ...
Answer · Connect to the primary data source as usual. · Create a Worksheet. · Create a new Worksheet. · Using the top...
Read more >Save the details of an import or export operation as a ...
If the source object (table, query, form, or report) is open when you run the specification, Access exports only the data that is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think the empty default data is a good idea, though I’d mildly advocate for
"data": { "values": [{}] }
rather than"data": { "values": [1] }
.I like that idea as an extension of this issue! Thanks for the suggestion @eflister.