• Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    1. Home
    2. ftomiBR

    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
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 52
    • Best 0
    • Controversial 0
    • Groups 0

    ftomiBR

    @ftomiBR

    0
    Reputation
    649
    Profile views
    52
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    ftomiBR Unfollow Follow

    Latest posts made by ftomiBR

    • RE: Decimal points

      In watch list click at the "brick" icon at right hand side, a "Point properties" page will be displayed, there is a field "Text renderer properties" where you can set the format precision.

      Type: Analog
      Format: 0.0

      posted in User help
      F
      ftomiBR
    • Christmas Gift

      Can I get an M2M2 release for this year? :roll:

      Matthew,
      Would you mind sharing some of your roadmap about Mango and the next generation of it?

      Thank you!
      :D

      posted in Wishlist
      F
      ftomiBR
    • RE: Christmas Gift

      Can I get an M2M2 release for this year? :roll:

      Matthew,
      Would you mind sharing some of your roadmap about Mango and the next generation of it?

      Thank you!
      :D

      posted in Wishlist
      F
      ftomiBR
    • RE: Render dynamic graphics in customview

      Thank you, it works now, but only in FF.

      What is M2M2? Is it another solution or kind of Mango 2.0?

      posted in How-To
      F
      ftomiBR
    • RE: Render dynamic graphics in customview

      Hi Matthew,

      Thanks for reply.

      I think it should be not too hard to achieve that, look at what I have done in a custom view based on Mango views and using the same wz_jsgraphics script:

      
      <div id="needle"><img src="/graphics/dialCst/dialCst.png"> </div>
      
      <view:scriptPoint xid="numeric" raw="true">	
          var g = new jsGraphics("needle");
          
          g.clear();
          
          var xCenter = 127;
          var yCenter = 128;
          
          var xa = new Array(-3, -1,  1,3,1,-1);
          var ya = new Array( 0,-82,-82,0,3, 3);
          var angle = (value * 2 - 1) * 2.1;
          
          mango.view.graphic.transform(xa, ya, 1, 1, xCenter, yCenter, angle);
          
          g.setColor("#A00000");
          g.fillPolygon(xa, ya);
          
          g.setColor("#202020");
          g.drawPolygon(xa, ya);
          g.drawLine(xCenter, yCenter, xCenter, yCenter);
          g.paint();
      </view:scriptPoint>	
      

      It corretly renders the graphic (at least on FF), but the generated image is never cleaned (even calling g.clear() function) , so it renders the new position without erasing the last one.

      Do I need some server side coding in this case?

      posted in How-To
      F
      ftomiBR
    • RE: Render dynamic graphics in customview

      I'm trying to create a dashboard, just need to render the same gauges like in the graphical views, is it possible?

      posted in How-To
      F
      ftomiBR
    • Render dynamic graphics in customview

      I've been looking at the customViewExample.jsp page and could not figure out how to render a dynamic graphic there, like dial and bar in the views.

      I believe I will use view:scriptPoint tag but no ideia how.

      thanks,

      posted in How-To
      F
      ftomiBR
    • RE: Render dynamic graphics in customview

      I've been looking at the customViewExample.jsp page and could not figure out how to render a dynamic graphic there, like dial and bar in the views.

      I believe I will use view:scriptPoint tag but no ideia how.

      thanks,

      posted in How-To
      F
      ftomiBR
    • RE: Custom dynamic bar and dial gauge

      That's it!

      I put my own .png gauge image in a separeted folder and its custom pointer using dial example in view.js, it works well.

      Thank you!

      posted in How-To
      F
      ftomiBR
    • RE: Buttons

      1- no idea
      2- try ```
      <input type=button style="width:100px;height:50px">

      posted in User help
      F
      ftomiBR