Save
Saving
  • F ftomiBR

    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 read more
  • F ftomiBR

    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 read more
  • F ftomiBR

    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 read more
  • F ftomiBR

    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 read more
  • F ftomiBR

    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 read more
  • F ftomiBR

    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 read more
  • F ftomiBR

    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 read more
  • F ftomiBR

    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 read more
  • F ftomiBR

    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 read more
  • F ftomiBR

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

    posted in User help read more