You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Secondly when we zoom in and out while the baseX is allowed to scroll, there is a scenario where min > max. Needs investigation:
panic: container.Draw => error: unable to draw widget *linechart.LineChart: failed to create zoomed X axis: invalid min:316, max:311, must be min <= max
goroutine 1 [running]:
main.main()
/Users/mum4k/go/src/github.com/mum4k/termdash/widgets/linechart/linechartdemo/linechartdemo.go:122 +0x6b6
exit status 2
- stay unzoomed when we hit the largest view.
- correctly normalize zoom values when the base axis is in motion.
- test coverage for the edge cases.
Fixes#136
When data are continuously coming in, it is impossible to fully unzoom when XAxisUnscaled.
We should return the zoom tracker back to unzoomed state once we hit the "baseX" view.
The text was updated successfully, but these errors were encountered: