mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-23 09:16:10 +01:00
#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:
parent
5ec2c77f78
commit
e92b22ea30
4 changed files with 10 additions and 8 deletions
|
|
@ -3,8 +3,6 @@
|
|||
options = {
|
||||
width: "400px",
|
||||
height: "400px",
|
||||
maintainAspectRatio: false,
|
||||
responsive: false,
|
||||
plugins: {
|
||||
colorschemes: {
|
||||
scheme: 'brewer.Paired12',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue