import { Legend } from "../../core/render/Legend"; import { Button } from "../../core/render/Button"; import { Graphics } from "../../core/render/Graphics"; import { Template } from "../../core/util/Template"; import { ListTemplate } from "../../core/util/List"; import { Indicator } from "./indicators/Indicator"; import * as $utils from "../../core/util/Utils"; /** * A legend, specifically designed for use in a [[StockChart]]. * * @see {@link https://www.amcharts.com/docs/v5/charts/stock/#Legend} for more info * @important */ export class StockLegend extends Legend { constructor() { super(...arguments); /** * A list of "close" buttons in legend items. * * @default new ListTemplate