Mixins

Subclasses

Files

Series is the abstract class containing the common logic to all chart series. Series includes
methods from Labels, Highlights, Tips and Callouts mixins. This class implements the logic of handling
mouse events, animating, hiding, showing all elements and returning the color of the series to be used as a legend item.

Listeners

The series class supports listeners via the Observable syntax. Some of these listeners are:

itemmouseup When the user interacts with a marker.

itemmousedown When the user interacts with a marker.

itemmousemove When the user iteracts with a marker.

afterrender Will be triggered when the animation ends or when the series has been rendered completely.

Config options

If set to true it will highlight the markers or the series when hovering
with the mouse. ...

If set to true it will highlight the markers or the series when hovering
with the mouse. This parameter can also be an object with the same style
properties you would apply to a Ext.draw.Sprite to apply custom
styles to markers and series.

Object with the following properties:
display : String
Specifies the presence and position of labels for each pie ...

Object with the following properties:

display : String

Specifies the presence and position of labels for each pie slice. Either "rotate", "middle", "insideStart",
"insideEnd", "outside", "over", "under", or "none" to prevent label rendering.
Default value: 'none'.

color : String

The color of the label text.
Default value: '#000' (black).

contrast : Boolean

True to render the label in contrasting color with the backround.
Default value: false.

field : String

The name of the field to be displayed in the label.
Default value: 'name'.

minMargin : Number

Specifies the minimum distance from a label to the origin of the visualization.
This parameter is useful when using PieSeries width variable pie slice lengths.
Default value: 50.

font : String

The font used for the labels.
Default value: "11px Helvetica, sans-serif".

Get the reference to the current class from which this object was instantiated. ...

Get the reference to the current class from which this object was instantiated. Unlike statics,
this.self is scope-dependent and it's meant to be used for dynamic inheritance. See statics
for a detailed comparison

The scope (this reference) in which the handler function is executed. If
omitted, defaults to the object which fired the event.

An object containing handler configuration.

Note: Unlike in ExtJS 3.x, the options object will also be passed as the last argument to every event handler.

This object may contain any of the following properties:

scope : Object

The scope (this reference) in which the handler function is executed. If omitted, defaults to the object
which fired the event.

delay : Number

The number of milliseconds to delay the invocation of the handler after the event fires.

single : Boolean

True to add a handler to handle just the next firing of the event, and then remove itself.

buffer : Number

Causes the handler to be scheduled to run in an Ext.util.DelayedTask delayed by the specified number of
milliseconds. If the event fires again within that time, the original handler is not invoked, but the new
handler is scheduled in its place.

target : Observable

Only call the handler if the event was fired on the target Observable, not if the event was bubbled up from a
child Observable.

element : String

This option is only valid for listeners bound to Components. The name of a Component
property which references an element to add a listener to.

This option is useful during Component construction to add DOM event listeners to elements of
Components which will exist only after the Component is rendered.
For example, to add a click listener to a Panel's body:

Creates an event handling function which refires the event from this object as the passed event name.

Available since: 4.0.0

Parameters

Returns

Iterate over each of the records for this series. ...

Iterate over each of the records for this series. The default implementation simply iterates
through the entire data store, but individual series implementations can override this to
provide custom handling, e.g. adding/removing records.

Available since: Ext JS 4.0.7

Parameters

The function to execute for each record.

Scope for the fn.

Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if
present. ...

Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if
present. There is no implementation in the Observable base class.

This is commonly used by Ext.Components to bubble events to owner Containers.
See Ext.Component.getBubbleTarget. The default implementation in Ext.Component returns the
Component's immediate owner. But if a known target is required, this can be overridden to access the
required target more quickly.

The scope (this reference) in which the handler function is executed. If
omitted, defaults to the object which fired the event.

An object containing handler configuration.

Note: Unlike in ExtJS 3.x, the options object will also be passed as the last argument to every event handler.

This object may contain any of the following properties:

scope : Object

The scope (this reference) in which the handler function is executed. If omitted, defaults to the object
which fired the event.

delay : Number

The number of milliseconds to delay the invocation of the handler after the event fires.

single : Boolean

True to add a handler to handle just the next firing of the event, and then remove itself.

buffer : Number

Causes the handler to be scheduled to run in an Ext.util.DelayedTask delayed by the specified number of
milliseconds. If the event fires again within that time, the original handler is not invoked, but the new
handler is scheduled in its place.

target : Observable

Only call the handler if the event was fired on the target Observable, not if the event was bubbled up from a
child Observable.

element : String

This option is only valid for listeners bound to Components. The name of a Component
property which references an element to add a listener to.

This option is useful during Component construction to add DOM event listeners to elements of
Components which will exist only after the Component is rendered.
For example, to add a click listener to a Panel's body:

Shows all the elements in the series.

Available since: 4.0.0

Fires

...

Available since: 4.0.2

Parameters

Get the reference to the class from which this object was instantiated. ...

Get the reference to the class from which this object was instantiated. Note that unlike self,
this.statics() is scope-independent and it always returns the class from which it was called, regardless of what
this points to during run-time