Skip to content

StockIcons

Type class

The icons of the StockChart toolbar controls.

Sources

StockIcons can be used (imported) via one of the following packages.

// Import StockIcons
import * as am5stock from "@amcharts/amcharts5/stock";
// Create StockIcons
am5stock.StockIcons.new(root, {
// ... config if applicable
});

Inheritance

StockIcons does not extend any other symbol.

StockIcons is not extended by any other symbol.

Properties

StockIcons does not have any properties.

Methods

getIcon(id: string)

StaticReturns SVGElement

Returns an icon as a new SVG element, or the "Default" icon if there is none with this name.

Events

StockIcons does not have any events.