Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Chart ¶
func Chart(title string, sections, fields []string, abs map[string]bool, frequencies map[string]map[string]int) string
Example ¶
fmt.Print(Chart("Census", []string{"1950", "1951", "1952"}, []string{"deaths", "births", "marriages"}, map[string]bool{}, map[string]map[string]int{"1950": {"births": 11, "deaths": 49}, "1951": {"deaths": 200, "births": 9}}, ))
Output: CENSUS 1950 deaths: ■ ■ (49) births: ■ (11) 1951 deaths: ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ (200) births: ■ (9)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.