Type class
A base element that holds data bit (data item) for any Component
.
Sources
DataItem can be used (imported) via one of the following packages.
// DataItem is available in all of the following modules. // You only need to import one of them. /** * -------------------------------------------------------- * Import from: "index.ts" * Use like: am5.DataItem * -------------------------------------------------------- */ import * as am5 from "@amcharts/amcharts5";
// DataItem is available in all of the following modules. // You only need to import one of them. /** * -------------------------------------------------------- * Include via: <script src="index.js"></script> * Access items like: am5.DataItem * -------------------------------------------------------- */
Inheritance
DataItem extends Settings
.
DataItem is not extended by any other symbol.
Settings
DataItem does not have any settings.
Private settings
DataItem does not have any private settings.
Properties
bullets # |
Type @todo requires description |
---|---|
close # |
Type A set of "close" values. |
component # |
Type A data item's owener |
dataContext # |
Type A reference to actual item in source data this item is based on. |
open # |
Type A set of "open" values. |
uid # |
Type Default Inherited from Unique ID. |
There is 1 inherited item currently hidden from this list. |
Methods
animate( options: ) |
Returns Inherited from Animates setting values from current/start values to new ones. Click here for more info |
---|---|
constructor( component: ) |
Returns |
dispose() |
Returns Inherited from Disposes this object. |
get( key: ) |
Returns Inherited from Returns settings value for the specified If there is no value, Click here for more info |
hide( duration?: ) |
Returns Hides a data item that's currently visible. |
isDisposed() |
Returns Inherited from Returns |
isHidden() |
Returns |
on( key: ) |
Returns Inherited from Sets a callback function to invoke when specific key of settings changes or is set. Click here for more info |
remove( key: ) |
Returns Inherited from Removes a setting value for the specified Click here for more info |
removeAll() |
Returns Inherited from Removes all keys; Click here for more info |
set( key: ) |
Returns Inherited from Sets a setting Click here for more info |
setAll( settings: ) |
Returns Inherited from Sets multiple settings at once. Click here for more info |
show( duration?: ) |
Returns Shows a data item that's currently hidden. |
There are 9 inherited items currently hidden from this list. |
Events
DataItem does not have any events.