<?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 Auto Position Category Labels to Prevent Overlapping in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Auto-Position-Category-Labels-to-Prevent-Overlapping/m-p/3715719#M49683</link>
    <description>&lt;P&gt;Hello, everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating a custom scatterplot and one of the features I wanted to bring from the native scatterplot is category labels. The problem is that many labels are overlapping, cluttering the chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw &lt;STRONG&gt;DataLabelManager&lt;/STRONG&gt; from Chart Utils has a method called &lt;STRONG&gt;hideCollidedLabels&lt;/STRONG&gt; that might help me rearrange the labels and hide it on the last instance, but I'm not finding a way to use it properly and I can't find an example of how to use it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help me with any snippets or suggestions, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Italo&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2024 02:42:53 GMT</pubDate>
    <dc:creator>italodoliva</dc:creator>
    <dc:date>2024-02-22T02:42:53Z</dc:date>
    <item>
      <title>Auto Position Category Labels to Prevent Overlapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Auto-Position-Category-Labels-to-Prevent-Overlapping/m-p/3715719#M49683</link>
      <description>&lt;P&gt;Hello, everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating a custom scatterplot and one of the features I wanted to bring from the native scatterplot is category labels. The problem is that many labels are overlapping, cluttering the chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw &lt;STRONG&gt;DataLabelManager&lt;/STRONG&gt; from Chart Utils has a method called &lt;STRONG&gt;hideCollidedLabels&lt;/STRONG&gt; that might help me rearrange the labels and hide it on the last instance, but I'm not finding a way to use it properly and I can't find an example of how to use it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help me with any snippets or suggestions, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Italo&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 02:42:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Auto-Position-Category-Labels-to-Prevent-Overlapping/m-p/3715719#M49683</guid>
      <dc:creator>italodoliva</dc:creator>
      <dc:date>2024-02-22T02:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Position Category Labels to Prevent Overlapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Auto-Position-Category-Labels-to-Prevent-Overlapping/m-p/3718535#M49715</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/685740"&gt;@italodoliva&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'd like to suggest you take a look at the official document about the chart utils, it mentions the 'hideCollidedLabels' definitions and usage sample:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/utils-chart#hidecollidedlabels" target="_blank"&gt;Introduction to use chart utils in Power BI visual - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 02:05:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Auto-Position-Category-Labels-to-Prevent-Overlapping/m-p/3718535#M49715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-23T02:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Position Category Labels to Prevent Overlapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Auto-Position-Category-Labels-to-Prevent-Overlapping/m-p/3719792#M49729</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I knew about hideCollidedLabels on this section of the documentation. The problem is the usage sample lacks a lot of important information. For example, what's the format of the content inside the values variable? We can not see the sample values, just the name of the variable. Also, how would the DataLabelManager know how to find the category labels in the SVG given its data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know any other source that uses hideCollidedLabels?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Italo&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 12:37:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Auto-Position-Category-Labels-to-Prevent-Overlapping/m-p/3719792#M49729</guid>
      <dc:creator>italodoliva</dc:creator>
      <dc:date>2024-02-23T12:37:22Z</dc:date>
    </item>
  </channel>
</rss>

