beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

EChartsEvent Op

Ops.Libs.ECharts.EChartsEvent


EChartsEvent
Namespace: Ops.Libs.ECharts

Op author: kikohs

Uses library: echarts.js (Apache ECharts is a powerful, interactive charting and data visualization library for browser)

capture echart-library-events


summary (oneliner)

Using this op you can capture ECharts events: https://echarts.apache.org/en/api.html#events



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

ECharts instance (Object)

The ECharts instance


Event name (String)

Name of the event e.g "click"


Query string (String)

√člement selector e.g "series.bar"


Query object (Object)

Optional: More complex selection of elements to bind the event


Refresh event binding (Trigger)

Trigger if the reference to the chart changed or if you add/delete event dynamically


Outputs

Out Chart (Object)

ECharts instance


Trigger (Trigger)

Event was triggered


Event params (Object)

Event parameters


Dirty (needs rebind) (boolean Number)

Check whether the event needs to be rebounded to the ECharts instance object


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Simple ECharts Example

a simple example on how to use the echarts-library to draw graphs in cables

Open Example In Editor


Youtube Video Tutorial

Patches using EChartsEvent

Changelog


created op
2021-03-05 - kikohs

Ops.User.stephan.EChartsEvent renamed to Ops.Libs.EChartsEvent
2021-03-05 - stephan

Ops.Libs.EChartsEvent renamed to Ops.Libs.ECharts.EChartsEvent
2021-03-05 - stephan