1. Overview 1.1 Function introduction Tree Filter component is to display filtering options in a tree structure, which can filter multi-layer data. You can bind one field or multiple fields of any query. When you bind multiple fields, the fields are in a hierarchical relationship, and the field bound in front is the parent of the field bound after it. 1.2 Application scenario If there is a hierarchical relationship between the bound data columns, for example, if there is a column area bound to two dimensions: "Market Size" and "Market", and you want to filter the market size and market at the same time or individually, you can use tree filter. 2.Step 1)Create a new dashboard, create a bar chart, bind "Market Size", "Market", "Sales", as shown below. 2)Add a tree filter component, drag and drop the tree filter component from the component area to the canvas. 3)Bind data to the filter component, select the component, drag and drop the "Market Size" and "Market" columns to the bind data area. 4)Edit filter component with the following settings: Layout: Select List for Layout, and check Expand One Level by Default, so that you can clearly view the filter conditions when you open the dashboard later. Setting Option: Select Multi-Selection for Option, and check Commit on Change,Show All, Selection On Top, Ignore Null Value, that is, keep the default settings. 6) When you open the dashboard, you can filter the reference and display data as follows: Check "Select All" to view the sales of each market under"Big Market" and "Small Market". You can also filter a market by unchecking "Small Market" to view the sales of each market under "Big Market" only. 3. Function 3.1 Layout 3.2 Option [Expand One Level by Default] is unchecked by default, after checking, the tree filter and tree parameter component will expand one level option by default when binding multiple fields. ➢Note: [Expand One Level by Default] option is a setting specific to the Tree Filter and Tree Parameter components, and has been supported by the product since V10.0.1. 3.3 Format
|