Browse Source

updating Chart.js font family

solr_update
Simon Bowie 2 years ago
parent
commit
e14dafc563
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      web/app/templates/data.html

+ 2
- 0
web/app/templates/data.html View File

} }
}; };


Chart.defaults.font.family = 'Compagnon'
var yearGraph = new Chart( var yearGraph = new Chart(
document.getElementById('chartOfYearFrequency'), document.getElementById('chartOfYearFrequency'),
config config
} }
}; };


Chart.defaults.font.family = 'Compagnon'
var yearGraph = new Chart( var yearGraph = new Chart(
document.getElementById('chartOfCountryFrequency'), document.getElementById('chartOfCountryFrequency'),
config config

Loading…
Cancel
Save