<?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 straight table background color expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/straight-table-background-color-expression/m-p/145288#M24021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have the same problem in Qlikview 9 with scatter plot&lt;/P&gt;&lt;P&gt;set chart=ActiveDocument.GetSheetObject("CH.volcano")&lt;BR /&gt;chart.RemoveExpression 1&lt;BR /&gt;chart.RemoveExpression 0&lt;BR /&gt;chart.AddExpression baseN&amp;amp; ".coef"&lt;BR /&gt;chart.AddExpression baseN&amp;amp; ".pval"&lt;BR /&gt;chart.AddBkgColorExpression "ColorMix1(xRDbefore080615.DEF.Ave/Max(TOTAL xRDbefore080615.DEF.Ave),white(),red())",0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above code modifies a existing chart except changing point color. it adds the ColrMix.. expression as a new property of the first expression instead of adding it into the "Background Color" definition slot. Add the expression into "Background Color" definition slot manually works as supposed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jul 2009 21:24:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-07-13T21:24:51Z</dc:date>
    <item>
      <title>straight table background color expression</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table-background-color-expression/m-p/145287#M24020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Using Oleg's color document (good stuff) I can set the color of cell backgrounds but I need to set an expression instead (eg '=fieldvalue('Repair', 1) ') so that it is set at calculation time.&lt;/P&gt;&lt;P&gt;The example in the API guide that seemed like it should work doesnt (8.20) although the macro interpretor doesnt complain about the code:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;set Graph = ActiveDocument.Sheets("Main").CreateBarChart&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Graph.AddDimension "ProductType"&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Graph.AddExpression "sum(Amount)"&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Graph.AddBkgColorExpression "if(sum(Amount)&amp;gt;10,green(),red())",0&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 16:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table-background-color-expression/m-p/145287#M24020</guid>
      <dc:creator />
      <dc:date>2009-05-28T16:30:13Z</dc:date>
    </item>
    <item>
      <title>straight table background color expression</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table-background-color-expression/m-p/145288#M24021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have the same problem in Qlikview 9 with scatter plot&lt;/P&gt;&lt;P&gt;set chart=ActiveDocument.GetSheetObject("CH.volcano")&lt;BR /&gt;chart.RemoveExpression 1&lt;BR /&gt;chart.RemoveExpression 0&lt;BR /&gt;chart.AddExpression baseN&amp;amp; ".coef"&lt;BR /&gt;chart.AddExpression baseN&amp;amp; ".pval"&lt;BR /&gt;chart.AddBkgColorExpression "ColorMix1(xRDbefore080615.DEF.Ave/Max(TOTAL xRDbefore080615.DEF.Ave),white(),red())",0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above code modifies a existing chart except changing point color. it adds the ColrMix.. expression as a new property of the first expression instead of adding it into the "Background Color" definition slot. Add the expression into "Background Color" definition slot manually works as supposed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2009 21:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table-background-color-expression/m-p/145288#M24021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-13T21:24:51Z</dc:date>
    </item>
  </channel>
</rss>

