<?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[Using &lt;ma-heat-map&gt; with multiple datapoints]]></title><description><![CDATA[<p dir="auto">Dear IAS staff,</p>
<p dir="auto">Is it possible to use &lt;ma-heat-map&gt; with multiple datapoints showing current measured heatmap?</p>
<p dir="auto">General idea is to use multiple datapoints and then arrange them into the heatmap to show measurement uniformity of that object.</p>
<p dir="auto">As an example found in the internet, this shows multiple sets of data on the x scale but one dataset would be sufficient if it is possible easily:</p>
<p dir="auto"><img src="https://camo.nodebb.org/fa8eb1b55ef80687ec265bb73db028b3ea07be6e?url=https%3A%2F%2Fi.imgur.com%2FFwT4Ds8.png" alt="0_1571397233557_b5aecc3a-05f5-4d1b-bbea-b1e2c75c81a0-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Edit: Actually quite stupid question because this can be solved with ng-style and HSL coloring. D3 styling just creates nice gradients which is nice.</p>
<p dir="auto">Example:</p>
<pre><code>    &lt;div ng-style="{'background-color': 'hsl('+ CPUTEMP1.value / 85 * 350 + ', 100%, 70.5%)'}" layout-fill&gt;
    &lt;span ng-bind="CPUTEMP1.value"&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div ng-style="{'background-color': 'hsl('+ CPUTEMP2.value / 85 * 350 + ', 100%, 70.5%)'}" layout-fill&gt;
    &lt;span ng-bind="CPUTEMP2.value"&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div ng-style="{'background-color': 'hsl('+ CPUTEMP3.value / 85 * 350 + ', 100%, 70.5%)'}" layout-fill&gt;
    &lt;span ng-bind="CPUTEMP3.value"&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div ng-style="{'background-color': 'hsl('+ CPUTEMP4.value / 85 * 350 + ', 100%, 70.5%)'}" layout-fill&gt;
    &lt;span ng-bind="CPUTEMP4.value"&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div ng-style="{'background-color': 'hsl('+ CPUTEMP5.value / 85 * 350 + ', 100%, 70.5%)'}" layout-fill&gt;
    &lt;span ng-bind="CPUTEMP5.value"&gt;&lt;/span&gt;
    &lt;/div&gt;
</code></pre>
<p dir="auto">Thanks<br />
Thomas</p>
]]></description><link>https://forum.mango-os.com/topic/4522/using-ma-heat-map-with-multiple-datapoints</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 19:05:44 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4522.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 18 Oct 2019 10:59:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using &lt;ma-heat-map&gt; with multiple datapoints on Fri, 18 Oct 2019 18:06:37 GMT]]></title><description><![CDATA[<p dir="auto">OK, looks like you solved your problem using a custom solution using D3 in a user module. Nice work.</p>
]]></description><link>https://forum.mango-os.com/post/23874</link><guid isPermaLink="true">https://forum.mango-os.com/post/23874</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Fri, 18 Oct 2019 18:06:37 GMT</pubDate></item></channel></rss>