WIP - loading graph

This commit is contained in:
Oliver committed 2022-02-26 18:36:25 +11:00
1 parent e162432fde
commit 8587a59ec1
8 files changed
+152 -14395

No files matched your search

@@ -425,6 +425,11 @@
{% block js_ready %}
{{ block.super }}
// Load the "scheduling" tab
onPanelLoad('scheduling', function() {
loadPartSchedulingChart('part-schedule-chart', {{ part.pk }});
});
// Load the "suppliers" tab
onPanelLoad('suppliers', function() {
@@ -1,4 +1,6 @@
{% load i18n %}
{% load inventree_extras %}
<canvas id='schedule-chart' width='100%' height='400'></canvas>
<div id='part-schedule' style='max-height: 300px;'>
<canvas id='part-schedule-chart' width='100%' style='max-height: 300px;'></canvas>
</div>