Commit ae45093c4e84832b73e572fc50f06fc929609613

Authored by Alexey Boroda
1 parent 868458a2

-Pie chart fixed (how I like)

backend/views/site/index.php
@@ -84,7 +84,7 @@ @@ -84,7 +84,7 @@
84 ] 84 ]
85 ) ?> 85 ) ?>
86 86
87 - <div id="piediv" style="width: 100%;height: 400px"></div> 87 + <div id="piediv" style="width: 100%;height: 475px"></div>
88 88
89 <?php $panel::end(); ?> 89 <?php $panel::end(); ?>
90 </div> 90 </div>
backend/web/js/analytics.js
@@ -84,7 +84,11 @@ $( @@ -84,7 +84,11 @@ $(
84 'colors': [ 84 'colors': [
85 "#A8E3D6", 85 "#A8E3D6",
86 "#9ABCC3" 86 "#9ABCC3"
87 - ] 87 + ],
  88 + "labelRadius": 5,
  89 + "radius": "42%",
  90 + "innerRadius": "60%",
  91 + "labelText": "[[title]]"
88 } 92 }
89 ); 93 );
90 // Replacing table stabs 94 // Replacing table stabs