www icon indicating copy to clipboard operation
www copied to clipboard

feat: Integrate wagtailcharts

Open mgax opened this issue 11 months ago • 1 comments

Fixes https://github.com/ietf-tools/www/issues/236

⚠️ Migrations will conflict with https://github.com/ietf-tools/www/pull/403. Whichever gets merged first, the migrations in the other branch should just be deleted and re-created, they are just a side-effect of the Streamfield schema being changed.

This PR integrates the wagtailcharts library with all its chart types: lines, vertical bars, horizontal bars, area, combo (lines + bars + area), pie, doughnut, waterfall, radar, and polar.

Charts include an extra Accessible label field, which is used as an aria-label attribute on the chart, for screen readers.


The branch is deployed at https://ws-wagtailcharts.dev.ietf.org/ for testing.


Here's a quick demo, with IETF attendance data, reproducing the chart from this article.

Screenshot 2024-03-25 at 16-45-39 Editing Standard page Charts demo - Wagtail

mgax avatar Mar 25 '24 16:03 mgax