<?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: increase the size of a chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/increase-the-size-of-a-chart/m-p/72393#M18106</link>
    <description>&lt;P&gt;do i need to use span to be able to set the height of my chart?  I edited the xml and tried adding in the charting.chart.height but my chart would no longer draw.  I tried from 500 up to 4500 but still no luck&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2012 03:54:39 GMT</pubDate>
    <dc:creator>infinitiguy</dc:creator>
    <dc:date>2012-02-16T03:54:39Z</dc:date>
    <item>
      <title>increase the size of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/increase-the-size-of-a-chart/m-p/72391#M18104</link>
      <description>&lt;P&gt;I'm using a bar chart (stacked) with a search query of sourcetype="log4j" | timechart count by log4j_ERROR_with_3_words&lt;/P&gt;

&lt;P&gt;This gives me a top count of errors over the course of 30 days.  Unfortunately the bar chart is really small and I only see 2 dates (Jan 16th and Jan 30th) with really small lines.  I would love to increase the size of the chart so the X axis (date) can display more text - even every 5th day out of a 30 day spread would be better than what it's showing now.&lt;/P&gt;

&lt;P&gt;Is this possible, and if so how?  Below is the XML I'm using for the chart&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;row&amp;gt;
    &amp;lt;chart&amp;gt;
      &amp;lt;searchString&amp;gt;sourcetype="stash_log4j" | timechart count by   stash_log4j_ERROR_with_3_words&amp;lt;/searchString&amp;gt;
      &amp;lt;title&amp;gt;30 Day error summary&amp;lt;/title&amp;gt;
      &amp;lt;earliestTime&amp;gt;-30d@h&amp;lt;/earliestTime&amp;gt;
      &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
      &amp;lt;option name="charting.axisTitleX.text"&amp;gt;Date&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.axisTitleY.text"&amp;gt;Number of total errors&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.chart"&amp;gt;bar&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.stackMode"&amp;gt;stacked&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.layout.splitSeries"&amp;gt;false&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.legend.placement"&amp;gt;bottom&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.primaryAxisTitle.text"/&amp;gt;
      &amp;lt;option name="charting.secondaryAxis.maximumNumber"&amp;gt;""&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.secondaryAxis.minimumNumber"&amp;gt;""&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.secondaryAxis.scale"&amp;gt;""&amp;lt;/option&amp;gt;
      &amp;lt;option name="charting.secondaryAxisTitle.text"/&amp;gt;
      &amp;lt;option name="count"&amp;gt;50&amp;lt;/option&amp;gt;
      &amp;lt;option name="displayRowNumbers"&amp;gt;true&amp;lt;/option&amp;gt;
    &amp;lt;/chart&amp;gt;
  &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:24:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/increase-the-size-of-a-chart/m-p/72391#M18104</guid>
      <dc:creator>infinitiguy</dc:creator>
      <dc:date>2020-09-28T11:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: increase the size of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/increase-the-size-of-a-chart/m-p/72392#M18105</link>
      <description>&lt;P&gt;Use the span option for your timechart.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
...| timechart span=1d count by stash_log4j_ERROR_with_3_words&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Also, make sure you put a height option inside your charting options so you can modify the height.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
&amp;lt;option name="charting.chart.height"&amp;gt;500&amp;lt;/option&amp;gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:24:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/increase-the-size-of-a-chart/m-p/72392#M18105</guid>
      <dc:creator>Lamar</dc:creator>
      <dc:date>2020-09-28T11:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: increase the size of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/increase-the-size-of-a-chart/m-p/72393#M18106</link>
      <description>&lt;P&gt;do i need to use span to be able to set the height of my chart?  I edited the xml and tried adding in the charting.chart.height but my chart would no longer draw.  I tried from 500 up to 4500 but still no luck&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 03:54:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/increase-the-size-of-a-chart/m-p/72393#M18106</guid>
      <dc:creator>infinitiguy</dc:creator>
      <dc:date>2012-02-16T03:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: increase the size of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/increase-the-size-of-a-chart/m-p/72394#M18107</link>
      <description>&lt;P&gt;the below option allowed me to change the size of the chart&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;option name="height"&amp;gt;1600&amp;lt;/option&amp;gt; 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I found the answer here:&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/3885/set-height-of-chart-in-view-conf"&gt;http://splunk-base.splunk.com/answers/3885/set-height-of-chart-in-view-conf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;charting.chart.height did not work&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 18:21:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/increase-the-size-of-a-chart/m-p/72394#M18107</guid>
      <dc:creator>infinitiguy</dc:creator>
      <dc:date>2012-02-16T18:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: increase the size of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/increase-the-size-of-a-chart/m-p/72395#M18108</link>
      <description>&lt;P&gt;I just had to deal with this issue. I am surprised to not see any good answers.&lt;BR /&gt;
So I had to figure it out:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;module name="FlashChart"&amp;gt;&lt;BR /&gt;
    &amp;lt;param name="width"&amp;gt;100%&amp;lt;/param&amp;gt;&lt;BR /&gt;
    &amp;lt;param name="height"&amp;gt;350px&amp;lt;/param&amp;gt;&lt;BR /&gt;
  &amp;lt;module name="Gimp"/&amp;gt;&lt;BR /&gt;
    &amp;lt;module name="ConvertToDrilldownSearch"&amp;gt;&lt;BR /&gt;
        &amp;lt;module name="ViewRedirector"&amp;gt;&lt;BR /&gt;
            &amp;lt;param name="viewTarget"&amp;gt;flashtimeline&amp;lt;/param&amp;gt;&lt;BR /&gt;
        &amp;lt;/module&amp;gt;&lt;BR /&gt;
    &amp;lt;/module&amp;gt;&lt;BR /&gt;
&amp;lt;/module&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You have to specify the number, followed by px for pixels. If you put only the number it just won't work. &lt;BR /&gt;
Also, note that this height is really the height of the chart itself. You have to account for an extra 50 pixels for the frame.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2014 23:31:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/increase-the-size-of-a-chart/m-p/72395#M18108</guid>
      <dc:creator>sansay</dc:creator>
      <dc:date>2014-07-22T23:31:45Z</dc:date>
    </item>
  </channel>
</rss>

