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
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
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
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
Thank you, it works now, but only in FF.
What is M2M2? Is it another solution or kind of Mango 2.0?
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?
I'm trying to create a dashboard, just need to render the same gauges like in the graphical views, is it possible?
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,
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,
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!
1- no idea
2- try ```
<input type=button style="width:100px;height:50px">
Does anyone know how dynamic componets are linked to the points in graphical views?
Is it possible to create my own dynamic gauges or at least customize the existing ones?
thanks
Does anyone know how dynamic componets are linked to the points in graphical views?
Is it possible to create my own dynamic gauges or at least customize the existing ones?
thanks
Now I see, you right, it should point to your Mango directory.
try to look at <tomcat>\log\mango.log for some clues
I would back-up all data and export configuration and reinstall everthing including tomcat.
It seems to be working well for me.
what do you mean when you said:
does not get to the real login page.
is it not loading the login page or you couldn't find the real login page?
It is dinamically created on the server side.
maybe the same issue here due existing pre-compiled cache
http://mango.serotoninsoftware.com/forum/posts/list/600.page
try this: stop tomcat delete the <tomcat-home>/work directory and clean up your browser cache, then restart tomcat and see what happens
Is it possible to run 'mango automation' from an embedded OS without modifications?
I was looking at some nice ARM-based platforms like this http://www.friendlyarm.net/products/mini6410
It may not support mango but do you think would it be possible to use mango automation there?
It may be an issue for server-script component
I used the property "disabled" in a button and saved the view.
When I try to edit the view, this component is also disabled.
So I need to enable the button using the datapoint logic to enable the component editing on the view.
the problem was solved, need to supress the "" from the html code.
nice but it do not works with html links or buttons, how can I create a link button there?