<?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: Chart Widget Color Question in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/chart-widget-color-question/m-p/503854#M14149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;try adding following in UIManager.as &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if (numberOfStyleColors &amp;gt; 4)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var cssStyleDeclarationChartDataTips:CSSStyleDeclaration = new CSSStyleDeclaration();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cssStyleDeclarationChartDataTips.setStyle("backgroundColor", backgroundColor);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; topLevelStyleManager.setStyleDeclaration("mx.charts.chartClasses.DataTip", cssStyleDeclarationChartDataTips, false);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;before this line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; var cssStyleDeclarationModal:CSSStyleDeclaration = topLevelStyleManager.getStyleDeclaration("global")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 22:06:43 GMT</pubDate>
    <dc:creator>MehulChoksey</dc:creator>
    <dc:date>2021-12-11T22:06:43Z</dc:date>
    <item>
      <title>Chart Widget Color Question</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/chart-widget-color-question/m-p/503853#M14148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone know how to change the color of the pop up window that appears when you mouse over a field from black to another color.&amp;nbsp; My text is a darker grey and it blends in with the black.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex Sanders&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Texas General Land Office&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 20:31:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/chart-widget-color-question/m-p/503853#M14148</guid>
      <dc:creator>AlexSanders</dc:creator>
      <dc:date>2011-04-04T20:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Widget Color Question</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/chart-widget-color-question/m-p/503854#M14149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;try adding following in UIManager.as &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if (numberOfStyleColors &amp;gt; 4)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var cssStyleDeclarationChartDataTips:CSSStyleDeclaration = new CSSStyleDeclaration();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cssStyleDeclarationChartDataTips.setStyle("backgroundColor", backgroundColor);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; topLevelStyleManager.setStyleDeclaration("mx.charts.chartClasses.DataTip", cssStyleDeclarationChartDataTips, false);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;before this line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; var cssStyleDeclarationModal:CSSStyleDeclaration = topLevelStyleManager.getStyleDeclaration("global")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:06:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/chart-widget-color-question/m-p/503854#M14149</guid>
      <dc:creator>MehulChoksey</dc:creator>
      <dc:date>2021-12-11T22:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Widget Color Question</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/chart-widget-color-question/m-p/503855#M14150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mehul,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That worked perfectly, thank you for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex Sanders&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 14:22:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/chart-widget-color-question/m-p/503855#M14150</guid>
      <dc:creator>AlexSanders</dc:creator>
      <dc:date>2011-04-05T14:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Widget Color Question</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/chart-widget-color-question/m-p/503856#M14151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I Have the same problem, but the solution doesn't work for me. Using the suggested code results in an error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1120: Access of undefined property numberOfStyleColors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently still in Flexviewer 2.1, maybe that's the reason?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 11:46:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/chart-widget-color-question/m-p/503856#M14151</guid>
      <dc:creator>MattiasEkström</dc:creator>
      <dc:date>2011-05-05T11:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Widget Color Question</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/chart-widget-color-question/m-p/503857#M14152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mattias,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; That is your issue. Try this if statement instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;if (configData.styleColors.length &amp;gt; 4)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 12:21:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/chart-widget-color-question/m-p/503857#M14152</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-05-05T12:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Widget Color Question</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/chart-widget-color-question/m-p/503858#M14153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, that worked for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 13:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/chart-widget-color-question/m-p/503858#M14153</guid>
      <dc:creator>MattiasEkström</dc:creator>
      <dc:date>2011-05-05T13:00:50Z</dc:date>
    </item>
  </channel>
</rss>

