In Custom mode, configure charts by writing JS in the editor. Based on ctx.data, return a complete ECharts option. This suits merging multiple series, complex tooltips, and dynamic styles. In principle, all ECharts features and chart types are supported.

ctx.data.objects: array of objects (each row as an object)ctx.data.rows: 2D array (with header)ctx.data.columns: 2D array grouped by columnsRecommended usage:
Consolidate data in dataset.source. For detailed usage, please refer to the ECharts documentation:
Let’s start with a simple example.


Recommendations:
option only from ctx.data and avoid side effects.For more usage examples, you can refer to the NocoBase Demo app.
You can also browse the official ECharts Examples to find your desired chart effect, then reference and copy the JS configuration code.
