TimeAxis

Namespace: PP;

Inheritance hierarchy

Object

TimeAxis

Description

The TimeAxis class implements a time axis of data source.

Syntax

PP.initClass(PP.TimeAxis, PP.Object, "PP.TimeAxis");

Constructor

  Constructor name Brief description
TimeAxis The TimeAxis constructor creates an instance of the TimeAxis class.

Properties

  Property name Brief description
Item The Item property determines an element of the time axis data array.
Items The Items property determines an array of time axis data.

Methods

  Method name Brief description
add The add method adds an element to the end of time axis data array.
addItems The addItems method adds an array of elements to available time axis array.
clear The clear method clears array of time axis elements.
getCount The getCount method returns the number of elements in the time axis data array.
getFirstNotNullData The getFirstNotNullData method returns the first non-empty value of time axis data array.
insertAt The insertAt method adds an element to the array of time axis data at the position with the specified index.
removeAt The removeAt method removes an element from the array of time axis data by the specified index.

Properties inherited from the Object class

  Property name Brief description
Data The Data property associates a random object with this component.
Id The Id property sets component identifier.
Settings The Settings property sets the component parameters.

Methods inherited from the Object class

  Method name Brief description
clone The clone method creates a copy of object. It is not implemented in PP.Ui.Control.
dispose The dispose method deletes the component.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.

See also:

PP