[GH-ISSUE #128] Y axis should be adaptive when a custom scale is provided #82

Closed
opened 2026-03-03 16:22:13 +03:00 by kerem · 0 comments
Owner

Originally created by @mum4k on GitHub (Feb 16, 2019).
Original GitHub issue: https://github.com/mum4k/termdash/issues/128

When a caller provides this option:

github.com/mum4k/termdash@6ace35ee15/widgets/linechart/options.go (L142)

It should also implicitly activate adaptive Y axis:

github.com/mum4k/termdash@6ace35ee15/widgets/linechart/options.go (L120)

Otherwise the axis remains zero-based and ignores portion of the provided custom scale.

Originally created by @mum4k on GitHub (Feb 16, 2019). Original GitHub issue: https://github.com/mum4k/termdash/issues/128 When a caller provides this option: https://github.com/mum4k/termdash/blob/6ace35ee150ac0f918ae4de14c2daba13e2834d3/widgets/linechart/options.go#L142 It should also implicitly activate adaptive Y axis: https://github.com/mum4k/termdash/blob/6ace35ee150ac0f918ae4de14c2daba13e2834d3/widgets/linechart/options.go#L120 Otherwise the axis remains zero-based and ignores portion of the provided custom scale.
kerem 2026-03-03 16:22:13 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/termdash#82
No description provided.