Chart
Create charts using Observable Plot (bar, histogram, scatter).
Syntax
{ "id": "n1", "op": "ChartOp", "name": "chart", "x": 0, "y": 0, "params": {} }
One out of it starts at "sourcePort": "chart".
Inputs
This operator has no input ports.
Parameters
| Parameter | Kind | Default | Choices |
|---|---|---|---|
data | field | [] | |
chartType | field | "bar" | |
xField | field | "" | |
yField | field | "" | |
width | field | 640 | |
height | field | 400 | |
color | field | "#4269d0ff" | |
title | field | "" | |
xLabel | field | "" | |
yLabel | field | "" |
Outputs
| Port | Type |
|---|---|
chart | value |
Details
- Category: Host operators
- Operator:
ChartOp - Runs: on the page, not in the engine: it cannot be compiled to SQL or an expression