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

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

Inheritance

SVGDefaults does not extend any other symbol.

SVGDefaults is not extended by any other symbol.

Properties

fill
#

Static

Type Color

Default color("#000000")

fillOpacity
#

Static

Type number

Default 1

focusable
#

Static

Type boolean

Default undefined

opacity
#

Static

Type number

Default 1

stroke
#

Static

Type Color

Default color("#000000")

strokeOpacity
#

Static

Type number

Default 1

strokeWidth
#

Static

Type number

Default 1

tabindex
#

Static

Type number

Default 0

Methods

SVGDefaults does not have any methods.

Events

SVGDefaults does not have any events.

Adapters

SVGDefaults does not have any adapters.