Main issue:
I am working on some kind of graph compiler which accepts a description like this
Code: Select all
Chart Temperature Title Temperature Inclusive Inside
PLOT Temperature As spLine Colour Blue zIndex 90
EndCHART
Chart Pressure Title Sealevel Pressure
PLOT pressure As spLine Colour green zIndex 90
EndCHART
As the chart object is local (assigned with a let statement) I assume it disappears by the garbage collector when a new one is created. Apparently that does not hold for its axis (and other attached objects) or only after some time.
What can I do to prevent this effect? What do I do wrong?
I tried to remove the axis after creating the new chart object but it does not know them so in a way they are ghost-axis.
second issue:
I don't seem to get the opposite axis with the labels. What is the problem here?
Kind regards,
Hans