Gets or sets a Box object that represents the title box.
[Visual Basic]
Public Property TitleBox As Box
[C#]
public Box TitleBox {get; set;}
Remarks
Notes
- To hide the title box use
Chart.TitleBox.Position = TitleBoxPosition.None
.
- Setting Chart.TitleBox.Icon = "...IconPath..."
draws the image inside the
title box.
- When no title, or icon is provided and TitleBoxPosition.FullWithLegend is not set,
the title box is automatically hidden.
Example
[C#]
Chart.TitleBox.Background = new Background(System.Drawing.Color.SkyBlue); Chart.TitleBox.CornerBottomLeft = BoxCorner.Square; Chart.TitleBox.CornerBottomRight = BoxCorner.Square; Chart.TitleBox.CornerTopLeft = BoxCorner.Cut; Chart.TitleBox.CornerTopRight = BoxCorner.Cut; Chart.TitleBox.IconPath="icon.gif"; Chart.TitleBox.Label = new dotnetCHARTING.Label("Orders By Customers",new Font("Arial",10),Color.DarkSlateBlue); Chart.TitleBox.Line = new Line(Color.Blue); Chart.TitleBox.Position = TitleBoxPosition.Center; Chart.TitleBox.Shadow.Color = Color.LightBlue; Chart.TitleBox.Shadow.Depth=40; //For complete code, see TitleBox.aspx sample |
[Visual Basic]
Chart.TitleBox.Background = new Background(System.Drawing.Color.SkyBlue)
Chart.TitleBox.CornerBottomLeft = BoxCorner.Square
Chart.TitleBox.CornerBottomRight = BoxCorner.Square
Chart.TitleBox.CornerTopLeft = BoxCorner.Cut
Chart.TitleBox.CornerTopRight = BoxCorner.Cut
Chart.TitleBox.IconPath="icon.gif"
Chart.TitleBox.Label = new dotnetCHARTING.Label("Orders By Customers",new Font("Arial",10),Color.DarkSlateBlue)
Chart.TitleBox.Line = new Line(Color.Blue)
Chart.TitleBox.Position = TitleBoxPosition.Center
Chart.TitleBox.Shadow.Color = Color.LightBlue
Chart.TitleBox.Shadow.Depth=40
|
See Also
Chart Class
| Chart Members
2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.