<?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 do I set the legend placement for a chart in an HTML dashboard? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-set-the-legend-placement-for-a-chart-in-an-HTML/m-p/116345#M6704</link>
    <description>&lt;P&gt;This worked - Thanks.&lt;BR /&gt;
I had been hoping to have a django-bindings option, so that all the options were in one place.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Oct 2013 17:44:56 GMT</pubDate>
    <dc:creator>unclethan</dc:creator>
    <dc:date>2013-10-28T17:44:56Z</dc:date>
    <item>
      <title>How do I set the legend placement for a chart in an HTML dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-set-the-legend-placement-for-a-chart-in-an-HTML/m-p/116343#M6702</link>
      <description>&lt;P&gt;According to &lt;A href="http://docs.splunk.com/Documentation/WebFramework"&gt;http://docs.splunk.com/Documentation/WebFramework&lt;/A&gt;, "Charts support the same properties supported by the Splunk JSChart library", however I am unable to find the correct incantation to set 'charting.legend.placement' to 'bottom'.&lt;/P&gt;

&lt;P&gt;Does anyone have an example of how to set this up?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 23:11:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-set-the-legend-placement-for-a-chart-in-an-HTML/m-p/116343#M6702</guid>
      <dc:creator>unclethan</dc:creator>
      <dc:date>2013-10-25T23:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the legend placement for a chart in an HTML dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-set-the-legend-placement-for-a-chart-in-an-HTML/m-p/116344#M6703</link>
      <description>&lt;P&gt;I think you can just pass it as an option to the chart constructor:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;var ChartView = require("splunkjs/mvc/chartview");
new ChartView({
    id: "example-chart",
    managerid: "example-search",
    type: "line",
    el: $("#mychart"),
    "charting.legend.placement": "bottom"
}).render();
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or set it after the chart has been created:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunkjs.mvc.Components.getInstance("example-chart").settings.set({
    "charting.legend.placement": "bottom",
});
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Oct 2013 16:22:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-set-the-legend-placement-for-a-chart-in-an-HTML/m-p/116344#M6703</guid>
      <dc:creator>Simon_Fishel</dc:creator>
      <dc:date>2013-10-27T16:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the legend placement for a chart in an HTML dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-set-the-legend-placement-for-a-chart-in-an-HTML/m-p/116345#M6704</link>
      <description>&lt;P&gt;This worked - Thanks.&lt;BR /&gt;
I had been hoping to have a django-bindings option, so that all the options were in one place.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2013 17:44:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-set-the-legend-placement-for-a-chart-in-an-HTML/m-p/116345#M6704</guid>
      <dc:creator>unclethan</dc:creator>
      <dc:date>2013-10-28T17:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the legend placement for a chart in an HTML dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-set-the-legend-placement-for-a-chart-in-an-HTML/m-p/116346#M6705</link>
      <description>&lt;P&gt;Here you can find the possible values for &lt;CODE&gt;charting.legend.*&lt;/CODE&gt;: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Viz/CustomChartingConfig-ChartLegend#Legend"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Viz/CustomChartingConfig-ChartLegend#Legend&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 10:09:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-set-the-legend-placement-for-a-chart-in-an-HTML/m-p/116346#M6705</guid>
      <dc:creator>bhawkins1</dc:creator>
      <dc:date>2017-01-12T10:09:06Z</dc:date>
    </item>
  </channel>
</rss>

