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.

  • Multiple Graphs In single Dashboard

    Moved
    7
    0 Votes
    7 Posts
    2k Views
    MattFoxM
    Have you not got any access to any real time data? Start off with using one of the mango internal points. A virtual point will only be updated if you manually set it or use a meta datasource point or a scripted datasource to populate it. Let's use system uptime to start. <ma-point-values point="pt" point-xid="internal_mango_uptime_hrs" values="val" rollup="NONE" latest="100"></ma-point-values> <ma-serial-chart series-1-values="val" series-1-point="pt" legend="true" style="min-height:300px;" ></ma-serial-chart> You need to have enough history on a point to actually display a chart. EDIT: missed a few attributes. Secondly: Show your code, and are you actually using the brewers dashboard? This seems a better fit under asking for user help. I think this needs to be moved.
  • query on datapoint value

    4
    0 Votes
    4 Posts
    2k Views
    MattFoxM
    I think before we go further, you need to modify your naming convention... So you've got a system where techs are installing these systems, but there's no actual documentation on what's what?? Sounds like an impending cluster... You're storing the batch number as a point value, as well as having four other points to hold sensor data, correct? Sounds like you need something to parse the data either before or in mango otherwise you're forever going to be chasing your tail. If you need to parse values you're going to have to write a controller to read these values and sort them into groups. EDIT: use a meta data source point for each PLC unit. get it to store the timestamps of when the batch number changes. That way you can create a dropdown of batch values, and filter them with a text box: //metapoint is settable, var name: batch, type alphanumeric //context point, plc batch number point: batchNum var curr = JSON.parse(batch.value); if(!curr) { var batchObj = {batch:batchNum.value, start:batchNum.time, end:''} return JSON.stringify( batchObj ); } else { if(curr.batch == batchNum.value){return UNCHANGED;} if(curr.batch !== batchNum.value) { curr.end = batchNum.time; batch.set( JSON.stringify(curr), batch.time); //overwrite last value var batchObj = {batch:batchNum.value, start:batchNum.time, end:''} return JSON.stringify( batchObj ); } } Fox
  • sql timestamp to serialChart

    6
    0 Votes
    6 Posts
    2k Views
    D
    Thanks CraigWeb, I will watch
  • json store

    3
    0 Votes
    3 Posts
    2k Views
    D
    hello MattFox, got it finally! Thanks for checking in.
  • saving chart settings

    2
    0 Votes
    2 Posts
    1k Views
    MattFoxM
    That's what I do. Use the json store, it's ideal for it. Make a page with all your fields and load and save the info. Look under examples, there's an address form you can use as an example to work from. Fox
  • ng-if condition used with point query

    5
    0 Votes
    5 Posts
    2k Views
    MattFoxM
    Use <ma-get-point-value> for both points. 2) in your ng if, use both points with the challenge: ng-if="pt1.value==pt2.value" This way you are comparing two variables to see if they are the same/both equal to one another. For false simply: ng-if="pt1.value!=pt2.value" That should you help you with where you want to go! Fox
  • serial chart lineThickness

    4
    0 Votes
    4 Posts
    2k Views
    MattFoxM
    We were all noobs at one point! I'm glad you're able to apply what you've learnt. I don't mind helping, I learned a boatload here over the last few years. But I think it's always good to have a good search. If not here, there's stackoverflow and other sites. Sometimes I'll get a private message because it's one of those things that is there in your face but as you've said - you've stared at for hours and have made zero progress and need a fresh pair of eyes. Everyone is happy to help here, I just like loitering here more than I probably should!
  • initializing an input of type=text

    4
    0 Votes
    4 Posts
    2k Views
    MattFoxM
    Might be because the second way needs the init outside in another element... probably a parent div. I usually use the first way myself, as I write and map everything in my own controllers. At least you're learning, that's the main thing!
  • more than 4 Axes

    8
    0 Votes
    8 Posts
    2k Views
    MattFoxM
    Nicely done, glad I could be of assistance!
  • Adding multiple axes

    4
    0 Votes
    4 Posts
    2k Views
    MattFoxM
    You need to add the strictMinMax property, this question has come up a lot in the forums. I suggest you use the search and have a browse with amcharts/serial chart as the search item, you'll gain a lot of experience very quickly I assure you. options="{valueAxes: [{ unit: '%', unitPosition: right, strictMinMax: true, minimum: 10, maximum: 60, axisColor: '#00CED1' } ] }" For the graphs themselves if you want individual colours for each datapoint split them up and use series-#- attributes rather than just points and values. Enable the api menu item under administration -> edit menu -> Api Docs, turn it on and click save at the top. The maSerialChart will be under components.
  • Changing grid color

    5
    0 Votes
    5 Posts
    2k Views
    MattFoxM
    You may need to have more array elements inside the value axes to correlate with the number of points you are inserting. Secondly, check for errors in your browser's console window.
  • Change individual pen scales

    2
    0 Votes
    2 Posts
    874 Views
    MattFoxM
    Search through this forum the term 'valueAxes' There are many cases of this where people have set custom ranges for individual y axes. The V3 amcharts documentation is also a valuable tool. Fox
  • Datapoint Assignment

    5
    0 Votes
    5 Posts
    2k Views
    D
    Thanks, I will get on it.
  • Question about User Module

    2
    0 Votes
    2 Posts
    1k Views
    MattFoxM
    As shown in the API docs, use scope.point.setValue(false)
  • real time chart

    7
    0 Votes
    7 Posts
    2k Views
    MattFoxM
    @dgm said in real time chart: how to change line thickness on a point in a series chart, some how I'm not able to get it right. There are graph options available via amcharts V3: https://docs.amcharts.com/3/javascriptcharts/AmGraph You['ll want to apply the settings under graph-options so in your amchart serial instance you'd put into the dashboard: <ma-serial-chart graph-options="{ lineThickness: 3 } " points="pts" values="vals"></ma-serial-chart> Note that it will pay to enable the API help menu item under administration->edit menus then click through the available components to see how everything works inside the dashboard. Sorry I'm late to the party, had to work out of office for 3 days, Fox
  • Stale data on Dashboard Pages

    3
    0 Votes
    3 Posts
    2k Views
    cmusselmC
    Thank you, Jared. We'll upgrade and see if this fixes the issue. Thanks, Chad
  • Graph 2 dependent variables (Temp vs. Pressure)

    2
    1 Votes
    2 Posts
    1k Views
    Jared WiltshireJ
    @north It's not something that is built into the Mango UI. However you could certainly create a custom component to insert into your dashboards to do this. You could use amCharts or d3 to do this. Any reason you are not upgrading to Mango 3.7?
  • Insight Required

    6
    0 Votes
    6 Posts
    2k Views
    P
    Thanks for the help I am navigating through the new UI and getting most of it to work as I need. I was able to get the DS import working. One last question about the JSON importing. I create the Excel reports normally by exporting the report template in csv then manipulating the references in Excel and then back in again using the csv import. How should I now get this excel Report template exported to a csv format and re-imported back into the system as an excel report template?
  • ng-init for date.to and date.from

    3
    0 Votes
    3 Posts
    2k Views
    Jared WiltshireJ
    <div ng-init="dateBar.from = ('2019-12-08T09:16:47.297' | maMoment:'toDate')"></div>
  • Using Webpack with user modules

    2
    0 Votes
    2 Posts
    1k Views
    B
    Very cool! a man of his word. This will be most helpful.