From aaf3fe65cb841809758f7b757c91f09b18dcf54c Mon Sep 17 00:00:00 2001 From: Marko Budiselic <mbudiselicbuda@gmail.com> Date: Sun, 20 Mar 2016 14:39:28 +0100 Subject: [PATCH] graph stroke width and line interpolation --- demo/static/demo.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/demo/static/demo.js b/demo/static/demo.js index c8e7168d0..debdc9559 100644 --- a/demo/static/demo.js +++ b/demo/static/demo.js @@ -212,11 +212,13 @@ let newData = [{ values: memgraphLine, key: 'Memgraph', - color: '#ff0000' + color: '#ff0000', + strokeWidth: 3 }, { values: neo4jLine, key: 'Neo4j', - color: '#0000ff' + color: '#0000ff', + strokeWidth: 3 }]; chartData.datum(newData).transition().duration(500).call(chart); } @@ -275,6 +277,7 @@ var chartData; nv.addGraph(function() { chart = nv.models.lineChart() + .interpolate('basis') .useInteractiveGuideline(true) .showLegend(true) .showYAxis(true)