ChartAxisTick

Namespace: PP.Ui;

Inheritance hierarchy

Object

ChartAxisTick

Description

The ChartAxisTick class implements the chart axis label.

Syntax

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

Constructor

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

Properties

  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

  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

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