From 30d8637356f85e67cf538c070d88aa12e841759b Mon Sep 17 00:00:00 2001 From: Robin Hu Date: Wed, 14 Aug 2013 23:03:29 -0400 Subject: [PATCH] Adding a "Select chart" button to each of the test charts. Clicking this button will hide other charts and only display the selected one. --- test/ScatterChartTest.html | 17 +++++++++++++++++ test/lineChartTest.html | 18 ++++++++++++++++++ test/stackedAreaChartTest.html | 15 ++++++++------- test/testScript.js | 20 ++++++++++++++++++++ test/teststyle.css | 4 ++++ 5 files changed, 67 insertions(+), 7 deletions(-) create mode 100644 test/testScript.js diff --git a/test/ScatterChartTest.html b/test/ScatterChartTest.html index 843da37..464453d 100644 --- a/test/ScatterChartTest.html +++ b/test/ScatterChartTest.html @@ -17,66 +17,82 @@
Normal - four series', all random (40 points) +
Normal - one series', all random (5 points), zero left margin +
Zero right margin, 200 points +
Bigger margins +
Zero data points +
One point. +
Two points +
Three series', one point each +
Three series', first one has zero points +
Lots of series +
Scatter plus line: y=2x + 0 +
Scatter plus line: y=2x + 10; +
Scatter plus line: y=-0.5x + 1.0; +
Scatter chart: duplicate y values +
Scatter chart: duplicate x values +
Scatter chart: extremely small data points (1e-10) +
@@ -94,6 +110,7 @@ + + @@ -31,6 +31,7 @@ +