circagraph
Sign inSign up

openchronology/timeline-app on GitHub

The OpenChronology repository on GitHub, mirrored by och-import-github: issues and pull requests as durations (ongoing while open), what happened to them as moments, plus releases, milestones, commits and branches. The Branches view shows the most recently active branches each in a track of its own.

Source: https://github.com/openchronology/timeline-app

3,131 moments · 2026-10-05 CE 20:21:49 UTC – 2026-11-16 CE 12:10:45 UTC · by @athan · @athan

#610 Every measure chart is drawn, each with a value axis on the right

–

  • github
  • github/openchronology/timeline-app
  • github/openchronology/timeline-app#610
  • pull request
  • state:merged

Every enabled measure and balance chart is now drawn, each with its own value axis on the timeline's right edge. ## Several charts Before, one chart was drawn: that of the last enabled chart plugin. - **Moments chart:** still one, the last enabled plugin's of kind `moments`, with its series. - **Measure and balance charts:** every enabled one is drawn over the moments chart, in plugin order. Each is on its own scale and in its plugin's color. - **`pluginCharts`:** gives both. `pluginChart` is kept for existing callers. ## The axes The axes sit side by side at the stage's right edge, each in its chart's color. - **Title:** the measure's label. - **Values:** round values, 1, 2 or 5 times a power of ten, from `axisTicks`. - **Exact:** they are exact rationals, printed in the measure's own format with the existing `axis` style, such as `$2T`. - **Readout:** values that would meet the balance readout in the lower corner are left out. - **Balance charts:** the axis runs from the view's lowest balance to its highest. `balanceSteps` now returns that `low` and `high`. - **Measure charts:** the axis shows a rate. - **Units:** the smoothing averages its weights, so the curve's height is the measure per 6-pixel step. That converts to the measure per the time axis's labelled step, such as `Spending per 10 years` or `per year`, which changes with the zoom. ## Tests - **`test/measure-plugins.test.mjs`:** `pluginCharts`, `axisTicks` (round, exact, placed, including small fractions), and `balanceSteps`' range. - **`test/chart-axes-browser.mjs`, new:** a timeline with a debt balance chart and a spending measure chart. - **Colors:** two axes in plugin order, each in its plugin's color. - **Titles:** `Federal debt`, and `Spending per …`. - **Values:** the debt axis reads `$1T`, `$2T`, `$3T`, and every axis's values rise up the stage. - **Lines:** both lines are drawn, the balance's as steps. - **Browsers:** it passes in Chromium, Firefox and WebKit. - **Other checks:** the full Chromium browser suite (33 checks) and the unit suite pass. The type check is clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/circagraph/timeline-app/pull/610

Related

Open #610 Every measure chart is drawn, each with a value axis on the right in the timeline

#610 Every measure chart is drawn, each with a value axis…