ChartScroller

Namespace: PP.Ui;

Inheritance hierarchy

Object

ChartScroller

Description

The ChartScroller class implements scroller on the chart X axis.

Syntax

PP.initClass(PP.Ui.ChartScroller, PP.Object, "PP.Ui.ChartScroller");

Constructor

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

Properties

  Property name Brief description
Enabled The Enabled property determines whether scroller is displayed.
IsActual The IsActual property determines whether the scroller is available in the chart.
MaxPointsInSight The MaxPointsInSight property determines the maximum number of displayed items of the X axis in the chart.
Position The Position property determines index of the X axis item where the scroller position starts.

Methods

  Method name Brief description
getRealXLength The getRealXLength method returns the number of intervals between X axis tick marks.
getSize The getSize method returns scroller height.
handleClick The handleClick method handles the mouse click event.
handleMouseDown The handleMouseDown method handles clicking scroller with the mouse cursor.
handleMouseMove The handleMouseMove method handles cursor movement along the scroller.
handleMouseUp The handleMouseUp method handles the mouse button release event.
redraw The redraw method redraws scroller.

Events

  Property name Brief description
Resized The Resized event occurs after changing the scroller width.
Scrolled The Scrolled event occurs after scrolling is finished.
ScrollMove The ScrollMove event occurs when scroller is moving.
ScrollStart The ScrollStart event occurs when the scroller starts moving.

Properties inherited from the class Object

  Property name Brief description

Id

The Id property determines a repository object identifier.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates an object copy.
dispose The dispose method deletes the component.
getHashCode The getHashCode method returns hash code of repository object.
getId The getId method returns repository object identifier.
getSettings The getSettings method returns repository object settings.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.
isEqual The isEqual method determines whether the specified object is equal to the current repository object.
isLive The isLive method determines validity of repository object.
removeAllEvents The removeAllEvents method removes all object event handlers by the specified context.
setId The setId method determines a repository object identifier.
setSettings The setSettings method determines repository object settings.
defineProps The defineProps method creates get and set methods from name array for the specified class.
keys The keys method returns array of methods and properties names for the specified object.

See also:

Chart