I added the series at design-time and populate them at runtime.
but...
Dear me, - how can this happen!?
And you solved it again by making me look into the object inspector: I used a wrong series name.
The next question would be: How that?
I used
self.
and then I waited for the editor to give me the right name.
It gave me the wrong name.
I had such problems in the past, that name / favorites tab / internal help are not sync by the name. I write it on one place and it was not corrected in the other field.
The "wrong" name, which led to the access violation was rather an old name. I used it for a chart, which I had deleted already. Lazarus seems to "have this in mind", when the text completion offered me this. And the compiler seems to "think", this is all ok?!
Is there anywhere a kind of cache I can delete? In Delphi I deleted the *.dcu files in such cases. Or I used "erzeugen" to clean up internal stuff.