<?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 Edit legend from Choropleth map chart in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-legend-from-Choropleth-map-chart/m-p/391691#M25686</link>
    <description>&lt;P&gt;Hey guys,&lt;/P&gt;

&lt;P&gt;I'm building a Choropleth map chart and I would like to edit the legend values range. &lt;/P&gt;

&lt;P&gt;The data that is being inputted on this chart is as this:&lt;BR /&gt;
{"A" : "1",&lt;BR /&gt;
"B" : "3",&lt;BR /&gt;
"C" : "5"}&lt;/P&gt;

&lt;P&gt;As you can see in the image below, the legend values doesn't make any sense:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5221iDD88152DB8AC8920/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;What I would like to have, is a legend where the values vary as:&lt;BR /&gt;
Red: 1 to 2&lt;BR /&gt;
Yellow: 2 to 4&lt;BR /&gt;
Green: 4 to 5&lt;/P&gt;

&lt;P&gt;Close to what I got here below, but with different values:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5222i4E92656868DD2988/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Can someone please help?&lt;/P&gt;

&lt;P&gt;Thanks a lot (:&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 19:43:21 GMT</pubDate>
    <dc:creator>gcescatto</dc:creator>
    <dc:date>2018-06-21T19:43:21Z</dc:date>
    <item>
      <title>Edit legend from Choropleth map chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-legend-from-Choropleth-map-chart/m-p/391691#M25686</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;

&lt;P&gt;I'm building a Choropleth map chart and I would like to edit the legend values range. &lt;/P&gt;

&lt;P&gt;The data that is being inputted on this chart is as this:&lt;BR /&gt;
{"A" : "1",&lt;BR /&gt;
"B" : "3",&lt;BR /&gt;
"C" : "5"}&lt;/P&gt;

&lt;P&gt;As you can see in the image below, the legend values doesn't make any sense:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5221iDD88152DB8AC8920/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;What I would like to have, is a legend where the values vary as:&lt;BR /&gt;
Red: 1 to 2&lt;BR /&gt;
Yellow: 2 to 4&lt;BR /&gt;
Green: 4 to 5&lt;/P&gt;

&lt;P&gt;Close to what I got here below, but with different values:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5222i4E92656868DD2988/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Can someone please help?&lt;/P&gt;

&lt;P&gt;Thanks a lot (:&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 19:43:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-legend-from-Choropleth-map-chart/m-p/391691#M25686</guid>
      <dc:creator>gcescatto</dc:creator>
      <dc:date>2018-06-21T19:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Edit legend from Choropleth map chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-legend-from-Choropleth-map-chart/m-p/391692#M25687</link>
      <description>&lt;P&gt;I can answer part of your question, because I just solved it for a different context. Let's say "count" is the variable you're mapping. You can use the &lt;EM&gt;case&lt;/EM&gt; command (through &lt;EM&gt;eval&lt;/EM&gt;) to group your "count" into categories and give them any names you want. &lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;P&gt;| eval count=case(count&amp;lt;3, "Red: 1 to 2", (count&amp;lt;=3 AND count&amp;lt;5), "Yellow: 3 to 4", count&amp;gt;=5, "Green: 5 to 6")&lt;/P&gt;

&lt;P&gt;I recognize you originally said you wanted "1-2", "2-4" and "4-5" as your ranges, but I would suggest not having the same number be the top of one range and the bottom of the next. &lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 17:26:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-legend-from-Choropleth-map-chart/m-p/391692#M25687</guid>
      <dc:creator>TarlKudrick</dc:creator>
      <dc:date>2018-08-30T17:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Edit legend from Choropleth map chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-legend-from-Choropleth-map-chart/m-p/391693#M25688</link>
      <description>&lt;P&gt;You may take a look here: &lt;A href="https://answers.splunk.com/answers/313032/how-to-apply-colors-of-a-choropleth-map-on-a-field.html"&gt;https://answers.splunk.com/answers/313032/how-to-apply-colors-of-a-choropleth-map-on-a-field.html&lt;/A&gt;&lt;BR /&gt;
Based on the answer of @TarlKudrick and the information in the other post, I could get the choropleth map display a legend of 9 custom ranges using the colors I wanted for each range.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 07:25:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-legend-from-Choropleth-map-chart/m-p/391693#M25688</guid>
      <dc:creator>splunk68</dc:creator>
      <dc:date>2019-03-01T07:25:27Z</dc:date>
    </item>
  </channel>
</rss>

