• Recent
    • Tags
    • Popular
    • Register
    • Login

    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

    Charts with Dashboard Designer

    Dashboard Designer & Custom AngularJS Pages
    2
    4
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Pikey4
      last edited by

      Hi

      Wondering if someone can help me see where I am going wrong.

      I making some charts with the dashboard designer but cannot get it quite right.

      This below:

      <ma-get-point-value id="1910cf58-10f5-4c5d-8ad8-7a181fc67c79" style="position: absolute; left: 30px; top: 0px;" point-xid="terrPlaceDP_ff2387e8-1649-45b2-b182-9c6d4077e665" point="coldFlowRatePoint"></ma-get-point-value>
       
       <ma-point-values id="02dad12c-b1ac-43f5-959d-dbcc3363d643" point="coldFlowRatePoint" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals + ' ' + dateBar.rollupIntervalPeriod}}" style="position: absolute; left: 310.422px; top: 0px;" values="coldFlowRateValue" point-xid="lvl"></ma-point-values>
       
          <ma-serial-chart id="363aca3d-dd20-45b6-9a26-63aa4109ee11" style="position: absolute; width: 400px; height: 340px; left: 30px; top: 95px; border-width: 2px; border-color: rgb(14, 13, 13);" point="coldFlowRatePoint" default-color="#351fcd" legend="true" series1-point="coldFlowRatePoint" series1-value="coldFlowRateValue" series1-color="#df2525" series1-axis="Left" values="coldFlowRateValue" series1-values="coldFlowRateValue"></ma-serial-chart>
      

      Creates this:

      0_1528324741926_Screenshot2.jpeg

      But I feel lik eI have it all correct??? I have tried many different ways to get the chart up but no cigar..

      Thanks in advance.

      Mango Core version: 3.5.6
      Mango API module version: 3.5.2
      MangoUi module version: 3.5.5
      Platform: 10.14 MacOS Mojave
      Chrome: Version 70.0.3538.110 (64-bit)

      1 Reply Last reply Reply Quote 0
      • MattFoxM
        MattFox
        last edited by MattFox

        @pikey4 said in Charts with Dashboard Designer:

        <ma-serial-chart id="363aca3d-dd20-45b6-9a26-63aa4109ee11" style="position: absolute; width: 400px; height: 340px; left: 30px; top: 95px; border-width: 2px; border-color: rgb(14, 13, 13);" point="coldFlowRatePoint" default-color="#351fcd" legend="true" series1-point="coldFlowRatePoint" series1-value="coldFlowRateValue" series1-color="#df2525" series1-axis="Left" values="coldFlowRateValue" series1-values="coldFlowRateValue"></ma-serial-chart>

        You've got some misstypes:

        1. use only points and values OR series-x-point and series-x-values which brings me to..

        2. series1-point="coldFlowRatePoint" series1-value="coldFlowRateValue" series1-color="#df2525" series1-axis="Left" values="coldFlowRateValue" series1-values="coldFlowRateValue" need a '-' between the series and 1

        3. if you are using charts, you only require the point and the <ma-point-values> directive.

        Edit 4)
        Why are you mixing points with values??? Use either a point list or point query and assign that to a point attribute which can be inserted into the series-1-point attribute. OR Just supply the series-1-values attribute and supply the point information with series-1-title and series-1-ballon-text.

        I strongly recommend you peruse the mango API notes under API Docs -> components -> maSerialChart and the likes. It will give you the info you need to construct the dashboards you require. If you cannot see API docs, turn it on under Administration -> edit Menu

        Do not follow where the path may lead; go instead where there is no path.
        And leave a trail - Muriel Strode

        1 Reply Last reply Reply Quote 0
        • P
          Pikey4
          last edited by

          Thanks @MattFox for taking the time to assist,

          The misstypes you identified, i did not notice so thank you. It looks like it came from the dashboard designer itself;
          0_1528422205335_Screen shot.jpeg

          But placing a '-' doesn't rectify anything.

          I took a closer look at how I was mixing 'point' and 'values' you mentioned. You're absolutely right it was just me over cooking things.

          In any case, managed to copy some text from an example chart and alter it to my requirements. I still can't see where the issue was in the first place but perhaps some bug with using the designer?? Or just another miss-type that I could not find.

          You Also mentioned the 'API docs' which I have had a look at, but to be honest I am still at Kindy with my training wheels with this stuff so It's the long way round for me until I find someone that knows what there doing.

          But it's fun as well, so all good.

          Thanks again for you help, really appreciate it.

          Mango Core version: 3.5.6
          Mango API module version: 3.5.2
          MangoUi module version: 3.5.5
          Platform: 10.14 MacOS Mojave
          Chrome: Version 70.0.3538.110 (64-bit)

          1 Reply Last reply Reply Quote 0
          • MattFoxM
            MattFox
            last edited by

            Happy to help where I can, I've had more than my fair share of err.. intriguing intricacies with the amcharts stuff.
            If you have any questions, I don't mind the occasional chat message to help you get in the right direction. You'll generally find though that a lot of questions you may have are already here in the forums.
            Good Luck

            Fox

            Do not follow where the path may lead; go instead where there is no path.
            And leave a trail - Muriel Strode

            1 Reply Last reply Reply Quote 0
            • First post
              Last post