diff --git a/src/app/components/results-graph/results-graph.component.ts b/src/app/components/results-graph/results-graph.component.ts index d52baff5c5709a2375860b0806b5ed355fa4dd8d..83b55ff9897869cd215e8deadf8688d4a2b6c258 100644 --- a/src/app/components/results-graph/results-graph.component.ts +++ b/src/app/components/results-graph/results-graph.component.ts @@ -60,9 +60,6 @@ export class ResultsGraphComponent { //implements AfterViewInit { this._graphTypeComponent.selectedValue = this._currentGraphType; } - // http://www.chartjs.org/docs/latest/charts/line.html#dataset-properties - // showLine - public updateView() { switch (this._currentGraphType) { case GraphType.Histogram: @@ -171,8 +168,9 @@ export class ResultsGraphComponent { //implements AfterViewInit { { label: "", data: dat, - // borderColor: '#000000', - // backgroundColor: '#000000' + borderColor: "#808080", // couleur de la ligne + backgroundColor: "rgba(0,0,0,0)", // couleur de remplissage sous la courbe : transparent + showLine: "true" } ] };