Documentation ¶
Overview ¶
Package chartbar 控制台绘制ascii柱状图
Index ¶
- Variables
- type Ctx
- func (ctx *Ctx) WithAnySlice(a interface{}, iterateTransFn func(originItem interface{}) Item, ...) string
- func (ctx *Ctx) WithCsv(filename string) (string, error)
- func (ctx *Ctx) WithItems(items []Item) string
- func (ctx *Ctx) WithMap(m map[string]int) string
- func (ctx *Ctx) WithMapFloat(m map[string]float64) string
- type Item
- type ModOption
- type Option
- type Order
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCtx = NewCtx()
Functions ¶
This section is empty.
Types ¶
type Ctx ¶ added in v0.25.0
type Ctx struct {
// contains filtered or unexported fields
}
func NewCtxWith ¶ added in v0.25.0
func (*Ctx) WithAnySlice ¶ added in v0.25.0
Click to show internal directories.
Click to hide internal directories.