<templates>
  <t t-name="o-spreadsheet-ChartFigure">
    <div class="o-chart-container w-100 h-100" t-on-dblclick="this.onDoubleClick">
      <t
        t-component="this.chartComponent"
        chartId="this.chartId"
        t-key="this.chartId"
        isFullScreen="this.props.isFullScreen"
      />
    </div>
    <div class="position-absolute top-0 end-0">
      <ChartMenu chartId="this.chartId" hasFullScreenButton="this.env.model.getters.isDashboard()"/>
    </div>
  </t>
</templates>
