Hi,
I am using WPF Teechart. Chart Header Color and TextAlignment properties are not working.
Below is the code snippet, i am using to set Header properties
tChart1.Header.Text = "Cougar Chart";
tChart1.Header.Brush.Color = Color.FromArgb(255, 255, 0, 0);
tChart1.Header.TextAlign = TextAlignment.Left;
tChart1.Header.Font.Bold = true;
tChart1.Header.Font.Size = 11;
tChart1.Header.Font.Name = "Microsoft Sans Serif";
tChart1.Header.Visible = true;
Regards,
Priya
WPF TeeChart - Header Color and TextAlignment properties
-
- Newbie
- Posts: 18
- Joined: Tue Sep 04, 2007 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Priya,
Color is not working here because by default the header is transparent. You need to do this:
For header's color to be visible.
Regarding TextAlign, yes, you are right. I've added the issue (TW16013804) to the defect list to be fixed for next releases.
Color is not working here because by default the header is transparent. You need to do this:
Code: Select all
tChart1.Header.Transparent = false;
Regarding TextAlign, yes, you are right. I've added the issue (TW16013804) to the defect list to be fixed for next releases.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |