Generic ECharts View

This node allows creating a custom view using Apache ECharts and JavaScript by configuring the option object. A preview of the view is displayed in the panel to the right of the editor and immediately updates whenever you make changes.

The option object must be populated, or the view cannot be generated.

The data of the input table is available in a variable called inputTable. Use await inputTable.getColumn(<column-name>) or await inputTable.getColumn([<column-names>...]) to request the data and make it available to the plot. The full API of the inputTable object can be discovered via the auto-completion of the editor.

AI Code Assistance (Labs):

If the KNIME AI Assistant (Labs) extension is installed, the button on the lower left of the code editor provides access to AI assisted code generation and modification. Here you can enter commands in natural language and our code assistant will replace or modify your current code according to your prompt. The more precisely you describe what results you expect, the better the results will be. The AI will suggest modifications and show them to you in a diff-view (differences between your current code on the left and the suggested code on the right) which you can apply or query another response by entering a new or refined prompt.

Input Ports

Icon
The input data which will be used for plotting.

Output Ports

This node has no output ports

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

Output
The view generated by the script using Apache ECharts.

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.