mirror of
https://github.com/seigler/neat-charts
synced 2025-07-27 09:26:10 +00:00
fix: improve time labels
This commit is contained in:
parent
9649e68e23
commit
2a050c2b71
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ namespace NeatCharts {
|
||||||
if ($this->options['xAxisEnabled']) {
|
if ($this->options['xAxisEnabled']) {
|
||||||
$timeIntervals = [
|
$timeIntervals = [
|
||||||
'minutes' => [60, 'g:ia'],
|
'minutes' => [60, 'g:ia'],
|
||||||
'hours' => [60 * 60, 'ga'],
|
'hours' => [60 * 60, 'D ga'],
|
||||||
'days' => [24 * 60 * 60, 'M j'],
|
'days' => [24 * 60 * 60, 'M j'],
|
||||||
'years' => [365 * 24 * 60 * 60, 'Y']
|
'years' => [365 * 24 * 60 * 60, 'Y']
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue