def _basic_tsvb_vis_state(job, args):
        """
        Args:
            job: fedlearner_webconsole.job.models.Job. Current job to plot.
            args: dict. reqparse args, must contain 'x_axis_field' entry,
                and the value must not be None. vis_state['interval'] will
                default to ''(automated by Kibana in TSVB visualization) if
                'interval' is not provided in args.

        Returns:
            dict. A Kibana TSVB vis state dict without any time series.

        This method will create basic TSVB vis state without any time series

        """
        assert 'x_axis_field' in args and args['x_axis_field']
        vis_state = {"aggs": [],
                     "params": {"axis_formatter": "number",
                                "axis_min": "",
                                "axis_position": "left",
                                "axis_scale": "normal",
                                "default_index_pattern": "metrics*",
                                "filter": {},
                                "index_pattern": "",
                                "interval": "",
                                "isModelInvalid": False,
                                "show_grid": 1,
                                "show_legend": 1,
                                "time_field": "",
                                "type": "timeseries"}}
        params = vis_state['params']
        params['interval'] = args.get('interval', '')
        params['index_pattern'] = Kibana.JOB_INDEX \
                                      .get(job.job_type, 'metrics') + '*'
        params['filter'] = Kibana._filter_query(
            'tags.application_id:"{}"'.format(job.name)
        )
        params['time_field'] = args['x_axis_field']
        return vis_state

        Args:
            job: fedlearner_webconsole.job.models.Job. Current job to plot.
            args: dict. reqparse args, must contain 'x_axis_field' entry,
                and the value must not be None. vis_state['interval'] will
                default to ''(automated by Kibana in TSVB visualization) if
                'interval' is not provided in args.

        Returns:
            dict. A Kibana TSVB vis state dict without any time series.

        This method will create basic TSVB vis state without any time series

        
web_console_v2/api/fedlearner_webconsole/utils/kibana.py