class type t =Inheritsobject
..end
method onCreateLabel : 'a.
Ext_data_Model.t Js.t ->
'a Js.t ->
Js.number Js.t -> Js.js_string Js.t -> Ext_draw_Sprite.t Js.t Js.meth
Called each time a new label is created.
Note: This method must be implemented in Series that mixes in this Label mixin.
Parameters:
Ext_data_Model.t Js.t
The element of the store that is related to the sprite.
_ Js.t
The item related to the sprite. An item is an object containing the position of the shape used to describe the visualization and also pointing to the actual shape (circle, rectangle, path, etc).
Js.number Js.t
The index of the element created (i.e the first created label, second created label, etc).
Js.js_string Js.t
The label.display type.
May be false
if the label is hidden
Returns:
Ext_draw_Sprite.t Js.t
The created sprite that will draw the label.
method onPlaceLabel : 'b.
Ext_draw_Sprite.t Js.t ->
Ext_data_Model.t Js.t ->
'b Js.t ->
Js.number Js.t ->
Js.js_string Js.t -> bool Js.t -> Js.number Js.t -> unit Js.meth
Called for updating the position of the label.
Note: This method must be implemented in Series that mixes in this Label mixin.
Parameters:
Ext_draw_Sprite.t Js.t
The sprite that draws the label.
Ext_data_Model.t Js.t
The element of the store that is related to the sprite.
_ Js.t
The item related to the sprite. An item is an object containing the position of the shape used to describe the visualization and also pointing to the actual shape (circle, rectangle, path, etc).
Js.number Js.t
The index of the element to be updated (i.e. whether it is the first, second, third from the labelGroup)
Js.js_string Js.t
The label.display type.
May be false
if the label is hidden
bool Js.t
A boolean value to set or unset animations for the labels.
Js.number Js.t
The series index.