Page 1 of 1
two line chart title not aligned properly
Posted: Sat Nov 13, 2010 11:25 pm
by 15654268
If i create a two line centered chart title where one line is longer than the other the two lines don't center properly, see the example below.
- 14-11-2010 10-16-07.png (26.75 KiB) Viewed 6711 times
Re: two line chart title not aligned properly
Posted: Mon Nov 15, 2010 9:22 am
by 10050769
Hello Adrian,
I couldn't reproduce your problem using last version of TeeChart.Net and next code:
Code: Select all
private void InitializeChart()
{
Steema.TeeChart.Styles.Line series1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
series1.FillSampleValues();
tChart1.Header.Text = "My two lines \n title";
tChart1.Header.TextAlign = StringAlignment.Center;
}
Could you check, if previous code works for you? On the other hand, could you tell us what version of TeeChart are you using?
Thanks,
Re: two line chart title not aligned properly
Posted: Tue Dec 21, 2010 8:01 pm
by 15654268
I've just downloaded the latest release 4.1.2010.11300 and using your Feature demo from that release goto Welcome !\Chart styles\Standard\Bar\Negative stacked. It illustrates the issue.
- 22-12-2010 06-49-35.png (157.38 KiB) Viewed 6733 times
Thanks.
Re: two line chart title not aligned properly
Posted: Wed Dec 22, 2010 10:07 am
by 10050769
Hello Captell,
I added your request in wish-list with number [TF02015333] to be considered inclusion it in next versions of TeeChart.Net. At the moment, you can use a solution I suggest previously, that modify alignment in the code.
Thanks,
Re: two line chart title not aligned properly
Posted: Wed Dec 22, 2010 11:41 pm
by 15654268
Thanks Sandra,
The problem with having to do it in the code is that my users create the titles using the properties editor.
Adrian.