ChartDrawings CLASS

Add (Drawing drawing) METHOD (Return: void)
Adds an drawing object to the Chart SYNTAX public void Add (Drawing drawing) PARAMETERS drawing — Drawing RETURN void
FindById (string drawingId) METHOD (Return: Drawing)
Searches for a drawing element by id SYNTAX public Drawing FindById (string drawingId) PARAMETERS drawingId — string RETURN Drawing
GetAll () METHOD (Return: List)
Returns the items as a single list of Drawings objects SYNTAX public List<Drawing> GetAll () RETURN List
Remove (string drawingId) METHOD (Return: void)
Removes an drawing object from the Chart by id. SYNTAX public void Remove (string drawingId) PARAMETERS drawingId — string RETURN void ...
Remove (Drawing drawing) METHOD (Return: void)
Removes the specified drawing element from the Chart SYNTAX public void Remove (Drawing drawing) PARAMETERS drawing — Drawing RETURN vo...
RemoveAll (DrawingRemoveContext context) METHOD (Return: void)
Removes all the drawing elements from the Chart by the specified context SYNTAX public void RemoveAll (DrawingRemoveContext context) PARAMETERS ...
Added EVENT
Occurs when a new drawing object is added to the Chart. SYNTAX public event Action<DrawingEventArgs> Added
Moved EVENT
Occurs when the drawing object's location is changed. SYNTAX public event Action<DrawingMoveEventArgs> Moved
Removed EVENT
Occurs when a drawing object is removed from the Chart. SYNTAX public event Action<DrawingEventArgs> Removed
SelectionChanged EVENT
Occurs when the selection of drawing object changes. SYNTAX public event Action<DrawingSelectionEventArgs> SelectionChanged