module Ext_chart_series_Series:Series is the abstract class containing the common ...sig
..end
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.
The series class supports listeners via the Observable syntax. Some of these listeners are:
itemclick
When the user interacts with a marker.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.For example:
series: [{
type: 'column',
axis: 'left',
listeners: {
'afterrender': function() {
console('afterrender');
}
},
xField: 'category',
yField: 'data1'
}]
class type t =object
..end
class type configs =object
..end
class type events =object
..end
class type statics =object
..end
val of_configs : configs Js.t -> t Js.t
of_configs c
casts a config object c
to an instance of class t
val to_configs : t Js.t -> configs Js.t
to_configs o
casts instance o
of class t
to a config object