Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.

DataFiltering

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