mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #31] Support for charts #22
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vladimirvivien on GitHub (Jan 14, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/31
Great work!
Was waiting for a project like this (almost went with nodejs blessed since termui seems unmaintained). Any plans for chart components (see nodejs blessed contrib or even termui charts) ?
@rivo commented on GitHub (Jan 14, 2018):
Thanks, glad you like it. Actually, this was discussed before, see #11.
@derivaro commented on GitHub (Mar 1, 2019):
// Try this
// :-)
// Rivo,
// thanks for ur job, it s just amazing
// --------------------------------------------------
package main
import (
"fmt"
"math"
"strings"
)
func main() {
app := tview.NewApplication()
}
func term(tt *tview.TextView) {
chart := tm.NewLineChart(100, 20)
}
func rp(st string) string {
st = strings.Replace(st, "[31m", "", -1)
st = strings.Replace(st, "[0m", "", -1)
return st
}