<chart-interpreter class="fill">
  <div if={opts.chart}>
    <div if={(opts.chart.type == "line") || (opts.chart.type == "bar")}>
        <chart
          type={opts.chart.type}
          title={opts.chart.title}
          title_url={opts.chart.title_url}
          start_color={opts.chart.start_color}
          end_color={opts.chart.end_color}
          datasets={opts.chart.datasets}
          stacked={opts.chart.stacked}
          description={opts.chart.description}
          time_segments={opts.chart.time_segments}
          show_legend={opts.chart.show_legend}
          current_stats={opts.chart.current_stats}
          tooltip_label={opts.chart.tooltip_label}
          uuid={opts.chart.uuid}
        />
    </div>

    <div if={opts.chart.type == "combo"}>
      <chart
        type={opts.chart.type}
        title={opts.chart.title}
        datasets={opts.chart.datasets}
        description={opts.chart.description}
        y_axes={opts.chart.y_axes}
        time_segments={opts.chart.time_segments}
        show_legend={opts.chart.show_legend}
        current_stats={opts.chart.current_stats}
        tooltip_label={opts.chart.tooltip_label}
        uuid={opts.chart.uuid}
      />
    </div>

    <div if={(opts.chart.type == "doughnut") || (opts.chart.type == "pie")}>
      <chart
        type={opts.chart.type}
        title={opts.chart.title}
        title_url={opts.chart.title_url}
        chart_data={opts.chart.chart_data}
        description={opts.chart.description}
        data_labels={opts.chart.data_labels}
        uuid={opts.chart.uuid}
      />
    </div>
    
  </div>

  <script>

  </script>
</chart-interpreter>
