Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3_roadmap
Commits
d6030e87
Commit
d6030e87
authored
Feb 24, 2016
by
Mathias Schreiber
Browse files
Added "today" indicator to chart
parent
1fca8ccc
Changes
1
Hide whitespace changes
Inline
Side-by-side
pi1/class.tx_typo3roadmap_pi1.php
View file @
d6030e87
...
...
@@ -197,6 +197,7 @@ class tx_typo3roadmap_pi1 extends tslib_pibase
$this
->
view
->
assign
(
'data'
,
$data
);
$chartJs
=
'
AmCharts.useUTC = true;
var today = new Date();
var chart = AmCharts.makeChart("charts", {
"type": "gantt",
"theme": "light",
...
...
@@ -208,7 +209,19 @@ class tx_typo3roadmap_pi1 extends tslib_pibase
"valueAxis": {
"type": "date",
"autoGridCount": false,
"gridCount": 24
"gridCount": 24,
"guides": [
{
"value": today,
"toValue": today,
"lineAlpha": 1,
"lineThickness": 1,
"inside": true,
"labelRotation": 90,
"label": "Today",
"above": true
}
]
},
"graph": {
"fillAlphas": 1,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment