<?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 Re: Power BI theme implementation on custom visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-theme-implementation-on-custom-visual/m-p/2727409#M38172</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;AFAIK, the current power bi theme does not work for custom visuals. If you want to custom visual also interact with the theme settings, you need to add code support about the theme and properties.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/custom-visual-develop-tutorial-format-options" target="_blank"&gt;Adding formatting options to a Power BI custom visual - Power BI | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2022 01:38:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-08-26T01:38:29Z</dc:date>
    <item>
      <title>Power BI theme implementation on custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-theme-implementation-on-custom-visual/m-p/2721164#M38118</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi I'm trying to add powerbi theme color palette to my custom visual, I was able to generate color palette using IVisualHost.colorPalette.getColor() function and successfully change color based on different theme selections, but in the default theme selection I don't want to use that color palette provide by powerbi, so is there is any way to detect if the selected theme is default or not?&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyshnav4u_0-1661276544066.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/770752i514044F10569EA67/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyshnav4u_0-1661276544066.png" alt="vyshnav4u_0-1661276544066.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 17:47:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-theme-implementation-on-custom-visual/m-p/2721164#M38118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-23T17:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI theme implementation on custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-theme-implementation-on-custom-visual/m-p/2727409#M38172</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;AFAIK, the current power bi theme does not work for custom visuals. If you want to custom visual also interact with the theme settings, you need to add code support about the theme and properties.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/custom-visual-develop-tutorial-format-options" target="_blank"&gt;Adding formatting options to a Power BI custom visual - Power BI | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 01:38:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-theme-implementation-on-custom-visual/m-p/2727409#M38172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-26T01:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI theme implementation on custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-theme-implementation-on-custom-visual/m-p/2727707#M38178</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for the replay, I implemnetd theme support in custom visual, but what I want is if I selected the default theme I don't want to use the color palette powerbi provides, So in order to achieve that I need to know which theme is currently active(selected by the user), so is there is any way to know which theme is currently set by the user.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 05:13:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-theme-implementation-on-custom-visual/m-p/2727707#M38178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-26T05:13:45Z</dc:date>
    </item>
  </channel>
</rss>

