Module Ext_chart_series_Series


module Ext_chart_series_Series: sig .. end
Series is the abstract class containing the common ...

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:

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