https://github.com/apache/airflow/blob/main/airflow/cli/commands/task_command.py#L145
for task_id in x_points:
            chart.add_serie(
                name=task_id,
                x=x_points[task_id],
                y=scale_time_units(y_points[task_id], y_unit),
            )
        max_date = max(ti.execution_date for ti in tis) if tis else None
        session.commit()
        form = DateTimeWithNumRunsForm(
            data={
                "base_date": max_date or timezone.utcnow(),
                "num_runs": num_runs,
            }
        )
        chart.buildcontent()
        return self.render_template(
            "airflow/chart.html",
            dag=dag,
            show_trigger_form_if_no_params=conf.getboolean("webserver", "show_trigger_form_if_no_params"),
            chart=Markup(chart.htmlcontent),
            height=f"{chart_height + 100}px",
            root=root,
            form=form,
            tab_title="Landing times",
            dag_model=dag_model,
        )
    @expose("/paused", methods=["POST"])
    @auth.has_access_dag("PUT")
    @action_logging
    def paused(self):