<?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: How to set custom color in ComboChart created in MashUp ? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-custom-color-in-ComboChart-created-in-MashUp/m-p/2025726#M17935</link>
    <description>&lt;P&gt;Now I understand your question better, thanks for clarifying.&lt;/P&gt;&lt;P&gt;What you need to do is&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Use master measures and define the color of those measures first&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgu_0-1673636747566.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98044iFE0CBA53108B97BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cgu_0-1673636747566.png" alt="cgu_0-1673636747566.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;When defining comboChart from the property panel I can see that you can use "Multicolored" mode and&amp;nbsp; choose&amp;nbsp;"Measure" under the "Use library colors" dropdown. That way it leverages the specific colors you set in step 1. See native property panel:&lt;BR /&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgu_1-1673637189510.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98046i7C86AAF201614EC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cgu_1-1673637189510.png" alt="cgu_1-1673637189510.png" /&gt;&lt;/span&gt;&lt;P&gt;When examining the chart properties, you see that under color object -&amp;nbsp; auto:false, mode:"primary" (also try mode:"multicolored" instead) and useBaseColors:"measure"&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgu_2-1673638224339.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98048i1FB032133B007F38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cgu_2-1673638224339.png" alt="cgu_2-1673638224339.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Fri, 13 Jan 2023 19:32:34 GMT</pubDate>
    <dc:creator>rankassovitz</dc:creator>
    <dc:date>2023-01-13T19:32:34Z</dc:date>
    <item>
      <title>How to set custom color in ComboChart created in MashUp ?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-custom-color-in-ComboChart-created-in-MashUp/m-p/2025622#M17931</link>
      <description>&lt;DIV&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have created a combochart in my mashup following this tutorial :&lt;/P&gt;
