Page 1 of 1

draw control on top of teechart

Posted: Wed Jun 27, 2007 12:46 pm
by 9645082
Hi all,

I have a label put in front (on top) of a chart. I use it to inform the user on the building progress of the chart.

The problem is that the label is not shown. I use the labelControl.BringToFront(); but that doesn't work.

Any suggestions?

Thanks
Stijn

Posted: Wed Jun 27, 2007 1:37 pm
by narcis
Hi Stijn,

This works fine for me here dropping a label on top of a TeeChart. However, you could try setting the chart as the label's parent:

Code: Select all

					label1.Parent = tChart1;

Posted: Wed Jun 27, 2007 2:32 pm
by 9645082
I used the developers expres label. The standard label works fine.

Thanks
Stijn

Posted: Wed Jun 27, 2007 2:40 pm
by narcis
Hi Stijn,

Have you tried placing that label on top a System.Windows.Form.Panel?

Thanks in advance.