#587 Measures: plugin scripts and derived metadata read a summary's totals
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#587
- issue
- state:closed
Follow-up to #570 and #575. Plugins can read a summary's totals, not only a single moment's values. - **Scripts:** - scripts run for summaries too; - `api.total(name)` reads the summary's total, or a moment's value; - in a comparison, `api.total(name, n)` reads the total of its *n*th timeline (#586), so plugins decide how each timeline's totals are represented; - summaries take the colors, shapes, sizes and outlines scripts return. - **Derived metadata (#122):** a derivation source `{ "measure": "cost" }` reads a value, or a summary's total, as exact text. https://github.com/circagraph/timeline-app/issues/587
Related
- #122 journald & other import formats severity colorization
- #570 Measures: typed quantities on moments and durations, totalled in every summary
- #575 Measures 4: totals in overviews, cluster labels, the plugin API and the background chart
- #586 Measures: comparisons keep totals per timeline, never added across them
- #591 Measures: comparisons keep totals per timeline, never added across them (#586)
- #592 Measures: plugin scripts and derived metadata read a summary's totals (#587)
- Measures: plugin scripts and derived metadata read a summary's totals (#587)
- Merge pull request #592 from openchronology/feat/587-plugin-totals
- Measures: comparisons keep totals per timeline, never added across them (#586)
Open #587 Measures: plugin scripts and derived metadata read a summary's totals in the timeline