<?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[Help understanding the use of md-card]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have been testing a dashboard that builds on the code provided for one of the Adaptive Layout templates provided in the mango examples section.</p>
<p dir="auto">I have "dropped" the ma-point-values, ma-gauge-chart, formatted text, etc. "on top" of the cards where I would like them positioned using the designer GIU. When viewing the test page the layout is not as expected and when viewing the markup I notice that the items I have placed on the cards do not appear between the &lt;md-card-content&gt; &lt;/md-card-content&gt;tags.</p>
<p dir="auto">What is the proper way to build a dashboard using cards? Should the &lt;ma-point-values&gt;&lt;/ma-point-values&gt; be cut and paste to the proper location in the markup, or is there a process to follow for making this connection while using the GIU?</p>
<p dir="auto">-thank you</p>
]]></description><link>https://forum.mango-os.com/topic/2972/help-understanding-the-use-of-md-card</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 16:38:27 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2972.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 27 Sep 2017 13:38:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Help understanding the use of md-card on Fri, 29 Sep 2017 14:36:46 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Joel - This is very helpful.</p>
]]></description><link>https://forum.mango-os.com/post/15680</link><guid isPermaLink="true">https://forum.mango-os.com/post/15680</guid><dc:creator><![CDATA[Wingnut2.0]]></dc:creator><pubDate>Fri, 29 Sep 2017 14:36:46 GMT</pubDate></item><item><title><![CDATA[Reply to Help understanding the use of md-card on Thu, 28 Sep 2017 16:09:34 GMT]]></title><description><![CDATA[<p dir="auto">Here is a screen shot and the code that might help<br />
<img src="https://camo.nodebb.org/b47ec52268ea09f32d25a34fc51e278428b68b32?url=https%3A%2F%2Fi.imgur.com%2FZaFoC29.png" alt="0_1506614897408_26f8007a-70b8-480d-93fc-c4f1b167aa03-image.png" class=" img-fluid img-markdown" /></p>
<pre><code>&lt;link href='https://fonts.googleapis.com/css?family=Orbitron' rel='stylesheet' type='text/css'&gt;
&lt;style&gt;
    .digital-display {
        font-family: 'Orbitron', sans-serif;
        font-size: 40px;
        display: flex;
        height: 120px;
        align-items: center;
        justify-content: center;
    }
&lt;/style&gt;
&lt;ma-ui-state-params state-params="pageParams"&gt;&lt;/ma-ui-state-params&gt;

&lt;ma-point-hierarchy path="['Meters']" hierarchy="meterList"&gt;&lt;/ma-point-hierarchy&gt;
&lt;div layout layout-align="space-between center"&gt;
    &lt;md-button class="md-raised md-accent md-hue-1" ui-sref="ui.energyManagment.electricalDashboard"&gt;
        &lt;md-icon&gt;arrow_back&lt;/md-icon&gt;
        Back
    &lt;/md-button&gt;
        
    &lt;div layout layout-align="end center"&gt;
        &lt;md-button class="md-raised md-accent md-hue-3" ng-click="dateBar.preset ='DAY_SO_FAR'"&gt;
            TODAY
        &lt;/md-button&gt;
        &lt;md-button class="md-raised md-accent md-hue-3" ng-click="dateBar.preset ='MONTH_SO_FAR'"&gt;
            THIS MONTH
        &lt;/md-button&gt;
        &lt;md-button class="md-raised md-accent md-hue-3" ng-click="dateBar.preset ='PREVIOUS_MONTH'"&gt;
            LAST MONTH
        &lt;/md-button&gt;
        &lt;md-button class="md-raised md-accent md-hue-3" ng-click="dateBar.preset ='YEAR_SO_FAR'"&gt;
            YEAR
        &lt;/md-button&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;div ng-init="selectedMeter = pageParams.meterId"&gt;&lt;/div&gt;

&lt;div ng-if="!pageParams.meterId" layout layout-align="stert center"&gt;
    &lt;h2 style="padding-right: 20px;"&gt;Select Meter:&lt;/h2&gt;
    &lt;md-select flex ng-model="selectedMeter" ng-init="selectedMeter = 'VPM01'"&gt;
        &lt;md-option ng-repeat="meterName in meterList.subfolders" ng-value="meterName.name"&gt;{{meterName.name}}&lt;/md-option&gt;
    &lt;/md-select&gt;
    &lt;ma-point-hierarchy path="['Meters', selectedMeter]" hierarchy="$parent.meterData" points&gt;&lt;/ma-point-hierarchy&gt;
&lt;/div&gt;

