Hi,
If I want to change the positions for the marks manually using TPointSeries, I can´t do this unless the the Chart is displayed visually. That is, I can´t change the positions unless I have set the Charts parent to visible. Does anyone know how to solve this problem?
Best Regards,
Johan Ingemansson
Changing Marks positions with TPointSeries
-
- Newbie
- Posts: 59
- Joined: Fri May 28, 2004 4:00 am
- Location: Sweden
Hi, Johan.
Actually, the marks are created when chart is painted i.e. when the Chart.Draw method is being called. If you want to access series marks before the chart is actually painted, you could call the Chart.Draw method and then access series marks. I haven't tried this approach when TChart.Parent is nil, but using the latest version, together with setting BufferedDisplay to false, it might work just fine.I can´t do this unless the the Chart is displayed visually
Marjan Slatinek,
http://www.steema.com
http://www.steema.com
-
- Newbie
- Posts: 59
- Joined: Fri May 28, 2004 4:00 am
- Location: Sweden