<?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 set a fixed height for all tables or charts in a panel? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152889#M42857</link>
    <description>&lt;P&gt;I added the js section of my app page.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Aug 2015 16:42:35 GMT</pubDate>
    <dc:creator>edrivera3</dc:creator>
    <dc:date>2015-08-03T16:42:35Z</dc:date>
    <item>
      <title>How to set a fixed height for all tables or charts in a panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152886#M42854</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have the following panel that has to two different charts/visualizations. The table changes its height depending on the results. I would like to know how to set a fixed height for all charts/visualizations in this panel or at least for the table.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\&amp;lt;div class="dashboard-row"\&amp;gt;
&amp;lt;div class="dashboard-cell" style="width: 50%;"&amp;gt;
    &amp;lt;div class="dashboard-panel"&amp;gt;
    &amp;lt;div class="dashboard-element"&amp;gt;
        &amp;lt;div class="panel-head"&amp;gt;
        &amp;lt;h3&amp;gt; Transaction Heat Map&amp;lt;/h3&amp;gt;
        &amp;lt;div class="panel-body"&amp;gt;
            &amp;lt;div id="heat_transaction"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div class="dashboard-cell" style="width: 50%;"&amp;gt;
    &amp;lt;div class="dashboard-panel"&amp;gt;
    &amp;lt;div class="dashboard-element"&amp;gt;
        &amp;lt;div class="panel-head"&amp;gt;
        &amp;lt;h3&amp;gt;Transactions&amp;lt;/h3&amp;gt;
        &amp;lt;div class="panel-body"&amp;gt;
            &amp;lt;div id="tableTransaction"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;    
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;{% block js %}&lt;BR /&gt;
&amp;lt;script&amp;gt;&lt;BR /&gt;
    var deps = [&lt;BR /&gt;
        "splunkjs/ready!",&lt;BR /&gt;
    "jquery",&lt;BR /&gt;
    "splunk_wftoolkit/components/calendarheatmap/calendarheatmap",&lt;BR /&gt;
        "splunkjs/mvc/searchmanager",&lt;BR /&gt;
        "splunkjs/mvc/chartview",&lt;BR /&gt;
    "splunkjs/mvc/singleview",&lt;BR /&gt;
    "splunkjs/mvc/timelineview",&lt;BR /&gt;
        "splunkjs/mvc/tableview"&lt;BR /&gt;&lt;BR /&gt;
    ];&lt;BR /&gt;
    require(deps, function(mvc) {&lt;BR /&gt;
        // Load individual components&lt;BR /&gt;
        var SearchManager = require("splunkjs/mvc/searchmanager");&lt;BR /&gt;
        var ChartView = require("splunkjs/mvc/chartview");&lt;BR /&gt;
    var SingleView = require("splunkjs/mvc/singleview");&lt;BR /&gt;
    var TableView = require("splunkjs/mvc/tableview");&lt;BR /&gt;
    var TimelineView = require("splunkjs/mvc/timelineview");&lt;BR /&gt;
        var CalendarMap = require("splunk_wftoolkit/components/calendarheatmap/calendarheatmap");   &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;// table
var transactions = new SearchManager({
        id: "transactions",
        preview: true,
        cache: true,
        status_buckets: 1000,
    search: 'index=transactions earliest="3/1/2015:00:00:00" latest="5/23/2015:00:00:00" | table id,trans'
    });

var tableTransaction = new TableView({
    id: "tableTransaction",
    managerid: "transactions",
    el: $("#tableTransaction")
}).render();

// Heat
    var trans_heat = new SearchManager({
    id: "trans_heat",
    preview: true,
    catche: true,
    status_buckets: 1000,
    search: 'index=transactions earliest="5/19/2015:00:00:00" latest="5/23/2015:00:00:00"  | timechart span=1h count by index',
});

var heat_transaction = new CalendarMap({
    id: "heat_transaction",
    managerid: "trans_heat",
    domain: "day",
    subDomain: "hour",
    el: $("#heat_transaction")
}).render();

});
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;
{% endblock js %}&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:52:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152886#M42854</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2020-09-29T06:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a fixed height for all tables or charts in a panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152887#M42855</link>
      <description>&lt;P&gt;There is nothing in Simple XML that will set fixed panel sizes. But you can convert your dashboard to HTML and then use HTML/CSS to format it however you want.&lt;/P&gt;

&lt;P&gt;I suggest that you do everything you can using the visual editor and Simple XML - then convert and format.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 16:09:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152887#M42855</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-08-03T16:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a fixed height for all tables or charts in a panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152888#M42856</link>
      <description>&lt;P&gt;How can I convert my app page to HTML?  &lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 16:28:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152888#M42856</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-08-03T16:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a fixed height for all tables or charts in a panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152889#M42857</link>
      <description>&lt;P&gt;I added the js section of my app page.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 16:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152889#M42857</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-08-03T16:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a fixed height for all tables or charts in a panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152890#M42858</link>
      <description>&lt;P&gt;So now you can use CSS and HTML style settings to set the widths, heights - whatever you want.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 18:45:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152890#M42858</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-08-03T18:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a fixed height for all tables or charts in a panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152891#M42859</link>
      <description>&lt;P&gt;But how???&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 18:47:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152891#M42859</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-08-03T18:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a fixed height for all tables or charts in a panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152892#M42860</link>
      <description>&lt;P&gt;Now you will either need to learn some HTML and CSS, or hire someone who knows this stuff.&lt;/P&gt;

&lt;P&gt;There are tons of resources on the Internet: I typed "learn CSS" into Google and got 45 million hits... &lt;A href="http://www.w3schools.com/css/"&gt;http://www.w3schools.com/css/&lt;/A&gt; is a nice resource.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 19:50:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-a-fixed-height-for-all-tables-or-charts-in-a-panel/m-p/152892#M42860</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-08-03T19:50:32Z</dc:date>
    </item>
  </channel>
</rss>

