Skip to content

History / Barplot

Revisions

  • Document the barplot's resize method and its content-driven height

    @bmesuere bmesuere committed Aug 19, 2026
  • Document the tooltip container setting

    @bmesuere bmesuere committed Aug 19, 2026
  • Bring the wiki up to date with the current package Last substantive edit was July 2021, three minor versions ago. Fix the six easing GIFs on the Transition page. They were linked through github.com/.../blob/..., which serves an HTML page rather than image bytes, so none of them have ever rendered. They point at raw.githubusercontent.com now, and all six return image/gif. Correct the tooltip setting names. The wiki spelled them getToolTip, getToolTipTitle and getToolTipText, with a capital T, in ten places. The source only ever uses getTooltip, getTooltipTitle and getTooltipText, so anyone who copied the documented name got a setting that is silently ignored. Document the settings that were missing entirely: colorProviderLevels on the treeview, which the surrounding docs already referred to without defining it; className and getLabel on the treemap; className and the three pointer callbacks on the sunburst. All five visualizations now document every setting their *Settings.ts declares. Add a Barplot page. The barplot shipped in 2.2.0 and had no documentation at all. Written from the source, covering the constructor, the flat Bar[] data format, both preprocessing steps, and all 29 settings including the nested chart and legend groups. Correct the requirements: the package needs D3 7, not 6, and consumers do not need to load D3 at all because vite bundles it. The example pages load it from a CDN only because the example code itself calls d3.json(). Repin the image URLs from develop to main. GitHub still redirects the old branch name, so these were not broken, but the wiki should name the live branch.

    @bmesuere bmesuere committed Aug 18, 2026