Using the Color Picker

Type tutorial

amCharts 5 comes with an optional plugin – Color Picker – which does what its name says, and can even be use as a standalone element. Loading Color Picker plugin needs to be loaded in order for it to be used. You can import those in your TypeScript / ES6 application as JavaScript modules: For […]

Printing pages with large charts

Type tutorial

When browser prints a page, it resizes and refloats the whole DOM to fit the page. This ensures that all content fits into the print format, say, A4 or Letter. Chart containers are resized as well, but since browser rendering is an async operation, they do not re-render before the page goes to print. We […]

Toggling active state of a bullet

Type tutorial

This demo shows how we can toggle “active” state of a bullet by clicking on it. It works by creating an “active” state for the bullet’s circle. This state is triggered on clicked objects if they have their toggleKey: “active” set. It also uses an event to monitor changes for bullet circle’s active setting, to […]