## 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}
            }
        }
    };