• 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 2 weeks 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 2 weeks 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

  • [eBook Updated] Firebase Web App with ESP32 and ESP8266 (version 1.2) April 25, 2022
  • [eBook Updated] MicroPython Programming with ESP32 and ESP8266 (version 1.3) February 7, 2022

You must be logged in to view this content.

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

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