TextWrap

TextWrap relatively controls the width of the text. Expected value of TextWrap property varies from 0 to 1. As an example for a Bar chart (Figure :1) of width 400 pixels, if TextWrap property is set to 0.2, the maximum width of text will be 400 * 0.2 = 80 pixels. Text will start wrapping after 80 pixels.

 

Type: Double

Namespace: Visifire.Charts

Assembly:

 

Silverlight:

SLVisifire.Charts (in SLVisifire.Charts.dll)

WPF:

WPFVisifire.Charts (in WPFVisifire.Charts.dll)

 

This attribute applies to:

 

Syntax:

<vc:Chart ... >

<vc:Chart.AxesX>

<vc:Axis>

<vc:Axis.AxisLabels>

<vc:AxisLabels TextWrap="0.2"/>

</vc:Axis.AxisLabels>

</vc:Axis>

</vc:Chart.AxesX>

</vc:Chart>

 

Below is the chart after setting TextWrap property in AxisLabels.

 

                                                         Figure:1

 

Remarks:

  1. TextWrap takes values from 0 - 1.