THighLowSeries and Legend drawing problem?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Sean
Newbie
Newbie
Posts: 2
Joined: Fri Apr 13, 2018 12:00 am

THighLowSeries and Legend drawing problem?

Post by Sean » Thu Oct 18, 2018 1:42 pm

I have a chart plotting a line series but when I add a HighLow series the Legend and Annotation tool are blanked out.

I've just updated to version 2018.25 from 2017.21, so this bug has been introduced since then.

Regards,
Sean.
Attachments
2018-10-18_14-37-17.jpg
Normal Chart showing Line Series
2018-10-18_14-37-17.jpg (60.53 KiB) Viewed 4248 times
2018-10-18_14-35-58.jpg
Chart with line and HighLow Series showing blanked Legend & Annotation
2018-10-18_14-35-58.jpg (55.08 KiB) Viewed 4248 times

Yeray
Site Admin
Site Admin
Posts: 8971
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: THighLowSeries and Legend drawing problem?

Post by Yeray » Tue Oct 23, 2018 8:03 am

Hello,

I could reproduce the problem so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=2116
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 8971
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: THighLowSeries and Legend drawing problem?

Post by Yeray » Tue Oct 23, 2018 8:10 am

Hello,

This is just to inform I have been able to fix the bug (#2116) so the next release will include it.

If you want to fix it in your sources, you just have to add this line at the end of the THighLowSeries.DoBeforeDrawValues method, in ErrorBar.pas:

Code: Select all

Procedure THighLowSeries.DoBeforeDrawValues;
//...
  ParentChart.Canvas.UnClipRectangle;
end;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Sean
Newbie
Newbie
Posts: 2
Joined: Fri Apr 13, 2018 12:00 am

Re: THighLowSeries and Legend drawing problem?

Post by Sean » Fri Nov 02, 2018 1:09 pm

Hi Yeray,
Thanks for fixing this so quickly.
Regards,
Sean. :D

Post Reply