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) |
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:

Remarks:
Any Brush derived from the System.Windows.Media::Brush can be applied to this attribute.
LineColor property cannot be null if set from XAML.