• fleh

    Apologies for criticizing your documentation in such a broad way -- I actually wanted to emphasize how much I appreciate your forum support. Many help pages are really good and the coverage with video tutorials is excellent to get an overview. It's just that I spent quite a bit of time on issues already which where incomplete or missed critical info. For example, the help pages for egauge, egauge datapoint, Environment Canada Data Point, ""Environment Canada"", M Bus, and M Bus datapoint simply went AWOL...

    Thanks for the hint, that I would be leaving the common route with D3.js, @MattFox. This is certainly not optimal and I would actually like to avoid such a situation. I also agree with you about re-evaluating the fit of software. But everyone's time is limited and I just want to avoid learning a short-lived tool. (On the amcharts homepage it says: How long are you planning on supporting amCharts 3? - We will continue making bug fixes until end of 2019. Less than 5 months.).

    Most important for me are two visualisations I have yet to create. The movement of AGVs discussed in an older thread and an exploded pie chart (the example linked above). Both seem to require more flexibility than amcharts3 has to offer. Hence I would have to learn another tool anyway.

    Thanks for the user module @Jared-Wiltshire! It does not work when copying it into a new page for me, but I'll go through it line-by-line to see what its purpose is. Have a nice weekend, y'all!

    posted in Mango feedback read more
  • fleh

    Thanks a lot for your swift and clarifying reply, @Jared-Wiltshire! It still surprises me how great your level of support is and how much the documentation lacks.

    I watched the video from here and read the documentation on this page and it does not say anywhere that only AmCharts v3 is supported. :-/

    Angular is still intimidating for me, unfortunately. I think I'll give D3.js a go first before scripting stuff with an EOL library. Are there known gotcha's that a user starting out this route should know about?

    Thanks again for your help!

    posted in Mango feedback read more
  • fleh

    Dear Mango devs,

    I wanted to try out amcharts, found an example I liked and copied it onto a page. The preview looks perfect but the full-page view remains empty. I properly saved the page before attempting to view it.

    Usually, providing minimum working examples requires some work, but not this time! Just copy the self-contained example code from here and you shall see.

    I am on the latest production release (3.6.4) on Opensuse 15.1 and open-jdk with all updates installed.

    Thanks for your attention,
    Frank

    posted in Mango feedback read more
  • fleh

    Most excellent! Thanks for your explanations and for putting me on the right path....

    Cheers,
    Frank

    posted in User help read more
  • fleh

    Wow, this is awesome and so simple -- thank you very much @ThomasEinasto! Shame to have wasted time to make it work the old way.

    I hope you don't mind two minor follow-up questions because it interests me... What is the "old UI"? And will the uploaded file be there after the next update?

    Cheers & Have a nice weekend!

    posted in User help read more
  • fleh

    Hi everyone,

    it seems like an easy thing to do and yet I am struggling. How do I change the mango logo in the menu to a custom one? I love the idea and read the article on overrides, searched the forums and Google. It just does not work, even after restarting the (locally running) mango instance.

    To narrow the issue down I took the original Mango logo.svg file, changed the text color to red and saved in the overrides folder. To increase my chances of seeing the changed logo I made three copies and placed them directly in the web folder, one in a subfolder with the name "img" and one copy in the subfolder titled "images".

    fl@linux-tuxedo:~/SW/mango/overrides/web> ls -R
    .:
    images  img  logo.svg
    
    ./images:
    logo.svg
    
    ./img:
    logo.svg
    
    

    After restarting the mango instance and logging in again, the logo is still the same. Any ideas what might go wrong here?

    In terms of documentation I am still wondering whether I could/should use PNG files (instead of SVG) and whether the subfolder is actually "img" or "images".

    Thanks a lot for your input on this!
    Frank

    posted in User help read more
  • fleh

    Hi Craig,

    thanks for the swift reply and the detailed description! It actually did the trick -- many thanks! I would have never guessed from the documentation, that this would be the thing to do. But hey -- always good to learn something.

    Cheers,
    Frank

    posted in User help read more
  • fleh

    Hello Mango friends and users,

    as indicated in the title I would like to get rid of the top and side bar for some pages. In one post (https://forum.infiniteautomation.com/topic/2484/guest-login-permissions-and-kiosk-dashboards) the user achieved that by "creating a menu link with a state name that does not start with 'dashboard'".

    Unfortunately, this does not work for me. I created a page, named it "testpage", URL path is "/testpage" and when I call http://localhost:8080/ui/testpage from the same or another browser with admin or user rights I still see the two bars. Am I doing something wrong? Version info: still on Mango 3.5.

    Thanks for your help!

    Cheers,
    Frank

    posted in User help read more
  • fleh

    @jared-wiltshire said in Visualising positions of AGV in a factory:

    OK yeah I'd suggest tagging them, see here - https://forum.infiniteautomation.com/topic/4153/using-ma-state-params/11

    Alright. I wrote a Python-Script which generates the data source and and data points. Brilliant idea of yours to have the configuration accessible via JSON.

    @jared-wiltshire said in Visualising positions of AGV in a factory:

    With the example I posted above it uses WebSockets (inside the <ma-get-point-value> components) to receive point value updates (i.e. the x and y values).

    That's what I used to in the last implementation. But one either has to create a Websocket for each device or transfer all positions every time something changes...

    I love how flexible Mango is and will use this AGV example to learn more about web technologies. No matter whether it is SVG, angular or d3.js.... all good from my side. Thanks for your inspirations!

    posted in User help read more
  • fleh

    Thanks for the warm welcome, Phil and Jared! I had some questions about purchasing the Mango ES already and you are just as responsive now as Joel was then. Fabulous!

    @phildunlap The links look interesting! With x and y axes, the scatter plots certainly have the right structure but is a chart component flexible enough for visualising vehicle movements? I will have to remove plotted dots, for example ... and a background-image would also be nice to have.

    @Jared-Wiltshire: Good question about the tagging! All data points have descriptive names and XIDs but I did not group them any further. Since I have full control over the data source, I could also use a completely different structure to transfer the vehicle positions to Mango. Could you think of something simpler? In my previous implementation I sent an dictionary with the structure

    {agv1_x: x, agv1_y: y, agv1_property_foo: foo,  agv1_property_bar: bar, 
     agv2_x: x, agv2_y: y, agv2_property_foo: foo,  agv2_property_bar: bar, 
     ...}
    

    to the webserver and displayed the points on an HTML5 canvas by iterating over the dict when new data came in. It worked OK but but position updates took essentially place at same discrete time step and hence the movements looked coarse. Coming from Python this felt like an anti-pattern but I had no good idea how to do it better...

    I will sleep over your idea with the tags and iterating over them! Thanks for the HTML-noob-friendly code!

    posted in User help read more