def METHOD_NAME(self, dashboard_cls):
    """
    Description:
    -------------------------------------------
    Input:
    -------------------------------------------
    Ouput:
    """
    # def reset_callback():
    def reset_callback(resetting):
        self.selected_indices = None
        self.box_selected_range = None
        self.chart.reset_all_selections()
        dashboard_cls._query_str_dict.pop(self.name, None)
        dashboard_cls._reload_charts()
    # add callback to reset chart button
    self.chart.METHOD_NAME(reset_callback)