Traits / ScatterPlot
ScatterPlot
Scatter authoring over the existing MarkPoint renderer
Generated from @oods/foundry 0.10.1
- Group
- viz.pattern
- Maturity
- not declared
- Contexts
- detail, form
Fields it adds
This trait adds no fields.
What it shows in each context
Parameters
renderIntentstring- JSON-encoded Cartesian viz.render input fragment; data rows are supplied by the consumer.
previewSvgstring- Static SVG returned by viz.render for the authored sample.
Objects that use it
No shipped object uses this trait.
The trait file
traits/viz/scatter-plot.trait.yaml
{
"trait": {
"name": "ScatterPlot",
"version": "0.1.0",
"description": "Scatter authoring over the existing MarkPoint renderer",
"category": "viz.pattern",
"tags": [
"viz",
"authoring"
]
},
"parameters": [
{
"name": "renderIntent",
"type": "string",
"required": false,
"default": "{}",
"description": "JSON-encoded Cartesian viz.render input fragment; data rows are supplied by the consumer."
},
{
"name": "previewSvg",
"type": "string",
"required": false,
"description": "Static SVG returned by viz.render for the authored sample."
}
],
"schema": {},
"semantics": {},
"view_extensions": {
"form": [
{
"component": "VizScatterControls",
"position": "top",
"props": {
"intentParameter": "renderIntent"
}
}
],
"detail": [
{
"component": "VizScatterPreview",
"position": "top",
"props": {
"svgParameter": "previewSvg"
}
}
]
},
"tokens": {},
"metadata": {
"regionsUsed": [
"form",
"detail"
]
}
}