diff --git a/js/dos/ext/vis/examples/graph2d/12_customRange.html b/js/dos/ext/vis/examples/graph2d/12_customRange.html new file mode 100644 index 0000000..79e6a14 --- /dev/null +++ b/js/dos/ext/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