Revamped Stock Chart Drawings
Since version 5.9, Stock Chart from amCharts features a fully revamped and enhanced functionality for drawing on and annotating the charts. Let’s take a look at the highlights.
Stock Chart Drawing Mode
Drawing mode – which supports over 20 annotation tools – can be turned on either via Stock Toolbar, or via API.
Available Tools
Stock Chart currently brings more than 20 tools that can be used to annotate and analyze stock charts:
- Arrows & Icons
- Average
- Callout
- Doodle
- Ellipse
- Fibonacci
- Fibonacci Timezone
- Horizontal Line
- Horizontal Ray
- Label
- Line
- Measure
- Parallel Channel
- Polyline
- Polyfill
- Quadrant Line
- Rectangle
- Regression
- Trend Line
- Triangle
- Vertical Line
Tool Selection & Drawing
A tool can be selected from the dropdown list.
The context-sensitive control next to it will automatically update to show only relevant related controls like line color and style for lines, or font family and size for labels, etc.
Selecting & Moving Drawings
Using Select mode, each of the drawings can be selected and moved by dragging in.
Moreso, multiple drawings can be selected by holding down CTRL key when clicking on them.
Modifying & Deleting Drawings
Selected drawings can be edited by choosing different values from related controls, like colors and line styles.
The styles will be applied to all selected drawings. Pressing DEL key, will delete them.
Analytical Annotations
Tools offered by he Stock Chart go beyond simple annotations. They also offer powerful analytical tools like variations of Fibonacci analysis, Average, Regression, and Trend lines, Parallel Channel and Measure tools, etc.
Events and API
Everything that can be controlled via Stock Toolbar, can also be triggered via the chart’s API:
- Selecting tools as well as setting properties like colors, line styles, fonts, etc.
- Deleting drawings
- Toggling select, drawing, and erasing modes.
- Serializing and restoring drawings.
Stock Chart also provides a robust event structure which allows triggering custom handlers when drawings are added, selected, moved, or removed.