• P
    Pikey4

    Gee Wizz!!!!!

    How did I not think of that??

    Thank Phil,

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • P
    Pikey4

    Thanks Phil,

    I hadn't Considered this as an option so that is great.

    Is there a way to alter the default label - "Select a value for device"

    0_1544571341780_Screen Shot 2018-12-12 at 7.35.33 am.png
    as it doubles up if I have a <label>Plant or Equipment for the selected Project</label>

    @phildunlap said in Filter Device Name after Tag Select:

    I also reworked the query so that it would check the Site tag as well in getting the list of data points. Sometimes the RQL syntax can be complicated!

    Cheers, I am not up to speed with RQL stuff......Back to Khan Academy for me.

    @pikey4 said in Filter Device Name after Tag Select:

    Also is there a way to Build the serial chart so that say the first two points automatically left axis then the next two points auto to the right?? or something like that??

    Did you have any comment on this query?

    Thanks Again!

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • P
    Pikey4

    I tried this one also but doesn't seem to like it.

    Any help appreciated.

    0_1544511058378_Screen Shot 2018-12-11 at 2.50.11 pm.png

    <div layout="column" ng-init="points=[]">
        
        <md-input-container flex="">
            <ma-data-point-tag-select ng-model="maDataPointTagSelect" key="Site" ng-init="maDataPointTagSelect='68 Terrace Rd'"></ma-data-point-tag-select>
                </md-input-container>
                
        <md-input-container>
            <label>Plant or Equipment for the selected Project</label>
            
            <ma-device-name-list ng-model="DeviceName" source-id="maDataPointTagSelect"></ma-device-name-list>
                </md-input-container>
                
        <md-input-container flex="">
            <label>Add a point</label>
            <ma-point-list query="{deviceName: DeviceName}" limit="200" ng-model="point" init-point="false" ng-change="point &amp;&amp; points.push(point); point=null"></ma-point-list>
        </md-input-container>
    </div>
    
    

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • P
    Pikey4

    Thanks Jared, That does the Trick

    posted in How-To read more
  • P
    Pikey4

    Hello Again,

    I'm looking at a way to use Tags to Label specific Project locations then Device name will be the Plant or equipment at that site, then point names etc.

    Not sure if this below is an easy way to build a quick chart, I'm wanting to select the data point tag (Site) first then filter only device names related to that tag. I just can't figure out what the query would be or if I'm headed in the wrong direction.

    Also is there a way to Build the serial chart so that say the first two points automatically left axis then the next two points auto to the right?? or something like that??

    Thanks In advance as always.

    Cheers!

    <div layout="column" ng-init="points=[]">
        
        <md-input-container flex="">
            <ma-data-point-tag-select ng-model="maDataPointTagSelect" key="Site" ng-init="maDataPointTagSelect='68 Terrace Rd'"></ma-data-point-tag-select>
                </md-input-container>
                
        <md-input-container>
            <label>Plant or Equipment for the selected Project</label>
            <ma-device-name-list ng-model="DeviceName" query="???????"></ma-device-name-list>
                </md-input-container>
                
        <md-input-container flex="">
            <label>Add a point</label>
            <ma-point-list limit="200" ng-model="point" init-point="false" ng-change="point &amp;&amp; points.push(point); point=null"></ma-point-list>
        </md-input-container>
    </div>
    
    <md-chips ng-model="points" name="name" readonly="true" md-max-chips="4">
        <md-chip-template ng-click="points.splice($$replacedScope.$index,1)">
            <strong>{{$chip.name}}</strong>
            <em>({{$chip.deviceName}})</em>
            <md-icon>close</md-icon>
        </md-chip-template>
    </md-chips>
    
    <ma-point-values points="points" values="combined" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}} {{dateBar.rollupIntervalPeriod}}">
    </ma-point-values>
    
    <ma-serial-chart style="height: 300px; width: 100%" values="combined" points="points" legend="true">
    </ma-serial-chart>
    
    

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • P
    Pikey4

    Hi All

    I have Specific Data Sources all with the xid beginning with the same 5 characters.

    How best to use watchlist parameter to filter for only these Data sources?

    I looked at the "xid is like" and "name is like" but i'm not sure I understand this correctly.

    All help appreciated.

    Thanks

    posted in How-To read more
  • P
    Pikey4

    Thanks for you r response,

    I have done an upgrade from 3.4 to 3.5 this morning and it now works, so we all good.

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • P
    Pikey4

    Hello again!!

    I was looking at the list of events section of the examples page and can't seem to get the example to work with the filters. The list woks fine after changing the:

    event-type="eventType" alarm-level="alarmLevel" acknowledged="acknowledged"
    

    To:

    event-type="any" alarm-level="any" acknowledged="any"
    

    Works fine with the latter but then it cannot be filtered.

    With my limited skills I don't know if i am just missing the obvious or there is a slight error.

    Any assistance appreciated.

    Cheers!

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • P
    Pikey4

    Thanks Jared,

    I think I understand it a bit better now. Will see how we go setting a few markers up.

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • P
    Pikey4

    Is there a simple way that I am un aware of to make a marker in a google map, when clicked on, can link to another ui/page???

    Thanks

    <div class="ma-designer-root" id="7083531f-3799-4038-8d36-d8092ddc6a3e" style="height: 600px; width: 1500px;" ma-maintain-ratio="letterbox" ma-scale-to="ma-ui-page-view">
        <ma-map id="b6d480d5-6d25-4f07-8726-f585b45ffdfa" lat="-32.5" long="119" map-type="roadmap" info-window-theme="dark" desktop-height="400px" mobile-height="600px" zoom="7" style="width: 50%; height: 0px;">
        <marker id="marker1" position="-35.021432, 117.882540" icon="{url: 'img/map-markers/green-dot.png'}" draggable="false" ng-click="$state.go('ui.lockyerHome')"></marker>
       </ma-map>
    </div>
    

    posted in Dashboard Designer & Custom AngularJS Pages read more