rework line chart template to match team styleguide
forgot one
fix tab spaces
fix global vars