<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Not able to show graph in md-dialog]]></title><description><![CDATA[<p dir="auto">I Want to show graph in md-dialog but not able to access data-points in dialog</p>
<p dir="auto">My code is following... &gt;&gt;--&gt;&gt;</p>
<p dir="auto">mydialog.html —&gt;</p>
<pre><code>&lt;md-dialog class="fullscreen-dialogss" aria-label="Full Screen Dialog Test"&gt;
  &lt;div&gt;
  &lt;md-card&gt;
    &lt;md-card-content&gt;
               &lt;div&gt;&lt;ma-point-values point-xid=“point_xid1” point="point1” values="point1" from="from" to="to" rollup="AVERAGE" auto-rollup-interval="true"&gt;&lt;/ma-point-values&gt;&lt;/div&gt;
      &lt;ma-serial-chart options="{theme:'black'}" style="height: 200px; width: 100%" series-1-values="point1" series-1-title="title1" series-1-type="line" series-1-color="#ff0000" legend="true" balloon="true"&gt;&lt;/ma-serial-chart&gt;
    &lt;/md-card-content&gt;
  &lt;/md-card&gt;
   &lt;/div&gt;
&lt;/md-dialog&gt;
</code></pre>
<p dir="auto"><em>And app.js</em> —&gt;</p>
<pre><code>$mdDialog.show({
                  scope:$rootScope,
                  preserveScope:false,
                  templateUrl: 'views/mydialog.html’,
                  targetEvent: ev,
                  clickOutsideToClose:false,
            })
</code></pre>
<pre><code></code></pre>
]]></description><link>https://forum.mango-os.com/topic/2954/not-able-to-show-graph-in-md-dialog</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 16:31:14 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2954.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Sep 2017 15:32:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Not able to show graph in md-dialog on Tue, 19 Sep 2017 15:49:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ganeshvarahade" aria-label="Profile: ganeshvarahade">@<bdi>ganeshvarahade</bdi></a> said in <a href="/post/15533">Not able to show graph in md-dialog</a>:</p>
<blockquote>
<p dir="auto">ok..Can we access datapoint values under app.js?</p>
</blockquote>
<p dir="auto">Yes there are angular services which are documented. Go into the menu editor and enable the "API Docs" menu.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ganeshvarahade" aria-label="Profile: ganeshvarahade">@<bdi>ganeshvarahade</bdi></a> said in <a href="/post/15533">Not able to show graph in md-dialog</a>:</p>
<blockquote>
<p dir="auto">Because I am getting specific values of specific data points under pop-up but I am not able to get Chart or Graph related values under pop-up so what procedure I need to follow?</p>
</blockquote>
<p dir="auto">I really cannot even begin to suggest anything because you have provided me no information about your project. You will have to tell me if you are using the dashboard designer/custom pages or a whole custom app and post your HTML markup and app.js if relevant.</p>
<p dir="auto">Did you address the issue with <code>preserveScope:false</code>?</p>
]]></description><link>https://forum.mango-os.com/post/15538</link><guid isPermaLink="true">https://forum.mango-os.com/post/15538</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Tue, 19 Sep 2017 15:49:45 GMT</pubDate></item><item><title><![CDATA[Reply to Not able to show graph in md-dialog on Tue, 19 Sep 2017 06:35:16 GMT]]></title><description><![CDATA[<p dir="auto">ok..Can we access datapoint values under app.js?<br />
Because I am getting specific values of specific data points under pop-up but I am not able to get Chart or Graph related values under pop-up so what procedure I need to follow?</p>
]]></description><link>https://forum.mango-os.com/post/15533</link><guid isPermaLink="true">https://forum.mango-os.com/post/15533</guid><dc:creator><![CDATA[ganeshvarahade]]></dc:creator><pubDate>Tue, 19 Sep 2017 06:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to Not able to show graph in md-dialog on Mon, 18 Sep 2017 15:45:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ganeshvarahade" aria-label="Profile: ganeshvarahade">@<bdi>ganeshvarahade</bdi></a> This question doesn't really have anything to do with Mango and is more of a question about AngularJS Material, please be sure to read their documentation - <a href="https://material.angularjs.org/latest/" rel="nofollow ugc">https://material.angularjs.org/latest/</a></p>
<p dir="auto">By passing <code>preserveScope:false</code> I believe you will destroy the root scope which is not desirable. Try using <code>locals</code> instead.</p>
]]></description><link>https://forum.mango-os.com/post/15524</link><guid isPermaLink="true">https://forum.mango-os.com/post/15524</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Mon, 18 Sep 2017 15:45:07 GMT</pubDate></item></channel></rss>