Vote count:
0
I have put a tchart on a delphi form (XE4) and make the width 65535 pixels (the maximum). I have set the scale of the bottom axis to fixed values (minimum 0, maximum 65534) and then I add values using something like:
for i := 0 to 60000 do
chart1.series[0].addXY(i, 10 + (i mod 80));
The result is some strange behaviour with additional lines being plotted on locations where they shouldn't be, while any point beyond 32767 is missing. The same thing happens when setting the maximum of the bottom axis to for example 5000 and fill the whole thing with 'only' 100 samples between 0 and 5000. Remarkable is the fact that some combinations of adding values close to the maximum value of the bottom axis do seem to work (even beyond 32767 pixels from the left).
Does anyone has some insight into the reasons of this behaviour? Is there any way to solve this problem aside from not using tcharts with a width over 32767 pixels?
Aucun commentaire:
Enregistrer un commentaire