Documentation ¶
Index ¶
- type LineGraph
- type Table
- func (self *Table) Draw(buf *Buffer)
- func (self *Table) HandleClick(x, y int)
- func (self *Table) ScrollBottom()
- func (self *Table) ScrollDown()
- func (self *Table) ScrollHalfPageDown()
- func (self *Table) ScrollHalfPageUp()
- func (self *Table) ScrollPageDown()
- func (self *Table) ScrollPageUp()
- func (self *Table) ScrollTop()
- func (self *Table) ScrollUp()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LineGraph ¶
type LineGraph struct { *Block Data map[string][]float64 LineColor map[string]Color HorizontalScale int Labels map[string]string DefaultLineColor Color }
LineGraph implements a line graph of data points.
func NewLineGraph ¶
func NewLineGraph() *LineGraph
type Table ¶
type Table struct { *Block Header []string Rows [][]string ColWidths []int ColGap int PadLeft int ShowCursor bool CursorColor Color ShowLocation bool UniqueCol int // the column used to uniquely identify each table row SelectedItem string // used to keep the cursor on the correct item if the data changes SelectedRow int TopRow int // used to indicate where in the table we are scrolled at ColResizer func() }
func (*Table) HandleClick ¶
func (*Table) ScrollBottom ¶
func (self *Table) ScrollBottom()
func (*Table) ScrollDown ¶
func (self *Table) ScrollDown()
func (*Table) ScrollHalfPageDown ¶
func (self *Table) ScrollHalfPageDown()
func (*Table) ScrollHalfPageUp ¶
func (self *Table) ScrollHalfPageUp()
func (*Table) ScrollPageDown ¶
func (self *Table) ScrollPageDown()
func (*Table) ScrollPageUp ¶
func (self *Table) ScrollPageUp()
Click to show internal directories.
Click to hide internal directories.