Skip to main content

How to: Filter Data

This example shows how to create a chart, bind it to a data source and filter series data.

To do this, follow these steps:

The following image shows a chart with filtered series data. The chart displays the prices of cars whose price is less than $20000 and engine capacity is greater than 2.3 liters.


View Example

<dxc:BarSideBySideSeries2D DisplayName="Cars" 
                           FilterString="([Price] &lt; 20000) AND ([Liter] &gt; 2.3)">