<?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: Timeline - Custom Visualization: How to hide the legend? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222108#M24350</link>
    <description>&lt;P&gt;Yea nothing in the docs... so was asking if anyone knew a way of hiding the legend, say, with JS considering it is a D3js visualisation or if anyone has done anything similar before? &lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2016 09:24:38 GMT</pubDate>
    <dc:creator>Guitaraholis</dc:creator>
    <dc:date>2016-11-08T09:24:38Z</dc:date>
    <item>
      <title>Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222104#M24346</link>
      <description>&lt;P&gt;I'm incorporating the Timeline - Custom Visualization into a dashboard for a custom app. The legend on the right causes the panel to scroll for a long time (due to us charting multiple events). Is there an option i can specify which would 'hide' the legend without needing a CSS type hack to remove it? &lt;/P&gt;

&lt;P&gt;Almost something like :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;option name="timeline_app.timeline.legend"&amp;gt;none&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Nov 2016 15:57:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222104#M24346</guid>
      <dc:creator>Guitaraholis</dc:creator>
      <dc:date>2016-11-07T15:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222105#M24347</link>
      <description>&lt;P&gt;Just use:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.legend.placement"&amp;gt;none&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Nov 2016 17:04:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222105#M24347</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2016-11-07T17:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222106#M24348</link>
      <description>&lt;P&gt;Its a custom vizualisation app from splunkbase .... uses the  directive so chart options don't work with it... &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;viz type="timeline_app.timeline"&amp;gt;
    &amp;lt;search&amp;gt;
&amp;lt;--  SNIP --&amp;gt;
        &amp;lt;/search&amp;gt;
    &amp;lt;option name="height"&amp;gt;189&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.axisTimeFormat"&amp;gt;MINUTES&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.colorMode"&amp;gt;categorical&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.legend"&amp;gt;none&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.legend.placement"&amp;gt;none&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.maxColor"&amp;gt;#DA5C5C&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.minColor"&amp;gt;#FFE8E8&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.numOfBins"&amp;gt;6&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.tooltipTimeFormat"&amp;gt;MINUTES&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.useColors"&amp;gt;1&amp;lt;/option&amp;gt;
    &amp;lt;option name="height"&amp;gt;400&amp;lt;/option&amp;gt;
  &amp;lt;/viz&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Nov 2016 19:30:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222106#M24348</guid>
      <dc:creator>Guitaraholis</dc:creator>
      <dc:date>2016-11-07T19:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222107#M24349</link>
      <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Timeline/1.1.0/TimelineViz/TimelineXML"&gt;http://docs.splunk.com/Documentation/Timeline/1.1.0/TimelineViz/TimelineXML&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I don't use this app, but I don't see anything in the docs about hiding the legend.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 21:15:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222107#M24349</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-11-07T21:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222108#M24350</link>
      <description>&lt;P&gt;Yea nothing in the docs... so was asking if anyone knew a way of hiding the legend, say, with JS considering it is a D3js visualisation or if anyone has done anything similar before? &lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 09:24:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222108#M24350</guid>
      <dc:creator>Guitaraholis</dc:creator>
      <dc:date>2016-11-08T09:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222109#M24351</link>
      <description>&lt;P&gt;did you get a soution to this, i have the same issue?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 13:57:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222109#M24351</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2017-02-24T13:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222110#M24352</link>
      <description>&lt;P&gt;i ended up doing it with custom css styling to 'hide' it and then limit force the width of the panel to fit... hopefully something that gets added to it in time &lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 14:00:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222110#M24352</guid>
      <dc:creator>Guitaraholis</dc:creator>
      <dc:date>2017-02-24T14:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222111#M24353</link>
      <description>&lt;P&gt;Hi @Guitaraholis,&lt;/P&gt;

&lt;P&gt;I just came across your question. We don't currently support this scenario in Timeline, but we are looking at supplying more options for legends in an upcoming release. &lt;/P&gt;

&lt;P&gt;Thank you for the feedback.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 22:27:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222111#M24353</guid>
      <dc:creator>magnew_splunk</dc:creator>
      <dc:date>2017-03-28T22:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222112#M24354</link>
      <description>&lt;P&gt;Hi, I am looking for same thing. it will be great help if you can guide how to do it with css ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Ankit&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 09:35:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222112#M24354</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2017-08-21T09:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222113#M24355</link>
      <description>&lt;P&gt;@agoyal, Timeline app uses legend class for displaying/styling Legends&lt;/P&gt;

&lt;P&gt;You can add ID/s to Timeline Panel&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;viz type="timeline_app.timeline" id="timeline1"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And you can use CSS Style similar to the following to hide legends:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;html depends="$alwaysHideCSSStyleHTML$"
    &amp;lt;style&amp;gt;
       #timeline1 .legend{
             visibility:hidden !important;
       }
    &amp;lt;/style&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Aug 2017 10:46:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222113#M24355</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-08-21T10:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222114#M24356</link>
      <description>&lt;P&gt;@niketnilay : Thanks, I have added this css  in .css file which is included in dashboard.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.timeline1.legend{
 visibility:hidden !important;
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;its not working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 12:37:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222114#M24356</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2017-08-21T12:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222115#M24357</link>
      <description>&lt;P&gt;Have you added  &lt;CODE&gt;id="timeline1"&lt;/CODE&gt; to your timeline chart?&lt;/P&gt;

&lt;P&gt;Otherwise you can remove &lt;CODE&gt;.timeline1&lt;/CODE&gt; from the CSS to see if Legend gets removed.&lt;/P&gt;

&lt;P&gt;Not sure if this is applicable in this case but try refreshing/restarting Splunk and clearning up Chrome Browser history, in case you are receiving cached output.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 12:41:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222115#M24357</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-08-21T12:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222116#M24358</link>
      <description>&lt;P&gt;@niketnilay: You are always a savior for me. Clearing chrome's browser history worked for me. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 12:59:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222116#M24358</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2017-08-21T12:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222117#M24359</link>
      <description>&lt;P&gt;Glad it worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 13:29:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/222117#M24359</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-08-21T13:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline - Custom Visualization: How to hide the legend?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/672491#M80075</link>
      <description>&lt;P&gt;Thanks! If I could, I would give you 10 Karma for this solution. It makes the panel so much nicer&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 09:21:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Timeline-Custom-Visualization-How-to-hide-the-legend/m-p/672491#M80075</guid>
      <dc:creator>blablabla</dc:creator>
      <dc:date>2023-12-21T09:21:32Z</dc:date>
    </item>
  </channel>
</rss>

