<?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 Default color by measure palette in custom theme in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Default-color-by-measure-palette-in-custom-theme/m-p/1748733#M13306</link>
    <description>&lt;P&gt;I've been working on a custom theme primarily working in the theme.json file trying to configure the palettes for my client.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have no problem defining the palettes, but I am not able to pinpoint where to set the default palette when selecting custom color &lt;EM&gt;By measure&lt;/EM&gt; in the user interface.&lt;/P&gt;&lt;P&gt;As you notice on the picture below. None of my palettes are the default palette when activating the &lt;EM&gt;By measure&amp;nbsp;&lt;/EM&gt;for my bar chart. If I click on any of the schemes the palette will change accordingly, but I want to know how to set the default scheme that is to apply when choosing&amp;nbsp;&lt;EM&gt;By measure&amp;nbsp;&lt;/EM&gt;in the drop down.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could it be that I need to use a special "tag" like "ui" that is used for the default color picker palette?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vegar_1-1601540637431.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41528iB1254E118DA8C007/image-size/large?v=v2&amp;amp;px=999" role="button" title="Vegar_1-1601540637431.png" alt="Vegar_1-1601540637431.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#808080"&gt;Note: The green color is a color I recognize from my theme, but even if I change the color codes for all my colors the original green color is still there after I reload the page with cache refresh. (I only see this behaviour in this default by measure palette, all other colors reflects the changes in my theme.json file.&amp;nbsp;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 18:01:46 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2024-11-16T18:01:46Z</dc:date>
    <item>
      <title>Default color by measure palette in custom theme</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Default-color-by-measure-palette-in-custom-theme/m-p/1748733#M13306</link>
      <description>&lt;P&gt;I've been working on a custom theme primarily working in the theme.json file trying to configure the palettes for my client.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have no problem defining the palettes, but I am not able to pinpoint where to set the default palette when selecting custom color &lt;EM&gt;By measure&lt;/EM&gt; in the user interface.&lt;/P&gt;&lt;P&gt;As you notice on the picture below. None of my palettes are the default palette when activating the &lt;EM&gt;By measure&amp;nbsp;&lt;/EM&gt;for my bar chart. If I click on any of the schemes the palette will change accordingly, but I want to know how to set the default scheme that is to apply when choosing&amp;nbsp;&lt;EM&gt;By measure&amp;nbsp;&lt;/EM&gt;in the drop down.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could it be that I need to use a special "tag" like "ui" that is used for the default color picker palette?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vegar_1-1601540637431.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41528iB1254E118DA8C007/image-size/large?v=v2&amp;amp;px=999" role="button" title="Vegar_1-1601540637431.png" alt="Vegar_1-1601540637431.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#808080"&gt;Note: The green color is a color I recognize from my theme, but even if I change the color codes for all my colors the original green color is still there after I reload the page with cache refresh. (I only see this behaviour in this default by measure palette, all other colors reflects the changes in my theme.json file.&amp;nbsp;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Default-color-by-measure-palette-in-custom-theme/m-p/1748733#M13306</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2024-11-16T18:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Default color by measure palette in custom theme</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Default-color-by-measure-palette-in-custom-theme/m-p/1971812#M17232</link>
      <description>&lt;P&gt;I can see this in an old post but in case any one else is having the same issue I've found the solution...&lt;BR /&gt;&lt;BR /&gt;For your first Scale, or whichever you want as the default, you need to set the&amp;nbsp; &amp;nbsp;"propertyValue": "sg" for a sequential gradient ,&amp;nbsp;"sc" for a sequential class, "dg" for diverging gradient and "dc" for diverging class.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any additional scales then need a unique propertyValue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;example where a Navy gradient would be the default:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;"scales": [&lt;BR /&gt;{&lt;BR /&gt;"name": "Navy Gradient",&lt;BR /&gt;"translation": "Navy Gradient",&lt;BR /&gt;"type": "gradient",&lt;BR /&gt;"propertyValue": "sg",&lt;BR /&gt;"scale": [&lt;BR /&gt;"#142032",&lt;BR /&gt;"#4772B3",&lt;BR /&gt;"#c5dcff"&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"name": " Green Gradient",&lt;BR /&gt;"translation": " Green Gradient",&lt;BR /&gt;"type": "gradient",&lt;BR /&gt;"propertyValue": "sg_Green",&lt;BR /&gt;"scale": [&lt;BR /&gt;"#0b1c12",&lt;BR /&gt;"#43b072", &lt;BR /&gt;"#BAE4CC"&lt;BR /&gt;]&lt;BR /&gt;...&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 09:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Default-color-by-measure-palette-in-custom-theme/m-p/1971812#M17232</guid>
      <dc:creator>ClaireR</dc:creator>
      <dc:date>2022-08-23T09:35:17Z</dc:date>
    </item>
  </channel>
</rss>

