Allow project charts to be rendered on the same page as task analytics
This commit is contained in:
parent
f5c95f3c93
commit
8ccdea0069
File diff suppressed because one or more lines are too long
|
|
@ -10,9 +10,10 @@ KB.component('chart-task-time-column', function (containerElement, options) {
|
|||
categories.push(metrics[i].title);
|
||||
}
|
||||
|
||||
KB.dom(containerElement).add(KB.dom('div').attr('id', 'chart').build());
|
||||
KB.dom(containerElement).add(KB.dom('div').attr('id', 'chart-task-time-column').build());
|
||||
|
||||
c3.generate({
|
||||
bindto: '#chart-task-time-column',
|
||||
data: {
|
||||
columns: [plots],
|
||||
type: 'bar'
|
||||
|
|
|
|||
Loading…
Reference in New Issue