Added codox documentation generation; updated README.

This commit is contained in:
Simon Brooke 2026-09-28 13:00:03 +01:00
parent 5f7854cb0d
commit 6c34fd0bc0
3 changed files with 106 additions and 13 deletions

View file

@ -136,6 +136,15 @@
[(range (count data)) percentages]})))
(defn chart-accounts-with-donations-by-months-in-range
"Return a chart with one line for each calendar month covering from
`start-date` (inclusive) to `end-date` (inclusive). Arguments should be
supplied as `java.time.LocalDate` objects, or as strings in the format
`yyyy-mm-dd`, showing donations as for
`chart-donations-by-accounts-in-date-range`, q.v.
TODO: There are currently two problems with this at present: chart legends
are not displayed in sequential order; and there appears to be occasional
spurious data (but I don't know why)."
[start-date end-date]
(let [sd (cond (date? start-date) start-date
(string? start-date) (ld/parse start-date)