&lt;div ng-if="pageParams.meterId" layout layout-align="stert center"&gt;
    &lt;h2 style="padding-right: 20px;"&gt;Select Meter:&lt;/h2&gt;
    &lt;md-select flex ng-model="selectedMeter" ng-init="selectedMeter = pageParams.meterId"&gt;
        &lt;md-option ng-repeat="meterName in meterList.subfolders" ng-value="meterName.name"&gt;{{meterName.name}}&lt;/md-option&gt;
    &lt;/md-select&gt;
    &lt;ma-point-hierarchy path="['Meters', selectedMeter]" hierarchy="$parent.meterData" points&gt;&lt;/ma-point-hierarchy&gt;
&lt;/div&gt;


&lt;div layout="column" layout-gt-sm="row" layout-align="space-between"&gt;
    &lt;md-card flex&gt;
        &lt;md-toolbar class="md-whiteframe-1dp md-hue-1"&gt;
    		&lt;div class="md-toolbar-tools"&gt;
    			&lt;h2 flex&gt;
    				&lt;span&gt;Instantaneous kW Total&lt;/span&gt;
    			&lt;/h2&gt;
    		&lt;/div&gt;
    	&lt;/md-toolbar&gt;
    	&lt;ma-calc input="meterData.points | filter:{name:'Power_Active_Total'} | maFirst" output="Power_Active_Total"&gt;&lt;/ma-calc&gt;
        &lt;!--&lt;ma-gauge-chart point-xid="{{Power_Active_Total.xid}}" interval="" start="0" end="0.4" --&gt;
        &lt;!--style="width:100%; height:250px; margin-bottom: -35px;" axis-thickness="12" axis-alpha="0.2" axis-label-font-size="10" value-offset="-60" value-font-size="12" tick-interval="" arrow-inner-radius="35" arrow-alpha="0.8"&gt;&lt;/ma-guage-chart&gt;--&gt;
        &lt;ma-get-point-value point-xid="{{Power_Active_Total.xid}}" point="powerVal"&gt;&lt;/ma-get-point-value&gt;
        &lt;div class="digital-display"&gt;
            {{powerVal.value | number:2}} kW
        &lt;/div&gt;
    &lt;/md-card&gt;
    &lt;md-card flex&gt;
        &lt;md-toolbar class="md-whiteframe-1dp md-hue-1"&gt;
    		&lt;div class="md-toolbar-tools"&gt;
    			&lt;h2 flex&gt;
    				&lt;span&gt;Instantaneous kW Demand&lt;/span&gt;
    			&lt;/h2&gt;
    		&lt;/div&gt;
    	&lt;/md-toolbar&gt;
        &lt;ma-calc input="meterData.points | filter:{name:'Demand_Active_Total'} | maFirst" output="Demand_Active_Total"&gt;&lt;/ma-calc&gt;
        &lt;!--&lt;ma-gauge-chart point-xid="{{Demand_Active_Total.xid}}" interval="" start="0" end="0.4" --&gt;
        &lt;!--style="width:100%; height:250px; margin-bottom: -35px;" axis-thickness="12" axis-alpha="0.4" axis-label-font-size="10" value-offset="-60" value-font-size="12" tick-interval="" arrow-inner-radius="35" arrow-alpha="0.8"&gt;&lt;/ma-guage-chart&gt;--&gt;
        &lt;ma-get-point-value point-xid="{{Demand_Active_Total.xid}}" point="Demand_Active_TotalVal"&gt;&lt;/ma-get-point-value&gt;
        &lt;div class="digital-display"&gt;
            {{Demand_Active_TotalVal.value | number:2}} kW
        &lt;/div&gt;
    &lt;/md-card&gt;
    &lt;md-card flex&gt;
        &lt;md-toolbar class="md-whiteframe-1dp md-hue-1"&gt;
    		&lt;div class="md-toolbar-tools"&gt;
    			&lt;h2 flex&gt;
    				&lt;span&gt;Peak kW Demand&lt;/span&gt;
    			&lt;/h2&gt;
    		&lt;/div&gt;
    	&lt;/md-toolbar&gt;
        &lt;ma-point-statistics point="Demand_Active_Total" from="dateBar.from" to="dateBar.to" statistics="Demand_Active_Total_Stats" rendered="false"&gt;
        &lt;/ma-point-statistics&gt;
        &lt;!--&lt;pre&gt;{{ Demand_Active_Total_Stats }}&lt;/pre&gt;--&gt;
        &lt;!--&lt;ma-gauge-chart value="Demand_Active_Total_Stats.maximum.value" interval="" start="0" end="0.4" --&gt;
        &lt;!--style="width:100%; height:250px; margin-bottom: -35px;" axis-thickness="12" axis-alpha="0.4" axis-label-font-size="10" value-offset="-60" value-font-size="12" tick-interval="" arrow-inner-radius="35" arrow-alpha="0.8"&gt;&lt;/ma-guage-chart&gt;--&gt;
        &lt;div class="digital-display"&gt;
            {{Demand_Active_Total_Stats.maximum.value| number:2}} kW
        &lt;/div&gt;
        
    &lt;/md-card&gt;
    &lt;md-card flex&gt;
        &lt;md-toolbar class="md-whiteframe-1dp md-hue-1"&gt;
    		&lt;div class="md-toolbar-tools"&gt;
    			&lt;h2 flex&gt;
    				&lt;span&gt;Total Energy&lt;/span&gt;
    			&lt;/h2&gt;
    		&lt;/div&gt;
    	&lt;/md-toolbar&gt;
    	&lt;ma-calc input="meterData.points | filter:{name:'Energy_Active_Total'} | maFirst" output="Energy_Active_Total"&gt;&lt;/ma-calc&gt;
        &lt;ma-point-statistics point="Energy_Active_Total" from="dateBar.from" to="dateBar.to" first-last="true" statistics="Energy_Active_Total_Stats" rendered="false"&gt;
        &lt;/ma-point-statistics&gt;
        &lt;!--&lt;pre&gt;{{Energy_Active_Total_Stats}}&lt;/pre&gt;--&gt;
        &lt;!--&lt;ma-gauge-chart value="Energy_Active_Total_Stats[1].value - Energy_Active_Total_Stats[0].value" interval="" start="0" end="40" --&gt;
        &lt;!--style="width:100%; height:250px; margin-bottom: -35px;" axis-thickness="12" axis-alpha="0.2" axis-label-font-size="10" value-offset="-60" value-font-size="12" tick-interval="" arrow-inner-radius="35" arrow-alpha="0.8"&gt;&lt;/ma-guage-chart&gt;--&gt;
        &lt;div class="digital-display"&gt;
            {{(Energy_Active_Total_Stats[1].value - Energy_Active_Total_Stats[0].value)  | number:2}} kWh
        &lt;/div&gt;
    &lt;/md-card&gt;
