<?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: Controlling chart (y axis) range in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87046#M22238</link>
    <description>&lt;P&gt;for  simple XML it should be &lt;/P&gt;

&lt;P&gt;&amp;lt; option name="charting.axisY.minimumNumber"&amp;gt;0&lt;/P&gt;

&lt;P&gt;&amp;lt; option name="charting.axisY.maximumNumber"&amp;gt;15&lt;/P&gt;

&lt;P&gt;NOT secondaryAxis but axisY&lt;/P&gt;</description>
    <pubDate>Thu, 25 Dec 2014 22:11:21 GMT</pubDate>
    <dc:creator>stanwin</dc:creator>
    <dc:date>2014-12-25T22:11:21Z</dc:date>
    <item>
      <title>Controlling chart (y axis) range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87039#M22231</link>
      <description>&lt;P&gt;I am charting a range of 30 values (let's call them R) staring around 689511876 ending 690635036. The timechart report gives me a y-axis-min=0 y-axis-max=700,000,000. I want the y-axis min and max to be data dependent, i.e. y-axis-min=min(R) and the y-axis-max=max(R) is there a way to easily do this? If not, how do I get more a more reasonable y-axis range?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2011 20:33:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87039#M22231</guid>
      <dc:creator>natrixia</dc:creator>
      <dc:date>2011-04-21T20:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling chart (y axis) range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87040#M22232</link>
      <description>&lt;P&gt;1) When you use Splunk's report builder,  in the 'format report' view, there are a bunch of options that are often missed.   Click 'y-axis' and you'll see textfields where you can set the minimum and maximum range of the report.  When you save the report from that interface, these values will get preserved in a 'viewstate' object that's linked to the report. &lt;/P&gt;

&lt;P&gt;2) If you dont want the extra baggage of using report builder and viewstates, and you're already comfortable editing your own views,  it's quite easy to set this range directly in the view XML:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="charting.secondaryAxis.minimumNumber"&amp;gt;650000000&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.secondaryAxis.maximumNumber"&amp;gt;700000000&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;3) there is a charting key called "charting.chart.axisY.includeZero", and I used it on a weird prototype once to do exactly this, ie snap in snugly around the data automatically.  Of course this was a long time ago,  and the charting reference also says that the default is 'false' (which doesnt really match observed behavior), so I could be misremembering. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/CustomChartingConfig-AxisGrid"&gt;http://www.splunk.com/base/Documentation/latest/Developer/CustomChartingConfig-AxisGrid&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;but give it a shot cause it might do what you want: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="charting.chart.axisY.includeZero"&amp;gt;False&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;NOTE: these &lt;CODE&gt;&amp;lt;param&amp;gt;&lt;/CODE&gt; tags are in the advanced XML syntax,  intended to be put inside &lt;CODE&gt;HiddenChartFormatter&lt;/CODE&gt; module.  If you're using the simplified XML, you use slightly different syntax but you can probably figure that out. &lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2011 00:31:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87040#M22232</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-04-22T00:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling chart (y axis) range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87041#M22233</link>
      <description>&lt;P&gt;The minimumNumber/maximumNumber work but includeZero=false is broken (at least using 'option' via the SimpleXML). This seems to be a bug, where should I file the report?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2011 07:41:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87041#M22233</guid>
      <dc:creator>natrixia</dc:creator>
      <dc:date>2011-04-22T07:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling chart (y axis) range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87042#M22234</link>
      <description>&lt;P&gt;You can email &lt;A href="mailto:support@splunk.com"&gt;support@splunk.com&lt;/A&gt; with any bug.  Cause this is kind of an obscure key, include all the details you can to help them reproduce and investigate.&lt;/P&gt;

&lt;P&gt;NOTE: by the way comments like this should always be actual comments on answers or on questions,  rather than being entered in the form of an alternate answer.  The 'add new comment' link is a little hard to see in the new design, but things work better that way.  Feel free to add yr 'answer' as a comment and I'll move my comment over likewise.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2011 18:03:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87042#M22234</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-04-22T18:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling chart (y axis) range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87043#M22235</link>
      <description>&lt;P&gt;This feature "includeZero=false" was indeed broken, and now it seems to be fixed. However, there is a twist to this. Setting charting.chart.axisY.includeZero will have no effect, and the correct property is now charting.axisY.includeZero&lt;/P&gt;

&lt;P&gt;In other words, instead of using &amp;lt;param name="charting.chart.axisY.includeZero"&amp;gt;False&amp;lt;/param&amp;gt;&lt;/P&gt;

&lt;P&gt;Now, you need to use &amp;lt;param name="charting.axisY.includeZero"&amp;gt;False&amp;lt;/param&amp;gt;&lt;/P&gt;

&lt;P&gt;With this fix, our charts can look prettier than ever before.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2011 07:09:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87043#M22235</guid>
      <dc:creator>mic</dc:creator>
      <dc:date>2011-11-11T07:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling chart (y axis) range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87044#M22236</link>
      <description>&lt;P&gt;I would be happy to see an example of doing this in the simplified XML syntax.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2013 23:53:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87044#M22236</guid>
      <dc:creator>travis_bear</dc:creator>
      <dc:date>2013-10-28T23:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling chart (y axis) range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87045#M22237</link>
      <description>&lt;P&gt;It's the same except simple xml uses &lt;CODE&gt;&amp;lt;option&amp;gt;&lt;/CODE&gt; for these keys instead of &lt;CODE&gt;&amp;lt;param&amp;gt;&lt;/CODE&gt;. &lt;/P&gt;

&lt;P&gt;So: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.secondaryAxis.minimumNumber"&amp;gt;650000000&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.secondaryAxis.maximumNumber"&amp;gt;700000000&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.chart.axisY.includeZero"&amp;gt;False&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Viz/PanelreferenceforSimplifiedXML#Panel_visualization_elements"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/Viz/PanelreferenceforSimplifiedXML#Panel_visualization_elements&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2013 23:58:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87045#M22237</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-10-28T23:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling chart (y axis) range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87046#M22238</link>
      <description>&lt;P&gt;for  simple XML it should be &lt;/P&gt;

&lt;P&gt;&amp;lt; option name="charting.axisY.minimumNumber"&amp;gt;0&lt;/P&gt;

&lt;P&gt;&amp;lt; option name="charting.axisY.maximumNumber"&amp;gt;15&lt;/P&gt;

&lt;P&gt;NOT secondaryAxis but axisY&lt;/P&gt;</description>
      <pubDate>Thu, 25 Dec 2014 22:11:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87046#M22238</guid>
      <dc:creator>stanwin</dc:creator>
      <dc:date>2014-12-25T22:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling chart (y axis) range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87047#M22239</link>
      <description>&lt;P&gt;this is a really cool tip. &lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 23:38:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Controlling-chart-y-axis-range/m-p/87047#M22239</guid>
      <dc:creator>sk314</dc:creator>
      <dc:date>2016-03-21T23:38:51Z</dc:date>
    </item>
  </channel>
</rss>

