-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Directive not working with gantt chart #35
Labels
Comments
I'm able to get the graph to display on version 3.21.11- amcharts. This what my object looks like,
Mostly from what's on the site's demo. The data doesn't populate but I think its with the object's data. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"type": "gantt",
"theme": "light",
"marginRight": 70,
"period": "DD",
"dataDateFormat": "YYYY-MM-DD",
"balloonDateFormat": "JJ:NN",
"columnWidth": 0.2,
"valueAxis": {
"type": "date",
"minimum": 0,
"maximum": 365
},
"brightnessStep": 10,
"graphs": {
"fillAlphas": 1,
"balloonText": "[[task]]: [[open]] [[value]]"
},
"rotate": true,
"categoryField": "category",
"segmentsField": "segments",
"colorField": "color",
"startDate": "2016-01-01",
"startField": "start",
"endField": "end",
"durationField": "duration",
"data": [
{
"category": "New Years Eve",
"segments": [{
"start": 0,
"duration": 98,
"color": "#7E585F",
"task": "New Years Eve"
}]
}, {
"category": "Valentines Day",
"segments": [{
"start": 44,
"duration": 98,
"color": "#7B742C",
"task": "Valentines Day"
}]
}, {
"category": "Good Friday",
"segments": [{
"start": 83,
"duration": 98,
"color": "#CF794A",
"task": "Good Friday"
}]
}, {
"category": "Easters Sunday",
"segments": [{
"start": 86,
"duration": 98,
"color": "#FFE4C4",
"task": "Easters Sunday"
}]
}, {
"category": "Vesak Day",
"segments": [{
"start": 141,
"duration": 98,
"color": "#7E585F",
"task": "Vesak Day"
}]
}, {
"category": "Hari Raya Puasa",
"segments": [{
"start": 187,
"duration": 98,
"color": "#7B742C",
"task": "Hari Raya Puasa"
}]
}, {
"category": "National Day",
"segments": [{
"start": 221,
"duration": 98,
"color": "#CF794A",
"task": "National Day"
}]
}, {
"category": "Hari Raya Haji",
"segments": [{
"start": 255,
"duration": 98,
"color": "#FFE4C4",
"task": "Hari Raya Haji"
}]
}, {
"category": "Diwali",
"segments": [{
"start": 302,
"duration": 98,
"color": "#7E585F",
"task": "Diwali"
}]
}, {
"category": "Christmas Day",
"segments": [{
"start": 360,
"duration": 98,
"color": "#7B742C",
"task": "Christmas Day"
}]
}],
"chartScrollbar": {},
"chartCursor": {
"valueBalloonsEnabled": false,
"cursorAlpha": 0.1,
"valueLineBalloonEnabled": true,
"valueLineEnabled": true,
"fullWidth": true
},
"export": {
"enabled": true
},
"responsive": {
"enabled": true
}
The text was updated successfully, but these errors were encountered: