Commit 13ee1d33 authored by Leo Iannacone's avatar Leo Iannacone

explode label in pie chart

parent 3dd2a8ce
...@@ -117,6 +117,9 @@ function Page_History() { ...@@ -117,6 +117,9 @@ function Page_History() {
Chartist.Pie('#distributions-chart', distributions_data, { Chartist.Pie('#distributions-chart', distributions_data, {
donut: true, donut: true,
donutWidth: 15, donutWidth: 15,
chartPadding: 15,
labelOffset: 15,
labelDirection: 'explode',
}); });
} }
......
...@@ -265,6 +265,11 @@ footer .info { ...@@ -265,6 +265,11 @@ footer .info {
margin-bottom: 30px; margin-bottom: 30px;
} }
#distributions-chart.ct-chart {
height: 200px;
margin-top: -20px;
}
.ct-chart .ct-label { .ct-chart .ct-label {
font-size: 0.9em; font-size: 0.9em;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment