Allow project charts to be rendered on the same page as task analytics

This commit is contained in:
Frederic Guillot 2017-01-14 16:05:53 -05:00
parent f5c95f3c93
commit 8ccdea0069
2 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -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'