• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Help on few mango components missing

    Dashboard Designer & Custom AngularJS Pages
    2
    5
    1.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      KKS
      last edited by

      Hi

      I was working in dashboard designer, some of the mango components help is not available.
      These are the ones, that I noticed.

      • ma-point-hierarchy-browser
      • ma-point-hierarchy-point-selector
      • ma-point-hierarchy-select

      thx

      Jared WiltshireJ 1 Reply Last reply Reply Quote 0
      • Jared WiltshireJ
        Jared Wiltshire @KKS
        last edited by

        @kks Yes some components are missing documentation. If you need any help let me know what you are trying to do and I'll point you in the right direction.

        Developer at Radix IoT

        1 Reply Last reply Reply Quote 0
        • K
          KKS
          last edited by phildunlap

          Hi Jared,

          I want to create a 'ma-point-hierarchy-point-selector' on the left panel. The right panel should have table with selected point name/values displayed and single chart with all selected point(s) lines. Searched the forum, for this mango .component but coud not find any.

          thx in advance

          1 Reply Last reply Reply Quote 0
          • Jared WiltshireJ
            Jared Wiltshire
            last edited by

            @KKS here's an example you can use.

            <div class="ma-designer-root" id="49a37997-7c9c-4973-8aa7-56beb6259455" style="width: 1366px; height: 768px; position: relative;">
                <ma-point-hierarchy-point-selector id="6bfd2456-5a46-45e0-915f-89348a95b419" ng-model="points" path="['Demo']" style="position: absolute; left: 0px; top: 0px; width: 50%; height: 50%;" expanded="1" hide-folders-with-no-points="true" select-subfolders="true" show-device-names="true"></ma-point-hierarchy-point-selector>
            
                <md-table-container ng-init="sortOrder='xid'" id="37d733aa-6608-4313-83e9-7e703877a0c4" style="position: absolute; left: 0px; top: 50%; width: 100%; height: 50%;">
                    <table md-table="">
                        <thead md-head="" md-order="sortOrder">
                            <tr>
                                <th md-column="" md-order-by="xid">XID</th>
                                <th md-column="" md-order-by="deviceName">Device name</th>
                                <th md-column="" md-order-by="name">Name</th>
                                <th md-column="" md-order-by="value">Value</th>
                            </tr>
                        </thead>
                        <tbody md-body="">
                            <tr ng-repeat="point in points | orderBy:sortOrder track by point.xid">
                                <td ng-bind="point.xid"></td>
                                <td ng-bind="point.deviceName"></td>
                                <td ng-bind="point.name"></td>
                                <td><ma-point-value point-xid="{{point.xid}}"></ma-point-value></td>
                            </tr>
                        </tbody>
                    </table>
                </md-table-container>
                <pre id="9e4a5a3b-5882-49a3-b08c-084feb2ce84d" style="position: absolute; left: 50%; top: 0px; width: 50%; height: 50%; overflow: scroll;" ng-bind="points | json"></pre>
            </div>
            

            have you looked at the attributes available for <ma-point-hierarchy-point-selector> in the dashboard designer? I realize its not full documentation. We are phasing out point hierarchies in favor of data point tags.
            0_1525795922797_cbe0cc0c-fb9d-4ed9-8c5f-841468038e24-image.png

            Developer at Radix IoT

            1 Reply Last reply Reply Quote 0
            • K
              KKS
              last edited by

              Thank you so much Jared. I will give it a try.

              I wasn't sure how to get selected points from ma-point-hierarchy-point-selector. This is what I had tried.

              <ma-point-hierarchy-point-selector id="895788e3-8b45-4b67-8726-7081b37b7348" ng-model="maPointHierarchyPointSelectorModel" path="[]" ></ma-point-hierarchy-point-selector>

              I was trying to print by looping "point in maPointHierarchyPointSelectorModel.points".

              1 Reply Last reply Reply Quote 0
              • First post
                Last post