* change story report UI.
This commit is contained in:
@@ -48,6 +48,8 @@ if($config->debug)
|
||||
data.push({label: $row.find('.chart-label').text(), value: parseInt($row.find('.chart-value').text()), color: color, id: idx});
|
||||
});
|
||||
|
||||
if(data.length > 4) options.scaleLabelPlacement = 'outside';
|
||||
|
||||
chart = $canvas.pieChart(data, options);
|
||||
$canvas.on('mousemove', function(e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user