Introduction
Drawing tools allow users to annotate stock charts with lines, shapes, and technical analysis tools. Drawings can be interactive, selectable, and persistent.Enabling Drawing Tools
Drawing tools are typically enabled through the toolbar’sDrawingControl:
Drawing Series Types
All drawing tools extend fromDrawingSeries and are added to chart panels.
Simple Line
Draw straight lines between two points:Trend Line
Extended lines that continue beyond the second point:Line Arrow
Lines with arrow heads:Horizontal Line
Horizontal lines across the chart:Vertical Line
Vertical lines for marking dates:Horizontal Ray
Horizontal line extending from a point:Shapes
Rectangle
Draw rectangular areas:Ellipse
Draw circles and ellipses:Polyline
Draw multi-segment lines:Doodle
Free-hand drawing:Technical Drawing Tools
Fibonacci Retracement
Draw Fibonacci levels between two points:Fibonacci Timezone
Vertical Fibonacci lines for time analysis:Parallel Channel
Two parallel trend lines:Quadrant Line
Divide areas into quadrants:Regression Line
Linear regression through points:Average Line
Calculate and display average price:Annotations
Label
Add text labels to the chart:Callout
Callout boxes with pointers:Icon
Place icons on the chart:Measure Tool
Measure distance and percentage change:Drawing Selection
Enable selection and manipulation of drawings:- Click a drawing to select it
- Selected drawings show resize handles
- Press Delete to remove selected drawings
- Press Esc to cancel drawing or deselect
Erasing Mode
Enable click-to-delete mode:Programmatic Drawing Control
Select a Drawing
Unselect Drawings
Delete a Drawing
Toggle Drawing Mode
Drawing Events
Listen for drawing events:Drawing Settings
All drawing series share common settings:Complete Drawing Tools List
Lines:- SimpleLineSeries
- TrendLineSeries
- LineArrowSeries
- HorizontalLineSeries
- VerticalLineSeries
- HorizontalRaySeries
- RectangleSeries
- EllipseSeries
- PolylineSeries
- DoodleSeries
- FibonacciSeries
- FibonacciTimezoneSeries
- ParallelChannelSeries
- QuadrantLineSeries
- RegressionSeries
- AverageSeries
- LabelSeries
- CalloutSeries
- IconSeries
- Measure
Persistence
Drawings can be serialized and restored:Related Topics
- Stock Charts Overview - Basic stock chart setup
- Toolbar - Add DrawingControl to toolbar
- Indicators - Technical analysis indicators