[PR #267] [MERGED] Design APIs of the HeatMap widget #289

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

📋 Pull Request Information

Original PR: https://github.com/mum4k/termdash/pull/267
Author: @fgksgf
Created: 11/18/2020
Status: Merged
Merged: 11/23/2020
Merged by: @mum4k

Base: develHead: api


📝 Commits (9)

📊 Changes

10 files changed (+502 additions, -0 deletions)

View changed files

📝 .gitignore (+3 -0)
widgets/heatmap/heatmap.go (+153 -0)
widgets/heatmap/heatmap_test.go (+15 -0)
widgets/heatmap/heatmapdemo/heatmapdemo.go (+64 -0)
widgets/heatmap/internal/README.md (+4 -0)
widgets/heatmap/internal/axes/axes.go (+87 -0)
widgets/heatmap/internal/axes/axes_test.go (+15 -0)
widgets/heatmap/internal/axes/label.go (+64 -0)
widgets/heatmap/internal/axes/label_test.go (+15 -0)
widgets/heatmap/options.go (+82 -0)

📄 Description

Most of the design refers to the implementation of LineChart, but some simplifications have been made, such as:

  • Remove some options
  • Zooming is not supported (I don't think it is necessary)
  • ...

Feel free to ask me if you have any questions :)


🔄 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/267 **Author:** [@fgksgf](https://github.com/fgksgf) **Created:** 11/18/2020 **Status:** ✅ Merged **Merged:** 11/23/2020 **Merged by:** [@mum4k](https://github.com/mum4k) **Base:** `devel` ← **Head:** `api` --- ### 📝 Commits (9) - [`c0f1cfd`](https://github.com/mum4k/termdash/commit/c0f1cfdc12f6c7d0adfd515c22f4318a3402e888) first commit - [`8072326`](https://github.com/mum4k/termdash/commit/8072326b23bfe8a8669652757bc6882110d58c67) dev - [`29d7e65`](https://github.com/mum4k/termdash/commit/29d7e65c6a28e3073e5ff46c8178b9509bc91a2a) dev - [`65debbb`](https://github.com/mum4k/termdash/commit/65debbb18fd3240adb57444da240cfd3e5b7daab) Design APIs of the HeatMap widget - [`e5e6097`](https://github.com/mum4k/termdash/commit/e5e6097bdfcf507cd08f188e81394a1ce0bafc55) Update comments - [`2ac3bc5`](https://github.com/mum4k/termdash/commit/2ac3bc52a4b7571a0c7654c47d7bbb2f7d69adac) dev - [`f5dc333`](https://github.com/mum4k/termdash/commit/f5dc3335b305cf46b9fbd8f25429ba829ca160d0) dev - [`b7a73f0`](https://github.com/mum4k/termdash/commit/b7a73f0d4056d42baa43b2ec8e87fe7ff99cb822) dev - [`283801e`](https://github.com/mum4k/termdash/commit/283801e4ed7b551351f3bf2420f46c9e3e59c2ba) Rename AxisWith to axisWith and add comments ### 📊 Changes **10 files changed** (+502 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+3 -0) ➕ `widgets/heatmap/heatmap.go` (+153 -0) ➕ `widgets/heatmap/heatmap_test.go` (+15 -0) ➕ `widgets/heatmap/heatmapdemo/heatmapdemo.go` (+64 -0) ➕ `widgets/heatmap/internal/README.md` (+4 -0) ➕ `widgets/heatmap/internal/axes/axes.go` (+87 -0) ➕ `widgets/heatmap/internal/axes/axes_test.go` (+15 -0) ➕ `widgets/heatmap/internal/axes/label.go` (+64 -0) ➕ `widgets/heatmap/internal/axes/label_test.go` (+15 -0) ➕ `widgets/heatmap/options.go` (+82 -0) </details> ### 📄 Description Most of the design refers to the implementation of LineChart, but some simplifications have been made, such as: - Remove some options - Zooming is not supported (I don't think it is necessary) - ... Feel free to ask me if you have any questions :) --- <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:43 +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#289
No description provided.