<?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: Bar Chart in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Bar-Chart/m-p/146495#M8929</link>
    <description>&lt;P&gt;something like this&lt;/P&gt;

&lt;P&gt;search giving field project, status | eval nStatus=case(status="s1",1,status="s2",2,status="s3",3,1=1,4) | table project, nStatus&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2014 17:49:01 GMT</pubDate>
    <dc:creator>rahulroy_splunk</dc:creator>
    <dc:date>2014-02-11T17:49:01Z</dc:date>
    <item>
      <title>Bar Chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Bar-Chart/m-p/146493#M8927</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Here is my data looks like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;project     status
p1            s1
p2            s3
p3           
p4            s1
p5            s2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I  would like to create a bar chart as below:&lt;BR /&gt;
&lt;IMG src="http://answers.splunk.com//storage/barchart_1.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Sanjay&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 16:29:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Bar-Chart/m-p/146493#M8927</guid>
      <dc:creator>sanjay_shrestha</dc:creator>
      <dc:date>2014-02-11T16:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Bar-Chart/m-p/146494#M8928</link>
      <description>&lt;P&gt;I believe the Y axis values have to be numeric, which is not in your case. Other option could be to use a numeric code for your status and do a chart based on that.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 17:28:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Bar-Chart/m-p/146494#M8928</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-02-11T17:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Bar-Chart/m-p/146495#M8929</link>
      <description>&lt;P&gt;something like this&lt;/P&gt;

&lt;P&gt;search giving field project, status | eval nStatus=case(status="s1",1,status="s2",2,status="s3",3,1=1,4) | table project, nStatus&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 17:49:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Bar-Chart/m-p/146495#M8929</guid>
      <dc:creator>rahulroy_splunk</dc:creator>
      <dc:date>2014-02-11T17:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Bar-Chart/m-p/146496#M8930</link>
      <description>&lt;P&gt;I was able to create using numerical values, however it would not be verbose. Is there a way to change labels or display reference matching table.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 17:49:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Bar-Chart/m-p/146496#M8930</guid>
      <dc:creator>sanjay_shrestha</dc:creator>
      <dc:date>2014-02-11T17:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Bar-Chart/m-p/146497#M8931</link>
      <description>&lt;P&gt;I couldn't fine any options for that so far. Here is another tweak see if this is acceptable for you.&lt;/P&gt;

&lt;P&gt;search giving field project, status| eval nStatus=case(status="s1",1,status="s2",2,status="s3",3,1=1,0) | chart max(nStatus) as MyStatus over project by status | rename VALUE as NA&lt;/P&gt;

&lt;P&gt;status will appear as legend and bars will have different color for each status.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 18:34:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Bar-Chart/m-p/146497#M8931</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-02-11T18:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Bar-Chart/m-p/146498#M8932</link>
      <description>&lt;P&gt;Thanks for the solution.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 18:53:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Bar-Chart/m-p/146498#M8932</guid>
      <dc:creator>sanjay_shrestha</dc:creator>
      <dc:date>2014-02-11T18:53:18Z</dc:date>
    </item>
  </channel>
</rss>

