From 67ce4489c12f2b6bf9cd2e83115571b77837fb98 Mon Sep 17 00:00:00 2001 From: "francois.grand" <francois.grand@irstea.fr> Date: Fri, 19 Jan 2018 12:20:38 +0100 Subject: [PATCH] =?UTF-8?q?ticket=20#47=20:=20r=C3=A9solution=20de=20"Reli?= =?UTF-8?q?er=20les=20points=20en=20mode=20scatter"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/results-graph/results-graph.component.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/app/components/results-graph/results-graph.component.ts b/src/app/components/results-graph/results-graph.component.ts index d52baff5c..83b55ff98 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" } ] }; -- GitLab