#10194 change in graph

This commit is contained in:
Daniel Cebrian 2023-10-10 15:51:48 +02:00
parent a02482ac5d
commit e3e7328a01
5 changed files with 12 additions and 1 deletions

View File

@ -725,6 +725,12 @@ function get_build_setup_charts($type, $options, $data)
$chart->options()->getElements()->center()->setColor($options['elements']['center']['color']);
}
}
if (isset($options['elements']['point']) === true) {
if (isset($options['elements']['point']['radius']) === true) {
$chart->options()->getElements()->point()->setRadius($options['elements']['point']['radius']);
}
}
}
// Set Responsive for responsive charts.

View File

@ -205,6 +205,7 @@ class Alerts extends Element
$rows = db_process_sql($sql);
foreach ($rows as $key => $row) {
$rows[$key]['id_user'] = '<a href="index.php?sec=gusuarios&sec2=godmode/users/configure_user&edit_user=1&pure=0&id_user='.$row['id_user'].'">'.$row['id_user'].'</a>';
if ((bool) $row['is_admin'] === true) {
$rows[$key]['is_admin'] = '<span class="admin">'.__('Admin').'</span>';
} else {

View File

@ -215,6 +215,7 @@ class Database extends Element
'display' => false,
],
],
'elements' => [ 'point' => [ 'radius' => 0 ] ],
];
$data = [
@ -289,6 +290,7 @@ class Database extends Element
'display' => false,
],
],
'elements' => [ 'point' => [ 'radius' => 0 ] ],
];
$data = [

View File

@ -310,6 +310,7 @@ class Overview extends Element
'display' => false,
],
],
'elements' => [ 'point' => [ 'radius' => 0 ] ],
];
$data = [

View File

@ -81,7 +81,8 @@
.subtitle {
font-size: 13px;
color: #161628;
padding-bottom: 10px;
padding-bottom: 5px;
padding-top: 5px;
}
.subtitle.link {
display: flex;