#
Series.IsXValueIndexed
Series.IsXValueIndexed
Series.IsXValueIndexed
Series.IsXValueIndexed
Property

## Definition

Gets or sets a flag that indicates whether data point indices will be used for the X-values.

```
public:
property bool IsXValueIndexed { bool get(); void set(bool value); };
```

```
[System.ComponentModel.Bindable(true)]
public bool IsXValueIndexed { get; set; }
```

`member this.IsXValueIndexed : bool with get, set`

`Public Property IsXValueIndexed As Boolean`

#### Property Value

`true`

if the indices of data points that belong to the series will be used for X-values; otherwise, `false`

. The default value is `false`

.

## Remarks

All data points in a series use sequential indices, and if this property is `true`

then data points will be plotted sequentially, regardless of their associated X-values. This means that there will be no "missing" data points.

For example, assume there are three (3) data points in a series having X-values of 1, 2 and 4. If this property was `false`

, there would be a data point missing at the X-axis location labeled "3". However, if you set this property to `true`

, the three data points will be plotted at points 1, 2, and 4, sequentially, and there will be no missing data point. The X-axis location labeled "3" will not appear on the chart.

This is useful when you do not want to have missing data points for intervals that you know you will not have data for, such as weekends.

Important

If you are displaying multiple series and at least one series uses indexed X-values, then all series must be aligned - that is, have the same number of data points - and the corresponding points must have the same X-values.