• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. StephenVDK

    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
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 30
    • Best 0
    • Controversial 0
    • Groups 0

    StephenVDK

    @StephenVDK

    0
    Reputation
    1.1k
    Profile views
    30
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    StephenVDK Unfollow Follow

    Latest posts made by StephenVDK

    • Editing setPointValue.html

      Re: ma-set-point-value display options

      So I'm trying to change setPointValue.html with something simple like changing what the button say's (instead of set), but I can't see where it declares what the button's text says. It doesn't seem to say it in the html or js file that I can tell.

      Thanks,
      Stephen

      posted in Dashboard Designer & Custom AngularJS Pages
      S
      StephenVDK
    • RE: ma-set-point-value display options

      Set a numeric point and to display it rendered.

      posted in Dashboard Designer & Custom AngularJS Pages
      S
      StephenVDK
    • ma-set-point-value display options

      Hello all,
      Is there any way to change the way ma-set-point-value displays the object? When using ma-point-value there are options for rendered and converted,

      thanks,
      Stephen

      posted in Dashboard Designer & Custom AngularJS Pages
      S
      StephenVDK
    • RE: Weather forecast

      Ya that worked,
      Thank you

      posted in Mango General
      S
      StephenVDK
    • Weather forecast

      Hello all,
      I'm trying to use regular expressions to pull the weather forecast out of the yahoo weather api, link:
      https://query.yahooapis.com/v1/public/yql?q=select * from weather.forecast where woeid in (select woeid from geo.places(1) where text%3D"oakbank%2Cmb")&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys

      Using regex testers, I can pull out the proper data, the high for the next day, using:

      forecast.*?[.*?{.*?{.*?high.*?\"(\d+)
      

      however when it's put into mango, it gives this error:
      Illegal repetition near index 15 forecast.?[.?{.?{.?high.*?"(\d+) ^

      has anyone else been able to properly pull forecast weather or see an issue with my regex?

      Thanks,
      Stephen

      posted in Mango General
      S
      StephenVDK
    • RE: Setting "from" and "to" to only last 7 days without range picker

      Sorry but when you say full markup do you want the app.js file as well? I'm using the dashboard template and building off it.

      posted in Dashboard Designer & Custom AngularJS Pages
      S
      StephenVDK
    • RE: Setting "from" and "to" to only last 7 days without range picker

      Changing the time scale for the second point to use moment didn't change any of the issues.

      posted in Dashboard Designer & Custom AngularJS Pages
      S
      StephenVDK
    • RE: Setting "from" and "to" to only last 7 days without range picker

      Sorry, didn't know about that button, I'll also try and change the other time scale and see what happens. Thanks

      h3>Weekly Heat Transfer</h3>
      <div class="row hidden-xs"> 
        <div class="col-sm-12 text-center extraPadding chart-holder">
          <ma-now update-interval="1 HOURS" output="theTimeNow"></ma-now>
          <ma-get-point-value point-xid="DP_672608" point="myPoint3"></ma-get-point-value>
          <ma-point-values point="myPoint3" values="point3Values"
          from="theTimeNow | moment:'startOf':'day'|moment:'subtract':7:'days'"
          to="theTimeNow" rollup="SUM" rollup-interval="1 DAYS">
          </ma-point-values>
          <ma-get-point-value point-xid="DP_284166" point="myPoint7"></ma-get-point-value>
          <ma-point-values point="myPoint7" values="point7Values" latest="8">
          </ma-point-values>
          <ma-serial-chart style="height: 300px; width: 100%"
      
      	series-1-values="point3Values" 
      	series-1-point="myPoint3" 
      	series-1-color="purple"
      	series-1-type="column"
      	series-3-values="point7Values"  
      	series-3-point="myPoint7"  
      	series-3-axis="right" 
      	series-3-type="column" 
      	series-3-color="green" 
      	options="{
      			valueAxes:[
      				{title:'kJ', axisColor:'black', color:'black'},
      				{title:'Outside Temp (°C)', axisColor:'green', color:'green'}
      			]
      		}">
      	</ma-serial-chart>
        </div>
      </div>
      
      posted in Dashboard Designer & Custom AngularJS Pages
      S
      StephenVDK
    • RE: Setting "from" and "to" to only last 7 days without range picker

      Here's the code, I tried using some other examples that use 'moment' from the forum and the same issue arises, but anyway:

      <h3>Weekly Heat Transfer</h3>
      <div class="row hidden-xs">
      <div class="col-sm-12 text-center extraPadding chart-holder">
      <ma-now update-interval="1 HOURS" output="theTimeNow"></ma-now>
      <ma-get-point-value point-xid="DP_672608" point="myPoint3"></ma-get-point-value>
      <ma-point-values point="myPoint3" values="point3Values"
      from="theTimeNow | moment:'startOf':'day'|moment:'subtract':7:'days'"
      to="theTimeNow" rollup="SUM" rollup-interval="1 DAYS">
      </ma-point-values>
      <ma-get-point-value point-xid="DP_284166" point="myPoint7"></ma-get-point-value>
      <ma-point-values point="myPoint7" values="point7Values" latest="8">
      </ma-point-values>
      <ma-serial-chart style="height: 300px; width: 100%"

      	series-1-values="point3Values" 
      	series-1-point="myPoint3" 
      	series-1-color="purple"
      	series-1-type="column"
      	series-3-values="point7Values"  
      	series-3-point="myPoint7"  
      	series-3-axis="right" 
      	series-3-type="column" 
      	series-3-color="green" 
      	options="{
      			valueAxes:[
      				{title:'kJ', axisColor:'black', color:'black'},
      				{title:'Outside Temp (°C)', axisColor:'green', color:'green'}
      			]
      		}">
      	</ma-serial-chart>
      </div>
      

      </div>

      posted in Dashboard Designer & Custom AngularJS Pages
      S
      StephenVDK
    • RE: Setting "from" and "to" to only last 7 days without range picker

      I may have spoke too soon.
      The graph is displaying the information the way it should be, but it's causing issues with the rest of the dashboard. It's displaying itself on other tabs, and when I click back to it's tab, it brings other graphs to that one. The graphs code are on different html files.

      posted in Dashboard Designer & Custom AngularJS Pages
      S
      StephenVDK