Skip to content

IParseSettings

Type interface

Sources

IParseSettings is an interface: it describes a shape of data and is not imported on its own.

Properties

parent

Type Container

Container to add the parsed chart to, usually root.container. The config must then build a Sprite.

resources

Type undefined | objectSince 5.21.4

Objects a config names instead of carrying them, by that name: geodata packs ("geoJSON": "am5geodata_worldLow") and locales ("locale": "am5locales_de_DE"). They are looked up here first, and then as globals, which only the script version defines, so with npm imports pass them here:

import am5geodata_worldLow from "@amcharts/amcharts5-geodata/worldLow";
parser.parse(config, { parent: root.container, resources: { am5geodata_worldLow } });
updateTargets

Type "strict" | "soft"Default "strict"Since 5.20.3

What a config block with a type does to an object that is already there: "strict" replaces it with a new object of that type; "soft" replaces it only if its type differs, and otherwise applies the block to it, as if the block had no type.