Security
You are reading the documentation for ESP-DASH v4.x.x, which is no longer the latest release. View the v5.x.x documentation.Disable Statistics
Disable the built-in system statistics in ESP-DASH v4 and hide the Statistics tab from the sidebar.
ESP-DASH displays system statistics, such as the hardware platform, SDK version and free heap, on the Statistics page by default. To disable them, pass false as the last argument of the ESPDash constructor.
Disable system statistics
If you serve the dashboard at the default URI, pass false as the second argument:
ESPDash dashboard(&server, false);If you use a custom URI, pass false as the third argument:
ESPDash dashboard(&server, "/", false);Hide the Statistics tab
When system statistics are disabled and the sketch defines no custom statistics, the dashboard hides the Statistics tab from the sidebar automatically.