&lt;P&gt;&lt;A tabindex="-1" title="https://help.qlik.com/en-us/sense-developer/may2021/subsystems/mashups/content/sense_mashups/create/visualizations/combochart/create-combochart.htm#anchor-4" href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/Mashups/Content/Sense_Mashups/Create/Visualizations/Combochart/create-combochart.htm#anchor-4" target="_blank" rel="noreferrer noopener"&gt;https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/Mashups/Content/Sense_Mashups/Create/Visualizations/Combochart/create-combochart.htm#anchor-4&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Is there a way to set a specific color for each measure, without using a global theme for the Qlik app ?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;A id="link_5" class="lia-link-navigation lia-js-predefined-label" href="https://community.qlik.com/t5/forums/postpage/board-id/qlik-sense-integration-extension-api?message-subject=How%20to%20set%20custom%20color%20in%20ComboChart%20created%20in%20MashUp#" target="_blank" rel="noopener" name="API" aria-label="Choose Label: API"&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 15:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-custom-color-in-ComboChart-created-in-MashUp/m-p/2025622#M17931</guid>
      <dc:creator>bcherbonneau</dc:creator>
      <dc:date>2023-01-13T15:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to set custom color in ComboChart created in MashUp ?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-custom-color-in-ComboChart-created-in-MashUp/m-p/2025658#M17932</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;In order to override the default theme color pallet, you will have to set the color properties of the chart from 'auto:true' to 'auto:false' &amp;amp; set 'mode: byMeasure'. This is what the property panel looks like in the native product:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgu_2-1673627077002.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98027iC53880F0AA711814/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cgu_2-1673627077002.png" alt="cgu_2-1673627077002.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From API perspective, it looks like this (same use case):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgu_3-1673627178267.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98028iAB50B16660B1B9B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cgu_3-1673627178267.png" alt="cgu_3-1673627178267.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more details read here:&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/Mashups/Content/Sense_Mashups/Create/Visualizations/coloring.htm#anchor-6" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/Mashups/Content/Sense_Mashups/Create/Visualizations/coloring.htm#anchor-6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 16:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-custom-color-in-ComboChart-created-in-MashUp/m-p/2025658#M17932</guid>
      <dc:creator>rankassovitz</dc:creator>
      <dc:date>2023-01-13T16:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to set custom color in ComboChart created in MashUp ?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-custom-color-in-ComboChart-created-in-MashUp/m-p/2025675#M17933</link>
      <description>&lt;P style="font-weight: 400;"&gt;Thank you for your reply.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;From my understanding, mode: byMeasure allows to set colors depending on the measure value.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;That’s not exactly what I want : I want to be able to change the color of all the values of one measure.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;For example, if I have one set of bars, and one line, I would like to change the colors of :&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;- the bars : red (same color for all bars)&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;- the line : blue&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;That’s similar to the behavior when “Multicolored” is selected, except I want to customize the colors.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 16:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-custom-color-in-ComboChart-created-in-MashUp/m-p/2025675#M17933</guid>
      <dc:creator>bcherbonneau</dc:creator>
      <dc:date>2023-01-13T16:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to set custom color in ComboChart created in MashUp ?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-custom-color-in-ComboChart-created-in-MashUp/m-p/2025726#M17935</link>
      <description>&lt;P&gt;Now I understand your question better, thanks for clarifying.&lt;/P&gt;&lt;P&gt;What you need to do is&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Use master measures and define the color of those measures first&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgu_0-1673636747566.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98044iFE0CBA53108B97BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cgu_0-1673636747566.png" alt="cgu_0-1673636747566.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;When defining comboChart from the property panel I can see that you can use "Multicolored" mode and&amp;nbsp; choose&amp;nbsp;"Measure" under the "Use library colors" dropdown. That way it leverages the specific colors you set in step 1. See native property panel:&lt;BR /&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgu_1-1673637189510.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98046i7C86AAF201614EC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cgu_1-1673637189510.png" alt="cgu_1-1673637189510.png" /&gt;&lt;/span&gt;&lt;P&gt;When examining the chart properties, you see that under color object -&amp;nbsp; auto:false, mode:"primary" (also try mode:"multicolored" instead) and useBaseColors:"measure"&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgu_2-1673638224339.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98048i1FB032133B007F38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cgu_2-1673638224339.png" alt="cgu_2-1673638224339.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 13 Jan 2023 19:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-custom-color-in-ComboChart-created-in-MashUp/m-p/2025726#M17935</guid>
      <dc:creator>rankassovitz</dc:creator>
      <dc:date>2023-01-13T19:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to set custom color in ComboChart created in MashUp ?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-custom-color-in-ComboChart-created-in-MashUp/m-p/2026156#M17939</link>
      <description>&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Thank you for your time.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Sadly, this is not an option for me, since that would force me to create one master measure for each chart.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;I guess I should add more context to what I’m trying to achieve :&lt;/P&gt;
&lt;UL style="font-weight: 400;"&gt;
&lt;LI&gt;My initial goal was to display the “same” chart several times (10+), each time having a specific set of filters applied to it&lt;/LI&gt;
&lt;LI&gt;Since filters are global in Qlik, I can’t achieve this using only one item&lt;/LI&gt;
&lt;LI&gt;This means I would have to create n times the same chart, with a different filter each time&lt;/LI&gt;
&lt;LI&gt;To avoid this (and the maintenance cost it would incur) I had the idea to instead create objects on-the-fly in the mashup, which works great&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;To be more exact, I use a variable to generate the chart measure formulas, passing the filter values I want as parameters&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI&gt;BUT in this case, I can’t use master measures (correct me if I’m wrong on this one)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;I’ve managed to replicate the original object configuration/appearance, it only lacks the colors now…&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;I have also tried to set the “color” property for the measures (set inline in the “cols” of the combochart), but this didn’t seem to do anything.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;See&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/VisualizationAPI/combochart-properties.htm" data-saferedirecturl="https://www.google.com/url?q=https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/VisualizationAPI/combochart-properties.htm&amp;amp;source=gmail&amp;amp;ust=1673947439181000&amp;amp;usg=AOvVaw1wgVIVM1FiHPqDO3YVa3rG" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/VisualizationAPI/combochart-properties.htm&lt;/A&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;If there is an alternative way to achieve what I’m trying to do, I will gladly take it !&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 12:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-custom-color-in-ComboChart-created-in-MashUp/m-p/2026156#M17939</guid>
      <dc:creator>bcherbonneau</dc:creator>
      <dc:date>2023-01-16T12:59:31Z</dc:date>
    </item>
  </channel>
</rss>

