ZIndex

Elements with greater ZIndex value appear in front of another element with lower ZIndex value.

 

Type: Int32

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 ZIndex="10">

.

.

.

</vc:DataSeries>

</vc:Chart.Series>

</vc:Chart>

 

Below is the chart after setting ZIndex property in DataSeries. In this example, there are two DataSeries, first is Area and second is Column. But the ZIndex is set in first DataSeries (Area) to 2 because of which the Area DataSeries is appearing in front of Column DataSeries.