<?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 enable users to select from a set of chart types on a panel? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-enable-users-to-select-from-a-set-of-chart-types-on-a/m-p/276194#M83320</link>
    <description>&lt;P&gt;Hi @zeinstein - Did the answer provided by rjthibod help provide a working solution to your question? If yes, please don't forget to resolve this post by clicking "Accept". If no, please leave a comment with more feedback. Thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 04 Feb 2017 00:26:56 GMT</pubDate>
    <dc:creator>aaraneta_splunk</dc:creator>
    <dc:date>2017-02-04T00:26:56Z</dc:date>
    <item>
      <title>How to enable users to select from a set of chart types on a panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enable-users-to-select-from-a-set-of-chart-types-on-a/m-p/276190#M83316</link>
      <description>&lt;P&gt;Expected result: I have a panel displaying a line chart, the user can access (without the "Edit" option) the pre-set chart type selection (e.g. a dropdown list, as it is in the Edit mode, containing Bar Chart, Line Chart, Area Chart) and the panel's visualization can be set accordingly.&lt;BR /&gt;
Is there a way to do this, other than creating all the choices and hide/show them according to the user's choice? (Like it was suggested in the answer for "How to create a radio button for chart type?").&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 13:08:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enable-users-to-select-from-a-set-of-chart-types-on-a/m-p/276190#M83316</guid>
      <dc:creator>zeinstein</dc:creator>
      <dc:date>2017-02-03T13:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable users to select from a set of chart types on a panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enable-users-to-select-from-a-set-of-chart-types-on-a/m-p/276191#M83317</link>
      <description>&lt;P&gt;You can use a dropdown or radio button to set the chart type, and then use the token &lt;CODE&gt;$chart_typ$&lt;/CODE&gt; in the options for the chart.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input searchWhenChanged="true" token="chart_type" type="dropdown"&amp;gt;
  &amp;lt;label&amp;gt;Select Chart Type&amp;lt;/label&amp;gt;
  &amp;lt;choice value="line"&amp;gt;Line&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="column"&amp;gt;Column&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="area"&amp;gt;Area&amp;lt;/choice&amp;gt; 
  &amp;lt;default&amp;gt;line&amp;lt;/default&amp;gt;
  &amp;lt;showClearButton&amp;gt;false&amp;lt;/showClearButton&amp;gt;
&amp;lt;/input&amp;gt;
....

&amp;lt;chart&amp;gt;
  &amp;lt;option name="charting.chart"&amp;gt;$chart_type$&amp;lt;/option&amp;gt;
&amp;lt;/chart&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Feb 2017 14:07:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enable-users-to-select-from-a-set-of-chart-types-on-a/m-p/276191#M83317</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-02-03T14:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable users to select from a set of chart types on a panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enable-users-to-select-from-a-set-of-chart-types-on-a/m-p/276192#M83318</link>
      <description>&lt;P&gt;Thank you! Yes, this is the safest solution I could come up with, as well. My only sadness is that it doesn't show the little icons of the chart types for the users.&lt;BR /&gt;
Anyhow, I really appreciate your answer!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 14:11:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enable-users-to-select-from-a-set-of-chart-types-on-a/m-p/276192#M83318</guid>
      <dc:creator>zeinstein</dc:creator>
      <dc:date>2017-02-03T14:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable users to select from a set of chart types on a panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enable-users-to-select-from-a-set-of-chart-types-on-a/m-p/276193#M83319</link>
      <description>&lt;P&gt;Those chart icons are custom menus from Splunk. You have to replicate that and/or create your own, and would likely be a maintenance/support nightmare to maintain.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 14:18:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enable-users-to-select-from-a-set-of-chart-types-on-a/m-p/276193#M83319</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-02-03T14:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable users to select from a set of chart types on a panel?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-enable-users-to-select-from-a-set-of-chart-types-on-a/m-p/276194#M83320</link>
      <description>&lt;P&gt;Hi @zeinstein - Did the answer provided by rjthibod help provide a working solution to your question? If yes, please don't forget to resolve this post by clicking "Accept". If no, please leave a comment with more feedback. Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2017 00:26:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-enable-users-to-select-from-a-set-of-chart-types-on-a/m-p/276194#M83320</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2017-02-04T00:26:56Z</dc:date>
    </item>
  </channel>
</rss>

