Chart component / link parameter / custom handlebar #1094
-
|
Hello, I am still working on the COOP template an app for project management. I am using the chart component to visualize the timeline of the workpackages of a project. I want to add a link so I can jump from the bar in the chart to the edit form of a workpackage (as in the map component, you can jump from the map to a form from the location point)). This feature is not (yet ?) included in the standard handlebar. So I tried to write a custom chart handlebar but I am not a developer, and I am stuck in how to write correctly the handlebar: I introduced a link parameter in the sql file : Then I tried to introduce a
The link is created but no active 👍 So, where is my mistake ? Thanks in advance for any answer ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.

I answer to myself since I found a solution. As I am not a developer and I am not able to code a script, I organized a battle between perplexity and copilot. Perplexity was the first to produce a beta script but there was many comments and versions before a final version which was not yet working !
As most of errors are coming from wrong data formats I prompted on the fact that I was using apexchart.js to produce a rangeBar of dates for a timeline visualization and not a classic range of numbers. So my new friends G & C provide me with a patch to convert date to numbers and it works !
I don't yet know if the following handlebars template is working for every type of chart. If not the scri…