Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
suvoda
New Member

Deneb Gantt Chart

I have used this deneb gantt chart github code by David. I have the following fields - start, end, id, dependencies, phase, task. I have this functionality where when I select on a task in the chart, the task name is displayed in a card visual. This functionality works good, but whenever I drag down and click on a task, the entire visual resets to its original state. Is it possible to freeze the visual to wherever I have dragged it to or in my current position, instead of reseting.

1 ACCEPTED SOLUTION
v-pnaroju-msft
Community Support
Community Support

Thankyou, @Akash_Varuna, for your response.

Hi @suvoda,

We appreciate your inquiry posted on the Microsoft Fabric Community Forum.

Based on my understanding, currently Power BI does not support preserving the scroll or zoom position within custom visuals such as Deneb following user interactions, for example, selecting a task. This occurs because Power BI re-renders custom visuals upon interaction, which results in resetting the visual state.

Please consider the following workaround which may help to address the issue:

To maintain a stable scroll view, we recommend externalising task selection. You may use a slicer or table visual external to the Deneb chart to select tasks. This approach enables the Gantt chart to remain static without resetting, while simultaneously updating the card visual with the selected task details. This method ensures a smooth and consistent user experience while working within the current platform capabilities.

If our response has been helpful, kindly mark it as the accepted solution and provide kudos. This will assist other community members facing similar queries.

Thank you.

View solution in original post

5 REPLIES 5
v-pnaroju-msft
Community Support
Community Support

Hi suvoda,

We are following up to see if your query has been resolved. Should you have identified a solution, we kindly request you to share it with the community to assist others facing similar issues.

If our response was helpful, please mark it as the accepted solution and provide kudos, as this helps the broader community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi suvoda,

We wanted to check in regarding your query, as we have not heard back from you. If you have resolved the issue, sharing the solution with the community would be greatly appreciated and could help others encountering similar challenges.

If you found our response useful, kindly mark it as the accepted solution and provide kudos to guide other members.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi suvoda,

We have not received a response from you regarding the query and were following up to check if you have found a resolution. If you have identified a solution, we kindly request you to share it with the community, as it may be helpful to others facing a similar issue.

If you find the response helpful, please mark it as the accepted solution and provide kudos, as this will help other members with similar queries.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Thankyou, @Akash_Varuna, for your response.

Hi @suvoda,

We appreciate your inquiry posted on the Microsoft Fabric Community Forum.

Based on my understanding, currently Power BI does not support preserving the scroll or zoom position within custom visuals such as Deneb following user interactions, for example, selecting a task. This occurs because Power BI re-renders custom visuals upon interaction, which results in resetting the visual state.

Please consider the following workaround which may help to address the issue:

To maintain a stable scroll view, we recommend externalising task selection. You may use a slicer or table visual external to the Deneb chart to select tasks. This approach enables the Gantt chart to remain static without resetting, while simultaneously updating the card visual with the selected task details. This method ensures a smooth and consistent user experience while working within the current platform capabilities.

If our response has been helpful, kindly mark it as the accepted solution and provide kudos. This will assist other community members facing similar queries.

Thank you.

Akash_Varuna
Super User
Super User

Hi @suvoda I don’t think it is possible to directly "freeze" the visual position in Power BI after dragging, as interactions like clicking and dragging usually reset the visual state. However, you could use bookmarks to save and restore the visual’s position. Adjusting visual interactions or checking Deneb's Vega-Lite configuration might help maintain the desired view state. Syncing slicers can also prevent resets if slicers are involved.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.