#2259: Use a Chartjs-ror version with airblade/chartjs-ror#57 applied. Adds a container around each chart allowing to enable responsivity and get a less fuzzy chart.

This commit is contained in:
Jyri-Petteri Paloposki 2019-06-28 00:31:00 +03:00
parent 5ec2c77f78
commit e92b22ea30
4 changed files with 10 additions and 8 deletions

View file

@ -3,8 +3,6 @@
options = {
width: "400px",
height: "400px",
maintainAspectRatio: false,
responsive: false,
plugins: {
colorschemes: {
scheme: 'brewer.Paired12',

View file

@ -15,8 +15,6 @@ Stats::TopContextsQuery.new(current_user).result.map { |context|
options = {
width: "400px",
height: "400px",
maintainAspectRatio: false,
responsive: false,
plugins: {
colorschemes: {
scheme: 'brewer.Paired12',