<?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 Color by Group in Properties in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Color-by-Group-in-Properties/m-p/3125072#M41683</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologize if this question is elementary, I'm new to developing custom visuals, and I'm struggling adding color options for each data group.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently developing a chord diagram, and I've got the diagram built out in d3, and it shows up in Power BI fine.&amp;nbsp; But I'm trying to now add the ability for users to pick colors, instead of me just having a list of colors hard coded, or random colors from the color pallette.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying to do some research online, but I'm finding what looks like some outdated stuff from a few years ago and its hard to tell what I'm supposed to do.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently: I've just hardcoded a bunch of colors since I'm working with dummy data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MPetramalo51_0-1678483880696.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/885026iFAFCA3FFC5D008FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MPetramalo51_0-1678483880696.png" alt="MPetramalo51_0-1678483880696.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Goal: Goal being for each group, be able to select a color.&amp;nbsp; I cant figure out how to iterate over the list of values, and have them show up on the property pane.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MPetramalo51_1-1678484048273.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/885028i017D7634C85B5DC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MPetramalo51_1-1678484048273.png" alt="MPetramalo51_1-1678484048273.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Mar 2023 21:35:10 GMT</pubDate>
    <dc:creator>MPetramalo51</dc:creator>
    <dc:date>2023-03-10T21:35:10Z</dc:date>
    <item>
      <title>Color by Group in Properties</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Color-by-Group-in-Properties/m-p/3125072#M41683</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologize if this question is elementary, I'm new to developing custom visuals, and I'm struggling adding color options for each data group.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently developing a chord diagram, and I've got the diagram built out in d3, and it shows up in Power BI fine.&amp;nbsp; But I'm trying to now add the ability for users to pick colors, instead of me just having a list of colors hard coded, or random colors from the color pallette.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying to do some research online, but I'm finding what looks like some outdated stuff from a few years ago and its hard to tell what I'm supposed to do.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently: I've just hardcoded a bunch of colors since I'm working with dummy data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MPetramalo51_0-1678483880696.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/885026iFAFCA3FFC5D008FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MPetramalo51_0-1678483880696.png" alt="MPetramalo51_0-1678483880696.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Goal: Goal being for each group, be able to select a color.&amp;nbsp; I cant figure out how to iterate over the list of values, and have them show up on the property pane.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MPetramalo51_1-1678484048273.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/885028i017D7634C85B5DC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MPetramalo51_1-1678484048273.png" alt="MPetramalo51_1-1678484048273.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 21:35:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Color-by-Group-in-Properties/m-p/3125072#M41683</guid>
      <dc:creator>MPetramalo51</dc:creator>
      <dc:date>2023-03-10T21:35:10Z</dc:date>
    </item>
  </channel>
</rss>

