mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[PR #133] [MERGED] The LineChart widget now supports zooming the content #214
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#214
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mum4k/termdash/pull/133
Author: @mum4k
Created: 2/18/2019
Status: ✅ Merged
Merged: 2/18/2019
Merged by: @mum4k
Base:
devel← Head:linechart-zoom📝 Commits (10+)
4981ad2Method on Braille canvas that just sets cell options.3615294Method that returns the underlying cell area.e3858d9Move ratio related functions from area to numbers.e677c1fBraille method that sets cell options in an area.0acf555Only set options in cells within the specified area.aec5012Functions that splits a number by a ratio.7c37946Remove logging from numbers.d5b0494The XDetails object now maintains its creation properties.4a7c5d9Object that tracks the zoom state for LineChart.72b3ac4The LineChart widget now supports zoom.📊 Changes
18 files changed (+2969 additions, -123 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
README.md(+2 -1)📝
area/area.go(+1 -32)📝
area/area_test.go(+0 -25)📝
canvas/braille/braille.go(+47 -2)📝
canvas/braille/braille_test.go(+192 -25)📝
canvas/braille/testbraille/testbraille.go(+14 -0)📝
canvas/testcanvas/testcanvas.go(+9 -0)📝
images/linechartdemo.gif(+0 -0)📝
numbers/numbers.go(+49 -0)📝
numbers/numbers_test.go(+138 -0)📝
widgets/linechart/axes/axes.go(+8 -4)📝
widgets/linechart/axes/axes_test.go(+38 -0)📝
widgets/linechart/linechart.go(+52 -18)📝
widgets/linechart/linechart_test.go(+192 -0)📝
widgets/linechart/options.go(+42 -16)➕
widgets/linechart/zoom/zoom.go(+487 -0)➕
widgets/linechart/zoom/zoom_test.go(+1696 -0)📄 Description
Fixes #55
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.