Minimal interface for an amCharts 5 visual sprite / graphic.
In amCharts 5, geometry accessors (x(), y(), width(), height())
are methods returning pixels in the sprite's local coordinate space, and
toGlobal() maps a local point to root-container coordinates. They are
optional here because not every sprite exposes laid-out geometry.
Minimal interface for an amCharts 5 visual sprite / graphic.
In amCharts 5, geometry accessors (
x(),y(),width(),height()) are methods returning pixels in the sprite's local coordinate space, andtoGlobal()maps a local point to root-container coordinates. They are optional here because not every sprite exposes laid-out geometry.