Expression Editor for WinForms | ComponentOne
Working with Expression Editor / Integration with FlexChart / Filtering in FlexChart
In This Topic
    Filtering in FlexChart
    In This Topic

    Expression Editor, when integrated with FlexChart, enables filtering of its data items using expressions.

    To filter the data items of FlexChart based on expressions entered in Expression Editor, you can filter the data view used by FlexChart. Note that, C1Expression Editor's data source should be same as the FlexChart's data source. 

    The following image exhibits FlexChart control, demonstrating filtering using expression entered in Expression Editor control.


    Filtering FlexChart Expression Editor

     

    The following code demonstrates filtering the FlexChart's view through expression entered in Expression Editor for WinForms control.

    1. Bind the FlexChart control with Expression Editor control, as discussed in Integration with FlexChart.
    2. Filter the data view used by flexChart, as shown in the following code snippet.  
      _dvProducts.RowFilter = _expEditor.Expression;
      

    Back to Top