• 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

    The logs limit is 5000 sample?

    Mango Automation general Discussion
    2
    3
    1.6k
    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.
    • J
      jackchang
      last edited by

      I have record the sensor data about a week. Today the log window popup a window show the log limit number is 5000 samples.
      0_1478347323760_log1.png

      The follow is my data point log setup window.
      0_1478347328321_log2.png

      Can I change the maximum number of trendlog?

      Many thanks!
      Jack Chang

      1 Reply Last reply Reply Quote 0
      • terrypackerT
        terrypacker
        last edited by

        This setting has nothing to do with the data point settings, it is a chart setting for the pages.

        The limit is there because the chart slows down the page substantially when too many point values are charted. This message is used to indicate that using a rollup might be better. You can rollup the values into time period 'buckets'. So you could create a chart with 1,440 samples of minute averages by choosing:

        Rollup: Average
        Time Periods: 1 Minute
        Date Range: Past 1 Day

        If you really want to change the limit you can edit this file (but it will be replaced on upgrade of the dashboards module so you will have to replace it every time you upgrade.):

        <ma_home>/web/modules/dashboards/web/js/mango-2.0/PoitnValueDataProvider.js
        

        Change Line 43 to whatever you want:

        /**
         * Used to limit the maximum amount of values that will be returned.
         * If more than this, the too much data method will be called.
         * @see PointValueDataProvider#tooMuchData
         * @type {number}
         * @default 5000
         */
        PointValueDataProvider.prototype.maxPointValueCount = 5000;
        
        J 1 Reply Last reply Reply Quote 0
        • J
          jackchang @terrypacker
          last edited by

          @terrypacker
          I'm clear. I'm appreciated for your reply.

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