Filtering the Data
Navigate to the Designer Canvas page.
Drag a chart together with a filter component to the canvas.
Create two data connections.
Associate one data connection with the chart and the other with the filter.
Add a filter parameter to the chart connection condition.
Navigate to the Script on load page of the filter component.
Add the sdk.reload( [ 'ConnectionID_1' ] ); to filter the chart data.
Please Note: The ConnectionID_1 should be chart connection.