Traits / EncodingOpacity
EncodingOpacity
Constant Cartesian mark opacity
Generated from @oods/foundry 0.10.1
- Group
- viz.encoding
- 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.
Objects that use it
No shipped object uses this trait.
The trait file
traits/viz/encoding-opacity.trait.yaml
{
"trait": {
"name": "EncodingOpacity",
"version": "0.1.0",
"description": "Constant Cartesian mark opacity",
"category": "viz.encoding",
"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."
}
],
"schema": {},
"semantics": {},
"view_extensions": {
"form": [
{
"component": "VizOpacityControls",
"position": "top",
"props": {
"intentParameter": "renderIntent"
}
}
],
"detail": [
{
"component": "VizOpacitySummary",
"position": "top",
"props": {
"intentParameter": "renderIntent"
}
}
]
},
"tokens": {},
"metadata": {
"regionsUsed": [
"form",
"detail"
]
}
}