<?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 R powered custom visual theme settings in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/R-powered-custom-visual-theme-settings/m-p/4011276#M53729</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing an R powered costum visual and im having some issues with the theme settings/colorpicker not alligning propperly.&lt;/P&gt;&lt;P&gt;- My powerbi desktop theme is set to the default PowerBI theme.&lt;/P&gt;&lt;P&gt;- If I open the colorpicker in powerbi to change the color of my background (or data points) and I select one of the theme colors (1-8) the resulting collors correspond with the theme 'Classic'.&lt;/P&gt;&lt;P&gt;- However the theme colors that are being displayed in the colorpicker window allign with the theme 'Default'&lt;/P&gt;&lt;P&gt;- If I open the 'more colors' option the hex value is passed through correctly and the visual updates to the correct color.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition; the color picker seems to work perfectly for the general visual settings. Therefore I think defining a theme setting in the settings.ts or the visual.ts might be the easiest way forward?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I can't seem to find documentation on theme settings for PBI custom visuals.&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Examples (color displayed &lt;STRONG&gt;left&lt;/STRONG&gt;, color sellected &lt;STRONG&gt;right&lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2024 07:09:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-27T07:09:39Z</dc:date>
    <item>
      <title>R powered custom visual theme settings</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-powered-custom-visual-theme-settings/m-p/4011276#M53729</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing an R powered costum visual and im having some issues with the theme settings/colorpicker not alligning propperly.&lt;/P&gt;&lt;P&gt;- My powerbi desktop theme is set to the default PowerBI theme.&lt;/P&gt;&lt;P&gt;- If I open the colorpicker in powerbi to change the color of my background (or data points) and I select one of the theme colors (1-8) the resulting collors correspond with the theme 'Classic'.&lt;/P&gt;&lt;P&gt;- However the theme colors that are being displayed in the colorpicker window allign with the theme 'Default'&lt;/P&gt;&lt;P&gt;- If I open the 'more colors' option the hex value is passed through correctly and the visual updates to the correct color.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition; the color picker seems to work perfectly for the general visual settings. Therefore I think defining a theme setting in the settings.ts or the visual.ts might be the easiest way forward?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I can't seem to find documentation on theme settings for PBI custom visuals.&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Examples (color displayed &lt;STRONG&gt;left&lt;/STRONG&gt;, color sellected &lt;STRONG&gt;right&lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 07:09:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-powered-custom-visual-theme-settings/m-p/4011276#M53729</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-27T07:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: R powered custom visual theme settings</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-powered-custom-visual-theme-settings/m-p/4012734#M53744</link>
      <description>&lt;P&gt;Hi&amp;nbsp; Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the related document, you can view this content:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes" target="_blank"&gt;Use report themes in Power BI Desktop - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/develop-power-bi-visuals" target="_blank"&gt;Develop custom visuals in Power BI - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://drewsk.tech/2019/12/30/customize-powerbi-custom-themes-in-powerbi-desktop-or-with-json/" target="_blank"&gt;Customize PowerBI Custom Themes in PowerBI Desktop or with JSON - DrewSK.Tech&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 06:40:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-powered-custom-visual-theme-settings/m-p/4012734#M53744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-27T06:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: R powered custom visual theme settings</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-powered-custom-visual-theme-settings/m-p/4013361#M53756</link>
      <description>&lt;P&gt;I've read these and they dont seem to provide an explenation as to why the colors - despite being depicted as the 'default' theme in the colorpicker - return the hexcodes associated with the 'Classic' theme to my visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 11:50:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-powered-custom-visual-theme-settings/m-p/4013361#M53756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-27T11:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: R powered custom visual theme settings</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-powered-custom-visual-theme-settings/m-p/4073272#M54478</link>
      <description>&lt;P&gt;I'm still interested if anyone knows how I can define the default theme in the custom R powered visual.&lt;/P&gt;&lt;P&gt;which typescript file do I need to edit?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 09:37:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-powered-custom-visual-theme-settings/m-p/4073272#M54478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-01T09:37:42Z</dc:date>
    </item>
  </channel>
</rss>

