Support for Ganttchart in Apache ECharts

Hello,

I was wondering if it is possible to use the ganttchart from the Apache ECharts in jmix 2.3? I cant select it in the series/charts of the chart. If it is not possible, is there an other solution for using a ganttchart in jmix 2.3?

TIA,

Willem.

Hi!

Here is an example of a GanttChart in Apache ECharts: Examples - Apache ECharts

Implementation is possible, but will be resource-intensive. The framework doesn’t natively support such a type of series as custom which is used in this example.

Almost code must be written in JavaScript, then called using the chart.getElement().executeJs() method. It is impossible to bind data from the standard Jmix data model in this case because in the framework the data is provided in a dataset, which consists of an array of entities. In this example, the data is provided in matrix form.

The provided example on JavaScript looks cumbersome. Probably, a simpler way to implement Gantt would be to find a suitable JavaScript library and integrating it into your Jmix application. For example: JavaScript Gantt Chart Library - DHTMLX Gantt

Regards,
Dmitriy