VegaSpec
viz.vega.VegaSpec
Vega spec wrapper to generate typed accessors inferred from the JSON structure.
When created from a file via VegaPlot.pwd or resource via VegaPlot.fromResource, this class tracks the source and automatically uses fresh content if it has changed since compilation. This ensures the output is always correct, even if the typed accessors are stale.
Value parameters
- mod
-
The typed accessor object for modifications
- rawSpec
-
The JSON spec as parsed at compile time
- sourceInfo
-
Optional source tracking for staleness detection
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article