&lt;/div&gt;
&lt;div layout="column" layout-gt-sm="row"&gt;
    &lt;md-card flex="100" flex-gt-md="25"&gt;
        &lt;md-toolbar class="md-whiteframe-1dp md-hue-1"&gt;
    		&lt;div class="md-toolbar-tools"&gt;
    			&lt;h2 flex&gt;
    				&lt;span&gt;Energy Metrics&lt;/span&gt;
    			&lt;/h2&gt;
    		&lt;/div&gt;
    	&lt;/md-toolbar&gt;
        &lt;md-list class="md-dense"&gt;
            &lt;md-list-item layout&gt;
                &lt;h3&gt;Line-to-Neutral Voltage&lt;/h3&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Voltage Line-to-Neutral L1
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Voltage_LN_1'} | maFirst" output="Voltage_LN_1"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Voltage_LN_1.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Voltage Line-to-Neutral L2
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Voltage_LN_2'} | maFirst" output="Voltage_LN_2"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Voltage_LN_2.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Voltage Line-to-Neutral L3
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Voltage_LN_3'} | maFirst" output="Voltage_LN_3"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Voltage_LN_3.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Voltage Line-to-Neutral Average
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Voltage_LN_Average'} | maFirst" output="Voltage_LN_Average"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Voltage_LN_Average.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;

            &lt;md-divider&gt;&lt;/md-divider&gt;
            
            &lt;md-list-item layout&gt;
                &lt;h3&gt;Line-to-Line Voltage&lt;/h3&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Voltage Line-to-Line L1-2
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Voltage_LL_12'} | maFirst" output="Voltage_LL_12"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Voltage_LL_12.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Voltage Line-to-Line L2-3
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Voltage_LL_23'} | maFirst" output="Voltage_LL_23"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Voltage_LL_23.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Voltage Line-to-Line L3-1
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Voltage_LL_31'} | maFirst" output="Voltage_LL_31"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Voltage_LL_31.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Voltage Line-to-Line Average
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Voltage_LL_Average'} | maFirst" output="Voltage_LL_Average"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Voltage_LL_Average.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;

            &lt;md-divider&gt;&lt;/md-divider&gt;
            
            &lt;md-list-item layout&gt;
                &lt;h3&gt;Current&lt;/h3&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Current L1
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Current_1'} | maFirst" output="Current_1"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Current_1.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Current L2
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Current_2'} | maFirst" output="Current_2"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Current_2.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Current L3
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Current_3'} | maFirst" output="Current_3"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Current_3.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Current Total
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Current_Total'} | maFirst" output="Current_Total"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Current_Total.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;

            &lt;md-divider&gt;&lt;/md-divider&gt;
            
            &lt;md-list-item layout&gt;
                &lt;h3&gt;Power Factor&lt;/h3&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Power Factor L1
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'PF_1'} | maFirst" output="PF_1"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{PF_1.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Power Factor L2
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'PF_2'} | maFirst" output="PF_2"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{PF_2.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Power Factor L3
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'PF_3'} | maFirst" output="PF_3"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{PF_3.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Power Factor Overall
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'PF_Overall'} | maFirst" output="PF_Overall"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{PF_Overall.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            
            &lt;md-divider&gt;&lt;/md-divider&gt;
            
            &lt;md-list-item layout&gt;
                &lt;h3&gt;Active Power&lt;/h3&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Active Power L1
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Power_Active_1'} | maFirst" output="Power_Active_1"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Power_Active_1.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Active Power L2
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Power_Active_2'} | maFirst" output="Power_Active_2"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Power_Active_2.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Active Power L3
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Power_Active_3'} | maFirst" output="Power_Active_3"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Power_Active_3.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Active Power Total
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Power_Active_Total'} | maFirst" output="Power_Active_Total"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Power_Active_Total.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Active Power Demand
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Demand_Active_Total'} | maFirst" output="Demand_Active_Total"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Demand_Active_Total.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            
            &lt;md-divider&gt;&lt;/md-divider&gt;
            
            &lt;br&gt;
            &lt;md-list-item layout&gt;
                Frequency
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Frequency'} | maFirst" output="Frequency"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Frequency.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Reactive Power Total
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Power_Reactive_Total'} | maFirst" output="Power_Reactive_Total"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Power_Reactive_Total.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
            &lt;md-list-item layout&gt;
                Apparent Power Total
                &lt;span flex&gt;&lt;/span&gt;
                &lt;ma-calc input="meterData.points | filter:{name:'Power_Apparent_Total'} | maFirst" output="Power_Apparent_Total"&gt;&lt;/ma-calc&gt;
                &lt;ma-point-value point-xid="{{Power_Apparent_Total.xid}}" enable-popup="left"&gt;&lt;/ma-point-value&gt;
            &lt;/md-list-item&gt;
        &lt;/md-list&gt;
    &lt;/md-card&gt;
            
    &lt;md-card flex="100" flex-gt-md="75"&gt;
        &lt;md-toolbar class="md-whiteframe-1dp md-hue-1"&gt;
    		&lt;div class="md-toolbar-tools"&gt;
    			&lt;h2 flex&gt;
    				&lt;span&gt;Historical Charts&lt;/span&gt;
    			&lt;/h2&gt;
    		&lt;/div&gt;
    	&lt;/md-toolbar&gt;
        &lt;md-card-content layout="column"&gt;
            &lt;!--&lt;div layout="row" layout-xs="column"&gt;
                &lt;md-input-container flex&gt;
                &lt;label&gt;Preset&lt;/label&gt;
                &lt;ma-date-range-picker from="from" to="to" preset="LAST_1_DAYS" update-interval="5 seconds"&gt;&lt;/ma-date-range-picker&gt;
                &lt;/md-input-container&gt;
                &lt;md-input-container flex&gt;
                &lt;label&gt;From date&lt;/label&gt;
                &lt;ma-date-picker ng-model="from"&gt;&lt;/ma-date-picker&gt;
                &lt;/md-input-container&gt;
                &lt;md-input-container flex&gt;
                &lt;label&gt;To date&lt;/label&gt;
                &lt;ma-date-picker ng-model="to"&gt;&lt;/ma-date-picker&gt;
                &lt;/md-input-container&gt;
            &lt;/div&gt;--&gt;
            
            &lt;h2&gt;Active Power Total &amp; Demand&lt;/h2&gt;
            &lt;ma-point-values point="Power_Active_Total" values="Power_Active_Total_Values" from="dateBar.from" to="dateBar.to" rollup="AVERAGE" auto-rollup-interval="true"&gt;&lt;/ma-point-values&gt;
            &lt;ma-point-values point="Demand_Active_Total" values="Demand_Active_Total_Values"  from="dateBar.from" to="dateBar.to" rollup="MAXIMUM" auto-rollup-interval="true"&gt;&lt;/ma-point-values&gt;
            &lt;ma-serial-chart flex style="height: 300px; width: 100%" series-1-point="Power_Active_Total" series-1-values="Power_Active_Total_Values" series-2-point="Demand_Active_Total" series-2-values="Demand_Active_Total_Values" series-1-color="rgb(45,197,255)" series-2-color="red" series-1-type="line" series-2-type="line" legend="true" balloon="true" default-balloon-text="[[title]]: [[value]]" export="true" stack-type="none"&gt;
			&lt;/ma-serial-chart&gt;
			
			&lt;h2&gt;kWh Total&lt;/h2&gt;
			&lt;ma-point-values point="Energy_Active_Total" values="Energy_Active_Total_Values" from="dateBar.from" to="dateBar.to" rollup="DELTA" auto-rollup-interval="true"&gt;&lt;/ma-point-values&gt;
            &lt;ma-serial-chart flex style="height: 300px; width: 100%" series-1-point="Energy_Active_Total" series-1-values="Energy_Active_Total_Values" series-1-color="rgb(45,197,255)" default-type="column" legend="true" balloon="true" default-balloon-text="[[title]]: [[value]]" export="true" stack-type="regular"&gt;
			&lt;/ma-serial-chart&gt;
        &lt;/md-card-content&gt;
    &lt;/md-card&gt;
