| Visual Basic (Declaration) | |
|---|---|
Public Property TitleBox As Box  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
 | |
| C# | |
|---|---|
public Box TitleBox {get; set;}  | |
| C# |  Copy Code | 
|---|---|
Chart.TitleBox.Background = new Background(System.Drawing.Color.SkyBlue); | |
| Visual Basic |  Copy Code | 
|---|---|
Chart.TitleBox.Background = new Background(System.Drawing.Color.SkyBlue) | |
Notes
- To hide the title box use
- Setting
- When no title, or icon is provided and TitleBoxPosition.FullWithLegend is not set, the title box is automatically hidden.
            
            
            - 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.