Page 1 of 1

LinePen and Background

Posted: Tue Sep 10, 2019 1:20 pm
by 16586682
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.

Re: LinePen and Background

Posted: Mon Sep 23, 2019 7:09 am
by yeray
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;