# of entries to fetch

# of entries to fetch

The maxentries parameters defines the number of entries to get from the GF database : by default, maximum 200 entries are retrieved (which is Gravity Forms API default), increase at your own risk (performances).

Max Entries = 10

[gfchartsreports include="3" maxentries="10" type="doughnut" color_set="orange"]

Max Entries default (max 200)

[gfchartsreports include="3" type="doughnut" color_set="orange"]

Max Entries = 1000

[gfchartsreports include="3" type="doughnut" maxentries="1000" color_set="orange"]

About The Author

Comments (8)

  • semesti8

    Hi
    Thanks for the great plugin. Quick question. Is there any way to display 60,000 entries using MaxiCharts?

    • MaxiCharts

      Yes it is technically possible, but depends on you server performance and several things:
      1) make sure the debug of maxicharts is set the the “error” or “fatal” : edit file maxicharts/mcharts_utils.php line 9:
      define(“MAXICHARTS_DEBUG_LEVEL”,’fatal’);
      1bis) make sure Gravity Forms debug is OFF
      2) set maxentries=”60000″
      3) display your chart and tell us if it works 😉

  • semesti8

    Thanks for quick reply. Unfortunately I did not able to display the chart. Is PHP configuration take parts to increase performance?

    • MaxiCharts

      Anything displayed ? Do you have a link to the page ? A log file to send ? A form and entries to export ?

  • semesti8

    I manage to display the chart with maximum 46,000 entries.
    Greater than that i got this error on my logs
    PHP Warning: count(): Parameter must be an array or an object that implements Countable in /public_html/wp-content/plugins/maxicharts/maxicharts.php on line 1159

    My PHP.ini
    – max_execution_time = 3600
    – memory_limit = 1500M

    • MaxiCharts

      Thanks a lot for tou feedback, we are going to investigate. 46000 is not enough…!

  • semesti8

    No, thanks to you. 🙂

Leave Comment