| Copyright | (c) 2025 |
|---|---|
| License | MIT |
| Maintainer | mschavinda@gmail.com |
| Safe Haskell | None |
| Language | GHC2021 |
Granite.Render.Pipeline
Description
Chart → Scene pipeline. chartToScene compiles a Chart spec into
a backend-agnostic Scene; renderChartTerminal and
renderChartSvg pair it with the matching backend.
Synopsis
- renderChart :: Chart -> (Text, Text)
- renderChartTerminal :: Chart -> Text
- renderChartSvg :: Chart -> Text
- chartToScene :: Chart -> Scene
Documentation
renderChartTerminal :: Chart -> Text Source #
renderChartSvg :: Chart -> Text Source #
SVG render; uses responsive sizing when chartSize is
SizeResponsive, explicit pixel dimensions otherwise.
chartToScene :: Chart -> Scene Source #