1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-05-08 19:29:25 +08:00

13 Commits

Author SHA1 Message Date
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
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
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
Jakub Sobon
5dd1aff803
Advancing to Go1.10.
- switching to math.Round and deleting out clone.
- switching all bytes.Buffer instances to strings.Builder.
2019-04-18 22:55:05 -04:00
Jakub Sobon
3587cb9d76
Improving test coverage for scale. 2019-03-20 23:31:31 -04:00
Jakub Sobon
68fb7606d9
Prevent external mutation of data passed into widgets.
Fixes #174.
2019-03-20 23:20:16 -04:00
Jakub Sobon
cc460d43b7
Fixing one typo and adding two missing error checks. 2019-02-24 18:42:10 -05:00
Jakub Sobon
0938ae91d8
Refactoring internal functions from align to internal/alignfor. 2019-02-24 15:44:13 -05:00
Jakub Sobon
97ec73069f
Moving align, cell and terminalapi back from internal. 2019-02-24 01:13:26 -05:00
Jakub Sobon
9517bd49e3
Moving linechart's axes to internal subdirectory. 2019-02-23 21:21:52 -05:00