• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. henryblu
    3. Topics

    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
    H
    • Profile
    • Following 1
    • Followers 0
    • Topics 16
    • Posts 50
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by henryblu

    • H

      Tracking user interaction

      Mango Automation general Discussion
      • • • henryblu
      5
      0
      Votes
      5
      Posts
      2.1k
      Views

      H

      Hi guys,

      Thanks very much for the advice. Upon @Jared-Wiltshire's recommendation I pasted my
      Google Analytics Property ID into the UI settings page. It's then as simple as creating an onclick event: https://developers.google.com/analytics/devguides/collection/analyticsjs/events

      <div flex layout="column" onclick="ga('send', 'event', 'buttons', 'click','B005');"></div>

      From here I was able to view real-time and historic page interactions based on clicking. I could also create events for mouse moving, but it generates a lot of events as you would expect and in google analytics you are limited to 500 hits per session or 10 million events per month.

      <div flex layout="column" onmousemove="ga('send', 'event', 'mouse', 'move','B005');"></div>

      Really happy though - exactly what I was after.
      0_1512363020533_79cc2909-7665-4277-8ef0-f8983f6165ca-image.png

    • H

      Bright Sign XD1033

      Hardware
      • • • henryblu
      8
      0
      Votes
      8
      Posts
      3.5k
      Views

      H

      Thanks Jared,

      It does work fine on Chrome and Firefox. I think the signs firmware might be the issue. Yesterday they released a new firmware update https://brightsign.zendesk.com/hc/en-us/articles/218067927-Firmware-Release-Notes - which mentions there is a new JavaScript API. I'll try that and let you know how I go.

      Cheers.

    • H

      Statistics Extensions

      Dashboard Designer & Custom AngularJS Pages
      • • • henryblu
      2
      0
      Votes
      2
      Posts
      1.2k
      Views

      Jared WiltshireJ

      @henryblu It sounds like you are going to need to write some specialized logic in JavaScript. I'd suggest adding a custom component via the user module, see https://help.infiniteautomation.com/getting-started-with-a-user-module/

      You can leverage our maStatistics and maPointValues services to pull data from the REST API then process and output the data onto the page from the component. You can use the moment.js library directly inside your component, also we recently added the math.js library which might be useful. It has statistics and matrix functions.

    • H

      How to use ma-map inside a hidden div

      Dashboard Designer & Custom AngularJS Pages
      • • • henryblu
      3
      0
      Votes
      3
      Posts
      1.7k
      Views

      H

      Thank you @Jared-Wiltshire - simple fix. Simply using Angular Material Tabs solves the issue.

      Cheers,
      Henry

    • H

      Purge Data Frequency

      Mango Automation general Discussion
      • • • henryblu
      4
      0
      Votes
      4
      Posts
      1.7k
      Views

      H

      Excellent, thanks guys - perfect fix.

    • H

      Adding Metadata Source: error occured.

      Scripting general Discussion
      • • • henryblu
      2
      0
      Votes
      2
      Posts
      1.2k
      Views

      phildunlapP

      Hi Henry,

      You should consult the logs in a time like this, either at Mango/logs/ma.log or /logging_console.shtm

    • H

      Custom Browser Tab Icon - MangoES

      MangoES Hardware
      • • • henryblu
      7
      0
      Votes
      7
      Posts
      2.9k
      Views

      J

      Alright, great help @mattfox & @Jared-Wiltshire. Thanks a lot!

    • H

      Dynamic Text Book Input

      Wishlist
      • • • henryblu
      6
      0
      Votes
      6
      Posts
      2.6k
      Views

      H

      Thanks Jared, that's perfect.

    • H

      Clear Play Area

      Dashboard Designer & Custom AngularJS Pages
      • • • henryblu
      3
      0
      Votes
      3
      Posts
      1.2k
      Views

      H

      Perfect, Thank you!

    • H

      Bar Chart: Category as X Axis

      Dashboard Designer & Custom AngularJS Pages
      • • • henryblu
      15
      0
      Votes
      15
      Posts
      5.1k
      Views

      H

      Of course! Thank you very much - Resolved.

    • H

      Legend Font Size Error

      Mango Automation general Discussion
      • • • henryblu
      4
      0
      Votes
      4
      Posts
      1.9k
      Views

      Jared WiltshireJ

      You can add a stylesheet via UI Settings. e.g.
      0_1500047928595_9817a9f6-6202-42f9-bc7a-243a32e40319-image.png

      A quick example would be

      .amcharts-axis-label { font-size: 16px; }

      You can find the classnames in the amCharts documentation or use a browser inspection tool to example the elements of the svg and check which classes are on them. (e.g. in Chrome, right click something then select "Inspect").

    • H

      How to use JSON Receiver data point

      How-To
      • • • henryblu
      9
      0
      Votes
      9
      Posts
      3.2k
      Views

      Jared WiltshireJ

      That looks right, you probably just havent linked to the file from the UI settings page. It should look like this

      0_1499874100270_31f5a1d0-e9cc-412c-bbd8-41a7422d8c20-image.png

      Be sure to hit save at the top of the page.

    • H

      Varying text box on a timer.

      Dashboard Designer & Custom AngularJS Pages
      • • • henryblu
      4
      0
      Votes
      4
      Posts
      1.5k
      Views

      H

      That's exactly what I was after - thank you very much!

    • H

      Adaptive Layout Page Templates: Chart Scaling Issue

      Mango Automation general Discussion
      • • • henryblu
      6
      0
      Votes
      6
      Posts
      1.4k
      Views

      MattFoxM

      Yes, use the flex attribute - some of card examples show how it works. Just replace their md-cards with divs.
      Read up on angularJs material's flex. Or read up on using CSS grid on how to put components in the centre. css tricks has an excellent tutorial.
      Sorry don't have time right now to give you a complete example.
      Can always do so later tonight.

      Fox

    • H

      Publishing live dashboard

      Dashboard Designer & Custom AngularJS Pages
      • • • henryblu
      10
      0
      Votes
      10
      Posts
      4.5k
      Views

      H

      Thank you so much for that Jared - worked as expected!

    • H

      Chart error after update

      Dashboard Designer & Custom AngularJS Pages
      • • • henryblu
      3
      0
      Votes
      3
      Posts
      1.3k
      Views

      H

      Excellent! Thanks Jared, the following code worked perfectly:

      <ma-now update-interval="1 HOURS" output="theTimeNow"></ma-now> <ma-point-values point-xid="Site_Total_Real_Power" point="point1" values="max_val" from="theTimeNow | maMoment:'startOf':'day'|maMoment:'subtract':7:'days'" to="theTimeNow" rollup="MAXIMUM" rollup-interval="1 DAYS"> </ma-point-values> <ma-serial-chart style="height: 300px; width: 100%" series-1-values="max_val" series-1-point="point1" default-type="column"> </ma-serial-chart>