Gets or Sets the legend marker color corresponding to a DataSeries or DataPoint.
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 LegendMarkerColor="Blue">
</vc:DataSeries>
<vc:DataSeries LegendMarkerColor="Red">
</vc:DataSeries>
</vc:Chart.Series>
</vc:Chart>
Below is the chart after applying LegendMarkerColor property in DataSeries:

Remarks:
In a single-series chart, legend markers takes color from DataPoints by default.
In a multi-series chart, legend markers takes color from DataSeries by default.
If LegendMarkerColor is set in DataSeries or DataPoint, it will override the Color property of DataSeries and DataPoint inside the corresponding legend marker.