jfs
Posts: 14
Joined: Mon Jan 03, 2022 8:14 pm

hyperlink in organisation chart node

Hi support-team,

i need to add an hyperlink to organisation chart nodes. At best i would like to have the hyperlink as the "id" of the node.
I don't find the solution using the API. How is the syntax to achieve ths ?

Thanks
jfs
magdalena
Posts: 517
Joined: Tue Aug 24, 2021 1:32 pm

Re: hyperlink in organisation chart node

Hello jfs,

Thanks for contacting us with your question!

You can add hyperlinks in a few ways:
- adding href attribute to the title/name,
- adding click events for all points,
- adding a click event to the node,
- use key/id

I'm not sure what do you expect as a final result. The following demo shows some examples.

Demo:
https://jsfiddle.net/BlackLabel/m4xor7L3/

Feel free to ask any further questions,
Regards!
Magdalena Gut
Developer and Highcharts Support Engineer
jfs
Posts: 14
Joined: Mon Jan 03, 2022 8:14 pm

Re: hyperlink in organisation chart node

Thanks a lot, your examples are very helpful. I will try all of them.
I tried all the time to put the href in "id" : this is the wrong place and not working.

Shortlly about my usecase : i am using the Highcharts API in Polarion (Siemens PLM) to render some data structure. The integrated Highcharts was updated in a recent version : now i have nearly infinite possibilities to render the data. Very nice.

Thanks
jfs
magdalena
Posts: 517
Joined: Tue Aug 24, 2021 1:32 pm

Re: hyperlink in organisation chart node

That's great to hear. If you have further inquiries, you may reach out to me at any time!
Magdalena Gut
Developer and Highcharts Support Engineer

Return to “Highcharts Usage”