Skip to content

v0.3.2

Choose a tag to compare

@coredumpdev coredumpdev released this 23 Jul 17:21
· 72 commits to master since this release

Since v0.3.1:

✨ Features

  • Image export — every plot (Plot/Plot3D/PolarPlot) has toDataURL() / toBlob() / downloadImage() / copyToClipboard(), plus a one-click download-PNG button on the toolbar (and next to reset-view on 3D).
  • Interactive drawing toolsnew Plot(el, { drawingTools: true }) adds trendline / horizontal / ray / Fibonacci / rectangle tools. Drawings are editable: drag endpoint handles to reshape, drag the body to move, double-click to label, right-click for a context menu (rename / recolor / delete), Delete to remove.
  • 7 diagram chart typesaddTreemap · addFunnel · addSunburst · addGauge · addSankey · addChord · addParallelCoordinates (pure *Layout fns exported too).
  • 7 more finance indicators — Stochastic, Keltner, OBV, Ichimoku, ADX, SuperTrend, Fibonacci retracements.
  • @photonviz/wc — new framework-agnostic Web Components package: <photon-plot> / <photon-plot3d> / <photon-polar>.
  • Data adaptersparseCSV(text) → a typed Table, and lttb(x, y, threshold) downsampling for long line series.
  • Accessibility — plots render as role="img" with an auto-summarized aria-label (ariaLabel / setAriaLabel() / describe()).
  • Examples — per-chart fullscreen button; a new interactive playground (CodeMirror editor) and a Web Components gallery.

🐛 Fixes

  • Ordinal-time axis gridlines now snap to real calendar dates (month/week/day) and no longer drift when panning.
  • Hover x-readout uses the axis scale's formatter (dates on time/ordinal-time instead of a raw index).

All 8 packages published to npm at 0.3.2.