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

  • 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


  • 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;
    

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