Hi thank you for answer.
Ad 1. Ok good option I will think about it.
Ad 2. I updated higcharts to newer version and now it's working fine. (I had 6.2.0)
Ad 3. Could you explain me how can I do it.
I want to save "grouping" and can roll up.
In your example data is grouping but it's not my way.
Code for 3:
Code: Select all
this.chart = Highcharts.ganttChart('mmap_container', {credits: {
enabled: false
},
yAxis: [{
grid: {
borderWidth: 0
},
}],
xAxis: [{
labels: {
format: '{value:%b}'
},
min: Date.UTC(2014, 7, 19),
max: Date.UTC(2014, 11, 30)
}],
plotOptions: {
gantt: {
borderRadius: 10
}
},
series: [{
type: 'gantt',
data: [{
name: '<rag> Workstream 1',
id: 'w1',
start: Date.UTC(0, 0, 0),
end: Date.UTC(0, 0, 0)
}, {
name: 'Workstream 2',
id: 'w2',
start: Date.UTC(0, 0, 0),
end: Date.UTC(0, 0, 0)
}, {
parent: 'w1',
id: 'a',
name: 'Task 1',
start: Date.UTC(2014, 7, 20),
end: Date.UTC(2014, 10, 25),
completed: {
amount: 0.2,
fill: "#0f4775"
},
color: "#dddddd"
}, {
parent: 'w1',
id: 'bb',
name: 'Task 2',
start: Date.UTC(2014, 8, 20),
end: Date.UTC(2014, 11, 25),
completed: {
amount: 0.5,
fill: "#0f4775"
},
color: "#dddddd"
}, {
parent: 'w2',
name: 'Task 3',
start: Date.UTC(2014, 10, 27),
end: Date.UTC(2014, 11, 29),
completed: {
amount: 0.2,
fill: "red"
},
color: "#dddddd"
}
]
}]});