<?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 Change the tooltip of Chart Widget in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-the-tooltip-of-chart-widget/m-p/736296#M475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to : 1. remove the Pie chart &lt;STRONG&gt;black label text&lt;/STRONG&gt;&amp;nbsp; as picture 1 (e.g., &lt;STRONG&gt;Populaiton_Other&lt;/STRONG&gt;);&amp;nbsp; 2. Change the popup tooltiop text color to white -- current it is green (see picture 2). Any hints how to do it? Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG&gt;Picture 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="PieChart1.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/207738_PieChart1.png" style="width: 620px; height: 496px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Picture 2&lt;/P&gt;&lt;P&gt;&lt;IMG alt="PieChart2.png" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/207739_PieChart2.png" style="width: 620px; height: 496px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2016 23:07:41 GMT</pubDate>
    <dc:creator>MichaelTootoo</dc:creator>
    <dc:date>2016-06-14T23:07:41Z</dc:date>
    <item>
      <title>Change the tooltip of Chart Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-the-tooltip-of-chart-widget/m-p/736296#M475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to : 1. remove the Pie chart &lt;STRONG&gt;black label text&lt;/STRONG&gt;&amp;nbsp; as picture 1 (e.g., &lt;STRONG&gt;Populaiton_Other&lt;/STRONG&gt;);&amp;nbsp; 2. Change the popup tooltiop text color to white -- current it is green (see picture 2). Any hints how to do it? Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG&gt;Picture 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="PieChart1.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/207738_PieChart1.png" style="width: 620px; height: 496px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Picture 2&lt;/P&gt;&lt;P&gt;&lt;IMG alt="PieChart2.png" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/207739_PieChart2.png" style="width: 620px; height: 496px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 23:07:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-the-tooltip-of-chart-widget/m-p/736296#M475</guid>
      <dc:creator>MichaelTootoo</dc:creator>
      <dc:date>2016-06-14T23:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change the tooltip of Chart Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-the-tooltip-of-chart-widget/m-p/736297#M476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you have probably figured out the things you are wanting to change are not configurable as they are hard coded into the widget files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the tooltip font color open the Preview.js in the Chart widgets folder and find line 1525, 1662, 1735, 1847,&amp;nbsp; 2050, 2143, 2237, 2338, 2524, 2605, 2685 &amp;amp; 2771 (assuming wab ver 2.0) and you will find this line:&lt;/P&gt;&lt;P&gt;tooltip: "&amp;lt;div style='color:&lt;STRONG&gt;green&lt;/STRONG&gt;;margin:5px 10px;'&amp;gt;" + (change as desired)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the tooltip background color you need to modify the preview.css to add a rule that overwrites the dojo-override.css&lt;/P&gt;&lt;P&gt;.claro .dijitTooltipContainer {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; background-color: #fff !important;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; opacity: 0.9 !important;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; border: 1px solid #000 !important;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far I have not been able to find a way to remove the labels from the chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:10:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-the-tooltip-of-chart-widget/m-p/736297#M476</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-06-15T16:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change the tooltip of Chart Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-the-tooltip-of-chart-widget/m-p/736298#M477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very helpful.Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 13:52:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-the-tooltip-of-chart-widget/m-p/736298#M477</guid>
      <dc:creator>MichaelTootoo</dc:creator>
      <dc:date>2016-06-16T13:52:11Z</dc:date>
    </item>
  </channel>
</rss>

