1. Overview A parameter component is a component that assigns a value to a parameter, passes the value of the parameter to other components, and can be used to filter data. For example, if you give a parameter component the name a, and the input is BeiJing, it is equivalent to defining a parameter a=BeiJing. When adding a filter to a component, you can use the parameter a. For example, if you add a filter to the city field as "city=? {a}", indicating that the data city=BeiJing is filtered out. As the user enters different values, different results are filtered. There are also filter components in the product that support filtering data, but the difference is that the pass parameter component can support non-homogenous filtering scenarios. Passed parameters include drop-down list parameters, tree parameters, drop-down parameters, text parameters, range parameters, search parameters, the following sections will introduce the specific use of each of them. 2. Basic Process 1)Before using the passing parameter component, we need to determine the component that receives the parameter, and determine the data type of the parameter. 2)According to the scenario, we can choose one kind of parameter component to bind the data fields or customize the data. Every new parameter component will add a new parameter with the corresponding name inside the editing parameter, which can be referenced in other components, such as setting parameter filtering, hyperlinking parameter, and so on. 3) I.e, we need to select a chart component and set the filter conditions with parameters, such as "city=? {dropdown parameter}", by changing the dropdown option to pass different values to realize the filtering effect. Please refer to Parameter for detailed description of parameters.
|