have `opt.config` allow an URL to load the config object from a file
See original GitHub issueFor now, only the visualisation specification can be optionally loaded from a file using vega.embed
, while opt.config
is to be provided as an object, not as an URL.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Unable to load the configuration application.properties
Considering this, you should always load such resources with a class loader. Have a look at this: String propName = "application.properties"; ...
Read more >ConfigParser – Work with configuration files - PyMOTW
Use the ConfigParser module to manage user-editable configuration files for an application. The configuration files are organized into sections, and each ...
Read more >configparser — Configuration file parser — Python 3.11.1 ...
This module provides the ConfigParser class which implements a basic configuration language which provides a structure similar to what's found in Microsoft ...
Read more >Configuration in a file - Ktor
Ktor allows you to configure various server parameters, such as a host address and port, modules to load, and so on. The configuration...
Read more >Configuration in ASP.NET Core - Microsoft Learn
Learn how to use the Configuration API to configure AppSettings in an ASP. ... {Environment}.json files are supported using JavaScript or C# ...
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 Free
Top 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
This functionality was supported in v2 of vega-embed, and I think is still supported? Perhaps this is just a case of updating the documentation. @g3o2: Have you tried supplying a string as the
opt.config
?In terms of a use case: a common one we originally envisioned was having theme configurations stored as separate files that could be passed along as an
opt.config
.@g3o2 Congratulations to your first merged pull request then. 🎉
We love to get pull requests for documentation improvements.