LinePen and Background

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
BCSE
Newbie
Newbie
Posts: 1
Joined: Thu Jul 18, 2019 12:00 am

LinePen and Background

Post by BCSE » Tue Sep 10, 2019 1:20 pm

Hello. We have questions on using teeChart Pro 2019.27 for Delphi 7
1 When upgrading from teeChart 8 standart to teeChart Pro 2019.27, the dashed line type changed for LineSeries LinePen.Style: = psDash
teeChart 8 standart : Picture 1
teeChart Pro 2019.27: Picture 2
How can I change the appearance of the dashed line in teeChart Pro 2019.27 as in teeChart 8 (Anti-Alias must be enabled)
Please, if you can, send an example.

2 How can I fill as shown: Picture 3
The Delphi 7 workspace was one color and the outside a different one.
Attachments
3.png
3.png (16.13 KiB) Viewed 161 times
2.png
2.png (20.52 KiB) Viewed 161 times
1.png
1.png (81.1 KiB) Viewed 161 times

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

Re: LinePen and Background

Post by Yeray » Mon Sep 23, 2019 7:09 am

Hello,

One of the things that changed (concretely in 2013.09) is the default Canvas. We moved from GDI to GDIPlus and this could explain that difference you are noticing.
So I'd suggest you to try forcing GDI (see the options you have here).

Regarding the colors, if I understand you correctly, you would like to modify the back wall color. Note it has a gradient active by default:

Code: Select all

  Chart1.Walls.Back.Gradient.Visible:=False;
  Chart1.Walls.Back.Color:=clRed;
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

Post Reply