Skip to content
Snippets Groups Projects

Resolve "Graphiques: lorsqu'on relance un calcul les axes ne se mettent pas à jour"

1 file
+ 1
4
Compare changes
  • Side-by-side
  • Inline
@@ -134,8 +134,6 @@ export class ResultsChartComponent extends ResultsComponentDirective implements
public set chartX(X) {
if (X !== this.chartX) {
this._results.chartX = X;
this.forceRebuild();
// refresh chart
this.drawChart();
}
}
@@ -149,8 +147,6 @@ export class ResultsChartComponent extends ResultsComponentDirective implements
public set chartY(Y) {
if (Y !== this.chartY) {
this._results.chartY = Y;
this.forceRebuild();
// refresh chart
this.drawChart();
}
}
@@ -186,6 +182,7 @@ export class ResultsChartComponent extends ResultsComponentDirective implements
public drawChart() {
if (this._results && this._results.hasPlottableResults()) {
this.forceRebuild();
switch (this._graphTypeComponent.selectedValue) {
case ChartType.Histogram:
this.graph_type = "bar";
Loading