• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Ram space reserved for HighChARTS

Q&A Forum › Category: ESP32 › Ram space reserved for HighChARTS
0 Vote Up Vote Down
paulfjujo asked 3 years ago

Hello,

i want to increase the X Axis of linear highchart up to 1440 ( on day=1440mn)

On Hightcharts , what is the size limit on X axis ?
.. and with any variables to display
On the example , X axis is only for 40 points
Now, i have 5 values displayed with 5 different Y Axis
=> 5×40=200 float values
The number of point (X axis) is defined by a direct value inside the code
not in a defined constant ..

i didn’t see a place to declare the size of RAM to reserve for the charts..
it is not a normal situation …
can the compiler calcul and reserve the amount of RAM for charts ?

What do you think about that ?
How to prevent RAM overvrite/overflow ?

actual code

if (chartT.series[i].data.length > 40) {
chartT.series[i].addPoint([x, y], true, true, true)
} else {
chartT.series[i].addPoint([x, y], true, false, true)
}

Question Tags: highcharts
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
I don’t think there is a limit for the X-axis.
The points are not saved on the ESP32 unless you add code to save them on SPIFFS for example.
If you refresh the web browser the points will disappear.
Regards,
Sara
 
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.