TrendLine

This line can be drawn to indicate significance of certain points. Please refer to figure below:

 

trendline.jpg

 

Usage:

 

<vc:Chart ... >

 

<vc:Chart.TrendLines>

<vc:TrendLine.../>

</vc:Chart.TrendLines>

 

</vc:Chart>

 

List of attributes:

 

Attribute

Function

AxisType

 

AxisType can be used to set whether the TrendLine should target primary axis or secondary axis.

Cursor

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

Enabled

Enables or disables the trend line

Href

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

HrefTarget

Sets where the URL specified in Href to be opened.

LineColor

Sets the color of the trend line.

LineStyle

Sets the style of the trend line. Takes values like "Dashed", "Dotted" ...

LineThickness

Sets the thickness of the trend line.

Opacity

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

Orientation

Sets the orientation of the trend line. It takes values like Horizontal, Vertical.

ShadowEnabled

Enables or disables the shadow of trend line.

ToolTipText

Sets the text content for trend line.

Value

Sets the value to be used when vertical trend line is needed.

StartValue

Sets the start value to be used when Horizontal and Vertical TrendLine is needed.

EndValue

Sets the end value to be used when Horizontal and Vertical TrendLine is needed.

LabelText

Sets the contents of the TrendLine label.

LabelFontColor

Sets the color for the text in the TrendLine label.

LabelFontFamily

Sets the font type of the TrendLine label.

LabelFontSize

Sets the size of the TrendLine label.

LabelFontStyle

Sets the font style of the TrendLine label.

LabelFontWeight

Sets the weights of the text in the TrendLine label.