summaryrefslogtreecommitdiff
path: root/assets/js/components
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/components')
-rw-r--r--assets/js/components/chart-task-time-column.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/js/components/chart-task-time-column.js b/assets/js/components/chart-task-time-column.js
index 887d24d4..89709952 100644
--- a/assets/js/components/chart-task-time-column.js
+++ b/assets/js/components/chart-task-time-column.js
@@ -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'