Register a custom primary-series type. Overwrites any existing definition with the same type. Register before loadState if a saved chart uses a custom type, or the load falls back to candles.
type
loadState
Register a custom primary-series type. Overwrites any existing definition with the same
type. Register beforeloadStateif a saved chart uses a custom type, or the load falls back to candles.