Title

Any text can be added to the Chart using this element. The main purpose of the element is to display the title for the Chart. Please refer to figure below:

 

title.jpg

 

Usage:

 

<vc:Chart ... >

 

<vc:Chart.Titles>

<vc:Title.../>

</vc:Chart.Titles>

 

</vc:Chart>

 

List of attributes:

 

Attribute

Function

BorderColor

Sets the color for the title border line.

BorderThickness

Sets the thickness of the border line.

Background

Sets the color for the title background.

CornerRadius

Sets the parameter used to create rounded or elliptical corners for the element.

Cursor

This attribute sets the pointer that displays when the user moves the mouse over an element.

DockInsidePlotArea

Sets whether the title should be place inside PlotArea or outside. Default is outside.

Enabled

Enables or disables the title.

FontColor

Sets the color of the title text.

FontFamily

Sets the font of the title text.

FontSize

Sets size of the title text.

FontStyle

Sets the style of the title text. Takes values like "Italic" or "Normal".

FontWeight

Sets effects for the title text. Takes values like "Bold", "Normal", "Black" .

HorizontalAlignment

 

Sets the horizontal positioning of the title. Takes values like "Left", "Center",  "Right" and "Stretch".

Href

Sets the hyper link (http:// is required).

HrefTarget

Sets where the URL specified in Href to be opened.

Inlines

Inline text content of Title (Also follow 'Remarks' section)

Opacity

Opacity can be used to make any element transparent or opaque.

ShadowEnabled

Applies a shadow to Title.

Text

Sets the text content of the title.

TextDecorations

Sets the TextDecorations to content of the title

ToolTipText

Sets the tool tip content for the title.

VerticalAlignment

Sets the vertical positioning of the title. Takes values like "Top", "Center", "Bottom" and "Stretch".

 

Remarks:

    1. Text property has higher precedence than Inlines property. If Text and Inlines both properties are set then Text property will be considered while displaying content of the Title.