[GH-ISSUE #255] Anyone know how to put a termui chart (Sparkline) into a tview? #197

Closed
opened 2026-03-04 01:02:54 +03:00 by kerem · 1 comment
Owner

Originally created by @christoofar on GitHub (Mar 31, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/255

I'd like to put a live sparkline inside of a box or some other primitive which is monitoring the number of sessions open on a SIP server. I'm using termui to build the dashboard to control the phone switch.

https://github.com/gizak/termui/blob/master/_examples/sparkline.go

Originally created by @christoofar on GitHub (Mar 31, 2019). Original GitHub issue: https://github.com/rivo/tview/issues/255 I'd like to put a live sparkline inside of a box or some other primitive which is monitoring the number of sessions open on a SIP server. I'm using termui to build the dashboard to control the phone switch. https://github.com/gizak/termui/blob/master/_examples/sparkline.go
kerem closed this issue 2026-03-04 01:02:54 +03:00
Author
Owner

@rivo commented on GitHub (Apr 5, 2019):

Please look at this: https://github.com/rivo/tview/issues/11#issuecomment-357044887

Again, I don't know if this will actually work but it could be a pointer on how to integrate termui with tview. Generally, I do have plans to add charts to tview but that's something for v2 so it's still quite some time out.

<!-- gh-comment-id:480431446 --> @rivo commented on GitHub (Apr 5, 2019): Please look at this: https://github.com/rivo/tview/issues/11#issuecomment-357044887 Again, I don't know if this will actually work but it could be a pointer on how to integrate `termui` with `tview`. Generally, I do have plans to add charts to `tview` but that's something for v2 so it's still quite some time out.
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/tview#197
No description provided.