Skip to content

Commit

Permalink
Fix pie charts (#3773)
Browse files Browse the repository at this point in the history
  • Loading branch information
jekkos committed May 12, 2024
1 parent 90ae865 commit ccd6f5c
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions app/Views/reports/graphs/pie.php
Expand Up @@ -23,10 +23,7 @@
height: '100%',

// Padding of the chart drawing area to the container element and labels as a number or padding object {top: 5, right: 5, bottom: 5, left: 5}
chartPadding: {
top: 20,
bottom: 100
},
chartPadding: 20,

// This option can be set to 'inside', 'outside' or 'center'.
// show the labels on the border with the pie chart
Expand Down Expand Up @@ -67,10 +64,8 @@
var responsiveOptions = [
['screen and (min-width: 640px)', {
height: '80%',
chartPadding: {
top: 20,
bottom: 20
},
chartPadding: 20

}] /*,
['screen and (min-width: 1024px)', {
labelOffset: 80,
Expand Down

0 comments on commit ccd6f5c

Please sign in to comment.