LegendPosition

Type "left" | "right" | "top" | "bottom" | "absolute"

Represents types available for Legend position. Not all charts will pay attention to this, like MapChart. You'll need to use legend.align and legend.valign properties to position legend on MapChart.

Sources

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

// LegendPosition is available in all of the following modules.
// You only need to import one of them.

/**
 * --------------------------------------------------------
 * Import from: "charts.ts"
 * Use like: am4charts.LegendPosition
 * --------------------------------------------------------
 */
import * as am4charts from "@amcharts/amcharts4/charts";

/**
 * --------------------------------------------------------
 * Import from: "maps.ts"
 * Use like: am4maps.LegendPosition
 * --------------------------------------------------------
 */
import * as am4maps from "@amcharts/amcharts4/maps";

// LegendPosition is available in all of the following modules.
// You only need to import one of them.

/**
 * --------------------------------------------------------
 * Include via: <script src="charts.js"></script>
 * Access items like: am4.LegendPosition
 * --------------------------------------------------------
 */

/**
 * --------------------------------------------------------
 * Include via: <script src="maps.js"></script>
 * Access items like: am4.LegendPosition
 * --------------------------------------------------------
 */

Inheritance

LegendPosition does not extend any other symbol.

LegendPosition is not extended by any other symbol.

Properties

LegendPosition does not have any properties.