You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by SebastiendOrnano June 24, 2025
Could it be possible to add a link parameter to the chart component ?
It is a common feature in most of Gantt chart apps since it gives a nice interactivity and a way to modify quickly data.
The link is accessible/clikable in the popup when passing over a bar. In the example below (based on example 9 in the Documentation), the idea would be able to open an edit form for the workpackage : workpackage_edit.sql?workpackage_name='||workpackage_name
SELECT
'chart' AS component,
'Workpackage Timeline' AS title,
'rangeBar' AS type,
TRUE AS time,
'green' AS color;
SELECT
w.workpackage_name AS series,
w.workpackage_name ||' Planififié' AS label,
w.workpackage_date_start_scheduled AS value,
w.workpackage_date_end_scheduled AS value
FROM project_workpackage AS w
left join (SELECT project_id FROM project) AS p
on w.project_id=p.project_id
WHERE p.project_id=$project_id::INTEGER
ORDER BY w.workpackage_date_start_scheduled ASC;
with #1375#1376 and #1377 , rows now serialize as objects and apexcharts.js splits data.points into Array.isArray. I think this should simplify the new logic needed for a link component
Activity
81reap commentedon Aug 13, 2026
with #1375 #1376 and #1377 , rows now serialize as objects and apexcharts.js splits
data.pointsintoArray.isArray. I think this should simplify the new logic needed for a link componentlovasoa commentedon Sep 28, 2026
reopening since it's not merged yet