Namespace: PP.Ui;
ChartText
The ChartText class is used to work with text labels in a chart.
PP.initClass(PP.Ui.ChartText, PP.Ui.ChartAxisTick, "PP.Ui.ChartText");
| Constructor name | Brief description | |
| ChartText | The ChartText constructor creates an instance of the ChartText class. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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: