LineColor

Gets or Sets the color of the lines used in the chart. For example,  Grid lines.

 

Type: Brush

Namespace: Visifire.Charts

Assembly:

Silverlight:

SLVisifire.Charts (in SLVisifire.Charts.dll)

WPF:

WPFVisifire.Charts (in WPFVisifire.Charts.dll)

Windows Phone:

SLWpVisifire.Charts (in SLWpVisifire.Charts.dll)

Windows 8:

Win8Visifire.Charts (in Win8Visifire.Charts.dll)

 

This attribute applies to:

 

Syntax:

<vc:Chart ... >

<vc:Chart.AxesY>

<vc:Axis ...>

<vc:Axis.Grids>

<vc:ChartGrid LineColor="Red"/>

</vc:Axis.Grids>

</vc:Axis>

 </vc:Chart.AxesY>

 

<vc:Chart.AxesX>

<vc:Axis ...>

<vc:Axis.Grids>

<vc:ChartGrid ...>

<vc:ChartGrid.LineColor>

<SolidColorBrush Color="Red"/>

</vc:ChartGrid.LineColor>

</vc:ChartGrid>

</vc:Axis.Grids>

</vc:Axis>

</vc:Chart.AxesX>

</vc:Chart>

 

Below is the chart after setting LineColor property to ChartGrid:

 

linecolor.jpg

 

 

Remarks:

  1. Any Brush derived from the System.Windows.Media::Brush can be applied to this attribute.

  2. LineColor property cannot be null if set from XAML.