Chart
Decoration and visibility use Decoration & visibility (BlockShell).
Fields
arrayBinding
Whole-value {{var:id}} or {{bind:id}} selecting an array or entry[] source. VariableArrayTemplateBlock repeats its slot per item. SlotSliderBlock repeats its first slide per item, with {{var:item.*}} and the row index, and keeps static slides when this is empty. Nested paths like {{var:parent.field}} work when that field is array-like.
arrayBinding: "{{var:hits}}"Default props
{
"arrayBinding": "",
"categoryKey": "name",
"series": [
{
"id": "series-a",
"valueKey": "a",
"label": "Series A",
"color": "#2563eb"
},
{
"id": "series-b",
"valueKey": "b",
"label": "Series B",
"color": "#16a34a"
}
],
"chartType": [
{
"if": "*",
"is": "bar"
}
],
"stacked": [
{
"if": "*",
"is": false
}
],
"curve": [
{
"if": "*",
"is": "monotone"
}
],
"showGrid": [
{
"if": "*",
"is": true
}
],
"showLegend": [
{
"if": "*",
"is": true
}
],
"showTooltip": [
{
"if": "*",
"is": true
}
],
"pieInnerRadius": [
{
"if": "*",
"is": 0
}
],
"height": [
{
"if": "*",
"is": 280
}
],
"shell": {
"visibility": [
{
"if": "*",
"is": true
}
],
"anchor": {
"anchorId": [
{
"if": "*",
"is": ""
}
],
"anchorKey": [
{
"if": "*",
"is": ""
}
]
},
"pointerEvents": [
{
"if": "*",
"is": "auto"
}
]
}
}