ChartTitle Object
Chart Pro ActiveX Control v24.0
Description
Represents a title displayed in the chart.
For a list of all members defined in this module, see ChartTitle members.
Object Model



Remarks
The chart can contain multiple sets of titles that can be docked to the top, bottom, left, or right of the chart. You can also stack multiple titles at the same docking location. In addition to normal text, titles can contain XML markup snippets to format the title's text.

Example
Dim pContent As ChartContent
Set pContent = ChartControl.Content
pContent.EnableMarkup = True
pContent.Legend.Visible = False
Dim pTitle As ChartTitle
Set pTitle = pContent.Titles.Add("Chart Control supports Titles")
Set pTitle = pContent.Titles.Add("Left Title")
pTitle.Docking = xtpChartDockLeft
Set pTitle = pContent.Titles.Add("Right Title")
pTitle.Docking = xtpChartDockRight
Set pTitle = pContent.Titles.Add("Click Title to set its properties")
pTitle.Docking = xtpChartDockBottom
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.