DEV Community

Cover image for The log you keep every day becomes a graph right inside the note
Masaya Kumagai
Masaya Kumagai

Posted on

The log you keep every day becomes a graph right inside the note

Say you write down how bad your headache was every day, in your notes, along with how the day went. The numbers pile up, but a table in a note does not show whether things are getting better or worse. To see a graph, you either copy the numbers into a spreadsheet or log them there from the start. Then the words about what happened that day and the graph of the numbers end up in two different places.

So Graphium has a chart that draws straight from the tables in a note. Insert Chart from the / menu, pick a table, and it becomes a figure on the spot. The figure only looks at the table. It does not copy the numbers. Add a row or fix a cell, and the figure changes with it. When a peak in the graph makes you wonder what happened that day, the answer is in the text right above it. I think a log you keep adding to is better served when the figure sits next to what you wrote.

Another log that seems related, such as air pressure, can go on the same figure. Press Add data source in the settings to add the pressure table, set that series' axis to Right, and a second scale appears. Pain logged on 0 to 10 and pressure around 1000 hPa are numbers of very different sizes, yet both stay readable.

Two tables overlaid in one chart, with pain on the left axis and air pressure on the right

The table you log into got something to make it easier to keep up, too. Open Column attributes from the handle above a column and turn on Fill in the date/time automatically. From then on, each row you add gets the current date and time in that column. The date is ordinary cell text, so when you write down last night's entry the next morning, you can correct it by hand.

A table where each added row gets its date and time filled in

Besides overlaying, you can also set things side by side. Panels splits one figure into a grid of up to 4 × 4, and each panel keeps its own vertical axis. For a file you saved earlier, Pick a data asset… draws it into the figure directly, without pasting a table into the note.

A chart can draw from the tables in the note you have open and from data kept in your materials. It cannot yet point at a table in another note. The chart types are also kept to four: line, bar, scatter and distribution.

The date/time column and charts are covered in the "Notes & editor" page of the manual. Drawing a figure from a table came in v0.34.0 (2026-08-13), drawing directly from data assets in v0.38.0 (2026-08-17), and splitting a figure into panels in v0.71.0 (2026-09-11).

https://kumagallium.github.io/Graphium/manual/notes-and-editor

Graphium is open source on GitHub.

https://github.com/kumagallium/Graphium

Top comments (0)