Native vector charts — new in 1.6.0
pdfnative 1.6.0 adds a chart block that renders bar, horizontal-bar, line, pie, and donut charts as pure PDF path operators — rectangles, line segments, and cubic-Bézier arcs. Zero dependencies, no rasterisation, crisp at any zoom, and PDF/A-safe. Pick a preset, generate, and open the downloaded PDF in any viewer.
View underlying code
v1.6.0 chart features:
- Types —
bar,barH,line(optional markers),pie,donut. - Multi-series grouped bars and lines with an auto-generated legend and "nice" 1/2/5×10ⁿ axis ticks.
- Negative values anchor at a zero baseline automatically.
- Colours validated (injection-safe); per-series/per-slice palette override.
- Accessible — tagged mode emits a
/Figurewith/Alt; solid fills only, so PDF/A-safe. - International labels shape correctly (CJK/RTL/emoji) via the standard text pipeline.
See the Charts guide for the full ChartBlock API.