anychart.onDocumentReady(function () {
var stage = anychart.graphics.create("container");
var customAxis = anychart.standalones.axes.linear();
customAxis.orientation("left");
var customScale = anychart.scales.ordinal();
customScale.values([1, 2, 3]);
customAxis.scale(customScale);
customAxis.parentBounds(50, 50, 300, 400);
customAxis.container(stage);
var bounds = customAxis.getRemainingBounds();
var customLabel = anychart.standalones.label();
customLabel.text("Get and use remaining bounds");
customLabel.parentBounds(bounds);
customLabel.width("100%");
customLabel.height("100%");
customLabel.background({fill: "#80CBC4 0.2"});
customLabel.enabled(true);
customLabel.container(stage);