<?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: Set shape color in Theme .json in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Set-shape-color-in-Theme-json/m-p/3244505#M42750</link>
    <description>&lt;P&gt;After lots of research I finally found a working JSON for shape &lt;A href="https://community.powerbi.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1880186" target="_blank"&gt;https://community.powerbi.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1880186&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2023 14:50:08 GMT</pubDate>
    <dc:creator>cpassuel</dc:creator>
    <dc:date>2023-05-19T14:50:08Z</dc:date>
    <item>
      <title>Set shape color in Theme .json</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Set-shape-color-in-Theme-json/m-p/2379031#M34811</link>
      <description>&lt;P&gt;Hi community,&lt;BR /&gt;&lt;BR /&gt;I'm in the process of building a PBI template for a customer. I've got an issue with the standard fill of shapes that I can't seem to get working. Here's the code that I'm using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
	"name": "ShapeTemplate",
	"visualStyles": {
		"shape": {
			"*": {
				
				"fill": [{
					"show": true,
					"fillColor": { "solid": { "color": "#FFFFFF"}},
					"transparency": 0
				}],
				"visualHeader": [{
					"show": false
				}]
			}
		},
		"page": {
			"*": {
				"background": [
					{
						"color": {
							"solid": {
								"color": "#CCCCCC"
							}
						},
						"transparency": 100
					}
				],
				"outspace": [
					{
						"color": {
							"solid": {
								"color": "#CCCCCC"
							}
						},
						"transparency": 0
					}
				]
			}
		}
	}
}&lt;/LI-CODE&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;I've am able to show/hide the fill using the code above, but it seems like the 'fillColor' parameter does not work for me. Has anyone of you been able to get the fill color working in their templates? If so then I'm curious how you all did it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 15:21:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Set-shape-color-in-Theme-json/m-p/2379031#M34811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-07T15:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set shape color in Theme .json</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Set-shape-color-in-Theme-json/m-p/2385139#M34864</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try this code and test whether it will work.&lt;/P&gt;
&lt;P&gt;For referenec:&amp;nbsp;&lt;A href="https://github.com/deldersveld/PowerBI-ThemeTemplates/blob/master/Shape.json" target="_blank"&gt;https://github.com/deldersveld/PowerBI-ThemeTemplates/blob/master/Shape.json&lt;/A&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
	"name": "ShapeTemplate",
	"visualStyles": {
		"basicShape": {
			"*": {
				"line": [{
					"lineColor": { "solid": { "color": "#01B8AA"}},
					"transparency": 0,
					"weight": 3,
					"roundEdge": 0
				}],
				"fill": [{
					"show": true,
					"fillColor": { "solid": { "color": "#DDDDDD"}},
					"transparency": 0
				}],
				"rotation": [{
					"angle": 0
				}],
				"visualHeader": [{
					"show": false
				}]
			}
		}
	}
}&lt;/LI-CODE&gt;
&lt;P&gt;And you can check&amp;nbsp;the official document about power bi themes. &amp;nbsp;It listed all the properties: (notice: some of the properties can be confited but they not really enabeld to settings since power bi did not release them to GA for theme usage)&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/create-reports/desktop-report-themes#visualstyles-definition-list" target="_blank" rel="nofollow noopener noreferrer"&gt;Use report themes in Power BI Desktop - Power BI | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 07:29:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Set-shape-color-in-Theme-json/m-p/2385139#M34864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-10T07:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set shape color in Theme .json</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Set-shape-color-in-Theme-json/m-p/3244374#M42749</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did some ever achieved to set shape border / background with theme ? I tried several things found on differents pages with no success.&lt;/P&gt;&lt;P&gt;It seems to be broken.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 13:31:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Set-shape-color-in-Theme-json/m-p/3244374#M42749</guid>
      <dc:creator>cpassuel</dc:creator>
      <dc:date>2023-05-19T13:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set shape color in Theme .json</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Set-shape-color-in-Theme-json/m-p/3244505#M42750</link>
      <description>&lt;P&gt;After lots of research I finally found a working JSON for shape &lt;A href="https://community.powerbi.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1880186" target="_blank"&gt;https://community.powerbi.com/t5/Report-Server/New-Shapes-in-PBI-How-to-Setup-JSON/m-p/1880186&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 14:50:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Set-shape-color-in-Theme-json/m-p/3244505#M42750</guid>
      <dc:creator>cpassuel</dc:creator>
      <dc:date>2023-05-19T14:50:08Z</dc:date>
    </item>
  </channel>
</rss>

