Skip to content

SVGDefaults

Type class

Defines a class that holds default properties for new SVG elements

Sources

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

/**
* Import from: "core.ts"
* Use like: am4core.SVGDefaults
*/
import * as am4core from "@amcharts/amcharts4/core";

Inheritance

SVGDefaults does not extend any other symbol.

SVGDefaults is not extended by any other symbol.

Properties

fill

StaticType ColorDefault color("#000000")

fillOpacity

StaticType numberDefault 1

focusable

StaticType booleanDefault undefined

opacity

StaticType numberDefault 1

stroke

StaticType ColorDefault color("#000000")

strokeOpacity

StaticType numberDefault 1

strokeWidth

StaticType numberDefault 1

tabindex

StaticType numberDefault 0

Methods

SVGDefaults does not have any methods.

Events

SVGDefaults does not have any events.