1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-04-28 13:48:51 +08:00

880 Commits

Author SHA1 Message Date
Xabier Larrakoetxea
38f40428a1
Move time duration value formatter NaN check
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-05 10:27:48 +02:00
Xabier Larrakoetxea
7d5c78059c
Rename linechart value formatters and check more corner cases
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-05 10:07:15 +02:00
Jakub Sobon
932e0afce8 Merge branch 'master' into devel 2019-05-04 17:52:07 -04:00
Jakub Sobon
0e5242ca6f
Merge pull request #202 from donaldww/master
Fix spelling error in termdashdemo comment
2019-05-04 09:52:49 -04:00
Donald Wilson
5f6b2150b5
Merge pull request #1 from donaldww/donaldww-patch-1
Update termdashdemo.go
2019-05-04 05:22:09 -04:00
Donald Wilson
4fdf11b21c
Update termdashdemo.go 2019-05-04 05:19:14 -04:00
Xabier Larrakoetxea
059c72807f
Add single unit duration value formatter for the Y-axis
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-04 11:06:08 +02:00
Xabier Larrakoetxea
150b7e26e2
Allow empty Y-axis labels on linechart using a value formatter that returns empty strings
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-04 08:08:55 +02:00
Xabier Larrakoetxea
e152366a5c
Fix comment
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-04 08:07:33 +02:00
Jakub Sobon
07850c79a8
Merge pull request #199 from SpellarBot/fix-typos
@SpellarBot fixed 3 typos for you :)
2019-05-03 16:20:04 -04:00
Andrew Hall
f5f815b384 @SpellarBot fixed 3 typos for you :) 2019-05-03 20:58:17 +01:00
Xabier Larrakoetxea
b0f8079a94
Add linechart custom formatter testcases for long strings, non-printable characters and unicode value formatter results
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-03 07:18:49 +02:00
Xabier Larrakoetxea
36f116d9fc
Make axes labels length finder compatible with unicode runes
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-03 07:15:49 +02:00
Xabier Larrakoetxea
c1bf776dba
Use variadic args for Value factory options
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-03 07:14:01 +02:00
Xabier Larrakoetxea
a8931e2820
Check also for non printable characters on alingfor package text helper method
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-03 07:04:10 +02:00
Jakub Sobon
e6a00d5685
Merge pull request #198 from mum4k/dot-display
Support displaying the dot character in SegmentDisplay.
2019-04-30 23:14:41 -04:00
Jakub Sobon
426ec9edd4
Updating CHANGELOG. 2019-04-30 23:04:28 -04:00
Jakub Sobon
a8d038e6e7
Renaming align.go to alignfor.go.
So that file name matches package name.
2019-04-30 23:03:04 -04:00
Jakub Sobon
f13f732a66
More test coverage for dotseg.
Also the demo of segment display now uses a colon.
2019-04-30 23:02:14 -04:00
Jakub Sobon
6578c20aea More test coverage. 2019-04-30 16:04:25 -04:00
Jakub Sobon
6159007466
The SegmentDisplay now uses dot segment for dots and colons. 2019-04-30 00:00:37 -04:00
Jakub Sobon
939f8fe199
A segment display that can show three dots. 2019-04-29 23:11:55 -04:00
Jakub Sobon
a591f95d29
Factoring out function that calculates segment size. 2019-04-29 22:56:59 -04:00
Jakub Sobon
b8a6427d47
Functions that move areas up and down. 2019-04-29 22:55:49 -04:00
Jakub Sobon
f81cb554b0
Skeleton of the dotseg package. 2019-04-28 23:34:02 -04:00
Jakub Sobon
27c830cebf
Adding licences. 2019-04-28 23:12:55 -04:00
Jakub Sobon
f32921589c
Merge pull request #197 from mum4k/lint
Fixing lint issues found on Go report card.
2019-04-28 23:09:02 -04:00
Jakub Sobon
57b9e78dc8
Refactoring sixteen.
Moving out code that is common to all segment display types.
2019-04-28 23:08:34 -04:00
Jakub Sobon
95f58f0617
Updating CHANGELOG. 2019-04-28 22:45:28 -04:00
Jakub Sobon
0ef875039b
Fixing lint issues found on Go report card. 2019-04-28 22:44:44 -04:00
Jakub Sobon
662382e8ba
Merge pull request #196 from mum4k/donut-label-spacing
Guarantee some spacing between donut and its label.
2019-04-28 22:41:20 -04:00
Jakub Sobon
98b23ec3bd
Text area no longer needs to be adjusted.
Since we are no longer removing one line of cells from the top of the
canvas.
2019-04-28 22:32:15 -04:00
Jakub Sobon
457ce10404
Updating CHANGELOG. 2019-04-28 22:11:16 -04:00
Jakub Sobon
3dce1b3bab
Undo changes to the donut demo. 2019-04-28 22:05:31 -04:00
Jakub Sobon
e9b4ba3613
Guarantee some spacing between donut and its label. 2019-04-28 22:03:57 -04:00
Jakub Sobon
e6af456c61
Merge pull request #195 from mum4k/release-0-9-0
Release v0.9.0
v0.9.0
2019-04-28 21:44:41 -04:00
Jakub Sobon
8414868440
Updating CHANGELOG for release v0.9.0. 2019-04-28 21:36:19 -04:00
Jakub Sobon
9a82474aee
Merge pull request #194 from mum4k/donut-label
Support a text label under the Donut widget.
2019-04-28 21:32:48 -04:00
Jakub Sobon
553bad2d18
Updating the CHANGELOG. 2019-04-28 21:18:54 -04:00
Jakub Sobon
0c68b3d745
The donut widget can optionally display a text label. 2019-04-28 21:17:07 -04:00
Jakub Sobon
4391f3846d
Adding HSplitCells into the area package. 2019-04-28 20:14:26 -04:00
Jakub Sobon
f7cb7e8b8f
Adjusting width of the text input demo. 2019-04-27 03:17:17 -04:00
Jakub Sobon
eacd178c7e
Merge pull request #189 from mum4k/text-input
Implementing text input field widget.
2019-04-27 02:58:23 -04:00
Jakub Sobon
3b7ae3e319
Adding text input field to the main demo. 2019-04-27 02:50:13 -04:00
Jakub Sobon
e1fc3d17e7
Adding textinput demo to the README. 2019-04-27 02:10:03 -04:00
Jakub Sobon
d105df4413
Refactoring the Draw method for readability. 2019-04-27 01:58:37 -04:00
Jakub Sobon
304c59f211
Mouse support for the text input field. 2019-04-27 01:45:15 -04:00
Xabier Larrakoetxea
7571889bec
Use the y-axis value formatter option on y-axis internal properties
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-04-26 07:04:03 +02:00
Xabier Larrakoetxea
135edd42fa
Add formatted values creation if the scale has a value formatter asigned
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-04-26 07:01:24 +02:00
Xabier Larrakoetxea
7157a07457
Add formatter support to linechart internal Value type
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-04-26 06:46:58 +02:00