ChartText

Namespace: PP.Ui;

Inheritance hierarchy

Object

ChartAxisTick

ChartText

Description

The ChartText class is used to work with text labels in a chart.

Syntax

PP.initClass(PP.Ui.ChartText, PP.Ui.ChartAxisTick, "PP.Ui.ChartText");

Constructor

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

Events

   Event name Brief description
Click The Click event occurs after clicking chart text label.
MouseOut The MouseOut event occurs after the mouse cursor leaves chart text label.
MouseOver The MouseOver event occurs after hovering over chart text label.

Properties inherited from the class ChartAxisTick

  Property name Brief description
AxisValue The AxisValue property determines axis value.
DrawContext The DrawContext property determines context of label rendering area.
Left The Left property determines left offset of label.
Top The Top property determines top offset of label.

Methods inherited from the class ChartAxisTick

  Method name Brief description
drawSelf The drawSelf method renders a chart label.
getAngleSize The getAngleSize method returns label length at a specified angle.
getHeight The getHeight method returns label height.
getLineHeight The getLineHeight method returns label text height.
getMeasures The getMeasures method returns an object containing paddings and sizes.
getOriginalSize The getOriginalSize method returns original sizes of label on rendering.
getOverflow The getOverflow method checks if label text value overlaps maximum width borders of label.
getWidth The getWidth method returns label width.
setAngle The setAngle method sets label rotation angle.
setMaxWidth The setMaxWidth method sets maximum width of label.
setText The setText method sets text value of label.

Events inherited from the class ChartAxisTick

   Event name Brief description
Click The Click event occurs on clicking a chart label.
MouseOut The MouseOut event occurs after the cursor leaves a chart label.
MouseOver The MouseOver event occurs after the cursor hovers a chart label.

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