Sparkline

Renders a small, simple line chart without axes or coordinates, showing

Surfaces
webmeet-stageapps-script-web
Fields
FieldType
datalist of numbers (e.g., [10, 12, 8, 15, 13])required
colorstring (hex or named color, e.g., '#4CAF50' or 'green')required
line_widthnumber (e.g., 2)required
heightstring (CSS height value, e.g., '20px')required
widthstring (CSS width value, e.g., '80px')required
Example payload
{
  "type": "sparkline",
  "data": 1,
  "color": "#6366f1",
  "line_width": 1,
  "height": "80px",
  "width": "100%"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:sparkline",
  "displayName": "Sparkline",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/sparkline",
  "capabilities": [
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "Renders a small, simple line chart without axes or coordinates, showing",
  "representativeQueries": [
    "show a inline SVG trend line chart general trends",
    "renders a small, simple line chart without axes or coordinates, showing",
    "render a sparkline"
  ]
}
← Full ARD catalog Try it live →
Deploy your own renderer

The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →