Strips
A strip is a colored area that highlights a range of values on a corresponding axis. Strips show whether series points fall in or out of the range.
The table below lists strip customization options.
Property | Description |
---|---|
Specifies the text for the strip axis label. | |
Gets or sets the strip color. | |
Specifies the strip start value along an axis. | |
Specifies the strip end value along an axis. |
The following example adds a strip to the chart and specifies the strip’s color:
<Charts:CartesianChart x:Name="chart">
<Charts:CartesianChart.AxisX>
<Charts:AxisX x:Name="axisX" ShowLine="True" ShowMajorTickmarks="True">
<Charts:AxisX.Strips>
<Charts:Strip StartValue="1990" EndValue="2010" AxisLabelText="1990-2010" Brush="LightBlue"/>
</Charts:AxisX.Strips>
</Charts:AxisX>
</Charts:CartesianChart.AxisX>
<Charts:CartesianChart.AxisY>
<Charts:AxisY x:Name="axisY" ShowLine="True" Title="Population mid-year in millions"/>
</Charts:CartesianChart.AxisY>
<!--...-->
</Charts:CartesianChart>