D6 Teechart 7.06
I've a Teechart on which I create several hundred Tlineseries at run time, each X,Y point on each lineseries is used to draw the value of an attribute, color coded according to the value. I'm using the ongetpointerstyle event to determine the color to draw the point with
valuecolor[valueindex]:=newcolour.
This all works as expected, except when the chart is first drawn the point (series) are all drawn with the seriescolor of the series (I set this at run time when series are created). If the user does any interaction with the chart, say to zoom or to right-click the chat and move the drawing a bit, then the ongetpointerstlyle event gets fired and the points take on different colours.
CAn anyone tell me how to get the ongetpointerstyle to fire the first time the series are drawn please. (I've tried series.refresh after completing the addxy for each series), have tried chart.refresh after addding all x,y for all series.
thanks
Sean[/url]
TlineSeries.OnGetPointerStyle
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |