You are here

visualization.html.twig in Visualization API 8

Template file returns HTML for Commerce Reports Visualization.

_attributes

File

templates/visualization.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Template file returns HTML for Commerce Reports Visualization.
  5. *
  6. * @param $chart
  7. * @param $chart_attributes
  8. *
  9. * @return
  10. * The chart div.
  11. */
  12. #}
  13. <div {{ chart_attributes }}>{{ chart }}</div>