charton API / @chart-on/ui / index / registerIndicatorTemplates
Function: registerIndicatorTemplates()
registerIndicatorTemplates(
chart,templates,options): () =>void
Defined in: ui/src/indicator-templates.ts:92
List a collection of templates in the template dialogs of chart, under their own sidebar category. Returns a function that removes them again.
Parameters
chart
templates
readonly IndicatorTemplate[]
options
IndicatorTemplateCollectionOptions
Returns
() => void