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
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 class Object

  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:

Chart