Version

TitleLeft Property

Returns an Appearance object that you can use to access all the formatting properties of title box at the left edge of the chart.
Syntax
'Declaration
 
Public Property TitleLeft As TitleAppearance
public TitleAppearance TitleLeft {get; set;}
Example
'The following applies to all titles, titletop is simply used for the example
'sets the height or width of space for the title
UltraChart1.TitleTop.Extent = 45
'sets the font color
UltraChart1.TitleTop.FontColor = Color.Red
'sets whether the chart auto-sizes the font for the title
UltraChart1.TitleTop.FontSizeBestFit = True
'sets the horizontal alignment of the text
UltraChart1.TitleTop.HorizontalAlign = StringAlignment.Far
'sets the margins for the Top, Bottom, Left and right
UltraChart1.TitleTop.Margins.Bottom = 2
UltraChart1.TitleTop.Margins.Top = 2
UltraChart1.TitleTop.Margins.Left = 2
UltraChart1.TitleTop.Margins.Right = 2
'sets the text to display for the chart in the title
UltraChart1.TitleTop.Text = "Sample Title Text"
'sets the vertical alignment of the title
UltraChart1.TitleTop.VerticalAlign = StringAlignment.Near
'show/hide the referenced title
UltraChart1.TitleTop.Visible = True
'wrap/don't wrap the text
UltraChart1.TitleTop.WrapText = True
// the following applies to all titles, titletop is simply used for the example
// sets the height or width of space for the title
UltraChart1.TitleTop.Extent = 45;
// sets the font color
UltraChart1.TitleTop.FontColor = Color.Red;
// sets whether the chart auto-sizes the font for the title
UltraChart1.TitleTop.FontSizeBestFit = True;
// sets the horizontal alignment of the text
UltraChart1.TitleTop.HorizontalAlign = StringAlignment.Far;
// sets the margins for the Top, Bottom, Left and right
UltraChart1.TitleTop.Margins.Bottom = 2;
UltraChart1.TitleTop.Margins.Top = 2;
UltraChart1.TitleTop.Margins.Left = 2;
UltraChart1.TitleTop.Margins.Right = 2;
// sets the text to display for the chart in the title
UltraChart1.TitleTop.Text = "Sample Title Text";
// sets the vertical alignment of the title
UltraChart1.TitleTop.VerticalAlign = StringAlignment.Near;
// show/hide the referenced title
UltraChart1.TitleTop.Visible = True;
// wrap/don't wrap the text
UltraChart1.TitleTop.WrapText = True;
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also