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

14 Commits

Author SHA1 Message Date
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
97ec73069f
Moving align, cell and terminalapi back from internal. 2019-02-24 01:13:26 -05:00
Jakub Sobon
f0438f5f78
Moving linechart's zoom into internal subdirectory. 2019-02-23 21:22:52 -05:00
Jakub Sobon
9517bd49e3
Moving linechart's axes to internal subdirectory. 2019-02-23 21:21:52 -05:00
Jakub Sobon
7ee222ac58
Moving private libraries into internal subdirectory. 2019-02-23 21:09:38 -05:00
Jakub Sobon
72b3ac4ff9
The LineChart widget now supports zoom. 2019-02-18 01:28:30 -05:00
Jakub Sobon
d2533da9cf
Make the Y axis adaptive when custom scale is provided. 2019-02-16 01:12:08 -05:00
Jakub Sobon
52ae7d1807
Improving option comment and test coverage. 2019-02-16 01:01:04 -05:00
Jakub Sobon
aca7abff4f
LineChart now has an option that disables scaling of X axis.
Useful for applications that want to continuously feed data and make
them "roll" through the linechart.

Also exposing a method that returns the observed capacity of the
LineChart the last time Draw was called.
2019-02-16 00:35:40 -05:00
Jakub Sobon
6379b1d28e
Allow users to provide custom Y axis scale for the LineChart. 2019-02-14 23:13:21 -05:00
Jakub Sobon
9f893eb482
Function to calculate required height.
And options to set label orientation.
2019-02-13 22:53:19 -05:00
Jakub Sobon
7d22a68376
Adding LineChart option YAxisAdaptive.
When provided, this option stops anchoring the Y axis at the zero value.
2019-01-26 22:23:55 -05:00
Jakub Sobon
bc911a3cd6
More test coverage for linechart. 2019-01-13 01:38:39 -05:00
Jakub Sobon
d8c24da6c4
Initial skeleton and API for the LineChart widget. 2018-12-31 00:17:38 -05:00