From b8a3387c7e317b51c3e7002c4fd30d6d3087291b Mon Sep 17 00:00:00 2001 From: Benoit Chevalier Date: Mon, 6 Feb 2017 17:45:44 -0800 Subject: [PATCH] fix demo axis3 --- demo.html | 20 ++++++++++---------- package.json | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/demo.html b/demo.html index 56ab2be3..bd36ed11 100644 --- a/demo.html +++ b/demo.html @@ -270,7 +270,7 @@

Example of a timeseries rendering to canvas



-

Example of a timeseries rendering 40 series to canvas

+

Example of a timeseries rendering ~645,000 datapoints to canvas

Example of a timeseries rendering 40 series to canvas }'> Example of a timeseries with a additional d3 rectangle drawn on top aggregatedData[1]["units"] = "Hz"; aggregatedData[2]["axis"] = {"id": "axis3", "side": "left", "number": "2"}; aggregatedData[2]["units"] = "BoF"; - aggregatedData[3]["axis"] = {"id": "axis3", "side": "right", "number": "2"}; + aggregatedData[3]["axis"] = {"id": "axis4", "side": "right", "number": "2"}; aggregatedData[3]["units"] = "bof"; converter.set('originalData', aggregatedData); } @@ -416,13 +416,13 @@

Example of a timeseries with a additional d3 rectangle drawn on top

processData(fetch4.lastResponse); } - // chart.svg.append('rect') - // .attr("y", 200) - // .attr("x", 0) - // .attr("height", 100) - // .attr("width", 1000) - // .attr('opacity',0.25) - // .attr('fill', 'rgb(70,173,0)'); + chart.svg.append('rect') + .attr("y", 200) + .attr("x", 0) + .attr("height", 100) + .attr("width", 1000) + .attr('opacity',0.25) + .attr('fill', 'rgb(70,173,0)'); rangepicker.set('range', { "from":"2014-04-10T04:01:00.000Z", diff --git a/package.json b/package.json index ebd1b344..e4da0d89 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "px-vis-timeseries", "author": "General Electric", "description": "A Px visualization timeseries chart", - "version": "1.0.1", + "version": "1.0.0", "private": true, "extName": null, "repository": {