<?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[ma-serial-chart Y axis]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I'm trying to have two values on the Y access of a graph. They are within the same numeric range. (0-100ish)</p>
<p dir="auto">For example, I have a motor where I monitor Amps, and Hz of the motor speed controller over a period of time which can be selected by the date bar.</p>
<p dir="auto">I can add Amps alone, and I can add Hz alone, but as soon as I try to add them together using different series, the page comes up blank.</p>
<p dir="auto">Its also worth noting that I can add the Amps from multiple motors on different series, so I'm guessing it is a conflict with the units of Hz and A being on the same Y axis.</p>
<p dir="auto">Below is the relevant code I'm using:</p>
<pre><code>&lt;ma-point-values point-xid="DP_motoramps" values="MotorAmps" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}} {{dateBar.rollupIntervalPeriod}}"&gt;
&lt;/ma-point-values&gt;

&lt;ma-point-values point-xid="DP_motorvfd" values="MotorHz" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}} {{dateBar.rollupIntervalPeriod}}"&gt;
&lt;/ma-point-values&gt;

&lt;ma-serial-chart  style="height: 100%; width: 100%" series-1-values="MotorAmps" series-1-title="Motor AMPS" series-2-values="MotorHz" series-2-title="Motor Hz"  legend="true" balloon="true" export="true"&gt;
&lt;/ma-serial-chart&gt;
</code></pre>
<p dir="auto">Also, while I'm on the topic, I've noticed that when I mess up the syntax in any way, the preview in the page editor just shows up blank. Is there any log or debugger I can use to determine what is causing it not to render?</p>
<p dir="auto">Thanks for the help.</p>
]]></description><link>https://forum.mango-os.com/topic/4123/ma-serial-chart-y-axis</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 01:14:19 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4123.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 Mar 2019 15:46:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ma-serial-chart Y axis on Fri, 29 Mar 2019 16:42:06 GMT]]></title><description><![CDATA[<p dir="auto">Hi fishfacs,</p>
<blockquote>
<p dir="auto">Its also worth noting that I can add the Amps from multiple motors on different series, so I'm guessing it is a conflict with the units of Hz and A being on the same Y axis.</p>
</blockquote>
<p dir="auto">I wouldn't think so, series with different units can share an axis.</p>
<p dir="auto">It could be:</p>
<ol>
<li>The chart is displaying with no height. I saw this using your code snippet, but solved it by putting all those directives into a <code>&lt;div style="height: 300px"&gt;&lt;/div&gt;</code></li>
<li>One of the series is much more dense than the other and you've hit the limit of point values on a chart (5001 by default) and the less dense series isn't getting to return much data before that limit gets hit. Perhaps try a rollup like "Start" ?</li>
</ol>
<p dir="auto">Have you tried clicking on the series in the chart legend to see if you can see the other series simply by disabling the display of one of them?</p>
<blockquote>
<p dir="auto">Also, while I'm on the topic, I've noticed that when I mess up the syntax in any way, the preview in the page editor just shows up blank. Is there any log or debugger I can use to determine what is causing it not to render?</p>
</blockquote>
<p dir="auto">You can open your browser's developer tools. Sometimes you'll see a related error for certain sorts of mistakes in the markup, but not always.</p>
]]></description><link>https://forum.mango-os.com/post/21697</link><guid isPermaLink="true">https://forum.mango-os.com/post/21697</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Fri, 29 Mar 2019 16:42:06 GMT</pubDate></item></channel></rss>