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.
// Import DataItem
import * as am5 from "@amcharts/amcharts5";
// Create DataItem
am5.DataItem.new(root, {
// ... config if applicable
});
<!-- Load DataItem -->
<script src="index.js"></script>
<script>
// Create DataItem
am5.DataItem.new(root, {
// ... config if applicable
});
</script>
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. |
|
enableDispose # |
Type Default Inherited from If this is set to |
|
open # |
Type A set of "open" values. |
|
uid # |
Type Default Inherited from Unique ID. |
| There are 2 inherited items 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 |
|
has( key: ) |
Returns Inherited from Returns Click here for more info |
|
hide( duration?: ) |
Returns Hides a data item that's currently visible. |
|
isDisposed() |
Returns Inherited from Returns |
|
isHidden() |
Returns |
|
off( key: ) |
Returns Inherited from Removes a callback for when value of a setting changes. Click here for more info |
|
offPrivate( key: ) |
Returns Inherited from Removes a callback for when value of a private setting changes. Click here for more info |
|
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 |
|
onPrivate( key: ) |
Returns Inherited from Sets a callback function to invoke when specific key of private 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 13 inherited items currently hidden from this list. | |
Events
DataItem does not have any events.