this.ns = eliot.notes.saisie.conseilDeClasse;
this.ConfigServeur = this.ns.ConfigServeur;
this.Constantes = this.ns.Constantes;
+ this.ConfigServeurGraph = eliot.notes.consultation.commun.graph.ConfigServeur;
this.addEvents(
items: []
});
- if (this.ConfigServeur.data.data.length !== 0) {
+ if (this.ConfigServeurGraph.data.data.length !== 0) {
this.afficheGraph(
- this.ConfigServeur.data.data,
- this.ConfigServeur.data.impressionGraph,
+ this.ConfigServeurGraph.data.data,
+ this.ConfigServeurGraph.data.impressionGraph,
this.ConfigServeur.data.periodesPrecedentesExistent,
this.ConfigServeur.data.graphPeriodes);
}
-
},
/**
break;
}
}
-
return filter;
}
-
return true;
},
typeGraph: this.graph != null ? this.graph.typeGraph : undefined,
+
xField: {
name: 'matiere'
},
+
yFields: yFields,
tipRenderer: eliot.notes.commun.Utils.getNoteRenderer()
});
+
this.graph = graph;
+ this.graphLegendPanel.add(graph.getLegendItem());
this.graphPanel.add(graph.getItems());
- this.graphPanel.doLayout();
- this.graphLegendPanel.add(graph.getLegendItem());
this.graphLegendPanel.doLayout();
+ this.graphPanel.doLayout();
if (periodesPrecedentesExistent === true) {
this.periodesPrecedentesCheckbox.show();