Commit 167b5bfd authored by Dorchies David's avatar Dorchies David
Browse files

Merge branch...

Merge branch '489-graphiques-lorsqu-on-relance-un-calcul-les-axes-ne-se-mettent-pas-a-jour' into 'master'

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

Closes #489

See merge request !113
parents da80ea41 5f9b8b38
Pipeline #21656 passed with stages
in 17 minutes and 7 seconds
......@@ -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";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment