X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=tests%2Fper-series.html;h=60448ba5fc4ff7e20a30f1e72ac8569b0d6d8b71;hb=051a854a82738473230fd1c20b6c9cacb036269d;hp=84730b163df3d396192df8ff0a30bd963bcbc86b;hpb=c70fe730d3e8a4ff32f9371d95a7894441f2f671;p=dygraphs.git
diff --git a/tests/per-series.html b/tests/per-series.html
index 84730b1..60448ba 100644
--- a/tests/per-series.html
+++ b/tests/per-series.html
@@ -1,16 +1,12 @@
-
Per-Series Properties
-
-
+
@@ -70,30 +66,32 @@
{
legend: 'always',
strokeWidth: 2,
- 'parabola': {
- strokePattern: null,
- drawPoints: true,
- pointSize: 4,
- highlightCircleSize: 6
- },
- 'line': {
- strokePattern: Dygraph.DASHED_LINE,
- strokeWidth: 1.0,
- drawPoints: true,
- pointSize: 1.5
- },
- 'another line': {
- strokePattern: [25, 5]
- },
- 'sine wave': {
- strokePattern: Dygraph.DOTTED_LINE,
- strokeWidth: 3,
- highlightCircleSize: 10
- },
- 'sine wave2': {
- strokePattern: Dygraph.DOT_DASH_LINE,
- strokeWidth: 2,
- highlightCircleSize: 3
+ series: {
+ 'parabola': {
+ strokePattern: null,
+ drawPoints: true,
+ pointSize: 4,
+ highlightCircleSize: 6
+ },
+ 'line': {
+ strokePattern: Dygraph.DASHED_LINE,
+ strokeWidth: 1.0,
+ drawPoints: true,
+ pointSize: 1.5
+ },
+ 'another line': {
+ strokePattern: [25, 5]
+ },
+ 'sine wave': {
+ strokePattern: Dygraph.DOTTED_LINE,
+ strokeWidth: 3,
+ highlightCircleSize: 10
+ },
+ 'sine wave2': {
+ strokePattern: Dygraph.DOT_DASH_LINE,
+ strokeWidth: 2,
+ highlightCircleSize: 3
+ }
}
}
);
@@ -102,25 +100,27 @@
data,
{
strokeWidth: 2,
- 'parabola': {
- strokeWidth: 0.0,
- drawPoints: true,
- pointSize: 4,
- highlightCircleSize: 6
- },
- 'line': {
- strokeWidth: 1.0,
- drawPoints: true,
- pointSize: 1.5
- },
- 'sine wave': {
- strokeWidth: 3,
- highlightCircleSize: 10
- },
- 'sine wave2': {
- strokePattern: [10, 2, 5, 2],
- strokeWidth: 2,
- highlightCircleSize: 3
+ series: {
+ 'parabola': {
+ strokeWidth: 0.0,
+ drawPoints: true,
+ pointSize: 4,
+ highlightCircleSize: 6
+ },
+ 'line': {
+ strokeWidth: 1.0,
+ drawPoints: true,
+ pointSize: 1.5
+ },
+ 'sine wave': {
+ strokeWidth: 3,
+ highlightCircleSize: 10
+ },
+ 'sine wave2': {
+ strokePattern: [10, 2, 5, 2],
+ strokeWidth: 2,
+ highlightCircleSize: 3
+ }
}
}
);