A call to
Framework.CreateSubWidget({
…,
settings: {
// Add a horizontal line at 1.35
loadDrawings: [{
type: "horizontalLine",
points: [{value: 1.35}],
text: "Support/resistance level",
style: {line: {color: "blue"}}
}]
}
});
The definition of each drawing is the same as the