Skip to content

0.4a0

Pre-release
Pre-release

Choose a tag to compare

@simonw simonw released this 27 Nov 23:57
162236f

Improved utilities for plugins that add new chart types, plus a website for the plugin at at charts.datasette.io.

  • New Writing chart type plugins documentation. It starts with a step-by-step tutorial that builds a lollipop chart plugin, then documents the Python classes, the rules for chart SQL, the column profile that suggestions are based on, how suggestions are scored and ranked, and the JavaScript renderer API. #7
  • Renderers for chart types from other plugins are now passed ctx.helpers - 22 utility function used by the built-in charts for theming, number formatting, axis labels, time buckets and laying out annotations. #7
  • Charts now work on tables named source, base, ranked and other names used by the plugin's own SQL. #5