Skip to content

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";

Properties

LegendPosition does not have any properties.