Skip to content

ChartArea.Draggables

property · ChartArea · cAlgo.API Since 5.2

DesktopCLICloud

Gets chart area draggables.

Definition

ChartDraggables Draggables {get;}
chartArea.Draggables: ChartDraggables

Returns ChartDraggables

Examples

var draggable = Chart.Draggables.Add();
draggable.Child = new TextBlock { Text = SymbolName, BackgroundColor = Color.Black };
Print("Draggables on the chart area: {0}", Chart.Draggables.Count);
draggable = api.Chart.Draggables.Add()
textBlock = TextBlock()
textBlock.Text = api.SymbolName
draggable.Child = textBlock
api.Print(f"Draggables on the chart area: {api.Chart.Draggables.Count}")