'Google visualization api - Auto add filter value onto the title

I try to make the title auto add Work week value when I click filter any Workweek.Example as picture when I click filter "WorkWeek" 15 , the title will auto add "15" . But none of the command can capture the value from "workweek" filter.

Work week

Here the filter control wrapper code:

            var categoryPicker3 = new google.visualization.ControlWrapper({
        controlType: 'CategoryFilter',
        containerId: 'filter_div3',
        options: {
            
            filterColumnLabel: 'Workweek',
            ui: {
                caption: 'Choose Workweek',
                sortValues: true,
                allowNone: true,
                allowMultiple: false,
                height: 100,
                allowTyping: true


                //allowTyping: false,
                //allowMultiple: false,

            }

        },
                        state: {
    selectedValues: ['Null']
}
    }); 

Here the final end code:

            var dashboard = new google.visualization.Dashboard(document.getElementById('dashboard_div')); 
                

                    dashboard.bind([categoryPicker,categoryPicker2,categoryPicker3],[ ComboChart,ScatterChart,table,ColumnChart,PieChart]);
                                        
        console.log(data);       
        
  
            dashboard.draw(data);


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source