X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fmulti-scale.html;fp=tests%2Fmulti-scale.html;h=b10cd934aeb24fe3dc13b9511b09bc0a5aba4ec9;hb=48e614acf3084b9836803f8b014bf0e65f1ca119;hp=0000000000000000000000000000000000000000;hpb=f35016e8b97d39691777a8ad850bfa314e7e223a;p=dygraphs.git diff --git a/tests/multi-scale.html b/tests/multi-scale.html new file mode 100644 index 0000000..b10cd93 --- /dev/null +++ b/tests/multi-scale.html @@ -0,0 +1,98 @@ + + + + + multi-scale + + + + +

Gridlines and axis labels make charts easier to understand. They give + the lines a clear scale. Unless you tell it otherwise, dygraphs will choose + a y-axis and set of gridlines which include all of your data.

+ +

If you have many series with different scales, this will compress the + variation in all but the largest one. Standard ways to deal with this + include secondary y-axes and log scales.

+ +

If neither of these is to your liking, you can manually rescale your + series and undo that scaling for the hover values. This demo shows how to + do it.

+ +
+ +

Hover over to see the original values. This is what the data looks + like without any rescaling:

+ +
+ + + +