Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultLabelFormatter ¶
DefaultLabelFormatter es el formateador de etiquetas por defecto (no hace nada)
func FormatNumberValueFormatter ¶
FormatNumberValueFormatter formatea los valores numéricos con separadores de miles
Types ¶
type LabelFormatter ¶
LabelFormatter es un tipo para las funciones que formatean etiquetas
func TruncateNameLabelFormatter ¶
func TruncateNameLabelFormatter(maxCharsPerWord, maxWidth int) LabelFormatter
TruncateNameLabelFormatter crea un formateador que trunca las etiquetas usando TruncateName maxCharsPerWord: máximo de caracteres por palabra maxWidth: máximo ancho total de la etiqueta
type ValueFormatter ¶
type ValueFormatter func(v interface{}) string
ValueFormatter es un tipo para las funciones que formatean valores
Click to show internal directories.
Click to hide internal directories.