Kubau
Posts: 4
Joined: Tue May 17, 2022 8:28 am

Question about the task's color

Hi,
I was looking the demonstration of the interactive-gantt and I saw when we drag a task on the Y axis, the task there is no color update, is there solution ?
Thank you
[url]https://jsfiddle.net/qxk357cp/2/[url]
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: Question about the task's color

Hi Kubau!
Thanks for contacting us with your question!

You can change the color of point using series.point.events.drop event and there using a point.update method change color to new proper. Check out the demo below.

Demo: https://jsfiddle.net/BlackLabel/o1pg9fa7/
API Reference: https://api.highcharts.com/highcharts/p ... vents.drop
https://api.highcharts.com/class-refere ... int#update

Feel free to ask any further questions!
Regards!
Hubert Kozik
Highcharts Developer

Return to “Highcharts Gantt”