From 05e761abca3ff42dbba371af0560b82707dfe7c0 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 28 Oct 2016 13:31:36 -0700 Subject: updated vis --- www/lib/vis/examples/graph2d/12_customRange.html | 92 ++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 www/lib/vis/examples/graph2d/12_customRange.html (limited to 'www/lib/vis/examples/graph2d/12_customRange.html') diff --git a/www/lib/vis/examples/graph2d/12_customRange.html b/www/lib/vis/examples/graph2d/12_customRange.html new file mode 100644 index 00000000..79e6a14f --- /dev/null +++ b/www/lib/vis/examples/graph2d/12_customRange.html @@ -0,0 +1,92 @@ + + + + Graph2d | Bar Graph Example + + + + + + + +

Graph2d | Custom axis range

+
+ You can define a custom range for the Y axis. Since there are two Y axis, you can define both of them. You can also + only define the min or max values. Since one of the Y axis is slaved to the other one (the right one is slaved to the left one), + you cannot absolutely define the range of the slaved axis because it has to use the same lines. The values you supply are used as guidelines however. + If the zero-lines have to be aligned, you can use the option alignZeros. It is enabled by default. + +
+var options = {
+    dataAxis: {
+        left: {
+            range: {min:-5, max:30}
+        },
+        right: {
+            range: {min:-5}
+        }
+    }
+};
+
+
+
+ +
+ + + + \ No newline at end of file -- cgit v1.2.3