Sure. Thanks for sharing and replying back to me!
I've spend quite some time testing and working on the memory problems. Perhaps your goal was to handle this more dynamic?, but I've instead handle it more traditional. So I've added a lot of destructers on the various objects. Also to get around the reference count problem with the ChildList:TObjectlist<THighValue> I've change it not to own its objects. So I believe all leaks now are fixed. (I don't get the memory leak dialog warning any longer.)
I've also done some other small changes.
One thing that I found helpful working with HighChart is to have the x-values in Highchart date format and then just format the data labels as needed
function DateTimeToHighChartDateTime(d:TDateTime):int64;
begin
Result:=DateTimeToUnix(D) * 1000;
end;
I as well have a need for reloading the Graph when the user change various things. As it takes some milliseconds for the urlFrame to load the temp data-file from the web server over internet, the object flicker some then. So to get around this, I have a procedure that handle this internally within unigui. So instead setting the HTML in the UrlFrame directly. This gives a more smoother and quicker appearence.
I attach the uEchoHightChart.pas - file if you're interested in reviewing any of it.
Thanks for your help!