Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BLOCKS = []string{
" ",
"▁",
"▂",
"▃",
"▄",
"▅",
"▆",
"▇",
"█",
}
)
Functions ¶
Types ¶
type HistogramSpec ¶
func (HistogramSpec) NewFromSpec ¶
func (s HistogramSpec) NewFromSpec(ctx *context.ProgramContext, spec pane.PaneSpec) pane.Pane
type Model ¶
type Model struct { // If true, the histogram will not sample and instead draw empty columns or truncate the data to exactly fit the width. TrueSize bool YMin *float64 YMax *float64 pane.Pane // contains filtered or unexported fields }
func New ¶
func New(ctx *context.ProgramContext, spec HistogramSpec) *Model
Click to show internal directories.
Click to hide internal directories.