ayushsharma82 / ESP-DASH

Blazing fast library to create a functional dashboard for ESP8266 / ESP32
https://espdash.pro
GNU General Public License v3.0
976 stars 200 forks source link

Bug or restriction by design? #155

Closed GitHubUserEH closed 3 months ago

GitHubUserEH commented 1 year ago

I am not sure if this is a bug or if this is a limitation.

In a chart, a maximum of 62 values can be displayed vertically. If you want to display more elements, it works in the horizontal axe, but nothing is displayed vertically. On the contrary, the higher the number of elements, the less vertical bars are shown. See the attached PDF with the screenshoots.

Code from the main loop to test:

void loop() { int ArH[128]; int ArV[128];

for (int i = 0; i < 128; i++) { ArH[i] = i; ArV[i] = (int)random(1, 999); }

Test_Chart.updateX(ArH, 62); // <= 62 working <= 128 working Test_Chart.updateY(ArV, 62); // <= 62 working >= 63 no vertikal bar is showing !

dashboard.sendUpdates();

delay(2000); }

ESP32Chart.pdf

stale[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you are still facing the problem, please tag the author of repository and state your concern.

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

ayushsharma82 commented 3 months ago

This should be fixed after recent performance improvements which are implemented in ESP-DASH. I'm marking this closed, but incase you are still facing the same problem - you can reopen the issue.