<?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: How to get a column chart to show all x-axis labels? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-column-chart-to-show-all-x-axis-labels/m-p/287547#M87045</link>
    <description>&lt;P&gt;How about this? (will show 0 count for score that are not returned by your search)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; some search | stats count by score | append [| gentimes start=-1 | eval score=mvrange(0,101) | table score | mvexpand score | eval count=0 ] | stats max(count) as count by score
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 23 Dec 2016 19:28:40 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-12-23T19:28:40Z</dc:date>
    <item>
      <title>How to get a column chart to show all x-axis labels?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-column-chart-to-show-all-x-axis-labels/m-p/287546#M87044</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I want to show score distribution by column chart. The score ranges from 0 to 100&lt;BR /&gt;
I have the below search and it gives me the correct result.  If I only have fewer scores it will show the score labels.&lt;BR /&gt;
However, but it won't show all the score labels on x-axis.&lt;BR /&gt;
Is there anyway to show all 0-100 on the x-axis?&lt;BR /&gt;
Thanks and merry Christmas.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;some search | stats count by score.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Dec 2016 17:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-column-chart-to-show-all-x-axis-labels/m-p/287546#M87044</guid>
      <dc:creator>kualo</dc:creator>
      <dc:date>2016-12-23T17:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a column chart to show all x-axis labels?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-column-chart-to-show-all-x-axis-labels/m-p/287547#M87045</link>
      <description>&lt;P&gt;How about this? (will show 0 count for score that are not returned by your search)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; some search | stats count by score | append [| gentimes start=-1 | eval score=mvrange(0,101) | table score | mvexpand score | eval count=0 ] | stats max(count) as count by score
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Dec 2016 19:28:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-column-chart-to-show-all-x-axis-labels/m-p/287547#M87045</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-12-23T19:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a column chart to show all x-axis labels?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-column-chart-to-show-all-x-axis-labels/m-p/287548#M87046</link>
      <description>&lt;P&gt;I think plotting of 100 data points on x-axis is would not be possible unless you reduce browser text size to 90% or 85% or more or maybe display up to 85 data points on x-axis.&lt;/P&gt;

&lt;P&gt;You can try some charting properties to accommodate as many data points as possible: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;-90&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisLabelsX.majorLabelVisibility"&amp;gt;show&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisX.includeZero"&amp;gt;true&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can also explore &lt;STRONG&gt;Punchcard&lt;/STRONG&gt; custom visualization which can plot the 100 series data in x-axis (offers 45 degree rotation for labels)&lt;/P&gt;</description>
      <pubDate>Sat, 24 Dec 2016 11:39:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-column-chart-to-show-all-x-axis-labels/m-p/287548#M87046</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2016-12-24T11:39:17Z</dc:date>
    </item>
  </channel>
</rss>

