#434 Background chart: a chart per category (such as log severity) beside the total
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#434
- issue
- state:closed
Follow-up to #289. The **Background chart** plugin charts the total number of moments across the view, from the view's summaries. #289 also asked for several charts at once, such as one each for info, warning and error log entries (blue, yellow and red), over the required total. Summaries don't carry that breakdown: a group knows how many moments it holds, not their tags or severities. A chart per category would need each summary to count its moments by category. That breakdown has to be added in all three backends: - the browser's in-memory index; - SQLite, on the desktop; - PostgreSQL, on the server. Their summaries are checked against each other by the equivalence tests. Open questions: - How a plugin names its series: for example, by a tag prefix (`severity:`) and a map from each value to a color, as derived metadata does. - What bounds the number of series. - How to keep counting cheap when categories are many. https://github.com/openchronology/timeline-app/issues/434
Related
- #289 background chart plugin
- #435 Background chart: the view's moments as a smooth curve behind the timeline (#289)
- #437 Chart series on indexed timelines: keep their filtered views up to date instead of rebuilding them
- #438 Background chart series, and a Log severity chart (#434)
- #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
- Merge pull request #438 from openchronology/feature/background-chart-categories
- A background chart can draw series beneath its total, and Log severity chart draws one per severity (#434)
- A Background chart plugin draws the view's moments as a smooth curve behind the timeline (#289)