[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Collapse]Charts Suite
   [Collapse]Chart Control
    [Expand]Getting Started
    [Expand]Fundamentals
    [Expand]Providing Data
    [Collapse]Chart Elements
     [Expand]Diagram
     [Expand]Series
      Panes
     [Collapse]Axes
       Primary and Secondary Axes
       Axis Scale Types
       Whole and Visual Ranges
       Axis Layout and Appearance
       Axis Labels
       Axis Titles
       Constant Lines
       Strips
       Scale Breaks
       Tickmarks, Grid Lines, and Interlacing
      Legends
      Chart Titles
      Annotations
    [Expand]Appearance Customization
    [Expand]End-User Features
    [Expand]Design-Time Features
    [Expand]Examples
    [Expand]Additional Resources
   [Expand]Chart3D Control
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Strips

A strip is an area limited by two fixed values (minimal and maximal limits) on a corresponding axis.

This document contains the following sections:

Expanded How to Add a Strip

The Chart control enables you to add an unlimited number of strips to an x- or y-axis. To add a strip, you need to add a Strip object to the Axis2D.Strips collection and define the strip's minimum and maximum limits. A strip does not display if the minimum limit is not less than the maximum limit, and it would occupy all available space in a diagram if these limits are not specified.

The XAML below shows how to add a strip to a chart:

The example above applies the following classes and properties:

Class or Property Description
Strip A strip.
Axis2D.Strips A collection that stores all strips of an axis.
Strip.MinLimit A value specifying the strip's minimum axis value.
Strip.MaxLimit A value specifying the strip's maximum axis value.

Expanded How to Show a Strip in a Legend

You can display a marker with text that identifies a strip in a chart legend.

The following code example demonstrates how to show a strip marker with the specified text in the required legend:

The markup above utilize the following properties:

Property

Description

Strip.LegendText

Text that shows with a strip marker in a chart legend.

If this property is not specified, a strip identifier does not show in the legend.

Strip.Legend

A legend that shows a strip identifier.

Expanded How to Show a Specific Axis Label for a Strip

You can add a custom axis label for a strip as the following image shows:

The Strip.AxisLabelText property allows you to specify axis label text for a strip:

Tip

To simultaneously show auto-generated and custom axis labels, set the Axis2D.LabelVisibilityMode property to AutoGeneratedAndCustom.

Expanded How to Customize Strip Appearance

You can modify the default strip appearance to fulfill your requirements.

Using the following markup, you can configure a strip brush and its outline:

The example uses the following API members to configure strip appearance:

Property Description
Strip.Brush A brush used to paint the strip.
Strip.BorderColor A strip border color.

Expanded See Also

Is this topic helpful?​​​​​​​