func New(options ...Option) *YAxis {
	axis := &YAxis{
		Builder: &SDKAxis{
			Format:  "short",
			LogBase: 1,
			Show:    true,
		},
	}
	for _, opt := range options {
		opt(axis)
	}
	return axis
}
New creates a new YAxis configuration.
package axis
import (
	"fmt"
)
type Option func(axis *YAxis)
type SDKAxis struct {
	Decimals    *int     `json:"decimals"`
	Format      string   `json:"format"`
	LogBase     int      `json:"logBase"`
	Show        bool     `json:"show"`
	Max         *string  `json:"max"`
	Min         *string  `json:"min"`
	SplitFactor *float64 `json:"splitFactor"`
}
type YAxis struct {
	Builder *SDKAxis
}