Gets or Sets the background color for the DataPoint labels.
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.Series>
<vc:DataSeries>
<vc:DataSeries.DataPoints>
<vc:DataPoint LabelBackground="Red" />
</vc:DataSeries.DataPoints>
</vc:DataSeries>
</vc:Chart.Series>
</vc:Chart>
or
<vc:Chart ... >
<vc:Chart.Series>
<vc:DataSeries>
<vc:DataSeries.DataPoints>
<vc:DataPoint>
<vc:DataPoint.LabelBackground>
<SolidColorBrush Color="Red" />
<vc:DataPoint.LabelBackground>
</vc:DataPoint>
</vc:DataSeries.DataPoints>
</vc:DataSeries>
</vc:Chart.Series>
</vc:Chart>
Below is the chart after setting LabelBackground property:

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