3 Commits

Author SHA1 Message Date
Hidayat
d8a9aeb20e
feat option to draw y or x axis label independently (#25)
Signed-off-by: Hidayat Hamir <hidayat.03@erajaya.com>
2023-12-29 18:51:02 +11:00
Aaron DeMille
3578e68a90 Fix braille plot y-axis scaling
Braille Mode line charts didn't draw the dots in the correct y-axis
location. For example, I created a chart with data values between 1 and
2 stepping by .1 (1, 1.1, 1.2 ... 2.0). The PlotMarkerDot mode
accurately displayed the dots in the 1 - 2 range on the Y axis. However,
when using PlotMarkerBraille mode, the dots appeared between the range of
0 and 1. The gap is much larger if the the data values are bigger (for
example, 100 to 101 stepping by .1)

I modified the braille plotting code to more closely match the termui
library implementation, which didn't have the problem.

Graphs are now displaying as expected.

Signed-off-by: Aaron DeMille <ajdemille2@gmail.com>
2023-11-23 19:24:14 -07:00
Navid Yaghoobi
b1e54eab00 new feature - plot widget (linechart, scatter)
Signed-off-by: Navid Yaghoobi <navidys@fedoraproject.org>
2022-12-13 21:30:56 +11:00