Hi,
We found a possible defect in TeeChart library.
Chart series marks which are beyond chart area do not disappear (while chart point markers are hidden).
This happens after chart is scrolled/zoomed, so that some of points get out of chart area. Point markers for them are hidden, while series marks are still visible.
Issue was confirmed on demo application provided with TeeChart.
See attached screenshots.
Chart series' marks do not disappear
Chart series' marks do not disappear
- Attachments
-
- marks2.jpg (46.94 KiB) Viewed 6106 times
-
- marks.jpg (128.21 KiB) Viewed 6099 times
Re: Chart series' marks do not disappear
Hi Sebastian,
You can use Marks.Clip as suggested here or you can use OnGetMarkText:
You can use Marks.Clip as suggested here or you can use OnGetMarkText:
Code: Select all
procedure TForm1.Series1GetMarkText(Sender: TChartSeries; ValueIndex: Integer; var MarkText: String);
begin
if not PointInRect(Chart1.ChartRect, Sender.CalcXPos(ValueIndex), Sender.CalcYPos(ValueIndex)) then
MarkText:='';
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Chart series' marks do not disappear
OK. Thanks.
Works fine.
Works fine.