&lt;/div&gt;
</code></pre>
]]></description><link>https://forum.mango-os.com/post/15663</link><guid isPermaLink="true">https://forum.mango-os.com/post/15663</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Thu, 28 Sep 2017 16:09:34 GMT</pubDate></item><item><title><![CDATA[Reply to Help understanding the use of md-card on Thu, 28 Sep 2017 15:41:50 GMT]]></title><description><![CDATA[<p dir="auto">@wingnut2-0 said in <a href="/post/15649">Help understanding the use of md-card</a>:</p>
<blockquote>
<p dir="auto">Thank you Jared.<br />
Are there recommended layout settings for content placed within a card? The sample code shows the following for the main page. Just wondering what the layout settings for a point-value might be.</p>
<pre><code>&lt;div layout="column" layout-fill flex&gt;
    &lt;div flex layout="row" layout-xs="column" layout-fill&gt;
        &lt;div layout="column" flex="33" flex-xs="25"&gt;
</code></pre>
<p dir="auto">Thank you</p>
</blockquote>
<p dir="auto">You can layout the contents of a card however you would like. See <a href="https://material.angularjs.org/1.1.5/layout/introduction" rel="nofollow ugc">https://material.angularjs.org/1.1.5/layout/introduction</a></p>
]]></description><link>https://forum.mango-os.com/post/15658</link><guid isPermaLink="true">https://forum.mango-os.com/post/15658</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Thu, 28 Sep 2017 15:41:50 GMT</pubDate></item><item><title><![CDATA[Reply to Help understanding the use of md-card on Thu, 28 Sep 2017 11:35:23 GMT]]></title><description><![CDATA[<p dir="auto">Thank you Jared.<br />
Are there recommended layout settings for content placed within a card? The sample code shows the following for the main page. Just wondering what the layout settings for a point-value might be.</p>
<pre><code>&lt;div layout="column" layout-fill flex&gt;
    &lt;div flex layout="row" layout-xs="column" layout-fill&gt;
        &lt;div layout="column" flex="33" flex-xs="25"&gt;
</code></pre>
<p dir="auto">Thank you</p>
]]></description><link>https://forum.mango-os.com/post/15649</link><guid isPermaLink="true">https://forum.mango-os.com/post/15649</guid><dc:creator><![CDATA[Wingnut2.0]]></dc:creator><pubDate>Thu, 28 Sep 2017 11:35:23 GMT</pubDate></item><item><title><![CDATA[Reply to Help understanding the use of md-card on Wed, 27 Sep 2017 15:50:06 GMT]]></title><description><![CDATA[<p dir="auto">Hey @Wingnut2-0 yep, the dashboard designer does not nest any HTML tags, it simply places them all inline. If you want to use a <code>md-card</code> you should edit the markup directly. See the documentation at <a href="https://material.angularjs.org/latest/" rel="nofollow ugc">https://material.angularjs.org/latest/</a></p>
<p dir="auto">We provide the functionality to drop the Angular Material components directly onto dashboards for convenience.</p>
]]></description><link>https://forum.mango-os.com/post/15620</link><guid isPermaLink="true">https://forum.mango-os.com/post/15620</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Wed, 27 Sep 2017 15:50:06 GMT</pubDate></item></channel></rss>