ECharts Op

ECharts

wrapper for echarts-library


<p>This OP wraps the ECharts data visualization library: <a href="https://echarts.apache.org/en/tutorial.html">https://echarts.apache.org/en/tutorial.html</a> and allows to create more than a hundred charts with a single configuration object, focusing on the description of the charts instead of its implementation.</p>


Full Name
  • Ops.Extension.ECharts.ECharts
Visibility
  •  Extension Op - Visible to all users
License
  • MIT
AuthorgithubMaintained by TeamJavascript Libraries
  • echarts.js (Apache ECharts is a powerful, interactive charting and data visualization library for browser)



Example Patch Simple ECharts Example

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

Open In Editor

Youtube Video Tutorial

INPUT PORTS


Create (Trigger)

<p>Trigger to create the chart.</p>

Parent DOM element (Object)

<p>Sets the chart as a child of the parent DOM element</p>

Id (String)

<p>ID of the element for selection if you have multiple charts</p>

Width (Number:

<i>integer</i>

)

<p>Width in pixel</p>

Height (Number:

<i>integer</i>

)

<p>Height in pixel</p>

Chart Object (Object)

<p>Main configuration object, the &quot;options&quot; parameters of the ECharts library</p>

Merge options (Object)
Renderer index (Number:

<i>integer</i>

)

<p>0 = canvas, 1 = svg</p>

Renderer (String)

<p>canvas or svg</p>

Theme index (Number:

<i>integer</i>

)

<p>0 = default, 1 = light, 2 = dark</p>

Theme (String)

<p>default, light, dark</p>

Custom theme obj (Object)

<p>Optional, if you set this object it overrides the theme of the chart. Create your theme here: <a href="https://echarts.apache.org/en/theme-builder.html">https://echarts.apache.org/en/theme-builder.html</a></p>

Init extra Options (Object)
Style (Number:

<i>string</i>

)

<p>Custom CSS to position the chart, width and height will be overridden by the Width and Height input ports</p>

Visible (Number:

<i>boolean</i>

)

<p>Sets whether the chart is visible or not</p>

OUTPUT PORTS


DOM Element (Object)

<p>Div element containing the chart</p>

ECharts instance (Object)

<p>ECharts object</p>

Chart updated (Trigger)

<p>Triggered if the chart has been modified, useful if you continuously update data and refresh the chart</p>

Theme changed (Trigger)

<p>Triggered if the theme has changed</p>


Patches using ECharts

  • Examples
  • Public
  • My Patches

Known Issues

The ECharts WebGL extension library is not supported (yet).

Changelog


created opuser avatarkikohs - 2021-03-05 12:57
Ops.User.stephan.ECharts renamed to Ops.Libs.EChartsuser avatarstephan - 2021-03-05 14:01
Ops.Libs.ECharts renamed to Ops.Libs.ECharts.EChartsuser avatarstephan - 2021-03-05 14:03
Ops.Libs.ECharts.ECharts renamed to Ops.Extension.ECharts.EChartsuser avatarstephan - 2022-12-14 10:06