[PR #41] [MERGED] Implementing a BarChart widget. #174

Closed
opened 2026-03-03 16:23:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mum4k/termdash/pull/41
Author: @mum4k
Created: 6/20/2018
Status: Merged
Merged: 6/25/2018
Merged by: @mum4k

Base: develHead: barchart


📝 Commits (10+)

  • ff5ce85 Skeleton of the barchart widget and its tests.
  • 774ad24 More test cases.
  • 77a9b30 Implementation of the BarChart widget and its demo.
  • 4785160 Adding some missing licences.
  • 542948c Fixes after self-review.
  • c2782a8 Improving test coverage.
  • a0f55cc Improving the demo.
  • 6a320ac Adding colors to the demo.
  • 40bee03 Fixing incorrect func name in test output.
  • b281b05 Merge branch 'devel' into barchart

📊 Changes

6 files changed (+1262 additions, -0 deletions)

View changed files

widgets/barchart/barchart.go (+299 -0)
widgets/barchart/barchart_test.go (+676 -0)
widgets/barchart/barchartdemo/barchartdemo.go (+112 -0)
widgets/barchart/options.go (+147 -0)
📝 widgets/text/line_trim.go (+14 -0)
📝 widgets/text/line_trim_test.go (+14 -0)

📄 Description

Including a demo.

Also rerunning the script which adds licences to files.

Fixes #8


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mum4k/termdash/pull/41 **Author:** [@mum4k](https://github.com/mum4k) **Created:** 6/20/2018 **Status:** ✅ Merged **Merged:** 6/25/2018 **Merged by:** [@mum4k](https://github.com/mum4k) **Base:** `devel` ← **Head:** `barchart` --- ### 📝 Commits (10+) - [`ff5ce85`](https://github.com/mum4k/termdash/commit/ff5ce851709f95b7eb0e2717a6ef0cb0e90d8ace) Skeleton of the barchart widget and its tests. - [`774ad24`](https://github.com/mum4k/termdash/commit/774ad2479a25592d9242ddfbb1c5aed0b877b6f6) More test cases. - [`77a9b30`](https://github.com/mum4k/termdash/commit/77a9b30133ff16078e21f0080b6cd3ba1654bb24) Implementation of the BarChart widget and its demo. - [`4785160`](https://github.com/mum4k/termdash/commit/4785160c13660c0bc89b643f65cf2f147e8e0200) Adding some missing licences. - [`542948c`](https://github.com/mum4k/termdash/commit/542948c6cfa38b081ca27b6d47791367971f3f01) Fixes after self-review. - [`c2782a8`](https://github.com/mum4k/termdash/commit/c2782a8f56ece6a8988dd77cf4b76cb8991f8859) Improving test coverage. - [`a0f55cc`](https://github.com/mum4k/termdash/commit/a0f55ccf015912df3a967aaa31ec7a9b336e613b) Improving the demo. - [`6a320ac`](https://github.com/mum4k/termdash/commit/6a320ac68ca033e9d45884bc6644fcedb3861058) Adding colors to the demo. - [`40bee03`](https://github.com/mum4k/termdash/commit/40bee03bc24dd2f574e24476ab0e89c408e1bb73) Fixing incorrect func name in test output. - [`b281b05`](https://github.com/mum4k/termdash/commit/b281b0506f752d4cfd8e3605d9ef0feeb7bea036) Merge branch 'devel' into barchart ### 📊 Changes **6 files changed** (+1262 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `widgets/barchart/barchart.go` (+299 -0) ➕ `widgets/barchart/barchart_test.go` (+676 -0) ➕ `widgets/barchart/barchartdemo/barchartdemo.go` (+112 -0) ➕ `widgets/barchart/options.go` (+147 -0) 📝 `widgets/text/line_trim.go` (+14 -0) 📝 `widgets/text/line_trim_test.go` (+14 -0) </details> ### 📄 Description Including a demo. Also rerunning the script which adds licences to files. Fixes #8 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:23:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/termdash#174
No description provided.