<?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: Y Axis Scaling in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Y-Axis-Scaling/m-p/260970#M16427</link>
    <description>&lt;P&gt;Do you set the token $YAxisMax$ after REALLY BIG SEARCH? I see in the answer that you linked it was in an input.&lt;/P&gt;

&lt;P&gt;I was thinking that you could add&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
&amp;lt;/search&amp;gt;
&amp;lt;preview&amp;gt;
&amp;lt;set token="YAxisMax"=$result.&amp;lt;fieldname&amp;gt;$&amp;gt;&amp;lt;/set&amp;gt;
&amp;lt;/preview&amp;gt;
&amp;lt;option name="charting......
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where the  is the field where the y axis count is coming from. Not sure if it'd work or not, but that's how I generally set tokens that I use in my dashboards.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2016 13:51:45 GMT</pubDate>
    <dc:creator>cmerriman</dc:creator>
    <dc:date>2016-10-20T13:51:45Z</dc:date>
    <item>
      <title>Y Axis Scaling</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Y-Axis-Scaling/m-p/260967#M16424</link>
      <description>&lt;P&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/2028iFB087AA0039DAE40/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;Hi,&lt;BR /&gt;
We have a few dashboards were we set the Y axis height depending on the query results.  However, it seems that this option has now been removed in 6.5.0?&lt;/P&gt;

&lt;P&gt;The answer to this &lt;A href="https://answers.splunk.com/answers/241875/how-to-set-max-y-axis-value-to-a-number-derived-fr.html"&gt;question&lt;/A&gt; is what we were doing and worked great.  Is there any way to have this functionality again?  Downgrading is not an option &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Cheers&lt;BR /&gt;
Steve&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 08:41:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Y-Axis-Scaling/m-p/260967#M16424</guid>
      <dc:creator>cdstealer</dc:creator>
      <dc:date>2016-10-20T08:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Y Axis Scaling</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Y-Axis-Scaling/m-p/260968#M16425</link>
      <description>&lt;P&gt;If you're using this for a bar chart, according to the doc, charting.axisY.maximumNumber is still an option. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Viz/ChartConfigurationReference"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Viz/ChartConfigurationReference&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Could there be a problem with the token being set? Can you post your syntax?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 12:38:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Y-Axis-Scaling/m-p/260968#M16425</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-20T12:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Y Axis Scaling</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Y-Axis-Scaling/m-p/260969#M16426</link>
      <description>&lt;P&gt;Hi Cmerriman,&lt;BR /&gt;
Thanks for the reply.  Everything was working and only broke with the upgrade.  Anyways, here are the code snippets.&lt;/P&gt;

&lt;P&gt;Define the token:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt;     &amp;lt;input type="dropdown" token="YAxisMax" searchWhenChanged="false" depends="$hidden$"&amp;gt;
     &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;REALLY BIG SEARCH&amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;YAxisMax&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;YAxisMax&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;selectFirstChoice&amp;gt;true&amp;lt;/selectFirstChoice&amp;gt;
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Chart code:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;row&amp;gt;
  &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;title&amp;gt;XIV Usage For Each Site by $displayby$&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;REALLY BIG SEARCH&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-60m@m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;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;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.maximumNumber"&amp;gt;$YAxisMax$&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.stackMode"&amp;gt;stacked&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
&amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Hope that helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Steve&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 13:42:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Y-Axis-Scaling/m-p/260969#M16426</guid>
      <dc:creator>cdstealer</dc:creator>
      <dc:date>2016-10-20T13:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Y Axis Scaling</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Y-Axis-Scaling/m-p/260970#M16427</link>
      <description>&lt;P&gt;Do you set the token $YAxisMax$ after REALLY BIG SEARCH? I see in the answer that you linked it was in an input.&lt;/P&gt;

&lt;P&gt;I was thinking that you could add&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
&amp;lt;/search&amp;gt;
&amp;lt;preview&amp;gt;
&amp;lt;set token="YAxisMax"=$result.&amp;lt;fieldname&amp;gt;$&amp;gt;&amp;lt;/set&amp;gt;
&amp;lt;/preview&amp;gt;
&amp;lt;option name="charting......
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where the  is the field where the y axis count is coming from. Not sure if it'd work or not, but that's how I generally set tokens that I use in my dashboards.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 13:51:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Y-Axis-Scaling/m-p/260970#M16427</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-20T13:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Y Axis Scaling</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Y-Axis-Scaling/m-p/260971#M16428</link>
      <description>&lt;P&gt;Hi Sorry, Yes, we set the token before the search.  This UI removed my code, I've added it back &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;The way our code works is it defines the token before any panels as the token is used in several charts.  This definition is on a search that has the maximums and this maximum is used for each chart so there is a visual representation of use.&lt;/P&gt;

&lt;P&gt;The chart below is an example.  The chart on the left would be the maximum and this maximum would also be used for the chart on the right.&lt;/P&gt;

&lt;P&gt;!!!! I hate that you can't attach images to comments &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;  Added to the top post.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 14:23:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Y-Axis-Scaling/m-p/260971#M16428</guid>
      <dc:creator>cdstealer</dc:creator>
      <dc:date>2016-10-20T14:23:23Z</dc:date>
    </item>
  </channel>
</rss>

