i want to set a part of the sub heading to be bold.. i.e.
Year :2001,2002,2003 Facts: Volume
i want to set year and facts to be bold and 2001,2002,2003,volume on the normal style
Is there any way to set the part sub heading to bold
Hi Aravind,
I'm afraid there's not way to do this automatically. However a trick could be to use the Canvas.TextOut method, i.e. :
I'm afraid there's not way to do this automatically. However a trick could be to use the Canvas.TextOut method, i.e. :
Code: Select all
Private Sub Form_Load()
TChart1.SubHeader.Text.Add "This is "
End Sub
Private Sub TChart1_OnAfterDraw()
TChart1.Canvas.Font.Bold = True
TChart1.Canvas.TextOut TChart1.SubHeader.Left + TChart1.Canvas.TextWidth(TChart1.SubHeader.Text.Item(0)), TChart1.SubHeader.Top + 1, "important"
End Sub
Pep Jorge
http://support.steema.com
http://support.steema.com