My main problem with charts is not that they have a fixed history length (this was probably designed that way so that the memory allocation will be easier), but that you can only use them for data with a constant dT.
Personally, I use a piece of code I wrote a while back which is basically an XY chart and which can also allow you to change the buffer length at run time. You can find an example here.
Any idea that has received less than 9 kudos within 9 years after posting will be automatically declined.