ChartEditMode

Namespace: PP.Ui;

Inheritance hierarchy

Object

ChartEditMode

Description

The ChartEditMode class implements the chart edit mode.

Syntax

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

Constructor

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

Properties

  Property name Brief description
DomNode The DomNode property determines chart draw area in edit mode.
DrawContext The DrawContext property determines context of the chart draw area in edit mode.
Enabled The Enabled property determines whether chart edit mode is active.
Mode The Mode property determines mode of editing chart items.
State The State property determines whether chart edit mode is active.

Methods

  Method name Brief description
activateSerie The activateSerie method activates a series to edit.
getCursorOnMarker The getCursorOnMarker method returns whether the cursor is over the chart column resize handle.
getIsEditing The getIsEditing method returns whether the chart item is being edited.
handleMouseDown The handleMouseDown method handles clicking the mouse on the chart in edit mode.
handleMouseMove The handleMouseMove method handles moving the cursor along the chart in edit mode.
handleMouseUp The handleMouseUp method handles the mouse button release event.
redraw The redraw method redraws a chart in edit mode.

Events

   Event name Brief description
Edited The Edited event occurs after editing chart values is finished.
EditStarted The EditStarted event occurs before editing chart values.

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