Page 1 of 1

Gradient fonts

Posted: Mon Nov 02, 2009 9:24 pm
by 14045174
In my examples the gradient is set as following:
start color = red
middle color = yellow
end color = green

Here is how horizontal direction come up:
Horizontal.jpg
Horizontal.jpg (11.33 KiB) Viewed 3076 times

The vertical is not much better:
Vertical.jpg
Vertical.jpg (10.76 KiB) Viewed 3076 times
The "from center" works only if the word wrap is set to "Tile" (at least it works then).

I do not know about your clients, but mine will not like this... And again, in old Win32 version we did not have any problems like this!

Re: Gradient fonts

Posted: Tue Nov 03, 2009 12:58 pm
by yeray
Hi UserLS,

Yes you are right. I could reproduce it with the following code and I've added it to the wish list to be fixed in further releases (TF02014528).

Code: Select all

tChart1.Header.CustomPosition = true;
tChart1.Header.Left = 30;
tChart1.Header.Top = 50;
tChart1.Header.Font.Size = 80;

tChart1.Header.Font.Gradient.Visible = true;
tChart1.Header.Font.Gradient.StartColor = Color.Red;
tChart1.Header.Font.Gradient.MiddleColor = Color.Yellow;
tChart1.Header.Font.Gradient.EndColor = Color.Green;
tChart1.Header.Font.Gradient.Direction = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;

tChart1.Footer.Visible = true;
tChart1.Footer.Text = "My Footer";
tChart1.Footer.CustomPosition = true;
tChart1.Footer.Left = 30;
tChart1.Footer.Top = 180;
tChart1.Footer.Font.Size = 80;

tChart1.Footer.Font.Gradient.Visible = true;
tChart1.Footer.Font.Gradient.StartColor = Color.Red;
tChart1.Footer.Font.Gradient.MiddleColor = Color.Yellow;
tChart1.Footer.Font.Gradient.EndColor = Color.Green;
tChart1.Footer.Font.Gradient.Direction = System.Drawing.Drawing2D.LinearGradientMode.Vertical;