swap chart and table
This commit is contained in:
parent
d414c455a2
commit
bae55f78fd
|
@ -94,11 +94,6 @@ function admin_arrive() {
|
||||||
'actions' => ""
|
'actions' => ""
|
||||||
), $users_matched),
|
), $users_matched),
|
||||||
heading(_("Arrival statistics"), 2),
|
heading(_("Arrival statistics"), 2),
|
||||||
table(array(
|
|
||||||
'day' => _("Date"),
|
|
||||||
'count' => _("arrived"),
|
|
||||||
'sum' => _("arrived sum")
|
|
||||||
), $arrival_count),
|
|
||||||
'<canvas id="daily_arrives" style="width: 100%; height: 300px;"></canvas>
|
'<canvas id="daily_arrives" style="width: 100%; height: 300px;"></canvas>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function(){
|
$(function(){
|
||||||
|
@ -119,7 +114,12 @@ function admin_arrive() {
|
||||||
)
|
)
|
||||||
)) . ', {"responsive": true});
|
)) . ', {"responsive": true});
|
||||||
});
|
});
|
||||||
</script>'
|
</script>',
|
||||||
|
table(array(
|
||||||
|
'day' => _("Date"),
|
||||||
|
'count' => _("arrived"),
|
||||||
|
'sum' => _("arrived sum")
|
||||||
|
), $arrival_count)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue