Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Btoi ¶
Btoi is a simple helper to translate booleans into their integer counterparts. This is made because frappe-charts uses 0's and 1's, but this library also provides helper functions that allow you to do things such as: chartArgs.SetIsNavigable(true) instead of: chartArgs.IsNavigable = 1
func FloatSliceToInterface ¶
func FloatSliceToInterface(values []float64) []interface{}
FloatSliceToInterface helps convert a float64 array to an interface{}.
func NumberLabelsToStr ¶
NumberLabelsToStr helps convert a number array (ex: of years) to string labels.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.