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

9 Commits

Author SHA1 Message Date
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