{% extends "airflow/master.html" %} {% block title %}Chart{% endblock %} {% block tail %} {{ super() }}
{% if show_chart %}

{{ label }}

{% if chart.chart_type == "area_chart" %} {% area_chart data with height=height library=chart_options%} {% elif chart.chart_type == "line_chart" %} {% line_chart data with height=height library=chart_options%} {% elif chart.chart_type == "bar_chart" %} {% bar_chart data with height=height library=chart_options%} {% elif chart.chart_type == "column_chart" %} {% column_chart data with height=height library=chart_options%} {% endif %} {% if chart.show_datatable %}

Data

{{ table }} {% endif %} {% endif %} {% if show_sql %}

SQL

{{ sql }}
{% endif %}
{% endblock %}