<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Bugs in my customized version of a popular gantt chart in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Bugs-in-my-customized-version-of-a-popular-gantt-chart/m-p/4611868#M12315</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello Community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’ve been working on developing a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Gantt chart&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Madison Giammaria’s&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/124852"&gt;@giammariam&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;template. It is great already but I had to develop some other custom features so I’ve successfully implemented several functionalities—partly using my own knowledge and partly with AI assistance. However, I’ve now hit a roadblock with three bugs that are preventing the visual from functioning as intended.&lt;/P&gt;&lt;P&gt;I’d love any help in resolving them—fixing just one would be a great step forward, but solving all three would be a huge relief! &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bug 1: Expanding/Collapsing Tasks in Bulk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I wanted to create a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;custom bulk expand/collapse button&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to toggle all tasks at once.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Petanek3333_4-1742137137183.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1250857i8C34A7E9AA0AE741/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Petanek3333_4-1742137137183.png" alt="Petanek3333_4-1742137137183.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, unlike the original template, if I expand all tasks and then try to collapse just one,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;it collapses all of them&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;instead of only the selected one.&lt;/P&gt;&lt;P&gt;I suspect the issue lies in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;hierarchy_initial&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;transformations&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;(lines 2224–2238)&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in my Vega code, but I haven’t been able to get it working as intended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bug 2: Horizontal Scrolling, Zooming, and Task Visibility Issues&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I had to tweak the template to properly display the Today line, as I couldn’t get it working from the original setup. However, my implementation may have introduced unexpected issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Problem 1: Tasks Not Visible in Default View&lt;/EM&gt;&lt;BR /&gt;For example, in the image below,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Task 95&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(starting on March 19, 2023) should be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;partially visible&lt;/STRONG&gt;, but it isn’t.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Petanek3333_5-1742137405870.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1250858i0992A5329ACEA25F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Petanek3333_5-1742137405870.png" alt="Petanek3333_5-1742137405870.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I scroll horizontally or zoom out slightly, it suddenly appears. Expanding the task doesn’t reveal the subtasks either.&lt;/P&gt;&lt;P&gt;I suspect the issue is related to how the x-axis range is set before and after the min/max task dates. I attempted to configure&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;default views for different task lengths&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;configDateStepSizePercentInitial&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;signal (&lt;STRONG&gt;lines 25–28&lt;/STRONG&gt;), but that didn’t resolve it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Problem 2: Missing Tasks on Horizontal Scroll&lt;/EM&gt;&lt;BR /&gt;If I scroll left (Shift + Mouse Wheel), I expect to see tasks from 2022, but they don’t appear even though they should.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Petanek3333_6-1742137448360.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1250859iE3ADEBE7CE7828CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Petanek3333_6-1742137448360.png" alt="Petanek3333_6-1742137448360.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is my biggest issue—if anyone has insights on what might be causing this, I’d be incredibly grateful!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bug 3: Bottom Tasks Not Expandable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This issue also exists in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;original template&lt;/STRONG&gt;:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Petanek3333_7-1742137490395.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1250860iF238ABD3E136A542/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Petanek3333_7-1742137490395.png" alt="Petanek3333_7-1742137490395.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If the last task in the visual reaches the bottom of the canvas, the task is not clickable, preventing expansion. The only workaround is to collapse some other tasks first, but that negatively affects the user experience.&lt;/P&gt;&lt;P&gt;I’d really appreciate any&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;advice, guidance, or fixes&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for these issues. Even just pointing me in the right direction would be incredibly helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample file:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/deneb-viz/deneb/issues/url" target="_blank" rel="noopener"&gt;https://www.dropbox.com/scl/fi/dcrciewmls9dj3fqpc4m8/sample_data_tasks.pbix?rlkey=65tjgo587u9991jaj7t4j2y3s&amp;amp;st=r5j7jh0n&amp;amp;dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance, and have a great day!&lt;BR /&gt;Petr&lt;/P&gt;</description>
    <pubDate>Sun, 16 Mar 2025 15:11:28 GMT</pubDate>
    <dc:creator>Petanek3333</dc:creator>
    <dc:date>2025-03-16T15:11:28Z</dc:date>
    <item>
      <title>Bugs in my customized version of a popular gantt chart</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Bugs-in-my-customized-version-of-a-popular-gantt-chart/m-p/4611868#M12315</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’ve been working on developing a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Gantt chart&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Madison Giammaria’s&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/124852"&gt;@giammariam&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;template. It is great already but I had to develop some other custom features so I’ve successfully implemented several functionalities—partly using my own knowledge and partly with AI assistance. However, I’ve now hit a roadblock with three bugs that are preventing the visual from functioning as intended.&lt;/P&gt;&lt;P&gt;I’d love any help in resolving them—fixing just one would be a great step forward, but solving all three would be a huge relief! &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bug 1: Expanding/Collapsing Tasks in Bulk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I wanted to create a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;custom bulk expand/collapse button&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to toggle all tasks at once.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Petanek3333_4-1742137137183.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1250857i8C34A7E9AA0AE741/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Petanek3333_4-1742137137183.png" alt="Petanek3333_4-1742137137183.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, unlike the original template, if I expand all tasks and then try to collapse just one,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;it collapses all of them&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;instead of only the selected one.&lt;/P&gt;&lt;P&gt;I suspect the issue lies in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;hierarchy_initial&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;transformations&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;(lines 2224–2238)&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in my Vega code, but I haven’t been able to get it working as intended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bug 2: Horizontal Scrolling, Zooming, and Task Visibility Issues&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I had to tweak the template to properly display the Today line, as I couldn’t get it working from the original setup. However, my implementation may have introduced unexpected issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Problem 1: Tasks Not Visible in Default View&lt;/EM&gt;&lt;BR /&gt;For example, in the image below,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Task 95&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(starting on March 19, 2023) should be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;partially visible&lt;/STRONG&gt;, but it isn’t.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Petanek3333_5-1742137405870.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1250858i0992A5329ACEA25F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Petanek3333_5-1742137405870.png" alt="Petanek3333_5-1742137405870.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I scroll horizontally or zoom out slightly, it suddenly appears. Expanding the task doesn’t reveal the subtasks either.&lt;/P&gt;&lt;P&gt;I suspect the issue is related to how the x-axis range is set before and after the min/max task dates. I attempted to configure&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;default views for different task lengths&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;configDateStepSizePercentInitial&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;signal (&lt;STRONG&gt;lines 25–28&lt;/STRONG&gt;), but that didn’t resolve it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Problem 2: Missing Tasks on Horizontal Scroll&lt;/EM&gt;&lt;BR /&gt;If I scroll left (Shift + Mouse Wheel), I expect to see tasks from 2022, but they don’t appear even though they should.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Petanek3333_6-1742137448360.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1250859iE3ADEBE7CE7828CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Petanek3333_6-1742137448360.png" alt="Petanek3333_6-1742137448360.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is my biggest issue—if anyone has insights on what might be causing this, I’d be incredibly grateful!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bug 3: Bottom Tasks Not Expandable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This issue also exists in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;original template&lt;/STRONG&gt;:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Petanek3333_7-1742137490395.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1250860iF238ABD3E136A542/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Petanek3333_7-1742137490395.png" alt="Petanek3333_7-1742137490395.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If the last task in the visual reaches the bottom of the canvas, the task is not clickable, preventing expansion. The only workaround is to collapse some other tasks first, but that negatively affects the user experience.&lt;/P&gt;&lt;P&gt;I’d really appreciate any&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;advice, guidance, or fixes&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for these issues. Even just pointing me in the right direction would be incredibly helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample file:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/deneb-viz/deneb/issues/url" target="_blank" rel="noopener"&gt;https://www.dropbox.com/scl/fi/dcrciewmls9dj3fqpc4m8/sample_data_tasks.pbix?rlkey=65tjgo587u9991jaj7t4j2y3s&amp;amp;st=r5j7jh0n&amp;amp;dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance, and have a great day!&lt;BR /&gt;Petr&lt;/P&gt;</description>
      <pubDate>Sun, 16 Mar 2025 15:11:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Bugs-in-my-customized-version-of-a-popular-gantt-chart/m-p/4611868#M12315</guid>
      <dc:creator>Petanek3333</dc:creator>
      <dc:date>2025-03-16T15:11:28Z</dc:date>
    </item>
  </channel>
</rss>

