Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!113Resolve "Graphiques: lorsqu'on relance un calcul les axes ne se mettent pas à jour"
Pipeline #138760 passed
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment