Jakub Sobon
|
dd6acb15e1
|
Give metadata about events to widgets.
|
2020-11-24 22:03:58 -05:00 |
Jakub Sobon
|
3e476963e8
|
Changing Blue color in demos to a more readable shade.
|
2020-11-14 01:41:29 -05:00 |
Jakub Sobon
|
3cbd993521
|
Making tcell the default in all demos and examples.
|
2020-11-14 01:09:07 -05:00 |
Jakub Sobon
|
b883d8b02f
|
Addressing some lint issues.
|
2020-11-14 00:44:45 -05:00 |
Jakub Sobon
|
06eb7623bd
|
Modifying imports 'internal' -> 'private'.
|
2020-04-10 15:26:45 -04:00 |
Xabier Larrakoetxea
|
79ede36653
|
Use strings.Replace instead strings.ReplaceAll to have support for go >=1.10
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
|
2019-05-08 05:50:57 +02:00 |
Xabier Larrakoetxea
|
a5c7363f43
|
Add round and suffix based value formatter for the Y-axis label representation
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
|
2019-05-06 07:56:04 +02:00 |
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 |
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 |
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
|
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 |
Xabier Larrakoetxea
|
560aef66d5
|
Add linechart y-axis value formatter option API
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
|
2019-04-25 06:17:01 +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 |
Xabier Larrakoetxea
|
53abc10da3
|
Remove not required constants from linechart minMax wrapper
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
|
2019-04-18 20:33:53 +02:00 |
Xabier Larrakoetxea
|
b54694ed12
|
LineChart defaults to 0 mix and max when these are NaN
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
|
2019-04-17 13:42:05 +02:00 |
Xabier Larrakoetxea
|
42c2731286
|
Allow 'no values' on linechart represented by NaN float64 that will be displayed as empty cells
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
|
2019-04-14 10:16:44 +02:00 |
Jakub Sobon
|
10d4a55348
|
Provide metadata to widgets when drawing.
|
2019-04-03 23:13:18 -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
|
b020770733
|
Moving widgetapi out of internal.
This will allow external users to develop their own widgets.
|
2019-03-02 22:00:07 -05: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
|
85902cf11a
|
Button is internal.
|
2019-02-24 02:09:27 -05:00 |
Jakub Sobon
|
b25d20c8ae
|
Mouse and keyboard are also public.
|
2019-02-24 02:08:48 -05:00 |
Jakub Sobon
|
98394c921a
|
Moving draw back to internal.
Adding test for linestyle.
|
2019-02-24 01:54:37 -05:00 |
Jakub Sobon
|
e4726e4240
|
Changing all call sites to linestyle.
|
2019-02-24 01:51:50 -05:00 |
Jakub Sobon
|
b74f46509b
|
Moving runewidth, segdisp and testdraw to internal.
|
2019-02-24 01:27:17 -05:00 |
Jakub Sobon
|
bf61ca1479
|
Moving draw out of internal.
|
2019-02-24 01:20:03 -05:00 |
Jakub Sobon
|
97ec73069f
|
Moving align, cell and terminalapi back from internal.
|
2019-02-24 01:13:26 -05:00 |
Jakub Sobon
|
8df9e3307c
|
Moving faketerm to internal.
|
2019-02-24 01:09:23 -05:00 |
Jakub Sobon
|
bf38f10d25
|
Moving terminal back to public.
|
2019-02-24 01:04:57 -05:00 |
Jakub Sobon
|
f0438f5f78
|
Moving linechart's zoom into internal subdirectory.
|
2019-02-23 21:22:52 -05:00 |
Jakub Sobon
|
24f608f708
|
Adding README under linechart's internal subdirectory.
|
2019-02-23 21:22:11 -05:00 |
Jakub Sobon
|
9517bd49e3
|
Moving linechart's axes to internal subdirectory.
|
2019-02-23 21:21:52 -05:00 |
Jakub Sobon
|
5ac468c10a
|
Moving terminal, terminalapi and widgetapi to internal subdirectory.
And adding a README under internal.
|
2019-02-23 21:19:16 -05:00 |
Jakub Sobon
|
55efbe07fe
|
Moving numbers to internal subdirectory.
|
2019-02-23 21:16:13 -05:00 |
Jakub Sobon
|
2ff1818c0e
|
Moving keyboard and mouse to internal.
|
2019-02-23 21:11:50 -05:00 |
Jakub Sobon
|
6c03991fb9
|
Moving draw and event to internal.
|
2019-02-23 21:10:51 -05:00 |
Jakub Sobon
|
7ee222ac58
|
Moving private libraries into internal subdirectory.
|
2019-02-23 21:09:38 -05:00 |
Jakub Sobon
|
e7e8b29396
|
Fixing LineChart tests.
|
2019-02-23 20:50:29 -05:00 |
Jakub Sobon
|
a2642ea039
|
The LineChart now continuous to accept mouse events after terminal resize.
And allowing it to receive global mouse events to be able to cancel
highlight on clicks outside of the widget.
|
2019-02-23 20:48:41 -05:00 |
Jakub Sobon
|
0490734d1e
|
Running gofmt.
|
2019-02-23 00:42:47 -05:00 |
Jakub Sobon
|
22946f2f65
|
Allowing widgets to select the scope for mouse events too.
|
2019-02-23 00:41:58 -05:00 |